/// <summary> /// Initializes a new instance of the <see cref="EdFiObjectiveAssessmentAssessmentItem" /> class. /// </summary> /// <param name="AssessmentItemReference">AssessmentItemReference (required).</param> public EdFiObjectiveAssessmentAssessmentItem(EdFiAssessmentItemReference AssessmentItemReference = default(EdFiAssessmentItemReference)) { // to ensure "AssessmentItemReference" is required (not null) if (AssessmentItemReference == null) { throw new InvalidDataException("AssessmentItemReference is a required property for EdFiObjectiveAssessmentAssessmentItem and cannot be null"); } else { this.AssessmentItemReference = AssessmentItemReference; } }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentAssessmentItem" /> class. /// </summary> /// <param name="AssessmentItemResultDescriptor">The analyzed result of a student's response to an assessment item. For example: Correct Incorrect Met standard ... (required).</param> /// <param name="ResponseIndicatorDescriptor">Indicator of the response. For example: Nonscorable response Ineffective response Effective response Partial response ....</param> /// <param name="AssessmentResponse">A student's response to a stimulus on a test..</param> /// <param name="DescriptiveFeedback">The formative descriptive feedback that was given to a learner in response to the results from a scored/evaluated assessment item..</param> /// <param name="RawScoreResult">A meaningful raw score of the performance of an individual on an assessment item..</param> /// <param name="TimeAssessed">The overall time a student actually spent during the AssessmentItem..</param> /// <param name="AssessmentItemReference">AssessmentItemReference (required).</param> public EdFiStudentAssessmentItem(string AssessmentItemResultDescriptor = default(string), string ResponseIndicatorDescriptor = default(string), string AssessmentResponse = default(string), string DescriptiveFeedback = default(string), int?RawScoreResult = default(int?), string TimeAssessed = default(string), EdFiAssessmentItemReference AssessmentItemReference = default(EdFiAssessmentItemReference)) { // to ensure "AssessmentItemResultDescriptor" is required (not null) if (AssessmentItemResultDescriptor == null) { throw new InvalidDataException("AssessmentItemResultDescriptor is a required property for EdFiStudentAssessmentItem and cannot be null"); } else { this.AssessmentItemResultDescriptor = AssessmentItemResultDescriptor; } // to ensure "AssessmentItemReference" is required (not null) if (AssessmentItemReference == null) { throw new InvalidDataException("AssessmentItemReference is a required property for EdFiStudentAssessmentItem and cannot be null"); } else { this.AssessmentItemReference = AssessmentItemReference; } this.ResponseIndicatorDescriptor = ResponseIndicatorDescriptor; this.AssessmentResponse = AssessmentResponse; this.DescriptiveFeedback = DescriptiveFeedback; this.RawScoreResult = RawScoreResult; this.TimeAssessed = TimeAssessed; }