Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentInterventionAssociation" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="CohortReference">CohortReference.</param>
 /// <param name="InterventionReference">InterventionReference (required).</param>
 /// <param name="StudentReference">StudentReference (required).</param>
 /// <param name="DiagnosticStatement">A statement provided by the assigner that provides information regarding why the student was assigned to this intervention..</param>
 /// <param name="Dosage">The duration of time in minutes for which the student was assigned to participate in the intervention..</param>
 /// <param name="InterventionEffectivenesses">An unordered collection of studentInterventionAssociationInterventionEffectivenesses. A measure of the effects of an intervention in each outcome domain. The rating of effectiveness takes into account four factors: the quality of the research on the intervention, the statistical significance of the research findings, the size of the differences between participants in the intervention and comparison groups and the consistency in results..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStudentInterventionAssociation(string Id = default(string), EdFiCohortReference CohortReference = default(EdFiCohortReference), EdFiInterventionReference InterventionReference = default(EdFiInterventionReference), EdFiStudentReference StudentReference = default(EdFiStudentReference), string DiagnosticStatement = default(string), int?Dosage = default(int?), List <EdFiStudentInterventionAssociationInterventionEffectiveness> InterventionEffectivenesses = default(List <EdFiStudentInterventionAssociationInterventionEffectiveness>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStudentInterventionAssociation and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "InterventionReference" is required (not null)
     if (InterventionReference == null)
     {
         throw new InvalidDataException("InterventionReference is a required property for EdFiStudentInterventionAssociation and cannot be null");
     }
     else
     {
         this.InterventionReference = InterventionReference;
     }
     // to ensure "StudentReference" is required (not null)
     if (StudentReference == null)
     {
         throw new InvalidDataException("StudentReference is a required property for EdFiStudentInterventionAssociation and cannot be null");
     }
     else
     {
         this.StudentReference = StudentReference;
     }
     this.CohortReference     = CohortReference;
     this.DiagnosticStatement = DiagnosticStatement;
     this.Dosage = Dosage;
     this.InterventionEffectivenesses = InterventionEffectivenesses;
     this.Etag = Etag;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStaffCohortAssociation" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="BeginDate">Start date for the association of staff to this cohort. (required).</param>
 /// <param name="CohortReference">CohortReference (required).</param>
 /// <param name="StaffReference">StaffReference (required).</param>
 /// <param name="EndDate">End date for the association of staff to this cohort..</param>
 /// <param name="StudentRecordAccess">Indicator of whether the staff has access to the student records of the cohort per district interpretation of FERPA and other privacy laws, regulations, and policies..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiStaffCohortAssociation(string Id = default(string), DateTime?BeginDate = default(DateTime?), EdFiCohortReference CohortReference = default(EdFiCohortReference), EdFiStaffReference StaffReference = default(EdFiStaffReference), DateTime?EndDate = default(DateTime?), bool?StudentRecordAccess = default(bool?), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiStaffCohortAssociation 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 EdFiStaffCohortAssociation and cannot be null");
     }
     else
     {
         this.BeginDate = BeginDate;
     }
     // to ensure "CohortReference" is required (not null)
     if (CohortReference == null)
     {
         throw new InvalidDataException("CohortReference is a required property for EdFiStaffCohortAssociation and cannot be null");
     }
     else
     {
         this.CohortReference = CohortReference;
     }
     // to ensure "StaffReference" is required (not null)
     if (StaffReference == null)
     {
         throw new InvalidDataException("StaffReference is a required property for EdFiStaffCohortAssociation and cannot be null");
     }
     else
     {
         this.StaffReference = StaffReference;
     }
     this.EndDate             = EndDate;
     this.StudentRecordAccess = StudentRecordAccess;
     this.Etag = Etag;
 }