/// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSchoolFoodServiceProgramAssociationReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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 "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.Id      = id;
     this.EndDate = endDate;
     this.SchoolFoodServiceProgramServices = schoolFoodServiceProgramServices;
     this.Etag = etag;
 }
Ejemplo n.º 2
0
 /// <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="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, \&quot;Spanish origin,\&quot; can be used in addition to \&quot;Hispanic or Latino.\&quot;.</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&#39;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&#39;s gender. (required).</param>
 /// <param name="StudentCharacteristics">An unordered collection of studentEducationOrganizationAssociationStudentCharacteristics. Reflects important characteristics of the student&#39;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="StudentIndicators">An unordered collection of studentEducationOrganizationAssociationStudentIndicators. Indicator(s) or metric(s) computed for the student (e.g., at risk) to influence more effective education or direct specific interventions..</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>), List <EdFiStudentEducationOrganizationAssociationStudentIndicatorWritable> StudentIndicators = default(List <EdFiStudentEducationOrganizationAssociationStudentIndicatorWritable>), 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.StudentIndicators          = StudentIndicators;
     this.Etag = Etag;
     this.Ext  = Ext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiProgramWritable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="ProgramName">The formal name of the Program of instruction, training, services, or benefits available through federal, state, or local agencies. (required).</param>
 /// <param name="ProgramTypeDescriptor">The type of program. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiProgramWritable(string Id = default(string), string ProgramName = default(string), string ProgramTypeDescriptor = default(string), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "ProgramName" is required (not null)
     if (ProgramName == null)
     {
         throw new InvalidDataException("ProgramName is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.ProgramName = ProgramName;
     }
     // to ensure "ProgramTypeDescriptor" is required (not null)
     if (ProgramTypeDescriptor == null)
     {
         throw new InvalidDataException("ProgramTypeDescriptor is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.ProgramTypeDescriptor = ProgramTypeDescriptor;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     this.Etag = Etag;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiProgramWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="programName">The formal name of the Program of instruction, training, services, or benefits available through federal, state, or local agencies. (required).</param>
 /// <param name="programTypeDescriptor">The type of program. (required).</param>
 /// <param name="educationOrganizationReference">educationOrganizationReference (required).</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiProgramWritable(string id = default(string), string programName = default(string), string programTypeDescriptor = default(string), EdFiEducationOrganizationReference educationOrganizationReference = default(EdFiEducationOrganizationReference), string etag = default(string))
 {
     // to ensure "programName" is required (not null)
     if (programName == null)
     {
         throw new InvalidDataException("programName is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.ProgramName = programName;
     }
     // to ensure "programTypeDescriptor" is required (not null)
     if (programTypeDescriptor == null)
     {
         throw new InvalidDataException("programTypeDescriptor is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.ProgramTypeDescriptor = programTypeDescriptor;
     }
     // to ensure "educationOrganizationReference" is required (not null)
     if (educationOrganizationReference == null)
     {
         throw new InvalidDataException("educationOrganizationReference is a required property for EdFiProgramWritable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = educationOrganizationReference;
     }
     this.Id   = id;
     this.Etag = etag;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentLanguageInstructionProgramAssociationWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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="englishLearnerParticipation">An indication that an English Learner student is served by an English language instruction educational program supported with Title III of ESEA funds..</param>
 /// <param name="languageInstructionProgramServices">An unordered collection of studentLanguageInstructionProgramAssociationLanguageInstructionProgramServices. Indicates the service(s) being provided to the Student by the Language Instruction Program..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentLanguageInstructionProgramAssociationWritable(string id = default(string), DateTime?beginDate = default(DateTime?), EdFiEducationOrganizationReference educationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference programReference = default(EdFiProgramReference), EdFiStudentReference studentReference = default(EdFiStudentReference), DateTime?endDate = default(DateTime?), bool?englishLearnerParticipation = default(bool?), List <EdFiStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceWritable> languageInstructionProgramServices = default(List <EdFiStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceWritable>), string etag = default(string))
 {
     // to ensure "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiStudentLanguageInstructionProgramAssociationWritable 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 EdFiStudentLanguageInstructionProgramAssociationWritable 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 EdFiStudentLanguageInstructionProgramAssociationWritable 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 EdFiStudentLanguageInstructionProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     this.Id      = id;
     this.EndDate = endDate;
     this.EnglishLearnerParticipation        = englishLearnerParticipation;
     this.LanguageInstructionProgramServices = languageInstructionProgramServices;
     this.Etag = etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentHomelessProgramAssociationReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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 EdFiStudentHomelessProgramAssociationReadable(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 "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     this.Id      = id;
     this.EndDate = endDate;
     this.HomelessPrimaryNighttimeResidenceDescriptor = homelessPrimaryNighttimeResidenceDescriptor;
     this.HomelessUnaccompaniedYouth = homelessUnaccompaniedYouth;
     this.Etag = etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSpecialEducationProgramAssociationWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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&#39;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&#39;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 EdFiStudentSpecialEducationProgramAssociationWritable(string id = default(string), DateTime?beginDate = default(DateTime?), EdFiEducationOrganizationReference educationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference programReference = default(EdFiProgramReference), EdFiStudentReference studentReference = default(EdFiStudentReference), List <EdFiStudentSpecialEducationProgramAssociationDisabilityWritable> disabilities = default(List <EdFiStudentSpecialEducationProgramAssociationDisabilityWritable>), DateTime?endDate = default(DateTime?), string specialEducationSettingDescriptor = default(string), string etag = default(string), StudentSpecialEducationProgramAssociationExtensionsWritable ext = default(StudentSpecialEducationProgramAssociationExtensionsWritable))
 {
     // to ensure "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     this.Id           = id;
     this.Disabilities = disabilities;
     this.EndDate      = endDate;
     this.SpecialEducationSettingDescriptor = specialEducationSettingDescriptor;
     this.Etag = etag;
     this.Ext  = ext;
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSpecialEducationProgramAssociationWritable" /> 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&#39;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&#39;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 EdFiStudentSpecialEducationProgramAssociationWritable(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference ProgramReference = default(EdFiProgramReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), List <EdFiStudentSpecialEducationProgramAssociationDisabilityWritable> Disabilities = default(List <EdFiStudentSpecialEducationProgramAssociationDisabilityWritable>), DateTime?EndDate = default(DateTime?), string SpecialEducationSettingDescriptor = default(string), string Etag = default(string), StudentSpecialEducationProgramAssociationExtensionsWritable Ext = default(StudentSpecialEducationProgramAssociationExtensionsWritable))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable 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 EdFiStudentSpecialEducationProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.Disabilities = Disabilities;
     this.EndDate      = EndDate;
     this.SpecialEducationSettingDescriptor = SpecialEducationSettingDescriptor;
     this.Etag = Etag;
     this.Ext  = Ext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentTitleIPartAProgramAssociationReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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 EdFiStudentTitleIPartAProgramAssociationReadable(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 "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiStudentTitleIPartAProgramAssociationReadable 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 EdFiStudentTitleIPartAProgramAssociationReadable 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 EdFiStudentTitleIPartAProgramAssociationReadable 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 EdFiStudentTitleIPartAProgramAssociationReadable 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 EdFiStudentTitleIPartAProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.TitleIPartAParticipantDescriptor = titleIPartAParticipantDescriptor;
     }
     this.Id      = id;
     this.EndDate = endDate;
     this.Etag    = etag;
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiCourseWritable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="CourseCode">A unique alphanumeric code assigned to a course. (required).</param>
 /// <param name="IdentificationCodes">An unordered collection of courseIdentificationCodes. The code that identifies the organization of subject matter and related learning experiences provided for the instruction of students. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="CourseDefinedByDescriptor">Specifies whether the course was defined by the SEA, LEA, School, or national organization..</param>
 /// <param name="CourseDescription">A description of the content standards and goals covered in the course. Reference may be made to state or national content standards..</param>
 /// <param name="CourseTitle">The descriptive name given to a course of study offered in a school or other institution or organization. In departmentalized classes at the elementary, secondary, and postsecondary levels (and for staff development activities), this refers to the name by which a course is identified (e.g., American History, English III). For elementary and other non-departmentalized classes, it refers to any portion of the instruction for which a grade or report is assigned (e.g., reading, composition, spelling, and language arts). (required).</param>
 /// <param name="DateCourseAdopted">Date the course was adopted by the education agency..</param>
 /// <param name="HighSchoolCourseRequirement">An indication that this course may satisfy high school graduation requirements in the course&#39;s subject area..</param>
 /// <param name="LearningStandards">An unordered collection of courseLearningStandards. Learning Standard(s) to be taught by the course..</param>
 /// <param name="LevelCharacteristics">An unordered collection of courseLevelCharacteristics. The type of specific program or designation with which the course is associated (e.g., AP, IB, Dual Credit, CTE)..</param>
 /// <param name="MaximumAvailableCredits">The value of credits or units of value awarded for the completion of a course..</param>
 /// <param name="NumberOfParts">The number of parts identified for a course. (required).</param>
 /// <param name="OfferedGradeLevels">An unordered collection of courseOfferedGradeLevels. The grade levels in which the course is offered..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiCourseWritable(string Id = default(string), string CourseCode = default(string), List <EdFiCourseIdentificationCodeWritable> IdentificationCodes = default(List <EdFiCourseIdentificationCodeWritable>), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), string CourseDefinedByDescriptor = default(string), string CourseDescription = default(string), string CourseTitle = default(string), DateTime?DateCourseAdopted = default(DateTime?), bool?HighSchoolCourseRequirement = default(bool?), List <EdFiCourseLearningStandardWritable> LearningStandards = default(List <EdFiCourseLearningStandardWritable>), List <EdFiCourseLevelCharacteristicWritable> LevelCharacteristics = default(List <EdFiCourseLevelCharacteristicWritable>), double?MaximumAvailableCredits = default(double?), int?NumberOfParts = default(int?), List <EdFiCourseOfferedGradeLevelWritable> OfferedGradeLevels = default(List <EdFiCourseOfferedGradeLevelWritable>), string Etag = default(string), CourseExtensionsWritable Ext = default(CourseExtensionsWritable))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiCourseWritable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "CourseCode" is required (not null)
     if (CourseCode == null)
     {
         throw new InvalidDataException("CourseCode is a required property for EdFiCourseWritable and cannot be null");
     }
     else
     {
         this.CourseCode = CourseCode;
     }
     // to ensure "IdentificationCodes" is required (not null)
     if (IdentificationCodes == null)
     {
         throw new InvalidDataException("IdentificationCodes is a required property for EdFiCourseWritable and cannot be null");
     }
     else
     {
         this.IdentificationCodes = IdentificationCodes;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiCourseWritable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "CourseTitle" is required (not null)
     if (CourseTitle == null)
     {
         throw new InvalidDataException("CourseTitle is a required property for EdFiCourseWritable and cannot be null");
     }
     else
     {
         this.CourseTitle = CourseTitle;
     }
     // to ensure "NumberOfParts" is required (not null)
     if (NumberOfParts == null)
     {
         throw new InvalidDataException("NumberOfParts is a required property for EdFiCourseWritable and cannot be null");
     }
     else
     {
         this.NumberOfParts = NumberOfParts;
     }
     this.CourseDefinedByDescriptor   = CourseDefinedByDescriptor;
     this.CourseDescription           = CourseDescription;
     this.DateCourseAdopted           = DateCourseAdopted;
     this.HighSchoolCourseRequirement = HighSchoolCourseRequirement;
     this.LearningStandards           = LearningStandards;
     this.LevelCharacteristics        = LevelCharacteristics;
     this.MaximumAvailableCredits     = MaximumAvailableCredits;
     this.OfferedGradeLevels          = OfferedGradeLevels;
     this.Etag = Etag;
     this.Ext  = Ext;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSchoolFoodServiceProgramAssociationWritable" /> 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 EdFiStudentSchoolFoodServiceProgramAssociationWritable(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 <EdFiStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceWritable> SchoolFoodServiceProgramServices = default(List <EdFiStudentSchoolFoodServiceProgramAssociationSchoolFoodServiceProgramServiceWritable>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentSchoolFoodServiceProgramAssociationWritable 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 EdFiStudentSchoolFoodServiceProgramAssociationWritable 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 EdFiStudentSchoolFoodServiceProgramAssociationWritable 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 EdFiStudentSchoolFoodServiceProgramAssociationWritable 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 EdFiStudentSchoolFoodServiceProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EndDate = EndDate;
     this.SchoolFoodServiceProgramServices = SchoolFoodServiceProgramServices;
     this.Etag = Etag;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentEducationOrganizationAssociationWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="educationOrganizationReference">educationOrganizationReference (required).</param>
 /// <param name="studentReference">studentReference (required).</param>
 /// <param name="ancestryEthnicOrigins">An unordered collection of studentEducationOrganizationAssociationAncestryEthnicOrigins. The original peoples or cultures with which the individual identifies..</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, as last reported to the education organization. The term, \&quot;Spanish origin,\&quot; can be used in addition to \&quot;Hispanic or Latino.\&quot;.</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&#39;s recognition of his or her community or with which the individual most identifies as last reported to the education organization. The data model allows for multiple entries so that each individual can specify all appropriate races..</param>
 /// <param name="sexDescriptor">The student&#39;s gender as last reported to the education organization. (required).</param>
 /// <param name="studentCharacteristics">An unordered collection of studentEducationOrganizationAssociationStudentCharacteristics. Reflects important characteristics of a student. If a student has a characteristic present, that characteristic is considered true or active for that student. If a characteristic is not present, no assumption is made as to the applicability of the characteristic, but local policy may dictate otherwise..</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="studentIndicators">An unordered collection of studentEducationOrganizationAssociationStudentIndicators. An indicator or metric computed for the student (e.g., at risk)..</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), List <EdFiStudentEducationOrganizationAssociationAncestryEthnicOriginWritable> ancestryEthnicOrigins = default(List <EdFiStudentEducationOrganizationAssociationAncestryEthnicOriginWritable>), 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>), List <EdFiStudentEducationOrganizationAssociationStudentIndicatorWritable> studentIndicators = default(List <EdFiStudentEducationOrganizationAssociationStudentIndicatorWritable>), string etag = default(string), StudentEducationOrganizationAssociationExtensionsWritable ext = default(StudentEducationOrganizationAssociationExtensionsWritable))
 {
     // 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.Id = id;
     this.AncestryEthnicOrigins   = ancestryEthnicOrigins;
     this.HispanicLatinoEthnicity = hispanicLatinoEthnicity;
     this.Languages = languages;
     this.Races     = races;
     this.StudentCharacteristics     = studentCharacteristics;
     this.StudentIdentificationCodes = studentIdentificationCodes;
     this.StudentIndicators          = studentIndicators;
     this.Etag = etag;
     this.Ext  = ext;
 }
Ejemplo n.º 14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiCourseReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="courseCode">A unique alphanumeric code assigned to a course. (required).</param>
 /// <param name="identificationCodes">An unordered collection of courseIdentificationCodes. The code that identifies the organization of subject matter and related learning experiences provided for the instruction of students. (required).</param>
 /// <param name="educationOrganizationReference">educationOrganizationReference (required).</param>
 /// <param name="courseDefinedByDescriptor">Specifies whether the course was defined by the SEA, LEA, School, or national organization..</param>
 /// <param name="courseDescription">A description of the content standards and goals covered in the course. Reference may be made to state or national content standards..</param>
 /// <param name="courseTitle">The descriptive name given to a course of study offered in a school or other institution or organization. In departmentalized classes at the elementary, secondary, and postsecondary levels (and for staff development activities), this refers to the name by which a course is identified (e.g., American History, English III). For elementary and other non-departmentalized classes, it refers to any portion of the instruction for which a grade or report is assigned (e.g., reading, composition, spelling, and language arts). (required).</param>
 /// <param name="dateCourseAdopted">Date the course was adopted by the education agency..</param>
 /// <param name="highSchoolCourseRequirement">An indication that this course may satisfy high school graduation requirements in the course&#39;s subject area..</param>
 /// <param name="learningStandards">An unordered collection of courseLearningStandards. Learning Standard(s) to be taught by the course..</param>
 /// <param name="levelCharacteristics">An unordered collection of courseLevelCharacteristics. The type of specific program or designation with which the course is associated (e.g., AP, IB, Dual Credit, CTE)..</param>
 /// <param name="maximumAvailableCredits">The value of credits or units of value awarded for the completion of a course..</param>
 /// <param name="numberOfParts">The number of parts identified for a course. (required).</param>
 /// <param name="offeredGradeLevels">An unordered collection of courseOfferedGradeLevels. The grade levels in which the course is offered..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="ext">ext.</param>
 public EdFiCourseReadable(string id = default(string), string courseCode = default(string), List <EdFiCourseIdentificationCodeReadable> identificationCodes = default(List <EdFiCourseIdentificationCodeReadable>), EdFiEducationOrganizationReference educationOrganizationReference = default(EdFiEducationOrganizationReference), string courseDefinedByDescriptor = default(string), string courseDescription = default(string), string courseTitle = default(string), DateTime?dateCourseAdopted = default(DateTime?), bool?highSchoolCourseRequirement = default(bool?), List <EdFiCourseLearningStandardReadable> learningStandards = default(List <EdFiCourseLearningStandardReadable>), List <EdFiCourseLevelCharacteristicReadable> levelCharacteristics = default(List <EdFiCourseLevelCharacteristicReadable>), double?maximumAvailableCredits = default(double?), int?numberOfParts = default(int?), List <EdFiCourseOfferedGradeLevelReadable> offeredGradeLevels = default(List <EdFiCourseOfferedGradeLevelReadable>), string etag = default(string), CourseExtensionsReadable ext = default(CourseExtensionsReadable))
 {
     // to ensure "courseCode" is required (not null)
     if (courseCode == null)
     {
         throw new InvalidDataException("courseCode is a required property for EdFiCourseReadable and cannot be null");
     }
     else
     {
         this.CourseCode = courseCode;
     }
     // to ensure "identificationCodes" is required (not null)
     if (identificationCodes == null)
     {
         throw new InvalidDataException("identificationCodes is a required property for EdFiCourseReadable and cannot be null");
     }
     else
     {
         this.IdentificationCodes = identificationCodes;
     }
     // to ensure "educationOrganizationReference" is required (not null)
     if (educationOrganizationReference == null)
     {
         throw new InvalidDataException("educationOrganizationReference is a required property for EdFiCourseReadable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = educationOrganizationReference;
     }
     // to ensure "courseTitle" is required (not null)
     if (courseTitle == null)
     {
         throw new InvalidDataException("courseTitle is a required property for EdFiCourseReadable and cannot be null");
     }
     else
     {
         this.CourseTitle = courseTitle;
     }
     // to ensure "numberOfParts" is required (not null)
     if (numberOfParts == null)
     {
         throw new InvalidDataException("numberOfParts is a required property for EdFiCourseReadable and cannot be null");
     }
     else
     {
         this.NumberOfParts = numberOfParts;
     }
     this.Id = id;
     this.CourseDefinedByDescriptor   = courseDefinedByDescriptor;
     this.CourseDescription           = courseDescription;
     this.DateCourseAdopted           = dateCourseAdopted;
     this.HighSchoolCourseRequirement = highSchoolCourseRequirement;
     this.LearningStandards           = learningStandards;
     this.LevelCharacteristics        = levelCharacteristics;
     this.MaximumAvailableCredits     = maximumAvailableCredits;
     this.OfferedGradeLevels          = offeredGradeLevels;
     this.Etag = etag;
     this.Ext  = ext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentHomelessProgramAssociationReadable" /> 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 EdFiStudentHomelessProgramAssociationReadable(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 EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable 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 EdFiStudentHomelessProgramAssociationReadable 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="EdFiStudentLanguageInstructionProgramAssociationReadable" /> 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="EnglishLearnerParticipation">An indication that an English Learner student is served by an English language instruction educational program supported with Title III of ESEA funds..</param>
 /// <param name="LanguageInstructionProgramServices">An unordered collection of studentLanguageInstructionProgramAssociationLanguageInstructionProgramServices. Indicates the service(s) being provided to the Student by the Language Instruction Program..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentLanguageInstructionProgramAssociationReadable(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference ProgramReference = default(EdFiProgramReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), DateTime?EndDate = default(DateTime?), bool?EnglishLearnerParticipation = default(bool?), List <EdFiStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceReadable> LanguageInstructionProgramServices = default(List <EdFiStudentLanguageInstructionProgramAssociationLanguageInstructionProgramServiceReadable>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentLanguageInstructionProgramAssociationReadable 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 EdFiStudentLanguageInstructionProgramAssociationReadable 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 EdFiStudentLanguageInstructionProgramAssociationReadable 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 EdFiStudentLanguageInstructionProgramAssociationReadable 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 EdFiStudentLanguageInstructionProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EndDate = EndDate;
     this.EnglishLearnerParticipation        = EnglishLearnerParticipation;
     this.LanguageInstructionProgramServices = LanguageInstructionProgramServices;
     this.Etag = Etag;
 }