def subject=(subject)
      validator = EnumAttributeValidator.new('String', ["english/language arts", "math", "science", "social studies", "language", "homeroom/advisory", "interventions/online learning", "technology and engineering", "PE and health", "arts and music", "other"])
      unless validator.valid?(subject)
        fail ArgumentError, "invalid value for 'subject', must be one of #{validator.allowable_values}."
      end
      @subject = subject
    end
def subject=(subject)
      validator = EnumAttributeValidator.new('String', ["english/language arts", "math", "science", "social studies", "language", "homeroom/advisory", "interventions/online learning", "technology and engineering", "PE and health", "arts and music", "other"])
      unless validator.valid?(subject)
        fail ArgumentError, "invalid value for 'subject', must be one of #{validator.allowable_values}."
      end
      @subject = subject
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] subject Object to be assigned