/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentSchoolFoodServiceProgramAssociationReadable" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="ProgramReference">ProgramReference (required).</param> /// <param name="StudentReference">StudentReference (required).</param> /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param> /// <param name="SchoolFoodServiceProgramServices">An unordered collection of studentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServices. Indicates the service(s) being provided to the Student by the School Food Service Program..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> public EdFiStudentSchoolFoodServiceProgramAssociationReadable(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference ProgramReference = default(EdFiProgramReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), DateTime?EndDate = default(DateTime?), List <EdFiStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceReadable> SchoolFoodServiceProgramServices = default(List <EdFiStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceReadable>), string Etag = default(string)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStudentSchoolFoodServiceProgramAssociationReadable and cannot be null"); } else { this.Id = Id; } // to ensure "BeginDate" is required (not null) if (BeginDate == null) { throw new InvalidDataException("BeginDate is a required property for EdFiStudentSchoolFoodServiceProgramAssociationReadable and cannot be null"); } else { this.BeginDate = BeginDate; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStudentSchoolFoodServiceProgramAssociationReadable and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "ProgramReference" is required (not null) if (ProgramReference == null) { throw new InvalidDataException("ProgramReference is a required property for EdFiStudentSchoolFoodServiceProgramAssociationReadable and cannot be null"); } else { this.ProgramReference = ProgramReference; } // to ensure "StudentReference" is required (not null) if (StudentReference == null) { throw new InvalidDataException("StudentReference is a required property for EdFiStudentSchoolFoodServiceProgramAssociationReadable and cannot be null"); } else { this.StudentReference = StudentReference; } this.EndDate = EndDate; this.SchoolFoodServiceProgramServices = SchoolFoodServiceProgramServices; this.Etag = Etag; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentSchoolAssociationReadable" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="EntryDate">The month, day, and year on which an individual enters and begins to receive instructional services in a school. (required).</param> /// <param name="SchoolReference">SchoolReference (required).</param> /// <param name="SchoolYearTypeReference">SchoolYearTypeReference.</param> /// <param name="StudentReference">StudentReference (required).</param> /// <param name="EntryGradeLevelDescriptor">The grade level or primary instructional level at which a student enters and receives services in a school or an educational institution during a given academic session. (required).</param> /// <param name="EntryTypeDescriptor">The process by which a student enters a school during a given academic session..</param> /// <param name="ExitWithdrawDate">The month, day, and year of the first day after the date of an individual's last attendance at a school (if known), the day on which an individual graduated, or the date on which it becomes known officially that an individual left school..</param> /// <param name="ExitWithdrawTypeDescriptor">The circumstances under which the student exited from membership in an educational institution..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> /// <param name="Ext">Ext.</param> public EdFiStudentSchoolAssociationReadable(string Id = default(string), DateTime?EntryDate = default(DateTime?), EdFiSchoolReference SchoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference SchoolYearTypeReference = default(EdFiSchoolYearTypeReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string EntryGradeLevelDescriptor = default(string), string EntryTypeDescriptor = default(string), DateTime?ExitWithdrawDate = default(DateTime?), string ExitWithdrawTypeDescriptor = default(string), string Etag = default(string), StudentSchoolAssociationExtensionsReadable Ext = default(StudentSchoolAssociationExtensionsReadable)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.Id = Id; } // to ensure "EntryDate" is required (not null) if (EntryDate == null) { throw new InvalidDataException("EntryDate is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.EntryDate = EntryDate; } // to ensure "SchoolReference" is required (not null) if (SchoolReference == null) { throw new InvalidDataException("SchoolReference is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.SchoolReference = SchoolReference; } // to ensure "StudentReference" is required (not null) if (StudentReference == null) { throw new InvalidDataException("StudentReference is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.StudentReference = StudentReference; } // to ensure "EntryGradeLevelDescriptor" is required (not null) if (EntryGradeLevelDescriptor == null) { throw new InvalidDataException("EntryGradeLevelDescriptor is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.EntryGradeLevelDescriptor = EntryGradeLevelDescriptor; } this.SchoolYearTypeReference = SchoolYearTypeReference; this.EntryTypeDescriptor = EntryTypeDescriptor; this.ExitWithdrawDate = ExitWithdrawDate; this.ExitWithdrawTypeDescriptor = ExitWithdrawTypeDescriptor; this.Etag = Etag; this.Ext = Ext; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentEducationOrganizationAssociationWritable" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="StudentReference">StudentReference (required).</param> /// <param name="HispanicLatinoEthnicity">An indication that the individual traces his or her origin or descent to Mexico, Puerto Rico, Cuba, Central, and South America, and other Spanish cultures, regardless of race. The term, \"Spanish origin,\" can be used in addition to \"Hispanic or Latino.\".</param> /// <param name="Languages">An unordered collection of studentEducationOrganizationAssociationLanguages. The language(s) the individual uses to communicate. It is strongly recommended that entries use only ISO 639-3 language codes..</param> /// <param name="Races">An unordered collection of studentEducationOrganizationAssociationRaces. The general racial category which most clearly reflects the individual's recognition of his or her community or with which the individual most identifies. The data model allows for multiple entries so that each individual can specify all appropriate races..</param> /// <param name="SexDescriptor">A person's gender. (required).</param> /// <param name="StudentCharacteristics">An unordered collection of studentEducationOrganizationAssociationStudentCharacteristics. Reflects important characteristics of the student's home situation: Displaced Homemaker, Immigrant, Migratory, Military Parent, Pregnant Teen, Single Parent, and Unaccompanied Youth..</param> /// <param name="StudentIdentificationCodes">An unordered collection of studentEducationOrganizationAssociationStudentIdentificationCodes. A coding scheme that is used for identification and record-keeping purposes by schools, social services, or other agencies to refer to a student..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> /// <param name="Ext">Ext.</param> public EdFiStudentEducationOrganizationAssociationWritable(string Id = default(string), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), bool?HispanicLatinoEthnicity = default(bool?), List <EdFiStudentEducationOrganizationAssociationLanguageWritable> Languages = default(List <EdFiStudentEducationOrganizationAssociationLanguageWritable>), List <EdFiStudentEducationOrganizationAssociationRaceWritable> Races = default(List <EdFiStudentEducationOrganizationAssociationRaceWritable>), string SexDescriptor = default(string), List <EdFiStudentEducationOrganizationAssociationStudentCharacteristicWritable> StudentCharacteristics = default(List <EdFiStudentEducationOrganizationAssociationStudentCharacteristicWritable>), List <EdFiStudentEducationOrganizationAssociationStudentIdentificationCodeWritable> StudentIdentificationCodes = default(List <EdFiStudentEducationOrganizationAssociationStudentIdentificationCodeWritable>), string Etag = default(string), StudentEducationOrganizationAssociationExtensionsWritable Ext = default(StudentEducationOrganizationAssociationExtensionsWritable)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStudentEducationOrganizationAssociationWritable and cannot be null"); } else { this.Id = Id; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStudentEducationOrganizationAssociationWritable and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "StudentReference" is required (not null) if (StudentReference == null) { throw new InvalidDataException("StudentReference is a required property for EdFiStudentEducationOrganizationAssociationWritable and cannot be null"); } else { this.StudentReference = StudentReference; } // to ensure "SexDescriptor" is required (not null) if (SexDescriptor == null) { throw new InvalidDataException("SexDescriptor is a required property for EdFiStudentEducationOrganizationAssociationWritable and cannot be null"); } else { this.SexDescriptor = SexDescriptor; } this.HispanicLatinoEthnicity = HispanicLatinoEthnicity; this.Languages = Languages; this.Races = Races; this.StudentCharacteristics = StudentCharacteristics; this.StudentIdentificationCodes = StudentIdentificationCodes; this.Etag = Etag; this.Ext = Ext; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentHomelessProgramAssociationWritable" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="ProgramReference">ProgramReference (required).</param> /// <param name="StudentReference">StudentReference (required).</param> /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param> /// <param name="HomelessPrimaryNighttimeResidenceDescriptor">The primary nighttime residence of the student at the time the student is identified as homeless..</param> /// <param name="HomelessUnaccompaniedYouth">A homeless unaccompanied youth is a youth who is not in the physical custody of a parent or guardian and who fits the McKinney-Vento definition of homeless. Students must be both unaccompanied and homeless to be included as an unaccompanied homeless youth..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> public EdFiStudentHomelessProgramAssociationWritable(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference ProgramReference = default(EdFiProgramReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), DateTime?EndDate = default(DateTime?), string HomelessPrimaryNighttimeResidenceDescriptor = default(string), bool?HomelessUnaccompaniedYouth = default(bool?), string Etag = default(string)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStudentHomelessProgramAssociationWritable and cannot be null"); } else { this.Id = Id; } // to ensure "BeginDate" is required (not null) if (BeginDate == null) { throw new InvalidDataException("BeginDate is a required property for EdFiStudentHomelessProgramAssociationWritable and cannot be null"); } else { this.BeginDate = BeginDate; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStudentHomelessProgramAssociationWritable and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "ProgramReference" is required (not null) if (ProgramReference == null) { throw new InvalidDataException("ProgramReference is a required property for EdFiStudentHomelessProgramAssociationWritable and cannot be null"); } else { this.ProgramReference = ProgramReference; } // to ensure "StudentReference" is required (not null) if (StudentReference == null) { throw new InvalidDataException("StudentReference is a required property for EdFiStudentHomelessProgramAssociationWritable and cannot be null"); } else { this.StudentReference = StudentReference; } this.EndDate = EndDate; this.HomelessPrimaryNighttimeResidenceDescriptor = HomelessPrimaryNighttimeResidenceDescriptor; this.HomelessUnaccompaniedYouth = HomelessUnaccompaniedYouth; this.Etag = Etag; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentTitleIPartAProgramAssociationWritable" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="ProgramReference">ProgramReference (required).</param> /// <param name="StudentReference">StudentReference (required).</param> /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param> /// <param name="TitleIPartAParticipantDescriptor">An indication of the type of Title I program, if any, in which the student is participating and by which the student is served: Public Targeted Assistance Program Public Schoolwide Program Private School Students Participating Local Neglected Program. (required).</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> public EdFiStudentTitleIPartAProgramAssociationWritable(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference ProgramReference = default(EdFiProgramReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), DateTime?EndDate = default(DateTime?), string TitleIPartAParticipantDescriptor = default(string), string Etag = default(string)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStudentTitleIPartAProgramAssociationWritable and cannot be null"); } else { this.Id = Id; } // to ensure "BeginDate" is required (not null) if (BeginDate == null) { throw new InvalidDataException("BeginDate is a required property for EdFiStudentTitleIPartAProgramAssociationWritable and cannot be null"); } else { this.BeginDate = BeginDate; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStudentTitleIPartAProgramAssociationWritable and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "ProgramReference" is required (not null) if (ProgramReference == null) { throw new InvalidDataException("ProgramReference is a required property for EdFiStudentTitleIPartAProgramAssociationWritable and cannot be null"); } else { this.ProgramReference = ProgramReference; } // to ensure "StudentReference" is required (not null) if (StudentReference == null) { throw new InvalidDataException("StudentReference is a required property for EdFiStudentTitleIPartAProgramAssociationWritable and cannot be null"); } else { this.StudentReference = StudentReference; } // to ensure "TitleIPartAParticipantDescriptor" is required (not null) if (TitleIPartAParticipantDescriptor == null) { throw new InvalidDataException("TitleIPartAParticipantDescriptor is a required property for EdFiStudentTitleIPartAProgramAssociationWritable and cannot be null"); } else { this.TitleIPartAParticipantDescriptor = TitleIPartAParticipantDescriptor; } this.EndDate = EndDate; this.Etag = Etag; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentSpecialEducationProgramAssociationReadable" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="ProgramReference">ProgramReference (required).</param> /// <param name="StudentReference">StudentReference (required).</param> /// <param name="Disabilities">An unordered collection of studentSpecialEducationProgramAssociationDisabilities. The disability condition(s) that best describes an individual's impairment, as related to special education services received..</param> /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param> /// <param name="SpecialEducationSettingDescriptor">The major instructional setting (more than 50 percent of a student's special education program)..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> /// <param name="Ext">Ext.</param> public EdFiStudentSpecialEducationProgramAssociationReadable(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference ProgramReference = default(EdFiProgramReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), List <EdFiStudentSpecialEducationProgramAssociationDisabilityReadable> Disabilities = default(List <EdFiStudentSpecialEducationProgramAssociationDisabilityReadable>), DateTime?EndDate = default(DateTime?), string SpecialEducationSettingDescriptor = default(string), string Etag = default(string), StudentSpecialEducationProgramAssociationExtensionsReadable Ext = default(StudentSpecialEducationProgramAssociationExtensionsReadable)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStudentSpecialEducationProgramAssociationReadable and cannot be null"); } else { this.Id = Id; } // to ensure "BeginDate" is required (not null) if (BeginDate == null) { throw new InvalidDataException("BeginDate is a required property for EdFiStudentSpecialEducationProgramAssociationReadable and cannot be null"); } else { this.BeginDate = BeginDate; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStudentSpecialEducationProgramAssociationReadable and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "ProgramReference" is required (not null) if (ProgramReference == null) { throw new InvalidDataException("ProgramReference is a required property for EdFiStudentSpecialEducationProgramAssociationReadable and cannot be null"); } else { this.ProgramReference = ProgramReference; } // to ensure "StudentReference" is required (not null) if (StudentReference == null) { throw new InvalidDataException("StudentReference is a required property for EdFiStudentSpecialEducationProgramAssociationReadable and cannot be null"); } else { this.StudentReference = StudentReference; } this.Disabilities = Disabilities; this.EndDate = EndDate; this.SpecialEducationSettingDescriptor = SpecialEducationSettingDescriptor; this.Etag = Etag; this.Ext = Ext; }