예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiInterventionInterventionPrescription" /> class.
 /// </summary>
 /// <param name="InterventionPrescriptionReference">InterventionPrescriptionReference (required).</param>
 public EdFiInterventionInterventionPrescription(EdFiInterventionPrescriptionReference InterventionPrescriptionReference = default(EdFiInterventionPrescriptionReference))
 {
     // to ensure "InterventionPrescriptionReference" is required (not null)
     if (InterventionPrescriptionReference == null)
     {
         throw new InvalidDataException("InterventionPrescriptionReference is a required property for EdFiInterventionInterventionPrescription and cannot be null");
     }
     else
     {
         this.InterventionPrescriptionReference = InterventionPrescriptionReference;
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiEducationOrganizationInterventionPrescriptionAssociation" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="InterventionPrescriptionReference">InterventionPrescriptionReference (required).</param>
 /// <param name="BeginDate">The begin date of the period during which the InterventionPrescription is available..</param>
 /// <param name="EndDate">The end date of the period during which the InterventionPrescription is available..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiEducationOrganizationInterventionPrescriptionAssociation(string Id = default(string), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiInterventionPrescriptionReference InterventionPrescriptionReference = default(EdFiInterventionPrescriptionReference), 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 EdFiEducationOrganizationInterventionPrescriptionAssociation and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiEducationOrganizationInterventionPrescriptionAssociation and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "InterventionPrescriptionReference" is required (not null)
     if (InterventionPrescriptionReference == null)
     {
         throw new InvalidDataException("InterventionPrescriptionReference is a required property for EdFiEducationOrganizationInterventionPrescriptionAssociation and cannot be null");
     }
     else
     {
         this.InterventionPrescriptionReference = InterventionPrescriptionReference;
     }
     this.BeginDate = BeginDate;
     this.EndDate   = EndDate;
     this.Etag      = Etag;
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiInterventionStudy" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="InterventionStudyIdentificationCode">A unique number or alphanumeric code assigned to an intervention study. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param>
 /// <param name="InterventionPrescriptionReference">InterventionPrescriptionReference (required).</param>
 /// <param name="AppropriateGradeLevels">An unordered collection of interventionStudyAppropriateGradeLevels. Grade levels participating in this study..</param>
 /// <param name="AppropriateSexes">An unordered collection of interventionStudyAppropriateSexes. Sexes participating in this study. If omitted, considered generally applicable..</param>
 /// <param name="DeliveryMethodDescriptor">The way in which an intervention was implemented: individual, small group, whole class, or whole school. (required).</param>
 /// <param name="EducationContents">An unordered collection of interventionStudyEducationContents. Relates the education content source to the education content..</param>
 /// <param name="InterventionClassDescriptor">The way in which an intervention is used: curriculum, supplement, or practice. (required).</param>
 /// <param name="InterventionEffectivenesses">An unordered collection of interventionStudyInterventionEffectivenesses. Measurement of the effectiveness of the InterventionStudy per diagnosis..</param>
 /// <param name="LearningResourceMetadataURIs">An unordered collection of interventionStudyLearningResourceMetadataURIs. The URI (typical a URL) pointing to the metadata entry in a LRMI metadata repository, which describes this content item..</param>
 /// <param name="Participants">The number of participants observed in the study. (required).</param>
 /// <param name="PopulationServeds">An unordered collection of interventionStudyPopulationServeds. A subset of students that are the focus of the InterventionStudy..</param>
 /// <param name="StateAbbreviations">An unordered collection of interventionStudyStateAbbreviations. The abbreviation for the state (within the United States) or outlying area, the school system of which the participants of the study are considered to be a part..</param>
 /// <param name="Uris">An unordered collection of interventionStudyURIs. The URI (typical a URL) pointing to an education content item..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiInterventionStudy(string Id = default(string), string InterventionStudyIdentificationCode = default(string), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiInterventionPrescriptionReference InterventionPrescriptionReference = default(EdFiInterventionPrescriptionReference), List <EdFiInterventionStudyAppropriateGradeLevel> AppropriateGradeLevels = default(List <EdFiInterventionStudyAppropriateGradeLevel>), List <EdFiInterventionStudyAppropriateSex> AppropriateSexes = default(List <EdFiInterventionStudyAppropriateSex>), string DeliveryMethodDescriptor = default(string), List <EdFiInterventionStudyEducationContent> EducationContents = default(List <EdFiInterventionStudyEducationContent>), string InterventionClassDescriptor = default(string), List <EdFiInterventionStudyInterventionEffectiveness> InterventionEffectivenesses = default(List <EdFiInterventionStudyInterventionEffectiveness>), List <EdFiInterventionStudyLearningResourceMetadataURI> LearningResourceMetadataURIs = default(List <EdFiInterventionStudyLearningResourceMetadataURI>), int?Participants = default(int?), List <EdFiInterventionStudyPopulationServed> PopulationServeds = default(List <EdFiInterventionStudyPopulationServed>), List <EdFiInterventionStudyStateAbbreviation> StateAbbreviations = default(List <EdFiInterventionStudyStateAbbreviation>), List <EdFiInterventionStudyURI> Uris = default(List <EdFiInterventionStudyURI>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "InterventionStudyIdentificationCode" is required (not null)
     if (InterventionStudyIdentificationCode == null)
     {
         throw new InvalidDataException("InterventionStudyIdentificationCode is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.InterventionStudyIdentificationCode = InterventionStudyIdentificationCode;
     }
     // to ensure "EducationOrganizationReference" is required (not null)
     if (EducationOrganizationReference == null)
     {
         throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.EducationOrganizationReference = EducationOrganizationReference;
     }
     // to ensure "InterventionPrescriptionReference" is required (not null)
     if (InterventionPrescriptionReference == null)
     {
         throw new InvalidDataException("InterventionPrescriptionReference is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.InterventionPrescriptionReference = InterventionPrescriptionReference;
     }
     // to ensure "DeliveryMethodDescriptor" is required (not null)
     if (DeliveryMethodDescriptor == null)
     {
         throw new InvalidDataException("DeliveryMethodDescriptor is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.DeliveryMethodDescriptor = DeliveryMethodDescriptor;
     }
     // to ensure "InterventionClassDescriptor" is required (not null)
     if (InterventionClassDescriptor == null)
     {
         throw new InvalidDataException("InterventionClassDescriptor is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.InterventionClassDescriptor = InterventionClassDescriptor;
     }
     // to ensure "Participants" is required (not null)
     if (Participants == null)
     {
         throw new InvalidDataException("Participants is a required property for EdFiInterventionStudy and cannot be null");
     }
     else
     {
         this.Participants = Participants;
     }
     this.AppropriateGradeLevels       = AppropriateGradeLevels;
     this.AppropriateSexes             = AppropriateSexes;
     this.EducationContents            = EducationContents;
     this.InterventionEffectivenesses  = InterventionEffectivenesses;
     this.LearningResourceMetadataURIs = LearningResourceMetadataURIs;
     this.PopulationServeds            = PopulationServeds;
     this.StateAbbreviations           = StateAbbreviations;
     this.Uris = Uris;
     this.Etag = Etag;
 }