コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentAssessmentPrecodeWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="precodeTypeDescriptor">Type of pre-code record. For example, MCA/MTAS, ACCESS/ALT-ACCESS (required).</param>
 /// <param name="siteStudentAssessmentPrecodeSiteReference">siteStudentAssessmentPrecodeSiteReference.</param>
 /// <param name="studentEducationOrganizationAssociationReference">studentEducationOrganizationAssociationReference (required).</param>
 /// <param name="academicSubjects">An unordered collection of studentAssessmentPrecodeAcademicSubjects. The description of the content or subject area (e.g., arts, mathematics, reading, stenography, or a foreign language) of an assessment..</param>
 /// <param name="accommodations">An unordered collection of studentAssessmentPrecodeAccommodations. 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="assessedGradeLevelDescriptor">The grade level tested for student when assessed..</param>
 /// <param name="assessmentTitle">Refers to the test name of the assessment taken by the student..</param>
 /// <param name="customGroup">District use special sort order.</param>
 /// <param name="enrolledGradeLevelDescriptor">The grade level for which student is enrolled..</param>
 /// <param name="generalEnrollmentDescriptor">Student enrollment at the time of assessment pre-coding. For example H-Homeschool, N-Nonpublic, R-Regular.</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentAssessmentPrecodeWritable(string id = default(string), string precodeTypeDescriptor = default(string), MnStudentAssessmentPrecodeSiteReference siteStudentAssessmentPrecodeSiteReference = default(MnStudentAssessmentPrecodeSiteReference), MnStudentEducationOrganizationAssociationReference studentEducationOrganizationAssociationReference = default(MnStudentEducationOrganizationAssociationReference), List <MnStudentAssessmentPrecodeAcademicSubjectWritable> academicSubjects = default(List <MnStudentAssessmentPrecodeAcademicSubjectWritable>), List <MnStudentAssessmentPrecodeAccommodationWritable> accommodations = default(List <MnStudentAssessmentPrecodeAccommodationWritable>), string assessedGradeLevelDescriptor = default(string), string assessmentTitle = default(string), string customGroup = default(string), string enrolledGradeLevelDescriptor = default(string), string generalEnrollmentDescriptor = default(string), string etag = default(string))
 {
     // to ensure "precodeTypeDescriptor" is required (not null)
     if (precodeTypeDescriptor == null)
     {
         throw new InvalidDataException("precodeTypeDescriptor is a required property for MnStudentAssessmentPrecodeWritable and cannot be null");
     }
     else
     {
         this.PrecodeTypeDescriptor = precodeTypeDescriptor;
     }
     // to ensure "studentEducationOrganizationAssociationReference" is required (not null)
     if (studentEducationOrganizationAssociationReference == null)
     {
         throw new InvalidDataException("studentEducationOrganizationAssociationReference is a required property for MnStudentAssessmentPrecodeWritable and cannot be null");
     }
     else
     {
         this.StudentEducationOrganizationAssociationReference = studentEducationOrganizationAssociationReference;
     }
     this.Id = id;
     this.SiteStudentAssessmentPrecodeSiteReference = siteStudentAssessmentPrecodeSiteReference;
     this.AcademicSubjects             = academicSubjects;
     this.Accommodations               = accommodations;
     this.AssessedGradeLevelDescriptor = assessedGradeLevelDescriptor;
     this.AssessmentTitle              = assessmentTitle;
     this.CustomGroup = customGroup;
     this.EnrolledGradeLevelDescriptor = enrolledGradeLevelDescriptor;
     this.GeneralEnrollmentDescriptor  = generalEnrollmentDescriptor;
     this.Etag = etag;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentAssessmentPrecodeReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="PrecodeTypeDescriptor">Type of pre-code record. For example, MCA/MTAS, ACCESS/ALT-ACCESS (required).</param>
 /// <param name="SiteStudentAssessmentPrecodeSiteReference">SiteStudentAssessmentPrecodeSiteReference.</param>
 /// <param name="StudentEducationOrganizationAssociationReference">StudentEducationOrganizationAssociationReference (required).</param>
 /// <param name="AcademicSubjects">An unordered collection of studentAssessmentPrecodeAcademicSubjects. The description of the content or subject area (e.g., arts, mathematics, reading, stenography, or a foreign language) of an assessment..</param>
 /// <param name="Accommodations">An unordered collection of studentAssessmentPrecodeAccommodations. 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="AssessedGradeLevelDescriptor">The grade level tested for student when assessed..</param>
 /// <param name="AssessmentTitle">Refers to the test name of the assessment taken by the student..</param>
 /// <param name="CustomGroup">District use special sort order.</param>
 /// <param name="EnrolledGradeLevelDescriptor">The grade level for which student is enrolled..</param>
 /// <param name="GeneralEnrollmentDescriptor">Student enrollment at the time of assessment pre-coding. For example H-Homeschool, N-Nonpublic, R-Regular.</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentAssessmentPrecodeReadable(string Id = default(string), string PrecodeTypeDescriptor = default(string), MnStudentAssessmentPrecodeSiteReference SiteStudentAssessmentPrecodeSiteReference = default(MnStudentAssessmentPrecodeSiteReference), MnStudentEducationOrganizationAssociationReference StudentEducationOrganizationAssociationReference = default(MnStudentEducationOrganizationAssociationReference), List <MnStudentAssessmentPrecodeAcademicSubjectReadable> AcademicSubjects = default(List <MnStudentAssessmentPrecodeAcademicSubjectReadable>), List <MnStudentAssessmentPrecodeAccommodationReadable> Accommodations = default(List <MnStudentAssessmentPrecodeAccommodationReadable>), string AssessedGradeLevelDescriptor = default(string), string AssessmentTitle = default(string), string CustomGroup = default(string), string EnrolledGradeLevelDescriptor = default(string), string GeneralEnrollmentDescriptor = 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 MnStudentAssessmentPrecodeReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "PrecodeTypeDescriptor" is required (not null)
     if (PrecodeTypeDescriptor == null)
     {
         throw new InvalidDataException("PrecodeTypeDescriptor is a required property for MnStudentAssessmentPrecodeReadable and cannot be null");
     }
     else
     {
         this.PrecodeTypeDescriptor = PrecodeTypeDescriptor;
     }
     // to ensure "StudentEducationOrganizationAssociationReference" is required (not null)
     if (StudentEducationOrganizationAssociationReference == null)
     {
         throw new InvalidDataException("StudentEducationOrganizationAssociationReference is a required property for MnStudentAssessmentPrecodeReadable and cannot be null");
     }
     else
     {
         this.StudentEducationOrganizationAssociationReference = StudentEducationOrganizationAssociationReference;
     }
     this.SiteStudentAssessmentPrecodeSiteReference = SiteStudentAssessmentPrecodeSiteReference;
     this.AcademicSubjects             = AcademicSubjects;
     this.Accommodations               = Accommodations;
     this.AssessedGradeLevelDescriptor = AssessedGradeLevelDescriptor;
     this.AssessmentTitle              = AssessmentTitle;
     this.CustomGroup = CustomGroup;
     this.EnrolledGradeLevelDescriptor = EnrolledGradeLevelDescriptor;
     this.GeneralEnrollmentDescriptor  = GeneralEnrollmentDescriptor;
     this.Etag = Etag;
 }