Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentAssessmentWritable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="StudentAssessmentIdentifier">A unique number or alphanumeric code assigned to an assessment administered to a student. (required).</param>
 /// <param name="AssessmentReference">AssessmentReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentAssessmentWritable(string Id = default(string), string StudentAssessmentIdentifier = default(string), EdFiAssessmentReference AssessmentReference = default(EdFiAssessmentReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentAssessmentWritable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "StudentAssessmentIdentifier" is required (not null)
     if (StudentAssessmentIdentifier == null)
     {
         throw new InvalidDataException("StudentAssessmentIdentifier is a required property for EdFiStudentAssessmentWritable and cannot be null");
     }
     else
     {
         this.StudentAssessmentIdentifier = StudentAssessmentIdentifier;
     }
     // to ensure "AssessmentReference" is required (not null)
     if (AssessmentReference == null)
     {
         throw new InvalidDataException("AssessmentReference is a required property for EdFiStudentAssessmentWritable and cannot be null");
     }
     else
     {
         this.AssessmentReference = AssessmentReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentAssessmentWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.Etag = Etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentAssessmentReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="StudentAssessmentIdentifier">A unique number or alphanumeric code assigned to an assessment administered to a student. (required).</param>
 /// <param name="AssessmentReference">AssessmentReference (required).</param>
 /// <param name="SchoolYearTypeReference">SchoolYearTypeReference.</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="Accommodations">An unordered collection of studentAssessmentAccommodations. The specific type of special variation used in how an examination is presented, how it is administered, or how the test taker is allowed to respond. This generally refers to changes that do not substantially alter what the examination measures. The proper use of accommodations does not substantially change academic level or performance criteria. For example:          Braille          Enlarged monitor view          Extra time          Large Print          Setting          Oral Administration          ....</param>
 /// <param name="AdministrationDate">The date and time an assessment was completed by the student. The use of ISO-8601 formats with a timezone designator (UTC or time offset) is recommended in order to prevent ambiguity due to time zones. (required).</param>
 /// <param name="AdministrationEndDate">The date and time an assessment administration ended..</param>
 /// <param name="AdministrationEnvironmentDescriptor">The environment in which the test was administered. For example:          Electronic          Classroom          Testing Center          ....</param>
 /// <param name="AdministrationLanguageDescriptor">The language in which an assessment is written and/or administered..</param>
 /// <param name="EventCircumstanceDescriptor">An unusual event occurred during the administration of the assessment. This could include fire alarm, student became ill, etc..</param>
 /// <param name="EventDescription">Describes special events that occur before during or after the assessment session that may impact use of results..</param>
 /// <param name="Items">An unordered collection of studentAssessmentItems. The student&#39;s response to an assessment item and the item-level scores such as correct, incorrect, or met standard..</param>
 /// <param name="PerformanceLevels">An unordered collection of studentAssessmentPerformanceLevels. The performance level(s) achieved for the StudentAssessment..</param>
 /// <param name="ReasonNotTestedDescriptor">The primary reason student is not tested. For example:          Absent          Refusal by parent          Refusal by student          Medical waiver          Illness          Disruptive behavior          LEP Exempt          ....</param>
 /// <param name="RetestIndicatorDescriptor">Indicator if the test was retaken. For example:          Primary administration          First retest          Second retest          ....</param>
 /// <param name="ScoreResults">An unordered collection of studentAssessmentScoreResults. A meaningful score or statistical expression of the performance of an individual. The results can be expressed as a number, percentile, range, level, etc..</param>
 /// <param name="SerialNumber">The unique number for the assessment form or answer document..</param>
 /// <param name="StudentObjectiveAssessments">An unordered collection of studentAssessmentStudentObjectiveAssessments. The student&#39;s score and/or performance levels earned for an ObjectiveAssessment..</param>
 /// <param name="WhenAssessedGradeLevelDescriptor">The grade level of a student when assessed..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiStudentAssessmentReadable(string Id = default(string), string StudentAssessmentIdentifier = default(string), EdFiAssessmentReference AssessmentReference = default(EdFiAssessmentReference), EdFiSchoolYearTypeReference SchoolYearTypeReference = default(EdFiSchoolYearTypeReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), List <EdFiStudentAssessmentAccommodationReadable> Accommodations = default(List <EdFiStudentAssessmentAccommodationReadable>), DateTime?AdministrationDate = default(DateTime?), DateTime?AdministrationEndDate = default(DateTime?), string AdministrationEnvironmentDescriptor = default(string), string AdministrationLanguageDescriptor = default(string), string EventCircumstanceDescriptor = default(string), string EventDescription = default(string), List <EdFiStudentAssessmentItemReadable> Items = default(List <EdFiStudentAssessmentItemReadable>), List <EdFiStudentAssessmentPerformanceLevelReadable> PerformanceLevels = default(List <EdFiStudentAssessmentPerformanceLevelReadable>), string ReasonNotTestedDescriptor = default(string), string RetestIndicatorDescriptor = default(string), List <EdFiStudentAssessmentScoreResultReadable> ScoreResults = default(List <EdFiStudentAssessmentScoreResultReadable>), string SerialNumber = default(string), List <EdFiStudentAssessmentStudentObjectiveAssessmentReadable> StudentObjectiveAssessments = default(List <EdFiStudentAssessmentStudentObjectiveAssessmentReadable>), string WhenAssessedGradeLevelDescriptor = default(string), string Etag = default(string), StudentAssessmentExtensionsReadable Ext = default(StudentAssessmentExtensionsReadable))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentAssessmentReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "StudentAssessmentIdentifier" is required (not null)
     if (StudentAssessmentIdentifier == null)
     {
         throw new InvalidDataException("StudentAssessmentIdentifier is a required property for EdFiStudentAssessmentReadable and cannot be null");
     }
     else
     {
         this.StudentAssessmentIdentifier = StudentAssessmentIdentifier;
     }
     // to ensure "AssessmentReference" is required (not null)
     if (AssessmentReference == null)
     {
         throw new InvalidDataException("AssessmentReference is a required property for EdFiStudentAssessmentReadable and cannot be null");
     }
     else
     {
         this.AssessmentReference = AssessmentReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentAssessmentReadable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     // to ensure "AdministrationDate" is required (not null)
     if (AdministrationDate == null)
     {
         throw new InvalidDataException("AdministrationDate is a required property for EdFiStudentAssessmentReadable and cannot be null");
     }
     else
     {
         this.AdministrationDate = AdministrationDate;
     }
     this.SchoolYearTypeReference             = SchoolYearTypeReference;
     this.Accommodations                      = Accommodations;
     this.AdministrationEndDate               = AdministrationEndDate;
     this.AdministrationEnvironmentDescriptor = AdministrationEnvironmentDescriptor;
     this.AdministrationLanguageDescriptor    = AdministrationLanguageDescriptor;
     this.EventCircumstanceDescriptor         = EventCircumstanceDescriptor;
     this.EventDescription                    = EventDescription;
     this.Items                            = Items;
     this.PerformanceLevels                = PerformanceLevels;
     this.ReasonNotTestedDescriptor        = ReasonNotTestedDescriptor;
     this.RetestIndicatorDescriptor        = RetestIndicatorDescriptor;
     this.ScoreResults                     = ScoreResults;
     this.SerialNumber                     = SerialNumber;
     this.StudentObjectiveAssessments      = StudentObjectiveAssessments;
     this.WhenAssessedGradeLevelDescriptor = WhenAssessedGradeLevelDescriptor;
     this.Etag = Etag;
     this.Ext  = Ext;
 }