/// <summary> /// Initializes a new instance of the <see cref="MnStudentSAAPProgramAssociationReadable" /> 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="independentStudyIndicator">State-approved alternative programs (SAAP) that also have a state-approved Independent Study(IS) component use this flag to identify independent study participants. (required).</param> /// <param name="saapConcurrentIndicator">An indicator representing a Student who is enrolled less than full-time at a traditional school and who is also enrolled at a State Approved Alternative Program (SAAP). (required).</param> /// <param name="saapCredits">SAAP Credits. (required).</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public MnStudentSAAPProgramAssociationReadable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), DateTime?endDate = default(DateTime?), bool?independentStudyIndicator = default(bool?), bool?saapConcurrentIndicator = default(bool?), double?saapCredits = default(double?), string etag = default(string)) { // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for MnStudentSAAPProgramAssociationReadable 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 MnStudentSAAPProgramAssociationReadable 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 MnStudentSAAPProgramAssociationReadable 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 MnStudentSAAPProgramAssociationReadable and cannot be null"); } else { this.StudentReference = studentReference; } // to ensure "independentStudyIndicator" is required (not null) if (independentStudyIndicator == null) { throw new InvalidDataException("independentStudyIndicator is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null"); } else { this.IndependentStudyIndicator = independentStudyIndicator; } // to ensure "saapConcurrentIndicator" is required (not null) if (saapConcurrentIndicator == null) { throw new InvalidDataException("saapConcurrentIndicator is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null"); } else { this.SaapConcurrentIndicator = saapConcurrentIndicator; } // to ensure "saapCredits" is required (not null) if (saapCredits == null) { throw new InvalidDataException("saapCredits is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null"); } else { this.SaapCredits = saapCredits; } this.Id = id; this.EndDate = endDate; this.Etag = etag; }
/// <summary> /// Initializes a new instance of the <see cref="MnStudentEarlyChildhoodScreeningProgramAssociationReadable" /> 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="earlyChildhoodScreenerDescriptor">This descriptor contains codes indicating who completed a screening for a student in the Early Childhood Screening program..</param> /// <param name="earlyChildhoodScreeningExitStatusDescriptor">Early Childhood Screening Exit Status..</param> /// <param name="endDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public MnStudentEarlyChildhoodScreeningProgramAssociationReadable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), string earlyChildhoodScreenerDescriptor = default(string), string earlyChildhoodScreeningExitStatusDescriptor = default(string), DateTime?endDate = default(DateTime?), string etag = default(string)) { // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable and cannot be null"); } else { this.StudentReference = studentReference; } this.Id = id; this.EarlyChildhoodScreenerDescriptor = earlyChildhoodScreenerDescriptor; this.EarlyChildhoodScreeningExitStatusDescriptor = earlyChildhoodScreeningExitStatusDescriptor; this.EndDate = endDate; this.Etag = etag; }
/// <summary> /// Initializes a new instance of the <see cref="MnStudentEarlyEducationProgramAssociationWritable" /> 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="fundingSources">An unordered collection of studentEarlyEducationProgramAssociationFundingSources. Funding source..</param> /// <param name="reasonExitedDescriptor">The reason the child left the Program within a school or district..</param> /// <param name="servedOutsideOfRegularSession">Indicates whether the Student received services during the summer session or between sessions..</param> /// <param name="serviceAttendanceHours">Indicates a student's service attendance hours..</param> /// <param name="serviceMembershipHours">Indicates a student's service membership hours..</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public MnStudentEarlyEducationProgramAssociationWritable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), DateTime?endDate = default(DateTime?), List <MnStudentEarlyEducationProgramAssociationFundingSourceWritable> fundingSources = default(List <MnStudentEarlyEducationProgramAssociationFundingSourceWritable>), string reasonExitedDescriptor = default(string), bool?servedOutsideOfRegularSession = default(bool?), int?serviceAttendanceHours = default(int?), int?serviceMembershipHours = default(int?), string etag = default(string)) { // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable and cannot be null"); } else { this.StudentReference = studentReference; } this.Id = id; this.EndDate = endDate; this.FundingSources = fundingSources; this.ReasonExitedDescriptor = reasonExitedDescriptor; this.ServedOutsideOfRegularSession = servedOutsideOfRegularSession; this.ServiceAttendanceHours = serviceAttendanceHours; this.ServiceMembershipHours = serviceMembershipHours; this.Etag = etag; }
/// <summary> /// Initializes a new instance of the <see cref="MnStudentGiftedTalentedProgramAssociationWritable" /> 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="giftedTalentedParticipationDescriptor">The Gifted Talented Participation Descriptor. (required).</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public MnStudentGiftedTalentedProgramAssociationWritable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), DateTime?endDate = default(DateTime?), string giftedTalentedParticipationDescriptor = 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable and cannot be null"); } else { this.StudentReference = studentReference; } // to ensure "giftedTalentedParticipationDescriptor" is required (not null) if (giftedTalentedParticipationDescriptor == null) { throw new InvalidDataException("giftedTalentedParticipationDescriptor is a required property for MnStudentGiftedTalentedProgramAssociationWritable and cannot be null"); } else { this.GiftedTalentedParticipationDescriptor = giftedTalentedParticipationDescriptor; } this.Id = id; this.EndDate = endDate; this.Etag = etag; }
/// <summary> /// Initializes a new instance of the <see cref="MnStudent21stCenturyLearningCenterGrantProgramAssociationReadable" /> 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="attendanceDays">Attendance days.</param> /// <param name="attendanceHours">Attendance hours.</param> /// <param name="endDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public MnStudent21stCenturyLearningCenterGrantProgramAssociationReadable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), int?attendanceDays = default(int?), double?attendanceHours = default(double?), DateTime?endDate = default(DateTime?), string etag = default(string)) { // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for MnStudent21stCenturyLearningCenterGrantProgramAssociationReadable 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 MnStudent21stCenturyLearningCenterGrantProgramAssociationReadable 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 MnStudent21stCenturyLearningCenterGrantProgramAssociationReadable 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 MnStudent21stCenturyLearningCenterGrantProgramAssociationReadable and cannot be null"); } else { this.StudentReference = studentReference; } this.Id = id; this.AttendanceDays = attendanceDays; this.AttendanceHours = attendanceHours; this.EndDate = endDate; this.Etag = etag; }
/// <summary> /// Initializes a new instance of the <see cref="MnStudentPSEOProgramAssociationReadable" /> 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="pseoHighSchoolHours">Indicates PSEO High School Hours..</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public MnStudentPSEOProgramAssociationReadable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), DateTime?endDate = default(DateTime?), int?pseoHighSchoolHours = default(int?), string etag = default(string)) { // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for MnStudentPSEOProgramAssociationReadable 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 MnStudentPSEOProgramAssociationReadable 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 MnStudentPSEOProgramAssociationReadable 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 MnStudentPSEOProgramAssociationReadable and cannot be null"); } else { this.StudentReference = studentReference; } this.Id = id; this.EndDate = endDate; this.PseoHighSchoolHours = pseoHighSchoolHours; this.Etag = etag; }