/// <summary>
 /// Initializes a new instance of the <see cref="MnStudentPSEOProgramAssociationWritable" /> 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="PseoHighSchoolHours">Indicates PSEO High School Hours..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public MnStudentPSEOProgramAssociationWritable(string Id = default(string), DateTime?BeginDate = default(DateTime?), MnEducationOrganizationReference EducationOrganizationReference = default(MnEducationOrganizationReference), MnProgramReference ProgramReference = default(MnProgramReference), MnStudentReference StudentReference = default(MnStudentReference), DateTime?EndDate = default(DateTime?), int?PseoHighSchoolHours = 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 MnStudentPSEOProgramAssociationWritable 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 MnStudentPSEOProgramAssociationWritable 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 MnStudentPSEOProgramAssociationWritable 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 MnStudentPSEOProgramAssociationWritable 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 MnStudentPSEOProgramAssociationWritable and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.EndDate             = EndDate;
     this.PseoHighSchoolHours = PseoHighSchoolHours;
     this.Etag = Etag;
 }
 /// <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;
 }
예제 #3
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;
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentEarlyChildhoodScreeningProgramAssociationReadable" /> 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable(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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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 MnStudentEarlyChildhoodScreeningProgramAssociationReadable 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="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;
 }