Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiAssessmentProgramReadable" /> class.
 /// </summary>
 /// <param name="ProgramReference">ProgramReference (required).</param>
 public EdFiAssessmentProgramReadable(EdFiProgramReference ProgramReference = default(EdFiProgramReference))
 {
     // to ensure "ProgramReference" is required (not null)
     if (ProgramReference == null)
     {
         throw new InvalidDataException("ProgramReference is a required property for EdFiAssessmentProgramReadable and cannot be null");
     }
     else
     {
         this.ProgramReference = ProgramReference;
     }
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnCourseProgramReadable" /> class.
 /// </summary>
 /// <param name="programReference">programReference (required).</param>
 public MnCourseProgramReadable(EdFiProgramReference programReference = default(EdFiProgramReference))
 {
     // to ensure "programReference" is required (not null)
     if (programReference == null)
     {
         throw new InvalidDataException("programReference is a required property for MnCourseProgramReadable and cannot be null");
     }
     else
     {
         this.ProgramReference = programReference;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentLanguageInstructionProgramAssociationReadable" /> 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 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 "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.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 (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;
 }
Example #5
0
 /// <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;
 }
 /// <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;
 }
Example #7
0
 /// <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&#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 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;
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentTitleIPartAProgramAssociationWritable" /> 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 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 "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.Id      = id;
     this.EndDate = endDate;
     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;
 }
Example #10
0
 /// <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;
 }
 /// <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="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;
 }