Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiAssessmentReadable" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="AcademicSubjects">An unordered collection of assessmentAcademicSubjects. The description of the content or subject area (e.g., arts, mathematics, reading, stenography, or a foreign language) of an assessment. (required).</param>
 /// <param name="AssessmentIdentifier">A unique number or alphanumeric code assigned to an assessment. (required).</param>
 /// <param name="_Namespace">Namespace for the Assessment. (required).</param>
 /// <param name="EducationOrganizationReference">EducationOrganizationReference.</param>
 /// <param name="AdaptiveAssessment">Indicates that the assessment is adaptive..</param>
 /// <param name="AssessedGradeLevels">An unordered collection of assessmentAssessedGradeLevels. The grade level(s) for which an assessment is designed. The semantics of null is assumed to mean that the assessment is not associated with any grade level..</param>
 /// <param name="AssessmentCategoryDescriptor">The category of an assessment based on format and content. For example:          Achievement test          Advanced placement test          Alternate assessment/grade-level standards          Attitudinal test          Cognitive and perceptual skills test          ....</param>
 /// <param name="AssessmentFamily">The AssessmentFamily this Assessment is a member of..</param>
 /// <param name="AssessmentForm">Identifies the form of the assessment, for example a regular versus makeup form, multiple choice versus constructed response, etc..</param>
 /// <param name="AssessmentTitle">The title or name of the Assessment. (required).</param>
 /// <param name="AssessmentVersion">The version identifier for the assessment..</param>
 /// <param name="ContentStandard">ContentStandard.</param>
 /// <param name="IdentificationCodes">An unordered collection of assessmentIdentificationCodes. A unique number or alphanumeric code assigned to an assessment by a school, school system, a state, or other agency or entity..</param>
 /// <param name="Languages">An unordered collection of assessmentLanguages. An indication of the languages in which the assessment is designed..</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 Assessment..</param>
 /// <param name="PerformanceLevels">An unordered collection of assessmentPerformanceLevels. 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="Period">Period.</param>
 /// <param name="Programs">An unordered collection of assessmentPrograms. The programs associated with the Assessment..</param>
 /// <param name="RevisionDate">The month, day, and year that the conceptual design for the assessment was most recently revised substantially..</param>
 /// <param name="Scores">An unordered collection of assessmentScores. Definition of the scores to be expected from this assessment..</param>
 /// <param name="Sections">An unordered collection of assessmentSections. The Section(s) to which the Assessment is associated..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiAssessmentReadable(string Id = default(string), List <EdFiAssessmentAcademicSubjectReadable> AcademicSubjects = default(List <EdFiAssessmentAcademicSubjectReadable>), string AssessmentIdentifier = default(string), string _Namespace = default(string), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), bool?AdaptiveAssessment = default(bool?), List <EdFiAssessmentAssessedGradeLevelReadable> AssessedGradeLevels = default(List <EdFiAssessmentAssessedGradeLevelReadable>), string AssessmentCategoryDescriptor = default(string), string AssessmentFamily = default(string), string AssessmentForm = default(string), string AssessmentTitle = default(string), int?AssessmentVersion = default(int?), EdFiAssessmentContentStandardReadable ContentStandard = default(EdFiAssessmentContentStandardReadable), List <EdFiAssessmentIdentificationCodeReadable> IdentificationCodes = default(List <EdFiAssessmentIdentificationCodeReadable>), List <EdFiAssessmentLanguageReadable> Languages = default(List <EdFiAssessmentLanguageReadable>), int?MaxRawScore = default(int?), string Nomenclature = default(string), List <EdFiAssessmentPerformanceLevelReadable> PerformanceLevels = default(List <EdFiAssessmentPerformanceLevelReadable>), EdFiAssessmentPeriodReadable Period = default(EdFiAssessmentPeriodReadable), List <EdFiAssessmentProgramReadable> Programs = default(List <EdFiAssessmentProgramReadable>), DateTime?RevisionDate = default(DateTime?), List <EdFiAssessmentScoreReadable> Scores = default(List <EdFiAssessmentScoreReadable>), List <EdFiAssessmentSectionReadable> Sections = default(List <EdFiAssessmentSectionReadable>), string Etag = default(string))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "AcademicSubjects" is required (not null)
     if (AcademicSubjects == null)
     {
         throw new InvalidDataException("AcademicSubjects is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.AcademicSubjects = AcademicSubjects;
     }
     // to ensure "AssessmentIdentifier" is required (not null)
     if (AssessmentIdentifier == null)
     {
         throw new InvalidDataException("AssessmentIdentifier is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.AssessmentIdentifier = AssessmentIdentifier;
     }
     // to ensure "_Namespace" is required (not null)
     if (_Namespace == null)
     {
         throw new InvalidDataException("_Namespace is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this._Namespace = _Namespace;
     }
     // to ensure "AssessmentTitle" is required (not null)
     if (AssessmentTitle == null)
     {
         throw new InvalidDataException("AssessmentTitle is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.AssessmentTitle = AssessmentTitle;
     }
     this.EducationOrganizationReference = EducationOrganizationReference;
     this.AdaptiveAssessment             = AdaptiveAssessment;
     this.AssessedGradeLevels            = AssessedGradeLevels;
     this.AssessmentCategoryDescriptor   = AssessmentCategoryDescriptor;
     this.AssessmentFamily    = AssessmentFamily;
     this.AssessmentForm      = AssessmentForm;
     this.AssessmentVersion   = AssessmentVersion;
     this.ContentStandard     = ContentStandard;
     this.IdentificationCodes = IdentificationCodes;
     this.Languages           = Languages;
     this.MaxRawScore         = MaxRawScore;
     this.Nomenclature        = Nomenclature;
     this.PerformanceLevels   = PerformanceLevels;
     this.Period       = Period;
     this.Programs     = Programs;
     this.RevisionDate = RevisionDate;
     this.Scores       = Scores;
     this.Sections     = Sections;
     this.Etag         = Etag;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiAssessmentReadable" /> class.
 /// </summary>
 /// <param name="id">id.</param>
 /// <param name="academicSubjects">An unordered collection of assessmentAcademicSubjects. The description of the content or subject area (e.g., arts, mathematics, reading, stenography, or a foreign language) of an assessment. (required).</param>
 /// <param name="assessmentIdentifier">A unique number or alphanumeric code assigned to an assessment. (required).</param>
 /// <param name="_namespace">Namespace for the Assessment. (required).</param>
 /// <param name="educationOrganizationReference">educationOrganizationReference.</param>
 /// <param name="adaptiveAssessment">Indicates that the assessment is adaptive..</param>
 /// <param name="assessedGradeLevels">An unordered collection of assessmentAssessedGradeLevels. The grade level(s) for which an assessment is designed. The semantics of null is assumed to mean that the assessment is not associated with any grade level..</param>
 /// <param name="assessmentCategoryDescriptor">The category of an assessment based on format and content. For example:         Achievement test         Advanced placement test         Alternate assessment/grade-level standards         Attitudinal test         Cognitive and perceptual skills test         ....</param>
 /// <param name="assessmentFamily">The AssessmentFamily this Assessment is a member of..</param>
 /// <param name="assessmentForm">Identifies the form of the assessment, for example a regular versus makeup form, multiple choice versus constructed response, etc..</param>
 /// <param name="assessmentTitle">The title or name of the Assessment. (required).</param>
 /// <param name="assessmentVersion">The version identifier for the assessment..</param>
 /// <param name="contentStandard">contentStandard.</param>
 /// <param name="identificationCodes">An unordered collection of assessmentIdentificationCodes. A unique number or alphanumeric code assigned to an assessment by a school, school system, a state, or other agency or entity..</param>
 /// <param name="languages">An unordered collection of assessmentLanguages. An indication of the languages in which the assessment is designed..</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 Assessment..</param>
 /// <param name="performanceLevels">An unordered collection of assessmentPerformanceLevels. 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="period">period.</param>
 /// <param name="platformTypes">An unordered collection of assessmentPlatformTypes. The platforms with which the assessment may be delivered..</param>
 /// <param name="programs">An unordered collection of assessmentPrograms. The programs associated with the Assessment..</param>
 /// <param name="revisionDate">The month, day, and year that the conceptual design for the assessment was most recently revised substantially..</param>
 /// <param name="scores">An unordered collection of assessmentScores. Definition of the scores to be expected from this assessment..</param>
 /// <param name="sections">An unordered collection of assessmentSections. The Section(s) to which the Assessment is associated..</param>
 /// <param name="etag">A unique system-generated value that identifies the version of the resource..</param>
 public EdFiAssessmentReadable(string id = default(string), List <EdFiAssessmentAcademicSubjectReadable> academicSubjects = default(List <EdFiAssessmentAcademicSubjectReadable>), string assessmentIdentifier = default(string), string _namespace = default(string), EdFiEducationOrganizationReference educationOrganizationReference = default(EdFiEducationOrganizationReference), bool?adaptiveAssessment = default(bool?), List <EdFiAssessmentAssessedGradeLevelReadable> assessedGradeLevels = default(List <EdFiAssessmentAssessedGradeLevelReadable>), string assessmentCategoryDescriptor = default(string), string assessmentFamily = default(string), string assessmentForm = default(string), string assessmentTitle = default(string), int?assessmentVersion = default(int?), EdFiAssessmentContentStandardReadable contentStandard = default(EdFiAssessmentContentStandardReadable), List <EdFiAssessmentIdentificationCodeReadable> identificationCodes = default(List <EdFiAssessmentIdentificationCodeReadable>), List <EdFiAssessmentLanguageReadable> languages = default(List <EdFiAssessmentLanguageReadable>), double?maxRawScore = default(double?), string nomenclature = default(string), List <EdFiAssessmentPerformanceLevelReadable> performanceLevels = default(List <EdFiAssessmentPerformanceLevelReadable>), EdFiAssessmentPeriodReadable period = default(EdFiAssessmentPeriodReadable), List <EdFiAssessmentPlatformTypeReadable> platformTypes = default(List <EdFiAssessmentPlatformTypeReadable>), List <EdFiAssessmentProgramReadable> programs = default(List <EdFiAssessmentProgramReadable>), DateTime?revisionDate = default(DateTime?), List <EdFiAssessmentScoreReadable> scores = default(List <EdFiAssessmentScoreReadable>), List <EdFiAssessmentSectionReadable> sections = default(List <EdFiAssessmentSectionReadable>), string etag = default(string))
 {
     // to ensure "academicSubjects" is required (not null)
     if (academicSubjects == null)
     {
         throw new InvalidDataException("academicSubjects is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.AcademicSubjects = academicSubjects;
     }
     // to ensure "assessmentIdentifier" is required (not null)
     if (assessmentIdentifier == null)
     {
         throw new InvalidDataException("assessmentIdentifier is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.AssessmentIdentifier = assessmentIdentifier;
     }
     // to ensure "_namespace" is required (not null)
     if (_namespace == null)
     {
         throw new InvalidDataException("_namespace is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.Namespace = _namespace;
     }
     // to ensure "assessmentTitle" is required (not null)
     if (assessmentTitle == null)
     {
         throw new InvalidDataException("assessmentTitle is a required property for EdFiAssessmentReadable and cannot be null");
     }
     else
     {
         this.AssessmentTitle = assessmentTitle;
     }
     this.Id = id;
     this.EducationOrganizationReference = educationOrganizationReference;
     this.AdaptiveAssessment             = adaptiveAssessment;
     this.AssessedGradeLevels            = assessedGradeLevels;
     this.AssessmentCategoryDescriptor   = assessmentCategoryDescriptor;
     this.AssessmentFamily    = assessmentFamily;
     this.AssessmentForm      = assessmentForm;
     this.AssessmentVersion   = assessmentVersion;
     this.ContentStandard     = contentStandard;
     this.IdentificationCodes = identificationCodes;
     this.Languages           = languages;
     this.MaxRawScore         = maxRawScore;
     this.Nomenclature        = nomenclature;
     this.PerformanceLevels   = performanceLevels;
     this.Period        = period;
     this.PlatformTypes = platformTypes;
     this.Programs      = programs;
     this.RevisionDate  = revisionDate;
     this.Scores        = scores;
     this.Sections      = sections;
     this.Etag          = etag;
 }