Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentEarlyChildhoodScreeningProgramAssociationWritable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="ProgramReference">ProgramReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="EarlyChildhoodScreenerDescriptor">This descriptor contains codes indicating who completed a screening for a student in the Early Childhood Screening program..</param>
 /// <param name="EarlyChildhoodScreeningExitStatusDescriptor">Early Childhood Screening Exit Status..</param>
 /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentEarlyChildhoodScreeningProgramAssociationWritable(string Id = default(string), DateTime?BeginDate = default(DateTime?), MnEducationOrganizationReference EducationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference ProgramReference = default(MnProgramReference), MnStudentReference StudentReference = default(MnStudentReference), string EarlyChildhoodScreenerDescriptor = default(string), string EarlyChildhoodScreeningExitStatusDescriptor = default(string), 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 MnStudentEarlyChildhoodScreeningProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "BeginDate" is required (not null)
     if (BeginDate == null)
     {
         throw new InvalidDataException("BeginDate is a required property for MnStudentEarlyChildhoodScreeningProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for MnStudentEarlyChildhoodScreeningProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "ProgramReference" is required (not null)
     if (ProgramReference == null)
     {
         throw new InvalidDataException("ProgramReference is a required property for MnStudentEarlyChildhoodScreeningProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.ProgramReference = ProgramReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for MnStudentEarlyChildhoodScreeningProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EarlyChildhoodScreenerDescriptor            = EarlyChildhoodScreenerDescriptor;
     this.EarlyChildhoodScreeningExitStatusDescriptor = EarlyChildhoodScreeningExitStatusDescriptor;
     this.EndDate = EndDate;
     this.Etag    = Etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentSection504PlanProgramAssociationReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="ProgramReference">ProgramReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentSection504PlanProgramAssociationReadable(string Id = default(string), DateTime?BeginDate = default(DateTime?), MnEducationOrganizationReference EducationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference ProgramReference = default(MnProgramReference), MnStudentReference StudentReference = default(MnStudentReference), 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 MnStudentSection504PlanProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "BeginDate" is required (not null)
     if (BeginDate == null)
     {
         throw new InvalidDataException("BeginDate is a required property for MnStudentSection504PlanProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for MnStudentSection504PlanProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "ProgramReference" is required (not null)
     if (ProgramReference == null)
     {
         throw new InvalidDataException("ProgramReference is a required property for MnStudentSection504PlanProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.ProgramReference = ProgramReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for MnStudentSection504PlanProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EndDate = EndDate;
     this.Etag    = Etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentSAAPProgramAssociationReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="BeginDate">The month, day, and year on which the Student first received services. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="ProgramReference">ProgramReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="EndDate">The month, day, and year on which the Student exited the Program or stopped receiving services..</param>
 /// <param name="IndependentStudyIndicator">State-approved alternative programs (SAAP) that also have a state-approved Independent Study  (IS) component use this flag to identify independent study participants. (required).</param>
 /// <param name="SaapConcurrentIndicator">An indicator representing a Student who is enrolled less than full-time at a traditional school and who is also enrolled at a State Approved Alternative Program (SAAP). (required).</param>
 /// <param name="SaapCredits">SAAP Credits. (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentSAAPProgramAssociationReadable(string Id = default(string), DateTime?BeginDate = default(DateTime?), MnEducationOrganizationReference EducationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference ProgramReference = default(MnProgramReference), MnStudentReference StudentReference = default(MnStudentReference), DateTime?EndDate = default(DateTime?), bool?IndependentStudyIndicator = default(bool?), bool?SaapConcurrentIndicator = default(bool?), double?SaapCredits = 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 MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "BeginDate" is required (not null)
     if (BeginDate == null)
     {
         throw new InvalidDataException("BeginDate is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "ProgramReference" is required (not null)
     if (ProgramReference == null)
     {
         throw new InvalidDataException("ProgramReference is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.ProgramReference = ProgramReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     // to ensure "IndependentStudyIndicator" is required (not null)
     if (IndependentStudyIndicator == null)
     {
         throw new InvalidDataException("IndependentStudyIndicator is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.IndependentStudyIndicator = IndependentStudyIndicator;
     }
     // to ensure "SaapConcurrentIndicator" is required (not null)
     if (SaapConcurrentIndicator == null)
     {
         throw new InvalidDataException("SaapConcurrentIndicator is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.SaapConcurrentIndicator = SaapConcurrentIndicator;
     }
     // to ensure "SaapCredits" is required (not null)
     if (SaapCredits == null)
     {
         throw new InvalidDataException("SaapCredits is a required property for MnStudentSAAPProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.SaapCredits = SaapCredits;
     }
     this.EndDate = EndDate;
     this.Etag    = Etag;
 }