/// <summary>
 /// Initializes a new instance of the <see cref="EdFiSessionGradingPeriod" /> class.
 /// </summary>
 /// <param name="GradingPeriodReference">GradingPeriodReference (required).</param>
 public EdFiSessionGradingPeriod(EdFiGradingPeriodReference GradingPeriodReference = default(EdFiGradingPeriodReference))
 {
     // to ensure "GradingPeriodReference" is required (not null)
     if (GradingPeriodReference == null)
     {
         throw new InvalidDataException("GradingPeriodReference is a required property for EdFiSessionGradingPeriod and cannot be null");
     }
     else
     {
         this.GradingPeriodReference = GradingPeriodReference;
     }
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentLearningObjective" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="GradingPeriodReference">GradingPeriodReference (required).</param>
 /// <param name="LearningObjectiveReference">LearningObjectiveReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="CompetencyLevelDescriptor">The CompetencyLevel assessed for the student for the referenced LearningObjective. (required).</param>
 /// <param name="DiagnosticStatement">A statement provided by the teacher that provides information in addition to the grade or assessment score..</param>
 /// <param name="GeneralStudentProgramAssociations">An unordered collection of studentLearningObjectiveGeneralStudentProgramAssociations. Relates the Student and Program associated with the LearningObjective..</param>
 /// <param name="StudentSectionAssociations">An unordered collection of studentLearningObjectiveStudentSectionAssociations. Relates the Student and Section associated with the LearningObjective..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentLearningObjective(string Id = default(string), EdFiGradingPeriodReference GradingPeriodReference = default(EdFiGradingPeriodReference), EdFiLearningObjectiveReference LearningObjectiveReference = default(EdFiLearningObjectiveReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string CompetencyLevelDescriptor = default(string), string DiagnosticStatement = default(string), List <EdFiStudentLearningObjectiveGeneralStudentProgramAssociation> GeneralStudentProgramAssociations = default(List <EdFiStudentLearningObjectiveGeneralStudentProgramAssociation>), List <EdFiStudentLearningObjectiveStudentSectionAssociation> StudentSectionAssociations = default(List <EdFiStudentLearningObjectiveStudentSectionAssociation>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentLearningObjective and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "GradingPeriodReference" is required (not null)
     if (GradingPeriodReference == null)
     {
         throw new InvalidDataException("GradingPeriodReference is a required property for EdFiStudentLearningObjective and cannot be null");
     }
     else
     {
         this.GradingPeriodReference = GradingPeriodReference;
     }
     // to ensure "LearningObjectiveReference" is required (not null)
     if (LearningObjectiveReference == null)
     {
         throw new InvalidDataException("LearningObjectiveReference is a required property for EdFiStudentLearningObjective and cannot be null");
     }
     else
     {
         this.LearningObjectiveReference = LearningObjectiveReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentLearningObjective and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     // to ensure "CompetencyLevelDescriptor" is required (not null)
     if (CompetencyLevelDescriptor == null)
     {
         throw new InvalidDataException("CompetencyLevelDescriptor is a required property for EdFiStudentLearningObjective and cannot be null");
     }
     else
     {
         this.CompetencyLevelDescriptor = CompetencyLevelDescriptor;
     }
     this.DiagnosticStatement = DiagnosticStatement;
     this.GeneralStudentProgramAssociations = GeneralStudentProgramAssociations;
     this.StudentSectionAssociations        = StudentSectionAssociations;
     this.Etag = Etag;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiGrade" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="GradeTypeDescriptor">The type of grade reported (e.g., Exam, Final, Grading Period). (required).</param>
 /// <param name="GradingPeriodReference">GradingPeriodReference (required).</param>
 /// <param name="StudentSectionAssociationReference">StudentSectionAssociationReference (required).</param>
 /// <param name="DiagnosticStatement">A statement provided by the teacher that provides information in addition to the grade or assessment score..</param>
 /// <param name="LetterGradeEarned">A final or interim (grading period) indicator of student performance in a class as submitted by the instructor..</param>
 /// <param name="NumericGradeEarned">A final or interim (grading period) indicator of student performance in a class as submitted by the instructor..</param>
 /// <param name="PerformanceBaseConversionDescriptor">A conversion of the level to a standard set of performance levels..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiGrade(string Id = default(string), string GradeTypeDescriptor = default(string), EdFiGradingPeriodReference GradingPeriodReference = default(EdFiGradingPeriodReference), EdFiStudentSectionAssociationReference StudentSectionAssociationReference = default(EdFiStudentSectionAssociationReference), string DiagnosticStatement = default(string), string LetterGradeEarned = default(string), double?NumericGradeEarned = default(double?), string PerformanceBaseConversionDescriptor = 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 EdFiGrade and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "GradeTypeDescriptor" is required (not null)
     if (GradeTypeDescriptor == null)
     {
         throw new InvalidDataException("GradeTypeDescriptor is a required property for EdFiGrade and cannot be null");
     }
     else
     {
         this.GradeTypeDescriptor = GradeTypeDescriptor;
     }
     // to ensure "GradingPeriodReference" is required (not null)
     if (GradingPeriodReference == null)
     {
         throw new InvalidDataException("GradingPeriodReference is a required property for EdFiGrade and cannot be null");
     }
     else
     {
         this.GradingPeriodReference = GradingPeriodReference;
     }
     // to ensure "StudentSectionAssociationReference" is required (not null)
     if (StudentSectionAssociationReference == null)
     {
         throw new InvalidDataException("StudentSectionAssociationReference is a required property for EdFiGrade and cannot be null");
     }
     else
     {
         this.StudentSectionAssociationReference = StudentSectionAssociationReference;
     }
     this.DiagnosticStatement = DiagnosticStatement;
     this.LetterGradeEarned   = LetterGradeEarned;
     this.NumericGradeEarned  = NumericGradeEarned;
     this.PerformanceBaseConversionDescriptor = PerformanceBaseConversionDescriptor;
     this.Etag = Etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiReportCard" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="GradingPeriodReference">GradingPeriodReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="GpaCumulative">A measure of cumulative average performance in all courses taken by an individual from the beginning of the school year through the current grading period..</param>
 /// <param name="GpaGivenGradingPeriod">A measure of average performance in all courses taken by an individual for the current grading period..</param>
 /// <param name="Grades">An unordered collection of reportCardGrades. Grades for the classes attended by the Student for this grading period..</param>
 /// <param name="NumberOfDaysAbsent">The number of days an individual is absent when school is in session during a given reporting period..</param>
 /// <param name="NumberOfDaysInAttendance">The number of days an individual is present when school is in session during a given reporting period..</param>
 /// <param name="NumberOfDaysTardy">The number of days an individual is tardy during a given reporting period..</param>
 /// <param name="StudentCompetencyObjectives">An unordered collection of reportCardStudentCompetencyObjectives. The Student competency evaluations associated for this grading period..</param>
 /// <param name="StudentLearningObjectives">An unordered collection of reportCardStudentLearningObjectives. The StudentLearningObjective evaluations associated for this grading period..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiReportCard(string Id = default(string), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiGradingPeriodReference GradingPeriodReference = default(EdFiGradingPeriodReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), double?GpaCumulative = default(double?), double?GpaGivenGradingPeriod = default(double?), List <EdFiReportCardGrade> Grades = default(List <EdFiReportCardGrade>), double?NumberOfDaysAbsent = default(double?), double?NumberOfDaysInAttendance = default(double?), int?NumberOfDaysTardy = default(int?), List <EdFiReportCardStudentCompetencyObjective> StudentCompetencyObjectives = default(List <EdFiReportCardStudentCompetencyObjective>), List <EdFiReportCardStudentLearningObjective> StudentLearningObjectives = default(List <EdFiReportCardStudentLearningObjective>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiReportCard and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiReportCard and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "GradingPeriodReference" is required (not null)
     if (GradingPeriodReference == null)
     {
         throw new InvalidDataException("GradingPeriodReference is a required property for EdFiReportCard and cannot be null");
     }
     else
     {
         this.GradingPeriodReference = GradingPeriodReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiReportCard and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.GpaCumulative         = GpaCumulative;
     this.GpaGivenGradingPeriod = GpaGivenGradingPeriod;
     this.Grades                      = Grades;
     this.NumberOfDaysAbsent          = NumberOfDaysAbsent;
     this.NumberOfDaysInAttendance    = NumberOfDaysInAttendance;
     this.NumberOfDaysTardy           = NumberOfDaysTardy;
     this.StudentCompetencyObjectives = StudentCompetencyObjectives;
     this.StudentLearningObjectives   = StudentLearningObjectives;
     this.Etag = Etag;
 }
Пример #5
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;
 }