Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiAssessmentSection" /> class.
 /// </summary>
 /// <param name="SectionReference">SectionReference (required).</param>
 public EdFiAssessmentSection(EdFiSectionReference SectionReference = default(EdFiSectionReference))
 {
     // to ensure "SectionReference" is required (not null)
     if (SectionReference == null)
     {
         throw new InvalidDataException("SectionReference is a required property for EdFiAssessmentSection and cannot be null");
     }
     else
     {
         this.SectionReference = SectionReference;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStaffSectionAssociation" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="SectionReference">SectionReference (required).</param>
 /// <param name="StaffReference">StaffReference (required).</param>
 /// <param name="BeginDate">Month, day, and year of a teacher&#39;s assignment to the Section. If blank, defaults to the first day of the first grading period for the Section..</param>
 /// <param name="ClassroomPositionDescriptor">The type of position the Staff member holds in the specific class/section; for example:          Teacher of Record, Assistant Teacher, Support Teacher, Substitute Teacher... (required).</param>
 /// <param name="EndDate">Month, day, and year of the last day of a staff member&#39;s assignment to the Section..</param>
 /// <param name="HighlyQualifiedTeacher">An indication of whether a teacher is classified as highly qualified for his/her assignment according to state definition. This attribute indicates the teacher is highly qualified for this section being taught..</param>
 /// <param name="PercentageContribution">Indicates the percentage of the total scheduled course time, academic standards, and/or learning activities delivered in this section by this staff member. A teacher of record designation may be based solely or partially on this contribution percentage..</param>
 /// <param name="TeacherStudentDataLinkExclusion">Indicates that the entire section is excluded from calculation of value-added or growth attribution calculations used for a particular teacher evaluation..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStaffSectionAssociation(string Id = default(string), EdFiSectionReference SectionReference = default(EdFiSectionReference), EdFiStaffReference StaffReference = default(EdFiStaffReference), DateTime?BeginDate = default(DateTime?), string ClassroomPositionDescriptor = default(string), DateTime?EndDate = default(DateTime?), bool?HighlyQualifiedTeacher = default(bool?), double?PercentageContribution = default(double?), bool?TeacherStudentDataLinkExclusion = 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 EdFiStaffSectionAssociation and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "SectionReference" is required (not null)
     if (SectionReference == null)
     {
         throw new InvalidDataException("SectionReference is a required property for EdFiStaffSectionAssociation and cannot be null");
     }
     else
     {
         this.SectionReference = SectionReference;
     }
     // to ensure "StaffReference" is required (not null)
     if (StaffReference == null)
     {
         throw new InvalidDataException("StaffReference is a required property for EdFiStaffSectionAssociation and cannot be null");
     }
     else
     {
         this.StaffReference = StaffReference;
     }
     // to ensure "ClassroomPositionDescriptor" is required (not null)
     if (ClassroomPositionDescriptor == null)
     {
         throw new InvalidDataException("ClassroomPositionDescriptor is a required property for EdFiStaffSectionAssociation and cannot be null");
     }
     else
     {
         this.ClassroomPositionDescriptor = ClassroomPositionDescriptor;
     }
     this.BeginDate = BeginDate;
     this.EndDate   = EndDate;
     this.HighlyQualifiedTeacher          = HighlyQualifiedTeacher;
     this.PercentageContribution          = PercentageContribution;
     this.TeacherStudentDataLinkExclusion = TeacherStudentDataLinkExclusion;
     this.Etag = Etag;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiSectionAttendanceTakenEvent" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="CalendarDateReference">CalendarDateReference (required).</param>
 /// <param name="SectionReference">SectionReference (required).</param>
 /// <param name="StaffReference">StaffReference.</param>
 /// <param name="EventDate">The date the SectionAttendanceTakenEvent was submitted, which could be a different date than the instructional day. (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiSectionAttendanceTakenEvent(string Id = default(string), EdFiCalendarDateReference CalendarDateReference = default(EdFiCalendarDateReference), EdFiSectionReference SectionReference = default(EdFiSectionReference), EdFiStaffReference StaffReference = default(EdFiStaffReference), DateTime?EventDate = default(DateTime?), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiSectionAttendanceTakenEvent and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "CalendarDateReference" is required (not null)
     if (CalendarDateReference == null)
     {
         throw new InvalidDataException("CalendarDateReference is a required property for EdFiSectionAttendanceTakenEvent and cannot be null");
     }
     else
     {
         this.CalendarDateReference = CalendarDateReference;
     }
     // to ensure "SectionReference" is required (not null)
     if (SectionReference == null)
     {
         throw new InvalidDataException("SectionReference is a required property for EdFiSectionAttendanceTakenEvent and cannot be null");
     }
     else
     {
         this.SectionReference = SectionReference;
     }
     // to ensure "EventDate" is required (not null)
     if (EventDate == null)
     {
         throw new InvalidDataException("EventDate is a required property for EdFiSectionAttendanceTakenEvent and cannot be null");
     }
     else
     {
         this.EventDate = EventDate;
     }
     this.StaffReference = StaffReference;
     this.Etag           = Etag;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiGradebookEntry" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="DateAssigned">The date the assignment, homework, or assessment was assigned or executed. (required).</param>
 /// <param name="GradebookEntryTitle">The name or title of the activity to be recorded in the GradebookEntry. (required).</param>
 /// <param name="GradingPeriodReference">GradingPeriodReference.</param>
 /// <param name="SectionReference">SectionReference (required).</param>
 /// <param name="Description">A description of the assignment, homework, or classroom assessment..</param>
 /// <param name="GradebookEntryTypeDescriptor">The type of the GradebookEntry; for example, homework, assignment, quiz, unit test, oral presentation, etc..</param>
 /// <param name="LearningObjectives">An unordered collection of gradebookEntryLearningObjectives. LearningObjectives associated with the GradebookEntry..</param>
 /// <param name="LearningStandards">An unordered collection of gradebookEntryLearningStandards. LearningStandard(s) associated with the GradebookEntry..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiGradebookEntry(string Id = default(string), DateTime?DateAssigned = default(DateTime?), string GradebookEntryTitle = default(string), EdFiGradingPeriodReference GradingPeriodReference = default(EdFiGradingPeriodReference), EdFiSectionReference SectionReference = default(EdFiSectionReference), string Description = default(string), string GradebookEntryTypeDescriptor = default(string), List <EdFiGradebookEntryLearningObjective> LearningObjectives = default(List <EdFiGradebookEntryLearningObjective>), List <EdFiGradebookEntryLearningStandard> LearningStandards = default(List <EdFiGradebookEntryLearningStandard>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiGradebookEntry and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "DateAssigned" is required (not null)
     if (DateAssigned == null)
     {
         throw new InvalidDataException("DateAssigned is a required property for EdFiGradebookEntry and cannot be null");
     }
     else
     {
         this.DateAssigned = DateAssigned;
     }
     // to ensure "GradebookEntryTitle" is required (not null)
     if (GradebookEntryTitle == null)
     {
         throw new InvalidDataException("GradebookEntryTitle is a required property for EdFiGradebookEntry and cannot be null");
     }
     else
     {
         this.GradebookEntryTitle = GradebookEntryTitle;
     }
     // to ensure "SectionReference" is required (not null)
     if (SectionReference == null)
     {
         throw new InvalidDataException("SectionReference is a required property for EdFiGradebookEntry and cannot be null");
     }
     else
     {
         this.SectionReference = SectionReference;
     }
     this.GradingPeriodReference       = GradingPeriodReference;
     this.Description                  = Description;
     this.GradebookEntryTypeDescriptor = GradebookEntryTypeDescriptor;
     this.LearningObjectives           = LearningObjectives;
     this.LearningStandards            = LearningStandards;
     this.Etag = Etag;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSectionAttendanceEvent" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="AttendanceEventCategoryDescriptor">A code describing the attendance event, for example:          Present          Unexcused absence          Excused absence          Tardy. (required).</param>
 /// <param name="EventDate">Date for this attendance event. (required).</param>
 /// <param name="SectionReference">SectionReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="AttendanceEventReason">The reported reason for a student&#39;s absence..</param>
 /// <param name="EducationalEnvironmentDescriptor">The setting in which a child receives education and related services. This attribute is only used if it differs from the EducationalEnvironment of the Section. This is only used in the AttendanceEvent if different from the associated Section..</param>
 /// <param name="EventDuration">The amount of time for the event as recognized by the school: 1 day &#x3D; 1, 1/2 day &#x3D; 0.5, 1/3 day &#x3D; 0.33..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentSectionAttendanceEvent(string Id = default(string), string AttendanceEventCategoryDescriptor = default(string), DateTime?EventDate = default(DateTime?), EdFiSectionReference SectionReference = default(EdFiSectionReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string AttendanceEventReason = default(string), string EducationalEnvironmentDescriptor = default(string), double?EventDuration = default(double?), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentSectionAttendanceEvent and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "AttendanceEventCategoryDescriptor" is required (not null)
     if (AttendanceEventCategoryDescriptor == null)
     {
         throw new InvalidDataException("AttendanceEventCategoryDescriptor is a required property for EdFiStudentSectionAttendanceEvent and cannot be null");
     }
     else
     {
         this.AttendanceEventCategoryDescriptor = AttendanceEventCategoryDescriptor;
     }
     // to ensure "EventDate" is required (not null)
     if (EventDate == null)
     {
         throw new InvalidDataException("EventDate is a required property for EdFiStudentSectionAttendanceEvent and cannot be null");
     }
     else
     {
         this.EventDate = EventDate;
     }
     // to ensure "SectionReference" is required (not null)
     if (SectionReference == null)
     {
         throw new InvalidDataException("SectionReference is a required property for EdFiStudentSectionAttendanceEvent and cannot be null");
     }
     else
     {
         this.SectionReference = SectionReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentSectionAttendanceEvent and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.AttendanceEventReason            = AttendanceEventReason;
     this.EducationalEnvironmentDescriptor = EducationalEnvironmentDescriptor;
     this.EventDuration = EventDuration;
     this.Etag          = Etag;
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSectionAssociation" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="BeginDate">Month, day, and year of the Student&#39;s entry or assignment to the Section. (required).</param>
 /// <param name="SectionReference">SectionReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="AttemptStatusDescriptor">An indication of the student&#39;s attempt status for the section..</param>
 /// <param name="EndDate">Month, day, and year of the withdrawal or exit of the Student from the Section..</param>
 /// <param name="HomeroomIndicator">Indicates the Section is the student&#39;s homeroom. Homeroom period may the convention for taking daily attendance..</param>
 /// <param name="RepeatIdentifierDescriptor">An indication as to whether a student has previously taken a given course.          Repeated, counted in grade point average          Repeated, not counted in grade point average          Not repeated          Other..</param>
 /// <param name="TeacherStudentDataLinkExclusion">Indicates that the student-section combination is excluded from calculation of value-added or growth attribution calculations used for a particular teacher evaluation..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentSectionAssociation(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiSectionReference SectionReference = default(EdFiSectionReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string AttemptStatusDescriptor = default(string), DateTime?EndDate = default(DateTime?), bool?HomeroomIndicator = default(bool?), string RepeatIdentifierDescriptor = default(string), bool?TeacherStudentDataLinkExclusion = 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 EdFiStudentSectionAssociation 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 EdFiStudentSectionAssociation and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "SectionReference" is required (not null)
     if (SectionReference == null)
     {
         throw new InvalidDataException("SectionReference is a required property for EdFiStudentSectionAssociation and cannot be null");
     }
     else
     {
         this.SectionReference = SectionReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentSectionAssociation and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.AttemptStatusDescriptor = AttemptStatusDescriptor;
     this.EndDate                         = EndDate;
     this.HomeroomIndicator               = HomeroomIndicator;
     this.RepeatIdentifierDescriptor      = RepeatIdentifierDescriptor;
     this.TeacherStudentDataLinkExclusion = TeacherStudentDataLinkExclusion;
     this.Etag = Etag;
 }