Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiGraduationPlanCreditsByCourseCourse" /> class.
 /// </summary>
 /// <param name="CourseReference">CourseReference (required).</param>
 public EdFiGraduationPlanCreditsByCourseCourse(EdFiCourseReference CourseReference = default(EdFiCourseReference))
 {
     // to ensure "CourseReference" is required (not null)
     if (CourseReference == null)
     {
         throw new InvalidDataException("CourseReference is a required property for EdFiGraduationPlanCreditsByCourseCourse and cannot be null");
     }
     else
     {
         this.CourseReference = CourseReference;
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiCourseOffering" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="LocalCourseCode">The local code assigned by the School that identifies the course offering provided for the instruction of students. (required).</param>
 /// <param name="CourseReference">CourseReference (required).</param>
 /// <param name="SchoolReference">SchoolReference (required).</param>
 /// <param name="SessionReference">SessionReference (required).</param>
 /// <param name="CourseLevelCharacteristics">An unordered collection of courseOfferingCourseLevelCharacteristics. The type of specific program or designation with which the course offering is associated (e.g., AP, IB, Dual Credit, CTE). This collection should only be populated if it differs from the Course Level Characteristics identified at the Course level..</param>
 /// <param name="CurriculumUseds">An unordered collection of courseOfferingCurriculumUseds. The type of curriculum used in an early learning classroom or group..</param>
 /// <param name="InstructionalTimePlanned">The planned total number of clock minutes of instruction for this course offering. Generally, this should be at least as many minutes as is required for completion by the related state- or district-defined course..</param>
 /// <param name="LocalCourseTitle">The descriptive name given to a course of study offered in the school, if different from the CourseTitle..</param>
 /// <param name="OfferedGradeLevels">An unordered collection of courseOfferingOfferedGradeLevels. The grade levels in which the course is offered. This collection should only be populated if it differs from the Offered Grade Levels identified at the Course level..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiCourseOffering(string Id = default(string), string LocalCourseCode = default(string), EdFiCourseReference CourseReference = default(EdFiCourseReference), EdFiSchoolReference SchoolReference = default(EdFiSchoolReference), EdFiSessionReference SessionReference = default(EdFiSessionReference), List <EdFiCourseOfferingCourseLevelCharacteristic> CourseLevelCharacteristics = default(List <EdFiCourseOfferingCourseLevelCharacteristic>), List <EdFiCourseOfferingCurriculumUsed> CurriculumUseds = default(List <EdFiCourseOfferingCurriculumUsed>), int?InstructionalTimePlanned = default(int?), string LocalCourseTitle = default(string), List <EdFiCourseOfferingOfferedGradeLevel> OfferedGradeLevels = default(List <EdFiCourseOfferingOfferedGradeLevel>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiCourseOffering and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "LocalCourseCode" is required (not null)
     if (LocalCourseCode == null)
     {
         throw new InvalidDataException("LocalCourseCode is a required property for EdFiCourseOffering and cannot be null");
     }
     else
     {
         this.LocalCourseCode = LocalCourseCode;
     }
     // to ensure "CourseReference" is required (not null)
     if (CourseReference == null)
     {
         throw new InvalidDataException("CourseReference is a required property for EdFiCourseOffering and cannot be null");
     }
     else
     {
         this.CourseReference = CourseReference;
     }
     // to ensure "SchoolReference" is required (not null)
     if (SchoolReference == null)
     {
         throw new InvalidDataException("SchoolReference is a required property for EdFiCourseOffering and cannot be null");
     }
     else
     {
         this.SchoolReference = SchoolReference;
     }
     // to ensure "SessionReference" is required (not null)
     if (SessionReference == null)
     {
         throw new InvalidDataException("SessionReference is a required property for EdFiCourseOffering and cannot be null");
     }
     else
     {
         this.SessionReference = SessionReference;
     }
     this.CourseLevelCharacteristics = CourseLevelCharacteristics;
     this.CurriculumUseds            = CurriculumUseds;
     this.InstructionalTimePlanned   = InstructionalTimePlanned;
     this.LocalCourseTitle           = LocalCourseTitle;
     this.OfferedGradeLevels         = OfferedGradeLevels;
     this.Etag = Etag;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiCourseTranscript" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="CourseAttemptResultDescriptor">The result from the student&#39;s attempt to take the course, for example:          Pass          Fail          Incomplete          Withdrawn. (required).</param>
 /// <param name="CourseReference">CourseReference (required).</param>
 /// <param name="ExternalEducationOrganizationReference">ExternalEducationOrganizationReference.</param>
 /// <param name="StudentAcademicRecordReference">StudentAcademicRecordReference (required).</param>
 /// <param name="AlternativeCourseCode">The local code assigned by the school that identifies the course offering, the code from an external educational organization, or other alternate course code..</param>
 /// <param name="AlternativeCourseTitle">The descriptive name given to a course of study offered in the school, if different from the CourseTitle..</param>
 /// <param name="AttemptedCreditConversion">Conversion factor that when multiplied by the number of credits is equivalent to Carnegie units..</param>
 /// <param name="AttemptedCredits">The value of credits or units of value awarded for the completion of a course..</param>
 /// <param name="AttemptedCreditTypeDescriptor">The type of credits or units of value awarded for the completion of a course..</param>
 /// <param name="CourseRepeatCodeDescriptor">Indicates that an academic course has been repeated by a student and how that repeat is to be computed in the student&#39;s academic grade average..</param>
 /// <param name="CourseTitle">The descriptive name given to a course of study offered in a school or other institution or organization. In departmentalized classes at the elementary, secondary, and postsecondary levels (and for staff development activities), this refers to the name by which a course is identified (e.g., American History, English III). For elementary and other non-departmentalized classes, it refers to any portion of the instruction for which a grade or report is assigned (e.g., reading, composition, spelling, language arts)..</param>
 /// <param name="EarnedAdditionalCredits">An unordered collection of courseTranscriptEarnedAdditionalCredits. The number of additional credits a student attempted and could earn for successfully completing a given course (e.g., dual credit, AP, IB)..</param>
 /// <param name="EarnedCreditConversion">Conversion factor that when multiplied by the number of credits is equivalent to Carnegie units..</param>
 /// <param name="EarnedCredits">The value of credits or units of value awarded for the completion of a course. (required).</param>
 /// <param name="EarnedCreditTypeDescriptor">The type of credits or units of value awarded for the completion of a course..</param>
 /// <param name="FinalLetterGradeEarned">The final indicator of student performance in a class as submitted by the instructor..</param>
 /// <param name="FinalNumericGradeEarned">The final indicator of student performance in a class as submitted by the instructor..</param>
 /// <param name="MethodCreditEarnedDescriptor">The method the credits were earned (e.g., Classroom, Examination, Transfer)..</param>
 /// <param name="WhenTakenGradeLevelDescriptor">Student&#39;s grade level at time of course..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiCourseTranscript(string Id = default(string), string CourseAttemptResultDescriptor = default(string), EdFiCourseReference CourseReference = default(EdFiCourseReference), EdFiEducationOrganizationReference ExternalEducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiStudentAcademicRecordReference StudentAcademicRecordReference = default(EdFiStudentAcademicRecordReference), string AlternativeCourseCode = default(string), string AlternativeCourseTitle = default(string), double?AttemptedCreditConversion = default(double?), double?AttemptedCredits = default(double?), string AttemptedCreditTypeDescriptor = default(string), string CourseRepeatCodeDescriptor = default(string), string CourseTitle = default(string), List <EdFiCourseTranscriptEarnedAdditionalCredits> EarnedAdditionalCredits = default(List <EdFiCourseTranscriptEarnedAdditionalCredits>), double?EarnedCreditConversion = default(double?), double?EarnedCredits = default(double?), string EarnedCreditTypeDescriptor = default(string), string FinalLetterGradeEarned = default(string), double?FinalNumericGradeEarned = default(double?), string MethodCreditEarnedDescriptor = default(string), string WhenTakenGradeLevelDescriptor = 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 EdFiCourseTranscript and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "CourseAttemptResultDescriptor" is required (not null)
     if (CourseAttemptResultDescriptor == null)
     {
         throw new InvalidDataException("CourseAttemptResultDescriptor is a required property for EdFiCourseTranscript and cannot be null");
     }
     else
     {
         this.CourseAttemptResultDescriptor = CourseAttemptResultDescriptor;
     }
     // to ensure "CourseReference" is required (not null)
     if (CourseReference == null)
     {
         throw new InvalidDataException("CourseReference is a required property for EdFiCourseTranscript and cannot be null");
     }
     else
     {
         this.CourseReference = CourseReference;
     }
     // to ensure "StudentAcademicRecordReference" is required (not null)
     if (StudentAcademicRecordReference == null)
     {
         throw new InvalidDataException("StudentAcademicRecordReference is a required property for EdFiCourseTranscript and cannot be null");
     }
     else
     {
         this.StudentAcademicRecordReference = StudentAcademicRecordReference;
     }
     // to ensure "EarnedCredits" is required (not null)
     if (EarnedCredits == null)
     {
         throw new InvalidDataException("EarnedCredits is a required property for EdFiCourseTranscript and cannot be null");
     }
     else
     {
         this.EarnedCredits = EarnedCredits;
     }
     this.ExternalEducationOrganizationReference = ExternalEducationOrganizationReference;
     this.AlternativeCourseCode         = AlternativeCourseCode;
     this.AlternativeCourseTitle        = AlternativeCourseTitle;
     this.AttemptedCreditConversion     = AttemptedCreditConversion;
     this.AttemptedCredits              = AttemptedCredits;
     this.AttemptedCreditTypeDescriptor = AttemptedCreditTypeDescriptor;
     this.CourseRepeatCodeDescriptor    = CourseRepeatCodeDescriptor;
     this.CourseTitle                   = CourseTitle;
     this.EarnedAdditionalCredits       = EarnedAdditionalCredits;
     this.EarnedCreditConversion        = EarnedCreditConversion;
     this.EarnedCreditTypeDescriptor    = EarnedCreditTypeDescriptor;
     this.FinalLetterGradeEarned        = FinalLetterGradeEarned;
     this.FinalNumericGradeEarned       = FinalNumericGradeEarned;
     this.MethodCreditEarnedDescriptor  = MethodCreditEarnedDescriptor;
     this.WhenTakenGradeLevelDescriptor = WhenTakenGradeLevelDescriptor;
     this.Etag = Etag;
 }