Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiStudentAssessmentStudentObjectiveAssessment" /> class.
 /// </summary>
 /// <param name="ObjectiveAssessmentReference">ObjectiveAssessmentReference (required).</param>
 /// <param name="PerformanceLevels">An unordered collection of studentAssessmentStudentObjectiveAssessmentPerformanceLevels. The PerformanceLevel(s) achieved for the ObjectiveAssessment..</param>
 /// <param name="ScoreResults">An unordered collection of studentAssessmentStudentObjectiveAssessmentScoreResults. A meaningful score or statistical expression of the performance of an individual. The results can be expressed as a number, percentile, range, level, etc. (required).</param>
 public EdFiStudentAssessmentStudentObjectiveAssessment(EdFiObjectiveAssessmentReference ObjectiveAssessmentReference = default(EdFiObjectiveAssessmentReference), List <EdFiStudentAssessmentStudentObjectiveAssessmentPerformanceLevel> PerformanceLevels = default(List <EdFiStudentAssessmentStudentObjectiveAssessmentPerformanceLevel>), List <EdFiStudentAssessmentStudentObjectiveAssessmentScoreResult> ScoreResults = default(List <EdFiStudentAssessmentStudentObjectiveAssessmentScoreResult>))
 {
     // to ensure "ObjectiveAssessmentReference" is required (not null)
     if (ObjectiveAssessmentReference == null)
     {
         throw new InvalidDataException("ObjectiveAssessmentReference is a required property for EdFiStudentAssessmentStudentObjectiveAssessment and cannot be null");
     }
     else
     {
         this.ObjectiveAssessmentReference = ObjectiveAssessmentReference;
     }
     // to ensure "ScoreResults" is required (not null)
     if (ScoreResults == null)
     {
         throw new InvalidDataException("ScoreResults is a required property for EdFiStudentAssessmentStudentObjectiveAssessment and cannot be null");
     }
     else
     {
         this.ScoreResults = ScoreResults;
     }
     this.PerformanceLevels = PerformanceLevels;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiObjectiveAssessment" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="IdentificationCode">A unique number or alphanumeric code assigned to a space, room, site, building, individual, organization, program, or institution by a school, school system, a state, or other agency or entity. (required).</param>
 /// <param name="AssessmentReference">AssessmentReference (required).</param>
 /// <param name="ParentObjectiveAssessmentReference">ParentObjectiveAssessmentReference.</param>
 /// <param name="AssessmentItems">An unordered collection of objectiveAssessmentAssessmentItems. References individual test items, if appropriate..</param>
 /// <param name="Description">The description of the ObjectiveAssessment (e.g., vocabulary, measurement, or geometry)..</param>
 /// <param name="LearningObjectives">An unordered collection of objectiveAssessmentLearningObjectives. References the LearningObjective(s) the ObjectiveAssessment tests..</param>
 /// <param name="LearningStandards">An unordered collection of objectiveAssessmentLearningStandards. LearningStandard tested by this ObjectiveAssessment..</param>
 /// <param name="MaxRawScore">The maximum raw score achievable across all assessment items that are correct and scored at the maximum..</param>
 /// <param name="Nomenclature">Reflects the specific nomenclature used for this level of ObjectiveAssessment..</param>
 /// <param name="PercentOfAssessment">The percentage of the Assessment that tests this objective..</param>
 /// <param name="PerformanceLevels">An unordered collection of objectiveAssessmentPerformanceLevels. Definition of the performance levels and the associated cut scores. Three styles are supported:          1. Specification of performance level by minimum and maximum score          2. Specification of performance level by cut score, using only minimum score          3. Specification of performance level without any mapping to scores.</param>
 /// <param name="Scores">An unordered collection of objectiveAssessmentScores. Definition of the scores to be expected from this objective assessment..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiObjectiveAssessment(string Id = default(string), string IdentificationCode = default(string), EdFiAssessmentReference AssessmentReference = default(EdFiAssessmentReference), EdFiObjectiveAssessmentReference ParentObjectiveAssessmentReference = default(EdFiObjectiveAssessmentReference), List <EdFiObjectiveAssessmentAssessmentItem> AssessmentItems = default(List <EdFiObjectiveAssessmentAssessmentItem>), string Description = default(string), List <EdFiObjectiveAssessmentLearningObjective> LearningObjectives = default(List <EdFiObjectiveAssessmentLearningObjective>), List <EdFiObjectiveAssessmentLearningStandard> LearningStandards = default(List <EdFiObjectiveAssessmentLearningStandard>), int?MaxRawScore = default(int?), string Nomenclature = default(string), double?PercentOfAssessment = default(double?), List <EdFiObjectiveAssessmentPerformanceLevel> PerformanceLevels = default(List <EdFiObjectiveAssessmentPerformanceLevel>), List <EdFiObjectiveAssessmentScore> Scores = default(List <EdFiObjectiveAssessmentScore>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiObjectiveAssessment and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "IdentificationCode" is required (not null)
     if (IdentificationCode == null)
     {
         throw new InvalidDataException("IdentificationCode is a required property for EdFiObjectiveAssessment and cannot be null");
     }
     else
     {
         this.IdentificationCode = IdentificationCode;
     }
     // to ensure "AssessmentReference" is required (not null)
     if (AssessmentReference == null)
     {
         throw new InvalidDataException("AssessmentReference is a required property for EdFiObjectiveAssessment and cannot be null");
     }
     else
     {
         this.AssessmentReference = AssessmentReference;
     }
     this.ParentObjectiveAssessmentReference = ParentObjectiveAssessmentReference;
     this.AssessmentItems     = AssessmentItems;
     this.Description         = Description;
     this.LearningObjectives  = LearningObjectives;
     this.LearningStandards   = LearningStandards;
     this.MaxRawScore         = MaxRawScore;
     this.Nomenclature        = Nomenclature;
     this.PercentOfAssessment = PercentOfAssessment;
     this.PerformanceLevels   = PerformanceLevels;
     this.Scores = Scores;
     this.Etag   = Etag;
 }