コード例 #1
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;
     }
 }
コード例 #2
0
 /// <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="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;
 }
コード例 #4
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="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;
 }
コード例 #6
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="EdFiStudentNeglectedOrDelinquentProgramAssociationReadable" /> 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="elaProgressLevelDescriptor">The progress measured from pre- to post- test for ELA..</param>
 /// <param name="endDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param>
 /// <param name="mathematicsProgressLevelDescriptor">The progress measured from pre- to post-test for Mathematics..</param>
 /// <param name="neglectedOrDelinquentProgramDescriptor">The type of program under ESEA Title I, Part D, Subpart 1 (state programs) or Subpart 2 (LEA)..</param>
 /// <param name="neglectedOrDelinquentProgramServices">An unordered collection of studentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServices. Indicates the service(s) being provided to the Student by the Neglected or Delinquent Program..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="ext">ext.</param>
 public EdFiStudentNeglectedOrDelinquentProgramAssociationReadable(string id = default(string), DateTime?beginDate = default(DateTime?), EdFiEducationOrganizationReference educationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiProgramReference programReference = default(EdFiProgramReference), EdFiStudentReference studentReference = default(EdFiStudentReference), string elaProgressLevelDescriptor = default(string), DateTime?endDate = default(DateTime?), string mathematicsProgressLevelDescriptor = default(string), string neglectedOrDelinquentProgramDescriptor = default(string), List <EdFiStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceReadable> neglectedOrDelinquentProgramServices = default(List <EdFiStudentNeglectedOrDelinquentProgramAssociationNeglectedOrDelinquentProgramServiceReadable>), string etag = default(string), StudentNeglectedOrDelinquentProgramAssociationExtensionsReadable ext = default(StudentNeglectedOrDelinquentProgramAssociationExtensionsReadable))
 {
     // to ensure "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiStudentNeglectedOrDelinquentProgramAssociationReadable 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 EdFiStudentNeglectedOrDelinquentProgramAssociationReadable 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 EdFiStudentNeglectedOrDelinquentProgramAssociationReadable 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 EdFiStudentNeglectedOrDelinquentProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     this.Id = id;
     this.ElaProgressLevelDescriptor = elaProgressLevelDescriptor;
     this.EndDate = endDate;
     this.MathematicsProgressLevelDescriptor     = mathematicsProgressLevelDescriptor;
     this.NeglectedOrDelinquentProgramDescriptor = neglectedOrDelinquentProgramDescriptor;
     this.NeglectedOrDelinquentProgramServices   = neglectedOrDelinquentProgramServices;
     this.Etag = etag;
     this.Ext  = ext;
 }