/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentAssessmentItemReadable" /> 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 EdFiStudentAssessmentItemReadable(string assessmentItemResultDescriptor = default(string), string responseIndicatorDescriptor = default(string), string assessmentResponse = default(string), string descriptiveFeedback = default(string), double?rawScoreResult = default(double?), 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 EdFiStudentAssessmentItemReadable 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 EdFiStudentAssessmentItemReadable and cannot be null"); } else { this.AssessmentItemReference = assessmentItemReference; } this.ResponseIndicatorDescriptor = responseIndicatorDescriptor; this.AssessmentResponse = assessmentResponse; this.DescriptiveFeedback = descriptiveFeedback; this.RawScoreResult = rawScoreResult; this.TimeAssessed = timeAssessed; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStudentAssessmentItemReadable" /> 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 EdFiStudentAssessmentItemReadable(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 EdFiStudentAssessmentItemReadable 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 EdFiStudentAssessmentItemReadable and cannot be null"); } else { this.AssessmentItemReference = AssessmentItemReference; } this.ResponseIndicatorDescriptor = ResponseIndicatorDescriptor; this.AssessmentResponse = AssessmentResponse; this.DescriptiveFeedback = DescriptiveFeedback; this.RawScoreResult = RawScoreResult; this.TimeAssessed = TimeAssessed; }