/// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentCompetencyObjectiveStudentSectionAssociation" /> class.
 /// </summary>
 /// <param name="StudentSectionAssociationReference">StudentSectionAssociationReference (required).</param>
 public EdFiStudentCompetencyObjectiveStudentSectionAssociation(EdFiStudentSectionAssociationReference StudentSectionAssociationReference = default(EdFiStudentSectionAssociationReference))
 {
     // to ensure "StudentSectionAssociationReference" is required (not null)
     if (StudentSectionAssociationReference == null)
     {
         throw new InvalidDataException("StudentSectionAssociationReference is a required property for EdFiStudentCompetencyObjectiveStudentSectionAssociation and cannot be null");
     }
     else
     {
         this.StudentSectionAssociationReference = StudentSectionAssociationReference;
     }
 }
Beispiel #2
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="EdFiStudentGradebookEntry" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="GradebookEntryReference">GradebookEntryReference (required).</param>
 /// <param name="StudentSectionAssociationReference">StudentSectionAssociationReference (required).</param>
 /// <param name="CompetencyLevelDescriptor">The CompetencyLevel assessed for the student for the referenced LearningObjective..</param>
 /// <param name="DateFulfilled">The date an assignment was turned in or the date of an assessment..</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="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentGradebookEntry(string Id = default(string), EdFiGradebookEntryReference GradebookEntryReference = default(EdFiGradebookEntryReference), EdFiStudentSectionAssociationReference StudentSectionAssociationReference = default(EdFiStudentSectionAssociationReference), string CompetencyLevelDescriptor = default(string), DateTime?DateFulfilled = default(DateTime?), string DiagnosticStatement = default(string), string LetterGradeEarned = default(string), double?NumericGradeEarned = 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 EdFiStudentGradebookEntry and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "GradebookEntryReference" is required (not null)
     if (GradebookEntryReference == null)
     {
         throw new InvalidDataException("GradebookEntryReference is a required property for EdFiStudentGradebookEntry and cannot be null");
     }
     else
     {
         this.GradebookEntryReference = GradebookEntryReference;
     }
     // to ensure "StudentSectionAssociationReference" is required (not null)
     if (StudentSectionAssociationReference == null)
     {
         throw new InvalidDataException("StudentSectionAssociationReference is a required property for EdFiStudentGradebookEntry and cannot be null");
     }
     else
     {
         this.StudentSectionAssociationReference = StudentSectionAssociationReference;
     }
     this.CompetencyLevelDescriptor = CompetencyLevelDescriptor;
     this.DateFulfilled             = DateFulfilled;
     this.DiagnosticStatement       = DiagnosticStatement;
     this.LetterGradeEarned         = LetterGradeEarned;
     this.NumericGradeEarned        = NumericGradeEarned;
     this.Etag = Etag;
 }