Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentGiftedTalentedProgramAssociationWritable" /> 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="GiftedTalentedParticipationDescriptor">The Gifted Talented Participation Descriptor. (required).</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentGiftedTalentedProgramAssociationWritable(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 GiftedTalentedParticipationDescriptor = 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable 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 MnStudentGiftedTalentedProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     // to ensure "GiftedTalentedParticipationDescriptor" is required (not null)
     if (GiftedTalentedParticipationDescriptor == null)
     {
         throw new InvalidDataException("GiftedTalentedParticipationDescriptor is a required property for MnStudentGiftedTalentedProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.GiftedTalentedParticipationDescriptor = GiftedTalentedParticipationDescriptor;
     }
     this.EndDate = EndDate;
     this.Etag    = Etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentDistanceLearnerProgramAssociationReadable" /> 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 MnStudentDistanceLearnerProgramAssociationReadable(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 MnStudentDistanceLearnerProgramAssociationReadable 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 MnStudentDistanceLearnerProgramAssociationReadable 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 MnStudentDistanceLearnerProgramAssociationReadable 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 MnStudentDistanceLearnerProgramAssociationReadable 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 MnStudentDistanceLearnerProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EndDate = EndDate;
     this.Etag    = Etag;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentCEISProgramAssociationReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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 MnStudentCEISProgramAssociationReadable(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 "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for MnStudentCEISProgramAssociationReadable 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 MnStudentCEISProgramAssociationReadable 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 MnStudentCEISProgramAssociationReadable 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 MnStudentCEISProgramAssociationReadable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     this.Id      = id;
     this.EndDate = endDate;
     this.Etag    = etag;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentEarlyEducationProgramAssociationWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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="fundingSources">An unordered collection of studentEarlyEducationProgramAssociationFundingSources. Funding source..</param>
 /// <param name="reasonExitedDescriptor">The reason the child left the Program within a school or district..</param>
 /// <param name="servedOutsideOfRegularSession">Indicates whether the Student received services during the summer session or between sessions..</param>
 /// <param name="serviceAttendanceHours">Indicates a student&#39;s service attendance hours..</param>
 /// <param name="serviceMembershipHours">Indicates a student&#39;s service membership hours..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentEarlyEducationProgramAssociationWritable(string id = default(string), DateTime?beginDate = default(DateTime?), MnEducationOrganizationReference educationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference programReference = default(MnProgramReference), MnStudentReference studentReference = default(MnStudentReference), DateTime?endDate = default(DateTime?), List <MnStudentEarlyEducationProgramAssociationFundingSourceWritable> fundingSources = default(List <MnStudentEarlyEducationProgramAssociationFundingSourceWritable>), string reasonExitedDescriptor = default(string), bool?servedOutsideOfRegularSession = default(bool?), int?serviceAttendanceHours = default(int?), int?serviceMembershipHours = default(int?), string etag = default(string))
 {
     // to ensure "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = studentReference;
     }
     this.Id                            = id;
     this.EndDate                       = endDate;
     this.FundingSources                = fundingSources;
     this.ReasonExitedDescriptor        = reasonExitedDescriptor;
     this.ServedOutsideOfRegularSession = servedOutsideOfRegularSession;
     this.ServiceAttendanceHours        = serviceAttendanceHours;
     this.ServiceMembershipHours        = serviceMembershipHours;
     this.Etag                          = etag;
 }
Ejemplo n.º 5
0
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentEarlyEducationProgramAssociationWritable" /> 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="FundingSources">An unordered collection of studentEarlyEducationProgramAssociationFundingSources. Funding source..</param>
 /// <param name="ReasonExitedDescriptor">The reason the child left the Program within a school or district..</param>
 /// <param name="ServedOutsideOfRegularSession">Indicates whether the Student received services during the summer session or between sessions..</param>
 /// <param name="ServiceAttendanceHours">Indicates a student&#39;s service attendance hours..</param>
 /// <param name="ServiceMembershipHours">Indicates a student&#39;s service membership hours..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentEarlyEducationProgramAssociationWritable(string Id = default(string), DateTime?BeginDate = default(DateTime?), MnEducationOrganizationReference EducationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference ProgramReference = default(MnProgramReference), MnStudentReference StudentReference = default(MnStudentReference), DateTime?EndDate = default(DateTime?), List <MnStudentEarlyEducationProgramAssociationFundingSourceWritable> FundingSources = default(List <MnStudentEarlyEducationProgramAssociationFundingSourceWritable>), string ReasonExitedDescriptor = default(string), bool?ServedOutsideOfRegularSession = default(bool?), int?ServiceAttendanceHours = default(int?), int?ServiceMembershipHours = default(int?), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable 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 MnStudentEarlyEducationProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EndDate                       = EndDate;
     this.FundingSources                = FundingSources;
     this.ReasonExitedDescriptor        = ReasonExitedDescriptor;
     this.ServedOutsideOfRegularSession = ServedOutsideOfRegularSession;
     this.ServiceAttendanceHours        = ServiceAttendanceHours;
     this.ServiceMembershipHours        = ServiceMembershipHours;
     this.Etag = Etag;
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentSAAPProgramAssociationWritable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="beginDate">The earliest date the student is involved with the program. Typically, this is the date the student becomes eligible for the program. (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 MnStudentSAAPProgramAssociationWritable(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 "beginDate" is required (not null)
     if (beginDate == null)
     {
         throw new InvalidDataException("beginDate is a required property for MnStudentSAAPProgramAssociationWritable 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 MnStudentSAAPProgramAssociationWritable 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 MnStudentSAAPProgramAssociationWritable 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 MnStudentSAAPProgramAssociationWritable 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 MnStudentSAAPProgramAssociationWritable 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 MnStudentSAAPProgramAssociationWritable 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 MnStudentSAAPProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.SaapCredits = saapCredits;
     }
     this.Id      = id;
     this.EndDate = endDate;
     this.Etag    = etag;
 }
Ejemplo n.º 8
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;
 }