/// <summary> /// Initializes a new instance of the <see cref="MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable" /> class. /// </summary> /// <param name="academicHonorCategoryDescriptor">A designation of the type of academic distinctions earned by or awarded to the student. (required).</param> /// <param name="honorDescription">A description of the type of academic distinctions earned by or awarded to the individual. (required).</param> /// <param name="achievementCategoryDescriptor">The category of achievement attributed to the learner. (required).</param> /// <param name="assessmentCategoryDescriptor">The skills assessment used to test for award. (required).</param> /// <param name="assessedGradeLevelDescriptor">The grade level of the student when tested for award. (required).</param> /// <param name="assessmentTitle">The title/name of the skills assessment administered..</param> /// <param name="honorAwardDate">The date the honor was awarded or earned..</param> /// <param name="honorAwardExpiresDate">Date on which the award expires..</param> /// <param name="assessedSchoolYearTypeReference">assessedSchoolYearTypeReference (required).</param> /// <param name="languages">An unordered collection of studentEducationOrganizationAssociationLanguageAcademicHonorLanguages. The language (non-English) in which the student earned this honor. For bilingual seals or world languages proficiency certificate, one language; for multilingual seals, multiple languages. (required).</param> public MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable(string academicHonorCategoryDescriptor = default(string), string honorDescription = default(string), string achievementCategoryDescriptor = default(string), string assessmentCategoryDescriptor = default(string), string assessedGradeLevelDescriptor = default(string), string assessmentTitle = default(string), DateTime?honorAwardDate = default(DateTime?), DateTime?honorAwardExpiresDate = default(DateTime?), EdFiSchoolYearTypeReference assessedSchoolYearTypeReference = default(EdFiSchoolYearTypeReference), List <MnStudentEducationOrganizationAssociationLanguageAcademicHonorLanguageWritable> languages = default(List <MnStudentEducationOrganizationAssociationLanguageAcademicHonorLanguageWritable>)) { // to ensure "academicHonorCategoryDescriptor" is required (not null) if (academicHonorCategoryDescriptor == null) { throw new InvalidDataException("academicHonorCategoryDescriptor is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.AcademicHonorCategoryDescriptor = academicHonorCategoryDescriptor; } // to ensure "honorDescription" is required (not null) if (honorDescription == null) { throw new InvalidDataException("honorDescription is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.HonorDescription = honorDescription; } // to ensure "achievementCategoryDescriptor" is required (not null) if (achievementCategoryDescriptor == null) { throw new InvalidDataException("achievementCategoryDescriptor is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.AchievementCategoryDescriptor = achievementCategoryDescriptor; } // to ensure "assessmentCategoryDescriptor" is required (not null) if (assessmentCategoryDescriptor == null) { throw new InvalidDataException("assessmentCategoryDescriptor is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.AssessmentCategoryDescriptor = assessmentCategoryDescriptor; } // to ensure "assessedGradeLevelDescriptor" is required (not null) if (assessedGradeLevelDescriptor == null) { throw new InvalidDataException("assessedGradeLevelDescriptor is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.AssessedGradeLevelDescriptor = assessedGradeLevelDescriptor; } // to ensure "assessedSchoolYearTypeReference" is required (not null) if (assessedSchoolYearTypeReference == null) { throw new InvalidDataException("assessedSchoolYearTypeReference is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.AssessedSchoolYearTypeReference = assessedSchoolYearTypeReference; } // to ensure "languages" is required (not null) if (languages == null) { throw new InvalidDataException("languages is a required property for MnStudentEducationOrganizationAssociationLanguageAcademicHonorWritable and cannot be null"); } else { this.Languages = languages; } this.AssessmentTitle = assessmentTitle; this.HonorAwardDate = honorAwardDate; this.HonorAwardExpiresDate = honorAwardExpiresDate; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiGradingPeriodReadable" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="gradingPeriodDescriptor">The name of the period for which grades are reported. (required).</param> /// <param name="periodSequence">The sequential order of this period relative to other periods. (required).</param> /// <param name="schoolReference">schoolReference (required).</param> /// <param name="schoolYearTypeReference">schoolYearTypeReference (required).</param> /// <param name="beginDate">Month, day, and year of the first day of the GradingPeriod. (required).</param> /// <param name="endDate">Month, day, and year of the last day of the GradingPeriod. (required).</param> /// <param name="totalInstructionalDays">Total days available for educational instruction during the GradingPeriod. (required).</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> public EdFiGradingPeriodReadable(string id = default(string), string gradingPeriodDescriptor = default(string), int?periodSequence = default(int?), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), DateTime?beginDate = default(DateTime?), DateTime?endDate = default(DateTime?), int?totalInstructionalDays = default(int?), string etag = default(string)) { // to ensure "gradingPeriodDescriptor" is required (not null) if (gradingPeriodDescriptor == null) { throw new InvalidDataException("gradingPeriodDescriptor is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.GradingPeriodDescriptor = gradingPeriodDescriptor; } // to ensure "periodSequence" is required (not null) if (periodSequence == null) { throw new InvalidDataException("periodSequence is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.PeriodSequence = periodSequence; } // to ensure "schoolReference" is required (not null) if (schoolReference == null) { throw new InvalidDataException("schoolReference is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.SchoolReference = schoolReference; } // to ensure "schoolYearTypeReference" is required (not null) if (schoolYearTypeReference == null) { throw new InvalidDataException("schoolYearTypeReference is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.SchoolYearTypeReference = schoolYearTypeReference; } // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.BeginDate = beginDate; } // to ensure "endDate" is required (not null) if (endDate == null) { throw new InvalidDataException("endDate is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.EndDate = endDate; } // to ensure "totalInstructionalDays" is required (not null) if (totalInstructionalDays == null) { throw new InvalidDataException("totalInstructionalDays is a required property for EdFiGradingPeriodReadable and cannot be null"); } else { this.TotalInstructionalDays = totalInstructionalDays; } this.Id = id; this.Etag = etag; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiSessionWritable" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="sessionName">The identifier for the calendar for the academic session (e.g., 2010/11, 2011 Summer). (required).</param> /// <param name="schoolReference">schoolReference (required).</param> /// <param name="schoolYearTypeReference">schoolYearTypeReference (required).</param> /// <param name="beginDate">Month, day, and year of the first day of the Session. (required).</param> /// <param name="endDate">Month, day and year of the last day of the Session. (required).</param> /// <param name="termDescriptor">An descriptor value indicating the term (e.g. 'Semester', 'Quarter', etc.). (required).</param> /// <param name="totalInstructionalDays">The total number of instructional days in the school calendar. (required).</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> /// <param name="ext">ext.</param> public EdFiSessionWritable(string id = default(string), string sessionName = default(string), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), DateTime?beginDate = default(DateTime?), DateTime?endDate = default(DateTime?), string termDescriptor = default(string), int?totalInstructionalDays = default(int?), string etag = default(string), SessionExtensionsWritable ext = default(SessionExtensionsWritable)) { // to ensure "sessionName" is required (not null) if (sessionName == null) { throw new InvalidDataException("sessionName is a required property for EdFiSessionWritable and cannot be null"); } else { this.SessionName = sessionName; } // to ensure "schoolReference" is required (not null) if (schoolReference == null) { throw new InvalidDataException("schoolReference is a required property for EdFiSessionWritable and cannot be null"); } else { this.SchoolReference = schoolReference; } // to ensure "schoolYearTypeReference" is required (not null) if (schoolYearTypeReference == null) { throw new InvalidDataException("schoolYearTypeReference is a required property for EdFiSessionWritable and cannot be null"); } else { this.SchoolYearTypeReference = schoolYearTypeReference; } // to ensure "beginDate" is required (not null) if (beginDate == null) { throw new InvalidDataException("beginDate is a required property for EdFiSessionWritable and cannot be null"); } else { this.BeginDate = beginDate; } // to ensure "endDate" is required (not null) if (endDate == null) { throw new InvalidDataException("endDate is a required property for EdFiSessionWritable and cannot be null"); } else { this.EndDate = endDate; } // to ensure "termDescriptor" is required (not null) if (termDescriptor == null) { throw new InvalidDataException("termDescriptor is a required property for EdFiSessionWritable and cannot be null"); } else { this.TermDescriptor = termDescriptor; } // to ensure "totalInstructionalDays" is required (not null) if (totalInstructionalDays == null) { throw new InvalidDataException("totalInstructionalDays is a required property for EdFiSessionWritable and cannot be null"); } else { this.TotalInstructionalDays = totalInstructionalDays; } this.Id = id; this.Etag = etag; this.Ext = ext; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiCalendarReadable" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="calendarCode">The identifier for the Calendar. (required).</param> /// <param name="schoolReference">schoolReference (required).</param> /// <param name="schoolYearTypeReference">schoolYearTypeReference (required).</param> /// <param name="calendarTypeDescriptor">Indicates the type of Calendar. (required).</param> /// <param name="gradeLevels">An unordered collection of calendarGradeLevels. Indicates the GradeLevel associated with the Calendar..</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> /// <param name="ext">ext.</param> public EdFiCalendarReadable(string id = default(string), string calendarCode = default(string), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), string calendarTypeDescriptor = default(string), List <EdFiCalendarGradeLevelReadable> gradeLevels = default(List <EdFiCalendarGradeLevelReadable>), string etag = default(string), CalendarExtensionsReadable ext = default(CalendarExtensionsReadable)) { // to ensure "calendarCode" is required (not null) if (calendarCode == null) { throw new InvalidDataException("calendarCode is a required property for EdFiCalendarReadable and cannot be null"); } else { this.CalendarCode = calendarCode; } // to ensure "schoolReference" is required (not null) if (schoolReference == null) { throw new InvalidDataException("schoolReference is a required property for EdFiCalendarReadable and cannot be null"); } else { this.SchoolReference = schoolReference; } // to ensure "schoolYearTypeReference" is required (not null) if (schoolYearTypeReference == null) { throw new InvalidDataException("schoolYearTypeReference is a required property for EdFiCalendarReadable and cannot be null"); } else { this.SchoolYearTypeReference = schoolYearTypeReference; } // to ensure "calendarTypeDescriptor" is required (not null) if (calendarTypeDescriptor == null) { throw new InvalidDataException("calendarTypeDescriptor is a required property for EdFiCalendarReadable and cannot be null"); } else { this.CalendarTypeDescriptor = calendarTypeDescriptor; } this.Id = id; this.GradeLevels = gradeLevels; this.Etag = etag; this.Ext = ext; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentSchoolAssociationReadable" /> class. /// </summary> /// <param name="id">id.</param> /// <param name="entryDate">The month, day, and year on which an individual enters and begins to receive instructional services in a school. (required).</param> /// <param name="calendarReference">calendarReference.</param> /// <param name="schoolReference">schoolReference (required).</param> /// <param name="schoolYearTypeReference">schoolYearTypeReference.</param> /// <param name="studentReference">studentReference (required).</param> /// <param name="entryGradeLevelDescriptor">The grade level or primary instructional level at which a student enters and receives services in a school or an educational institution during a given academic session. (required).</param> /// <param name="entryTypeDescriptor">The process by which a student enters a school during a given academic session..</param> /// <param name="exitWithdrawDate">The recorded exit or withdraw date for the student..</param> /// <param name="exitWithdrawTypeDescriptor">The circumstances under which the student exited from membership in an educational institution..</param> /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param> /// <param name="ext">ext.</param> public EdFiStudentSchoolAssociationReadable(string id = default(string), DateTime?entryDate = default(DateTime?), EdFiCalendarReference calendarReference = default(EdFiCalendarReference), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), EdFiStudentReference studentReference = default(EdFiStudentReference), string entryGradeLevelDescriptor = default(string), string entryTypeDescriptor = default(string), DateTime?exitWithdrawDate = default(DateTime?), string exitWithdrawTypeDescriptor = default(string), string etag = default(string), StudentSchoolAssociationExtensionsReadable ext = default(StudentSchoolAssociationExtensionsReadable)) { // to ensure "entryDate" is required (not null) if (entryDate == null) { throw new InvalidDataException("entryDate is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.EntryDate = entryDate; } // to ensure "schoolReference" is required (not null) if (schoolReference == null) { throw new InvalidDataException("schoolReference is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.SchoolReference = schoolReference; } // to ensure "studentReference" is required (not null) if (studentReference == null) { throw new InvalidDataException("studentReference is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.StudentReference = studentReference; } // to ensure "entryGradeLevelDescriptor" is required (not null) if (entryGradeLevelDescriptor == null) { throw new InvalidDataException("entryGradeLevelDescriptor is a required property for EdFiStudentSchoolAssociationReadable and cannot be null"); } else { this.EntryGradeLevelDescriptor = entryGradeLevelDescriptor; } this.Id = id; this.CalendarReference = calendarReference; this.SchoolYearTypeReference = schoolYearTypeReference; this.EntryTypeDescriptor = entryTypeDescriptor; this.ExitWithdrawDate = exitWithdrawDate; this.ExitWithdrawTypeDescriptor = exitWithdrawTypeDescriptor; this.Etag = etag; this.Ext = ext; }