diff --git a/docs/Student.md b/docs/Student.md index 76ec22b..330421c 100644 --- a/docs/Student.md +++ b/docs/Student.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **ell_status** | **String** | | [optional] **enrollments** | [**Array<SchoolEnrollment>**](SchoolEnrollment.md) | | [optional] **ext** | **Object** | | [optional] +**frl_status** | **String** | | [optional] **gender** | **String** | | [optional] **grade** | **String** | | [optional] **graduation_year** | **String** | | [optional] diff --git a/lib/clever-ruby-v3/models/student.rb b/lib/clever-ruby-v3/models/student.rb index dad52a4..f49dfe1 100644 --- a/lib/clever-ruby-v3/models/student.rb +++ b/lib/clever-ruby-v3/models/student.rb @@ -21,6 +21,8 @@ class Student attr_accessor :ell_status + attr_accessor :frl_status + attr_accessor :enrollments attr_accessor :ext @@ -90,6 +92,7 @@ def self.attribute_map :'ell_status' => :'ell_status', :'enrollments' => :'enrollments', :'ext' => :'ext', + :'frl_status' => :'frl_status', :'gender' => :'gender', :'grade' => :'grade', :'graduation_year' => :'graduation_year', @@ -118,6 +121,7 @@ def self.openapi_types :'credentials' => :'Credentials', :'dob' => :'String', :'ell_status' => :'String', + :'frl_status' => :'String', :'enrollments' => :'Array', :'ext' => :'Object', :'gender' => :'String', @@ -145,6 +149,7 @@ def self.openapi_nullable Set.new([ :'dob', :'ell_status', + :'frl_status', :'gender', :'grade', :'graduation_year', @@ -190,6 +195,10 @@ def initialize(attributes = {}) self.ell_status = attributes[:'ell_status'] end + if attributes.key?(:'frl_status') + self.frl_status = attributes[:'frl_status'] + end + if attributes.key?(:'enrollments') if (value = attributes[:'enrollments']).is_a?(Array) self.enrollments = value @@ -283,6 +292,8 @@ def list_invalid_properties def valid? ell_status_validator = EnumAttributeValidator.new('String', ['Y', 'N', '']) return false unless ell_status_validator.valid?(@ell_status) + frl_status_validator = EnumAttributeValidator.new('String', ["Free", "Reduced", "Paid", ""]) + return false unless frl_status_validator.valid?(@frl_status) gender_validator = EnumAttributeValidator.new('String', ['M', 'F', 'X', '']) return false unless gender_validator.valid?(@gender) grade_validator = EnumAttributeValidator.new('String', ['InfantToddler', 'Preschool', 'PreKindergarten', 'TransitionalKindergarten', 'Kindergarten', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', 'PostGraduate', 'Ungraded', 'Other', '']) @@ -306,6 +317,16 @@ def ell_status=(ell_status) @ell_status = ell_status end + # Custom attribute writer method checking allowed values (enum). + # @param [Object] frl_status Object to be assigned + def frl_status=(frl_status) + validator = EnumAttributeValidator.new('String', ["Free", "Reduced", "Paid", ""]) + unless validator.valid?(frl_status) + fail ArgumentError, "invalid value for 'frl_status', must be one of #{validator.allowable_values}." + end + @frl_status = frl_status + end + # Custom attribute writer method checking allowed values (enum). # @param [Object] gender Object to be assigned def gender=(gender) @@ -365,6 +386,7 @@ def ==(o) credentials == o.credentials && dob == o.dob && ell_status == o.ell_status && + frl_status == o.frl_status && enrollments == o.enrollments && ext == o.ext && gender == o.gender && @@ -395,7 +417,7 @@ def eql?(o) # Calculates hash code according to all attributes. # @return [Integer] Hash code def hash - [created, credentials, dob, ell_status, enrollments, ext, gender, grade, graduation_year, hispanic_ethnicity, home_language, iep_status, last_modified, legacy_id, location, race, school, schools, sis_id, state_id, student_number, unweighted_gpa, weighted_gpa].hash + [created, credentials, dob, ell_status, frl_status, enrollments, ext, gender, grade, graduation_year, hispanic_ethnicity, home_language, iep_status, last_modified, legacy_id, location, race, school, schools, sis_id, state_id, student_number, unweighted_gpa, weighted_gpa].hash end # Builds the object from hash