Пример #1
0
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiCalendarWritable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="CalendarCode">The identifier for the Calendar. (required).</param>
 /// <param name="SchoolReference">SchoolReference (required).</param>
 /// <param name="SchoolYearTypeReference">SchoolYearTypeReference (required).</param>
 /// <param name="CalendarTypeDescriptor">Indicates the type of Calendar. (required).</param>
 /// <param name="GradeLevels">An unordered collection of calendarGradeLevels. Indicates the GradeLevel associated with the Calendar..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiCalendarWritable(string Id = default(string), string CalendarCode = default(string), EdFiSchoolReference SchoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference SchoolYearTypeReference = default(EdFiSchoolYearTypeReference), string CalendarTypeDescriptor = default(string), List <EdFiCalendarGradeLevelWritable> GradeLevels = default(List <EdFiCalendarGradeLevelWritable>), string Etag = default(string), CalendarExtensionsWritable Ext = default(CalendarExtensionsWritable))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiCalendarWritable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "CalendarCode" is required (not null)
     if (CalendarCode == null)
     {
         throw new InvalidDataException("CalendarCode is a required property for EdFiCalendarWritable and cannot be null");
     }
     else
     {
         this.CalendarCode = CalendarCode;
     }
     // to ensure "SchoolReference" is required (not null)
     if (SchoolReference == null)
     {
         throw new InvalidDataException("SchoolReference is a required property for EdFiCalendarWritable and cannot be null");
     }
     else
     {
         this.SchoolReference = SchoolReference;
     }
     // to ensure "SchoolYearTypeReference" is required (not null)
     if (SchoolYearTypeReference == null)
     {
         throw new InvalidDataException("SchoolYearTypeReference is a required property for EdFiCalendarWritable and cannot be null");
     }
     else
     {
         this.SchoolYearTypeReference = SchoolYearTypeReference;
     }
     // to ensure "CalendarTypeDescriptor" is required (not null)
     if (CalendarTypeDescriptor == null)
     {
         throw new InvalidDataException("CalendarTypeDescriptor is a required property for EdFiCalendarWritable and cannot be null");
     }
     else
     {
         this.CalendarTypeDescriptor = CalendarTypeDescriptor;
     }
     this.GradeLevels = GradeLevels;
     this.Etag        = Etag;
     this.Ext         = Ext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiSessionReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="SessionName">The identifier for the calendar for the academic session (e.g., 2010/11, 2011 Summer). (required).</param>
 /// <param name="SchoolReference">SchoolReference (required).</param>
 /// <param name="SchoolYearTypeReference">SchoolYearTypeReference (required).</param>
 /// <param name="BeginDate">Month, day, and year of the first day of the Session. (required).</param>
 /// <param name="EndDate">Month, day and year of the last day of the Session. (required).</param>
 /// <param name="TermDescriptor">An descriptor value indicating the term (e.g. &#39;Fall Semester&#39;, &#39;Second Quarter&#39;, &#39;Summer Semester&#39;, etc.). (required).</param>
 /// <param name="TotalInstructionalDays">The total number of instructional days in the school calendar. (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiSessionReadable(string Id = default(string), string SessionName = default(string), EdFiSchoolReference SchoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference SchoolYearTypeReference = default(EdFiSchoolYearTypeReference), DateTime?BeginDate = default(DateTime?), DateTime?EndDate = default(DateTime?), string TermDescriptor = default(string), int?TotalInstructionalDays = default(int?), string Etag = default(string), SessionExtensionsReadable Ext = default(SessionExtensionsReadable))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "SessionName" is required (not null)
     if (SessionName == null)
     {
         throw new InvalidDataException("SessionName is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.SessionName = SessionName;
     }
     // to ensure "SchoolReference" is required (not null)
     if (SchoolReference == null)
     {
         throw new InvalidDataException("SchoolReference is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.SchoolReference = SchoolReference;
     }
     // to ensure "SchoolYearTypeReference" is required (not null)
     if (SchoolYearTypeReference == null)
     {
         throw new InvalidDataException("SchoolYearTypeReference is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.SchoolYearTypeReference = SchoolYearTypeReference;
     }
     // to ensure "BeginDate" is required (not null)
     if (BeginDate == null)
     {
         throw new InvalidDataException("BeginDate is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "EndDate" is required (not null)
     if (EndDate == null)
     {
         throw new InvalidDataException("EndDate is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.EndDate = EndDate;
     }
     // to ensure "TermDescriptor" is required (not null)
     if (TermDescriptor == null)
     {
         throw new InvalidDataException("TermDescriptor is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.TermDescriptor = TermDescriptor;
     }
     // to ensure "TotalInstructionalDays" is required (not null)
     if (TotalInstructionalDays == null)
     {
         throw new InvalidDataException("TotalInstructionalDays is a required property for EdFiSessionReadable and cannot be null");
     }
     else
     {
         this.TotalInstructionalDays = TotalInstructionalDays;
     }
     this.Etag = Etag;
     this.Ext  = Ext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiGradingPeriodWritable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="GradingPeriodDescriptor">The name of the period for which grades are reported. (required).</param>
 /// <param name="PeriodSequence">The sequential order of this period relative to other periods. (required).</param>
 /// <param name="SchoolReference">SchoolReference (required).</param>
 /// <param name="SchoolYearTypeReference">SchoolYearTypeReference (required).</param>
 /// <param name="BeginDate">Month, day, and year of the first day of the GradingPeriod. (required).</param>
 /// <param name="EndDate">Month, day, and year of the last day of the GradingPeriod. (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiGradingPeriodWritable(string Id = default(string), string GradingPeriodDescriptor = default(string), int?PeriodSequence = default(int?), EdFiSchoolReference SchoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference SchoolYearTypeReference = default(EdFiSchoolYearTypeReference), DateTime?BeginDate = default(DateTime?), DateTime?EndDate = 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 EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "GradingPeriodDescriptor" is required (not null)
     if (GradingPeriodDescriptor == null)
     {
         throw new InvalidDataException("GradingPeriodDescriptor is a required property for EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.GradingPeriodDescriptor = GradingPeriodDescriptor;
     }
     // to ensure "PeriodSequence" is required (not null)
     if (PeriodSequence == null)
     {
         throw new InvalidDataException("PeriodSequence is a required property for EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.PeriodSequence = PeriodSequence;
     }
     // to ensure "SchoolReference" is required (not null)
     if (SchoolReference == null)
     {
         throw new InvalidDataException("SchoolReference is a required property for EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.SchoolReference = SchoolReference;
     }
     // to ensure "SchoolYearTypeReference" is required (not null)
     if (SchoolYearTypeReference == null)
     {
         throw new InvalidDataException("SchoolYearTypeReference is a required property for EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.SchoolYearTypeReference = SchoolYearTypeReference;
     }
     // to ensure "BeginDate" is required (not null)
     if (BeginDate == null)
     {
         throw new InvalidDataException("BeginDate is a required property for EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "EndDate" is required (not null)
     if (EndDate == null)
     {
         throw new InvalidDataException("EndDate is a required property for EdFiGradingPeriodWritable and cannot be null");
     }
     else
     {
         this.EndDate = EndDate;
     }
     this.Etag = Etag;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiSessionWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="sessionName">The identifier for the calendar for the academic session (e.g., 2010/11, 2011 Summer). (required).</param>
 /// <param name="schoolReference">schoolReference (required).</param>
 /// <param name="schoolYearTypeReference">schoolYearTypeReference (required).</param>
 /// <param name="beginDate">Month, day, and year of the first day of the Session. (required).</param>
 /// <param name="endDate">Month, day and year of the last day of the Session. (required).</param>
 /// <param name="termDescriptor">An descriptor value indicating the term (e.g. &#39;Semester&#39;, &#39;Quarter&#39;, etc.). (required).</param>
 /// <param name="totalInstructionalDays">The total number of instructional days in the school calendar. (required).</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="ext">ext.</param>
 public EdFiSessionWritable(string id = default(string), string sessionName = default(string), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), DateTime?beginDate = default(DateTime?), DateTime?endDate = default(DateTime?), string termDescriptor = default(string), int?totalInstructionalDays = default(int?), string etag = default(string), SessionExtensionsWritable ext = default(SessionExtensionsWritable))
 {
     // to ensure "sessionName" is required (not null)
     if (sessionName == null)
     {
         throw new InvalidDataException("sessionName is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.SessionName = sessionName;
     }
     // to ensure "schoolReference" is required (not null)
     if (schoolReference == null)
     {
         throw new InvalidDataException("schoolReference is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.SchoolReference = schoolReference;
     }
     // to ensure "schoolYearTypeReference" is required (not null)
     if (schoolYearTypeReference == null)
     {
         throw new InvalidDataException("schoolYearTypeReference is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.SchoolYearTypeReference = schoolYearTypeReference;
     }
     // to ensure "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.BeginDate = beginDate;
     }
     // to ensure "endDate" is required (not null)
     if (endDate == null)
     {
         throw new InvalidDataException("endDate is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.EndDate = endDate;
     }
     // to ensure "termDescriptor" is required (not null)
     if (termDescriptor == null)
     {
         throw new InvalidDataException("termDescriptor is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.TermDescriptor = termDescriptor;
     }
     // to ensure "totalInstructionalDays" is required (not null)
     if (totalInstructionalDays == null)
     {
         throw new InvalidDataException("totalInstructionalDays is a required property for EdFiSessionWritable and cannot be null");
     }
     else
     {
         this.TotalInstructionalDays = totalInstructionalDays;
     }
     this.Id   = id;
     this.Etag = etag;
     this.Ext  = ext;
 }
Пример #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiGradingPeriodReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="gradingPeriodDescriptor">The name of the period for which grades are reported. (required).</param>
 /// <param name="periodSequence">The sequential order of this period relative to other periods. (required).</param>
 /// <param name="schoolReference">schoolReference (required).</param>
 /// <param name="schoolYearTypeReference">schoolYearTypeReference (required).</param>
 /// <param name="beginDate">Month, day, and year of the first day of the GradingPeriod. (required).</param>
 /// <param name="endDate">Month, day, and year of the last day of the GradingPeriod. (required).</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiGradingPeriodReadable(string id = default(string), string gradingPeriodDescriptor = default(string), int?periodSequence = default(int?), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), DateTime?beginDate = default(DateTime?), DateTime?endDate = default(DateTime?), string etag = default(string))
 {
     // to ensure "gradingPeriodDescriptor" is required (not null)
     if (gradingPeriodDescriptor == null)
     {
         throw new InvalidDataException("gradingPeriodDescriptor is a required property for EdFiGradingPeriodReadable and cannot be null");
     }
     else
     {
         this.GradingPeriodDescriptor = gradingPeriodDescriptor;
     }
     // to ensure "periodSequence" is required (not null)
     if (periodSequence == null)
     {
         throw new InvalidDataException("periodSequence is a required property for EdFiGradingPeriodReadable and cannot be null");
     }
     else
     {
         this.PeriodSequence = periodSequence;
     }
     // to ensure "schoolReference" is required (not null)
     if (schoolReference == null)
     {
         throw new InvalidDataException("schoolReference is a required property for EdFiGradingPeriodReadable and cannot be null");
     }
     else
     {
         this.SchoolReference = schoolReference;
     }
     // to ensure "schoolYearTypeReference" is required (not null)
     if (schoolYearTypeReference == null)
     {
         throw new InvalidDataException("schoolYearTypeReference is a required property for EdFiGradingPeriodReadable and cannot be null");
     }
     else
     {
         this.SchoolYearTypeReference = schoolYearTypeReference;
     }
     // to ensure "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for EdFiGradingPeriodReadable and cannot be null");
     }
     else
     {
         this.BeginDate = beginDate;
     }
     // to ensure "endDate" is required (not null)
     if (endDate == null)
     {
         throw new InvalidDataException("endDate is a required property for EdFiGradingPeriodReadable and cannot be null");
     }
     else
     {
         this.EndDate = endDate;
     }
     this.Id   = id;
     this.Etag = etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSchoolAssociationReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="EntryDate">The month, day, and year on which an individual enters and begins to receive instructional services in a school. (required).</param>
 /// <param name="SchoolReference">SchoolReference (required).</param>
 /// <param name="SchoolYearTypeReference">SchoolYearTypeReference.</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="EntryGradeLevelDescriptor">The grade level or primary instructional level at which a student enters and receives services in a school or an educational institution during a given academic session. (required).</param>
 /// <param name="EntryTypeDescriptor">The process by which a student enters a school during a given academic session..</param>
 /// <param name="ExitWithdrawDate">The month, day, and year of the first day after the date of an individual&#39;s last attendance at a school (if known), the day on which an individual graduated, or the date on which it becomes known officially that an individual left school..</param>
 /// <param name="ExitWithdrawTypeDescriptor">The circumstances under which the student exited from membership in an educational institution..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiStudentSchoolAssociationReadable(string Id = default(string), DateTime?EntryDate = default(DateTime?), EdFiSchoolReference SchoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference SchoolYearTypeReference = default(EdFiSchoolYearTypeReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string EntryGradeLevelDescriptor = default(string), string EntryTypeDescriptor = default(string), DateTime?ExitWithdrawDate = default(DateTime?), string ExitWithdrawTypeDescriptor = default(string), string Etag = default(string), StudentSchoolAssociationExtensionsReadable Ext = default(StudentSchoolAssociationExtensionsReadable))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentSchoolAssociationReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "EntryDate" is required (not null)
     if (EntryDate == null)
     {
         throw new InvalidDataException("EntryDate is a required property for EdFiStudentSchoolAssociationReadable and cannot be null");
     }
     else
     {
         this.EntryDate = EntryDate;
     }
     // to ensure "SchoolReference" is required (not null)
     if (SchoolReference == null)
     {
         throw new InvalidDataException("SchoolReference is a required property for EdFiStudentSchoolAssociationReadable and cannot be null");
     }
     else
     {
         this.SchoolReference = SchoolReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentSchoolAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     // to ensure "EntryGradeLevelDescriptor" is required (not null)
     if (EntryGradeLevelDescriptor == null)
     {
         throw new InvalidDataException("EntryGradeLevelDescriptor is a required property for EdFiStudentSchoolAssociationReadable and cannot be null");
     }
     else
     {
         this.EntryGradeLevelDescriptor = EntryGradeLevelDescriptor;
     }
     this.SchoolYearTypeReference    = SchoolYearTypeReference;
     this.EntryTypeDescriptor        = EntryTypeDescriptor;
     this.ExitWithdrawDate           = ExitWithdrawDate;
     this.ExitWithdrawTypeDescriptor = ExitWithdrawTypeDescriptor;
     this.Etag = Etag;
     this.Ext  = Ext;
 }
Пример #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentAssessmentReadable" /> class.
 /// </summary>
 /// <param name="id">id.</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..</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="platformTypeDescriptor">The platform with which the assessment was delivered to the student during the assessment session..</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 platformTypeDescriptor = default(string), 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 "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.Id = id;
     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.PlatformTypeDescriptor           = platformTypeDescriptor;
     this.ReasonNotTestedDescriptor        = reasonNotTestedDescriptor;
     this.RetestIndicatorDescriptor        = retestIndicatorDescriptor;
     this.ScoreResults                     = scoreResults;
     this.SerialNumber                     = serialNumber;
     this.StudentObjectiveAssessments      = studentObjectiveAssessments;
     this.WhenAssessedGradeLevelDescriptor = whenAssessedGradeLevelDescriptor;
     this.Etag = etag;
     this.Ext  = ext;
 }
Пример #9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentSchoolAssociationWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="entryDate">The month, day, and year on which an individual enters and begins to receive instructional services in a school. (required).</param>
 /// <param name="calendarReference">calendarReference.</param>
 /// <param name="schoolReference">schoolReference (required).</param>
 /// <param name="schoolYearTypeReference">schoolYearTypeReference.</param>
 /// <param name="studentReference">studentReference (required).</param>
 /// <param name="entryGradeLevelDescriptor">The grade level or primary instructional level at which a student enters and receives services in a school or an educational institution during a given academic session. (required).</param>
 /// <param name="entryTypeDescriptor">The process by which a student enters a school during a given academic session..</param>
 /// <param name="exitWithdrawDate">The recorded exit or withdraw date for the student..</param>
 /// <param name="exitWithdrawTypeDescriptor">The circumstances under which the student exited from membership in an educational institution..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="ext">ext.</param>
 public EdFiStudentSchoolAssociationWritable(string id = default(string), DateTime?entryDate = default(DateTime?), EdFiCalendarReference calendarReference = default(EdFiCalendarReference), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), EdFiStudentReference studentReference = default(EdFiStudentReference), string entryGradeLevelDescriptor = default(string), string entryTypeDescriptor = default(string), DateTime?exitWithdrawDate = default(DateTime?), string exitWithdrawTypeDescriptor = default(string), string etag = default(string), StudentSchoolAssociationExtensionsWritable ext = default(StudentSchoolAssociationExtensionsWritable))
 {
     // to ensure "entryDate" is required (not null)
     if (entryDate == null)
     {
         throw new InvalidDataException("entryDate is a required property for EdFiStudentSchoolAssociationWritable and cannot be null");
     }
     else
     {
         this.EntryDate = entryDate;
     }
     // to ensure "schoolReference" is required (not null)
     if (schoolReference == null)
     {
         throw new InvalidDataException("schoolReference is a required property for EdFiStudentSchoolAssociationWritable and cannot be null");
     }
     else
     {
         this.SchoolReference = schoolReference;
     }
     // to ensure "studentReference" is required (not null)
     if (studentReference == null)
     {
         throw new InvalidDataException("studentReference is a required property for EdFiStudentSchoolAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     // to ensure "entryGradeLevelDescriptor" is required (not null)
     if (entryGradeLevelDescriptor == null)
     {
         throw new InvalidDataException("entryGradeLevelDescriptor is a required property for EdFiStudentSchoolAssociationWritable and cannot be null");
     }
     else
     {
         this.EntryGradeLevelDescriptor = entryGradeLevelDescriptor;
     }
     this.Id = id;
     this.CalendarReference          = calendarReference;
     this.SchoolYearTypeReference    = schoolYearTypeReference;
     this.EntryTypeDescriptor        = entryTypeDescriptor;
     this.ExitWithdrawDate           = exitWithdrawDate;
     this.ExitWithdrawTypeDescriptor = exitWithdrawTypeDescriptor;
     this.Etag = etag;
     this.Ext  = ext;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiCalendarReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="calendarCode">The identifier for the Calendar. (required).</param>
 /// <param name="schoolReference">schoolReference (required).</param>
 /// <param name="schoolYearTypeReference">schoolYearTypeReference (required).</param>
 /// <param name="calendarTypeDescriptor">Indicates the type of Calendar. (required).</param>
 /// <param name="gradeLevels">An unordered collection of calendarGradeLevels. Indicates the GradeLevel associated with the Calendar..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="ext">ext.</param>
 public EdFiCalendarReadable(string id = default(string), string calendarCode = default(string), EdFiSchoolReference schoolReference = default(EdFiSchoolReference), EdFiSchoolYearTypeReference schoolYearTypeReference = default(EdFiSchoolYearTypeReference), string calendarTypeDescriptor = default(string), List <EdFiCalendarGradeLevelReadable> gradeLevels = default(List <EdFiCalendarGradeLevelReadable>), string etag = default(string), CalendarExtensionsReadable ext = default(CalendarExtensionsReadable))
 {
     // to ensure "calendarCode" is required (not null)
     if (calendarCode == null)
     {
         throw new InvalidDataException("calendarCode is a required property for EdFiCalendarReadable and cannot be null");
     }
     else
     {
         this.CalendarCode = calendarCode;
     }
     // to ensure "schoolReference" is required (not null)
     if (schoolReference == null)
     {
         throw new InvalidDataException("schoolReference is a required property for EdFiCalendarReadable and cannot be null");
     }
     else
     {
         this.SchoolReference = schoolReference;
     }
     // to ensure "schoolYearTypeReference" is required (not null)
     if (schoolYearTypeReference == null)
     {
         throw new InvalidDataException("schoolYearTypeReference is a required property for EdFiCalendarReadable and cannot be null");
     }
     else
     {
         this.SchoolYearTypeReference = schoolYearTypeReference;
     }
     // to ensure "calendarTypeDescriptor" is required (not null)
     if (calendarTypeDescriptor == null)
     {
         throw new InvalidDataException("calendarTypeDescriptor is a required property for EdFiCalendarReadable and cannot be null");
     }
     else
     {
         this.CalendarTypeDescriptor = calendarTypeDescriptor;
     }
     this.Id          = id;
     this.GradeLevels = gradeLevels;
     this.Etag        = etag;
     this.Ext         = ext;
 }