コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiLocalEducationAgency" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="Addresses">An unordered collection of educationOrganizationAddresses. The set of elements that describes the physical location of the education entity, including the street address, city, state, ZIP code, and ZIP code + 4. (required).</param>
 /// <param name="Categories">An unordered collection of educationOrganizationCategories. The classification of the education agency within the geographic boundaries of a state according to the level of administrative and operational control granted by the state. (required).</param>
 /// <param name="LocalEducationAgencyId">The identifier assigned to a local education agency. (required).</param>
 /// <param name="EducationServiceCenterReference">EducationServiceCenterReference.</param>
 /// <param name="ParentLocalEducationAgencyReference">ParentLocalEducationAgencyReference.</param>
 /// <param name="StateEducationAgencyReference">StateEducationAgencyReference.</param>
 /// <param name="Accountabilities">An unordered collection of localEducationAgencyAccountabilities. This entity maintains information about federal reporting and accountability for local education agencies..</param>
 /// <param name="CharterStatusDescriptor">A school or agency providing free public elementary or secondary education to eligible students under a specific charter granted by the state legislature or other appropriate authority and designated by such authority to be a charter school..</param>
 /// <param name="FederalFunds">An unordered collection of localEducationAgencyFederalFunds. Contains the information about the reception and use of federal funds for reporting purposes..</param>
 /// <param name="IdentificationCodes">An unordered collection of educationOrganizationIdentificationCodes. A unique number or alphanumeric code assigned to an education organization by a school, school system, a state, or other agency or entity..</param>
 /// <param name="InstitutionTelephones">An unordered collection of educationOrganizationInstitutionTelephones. The 10-digit telephone number, including the area code, for the education entity..</param>
 /// <param name="InternationalAddresses">An unordered collection of educationOrganizationInternationalAddresses. The set of elements that describes the international physical location of the education entity..</param>
 /// <param name="LocalEducationAgencyCategoryDescriptor">The category of local education agency/district. For example: Independent or Charter. (required).</param>
 /// <param name="NameOfInstitution">The full, legally accepted name of the institution. (required).</param>
 /// <param name="OperationalStatusDescriptor">The current operational status of the EducationOrganization (e.g., active, inactive)..</param>
 /// <param name="ShortNameOfInstitution">A short name for the institution..</param>
 /// <param name="WebSite">The public web site address (URL) for the EducationOrganization..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiLocalEducationAgency(string Id = default(string), List <EdFiEducationOrganizationAddress> Addresses = default(List <EdFiEducationOrganizationAddress>), List <EdFiEducationOrganizationCategory> Categories = default(List <EdFiEducationOrganizationCategory>), int?LocalEducationAgencyId = default(int?), EdFiEducationServiceCenterReference EducationServiceCenterReference = default(EdFiEducationServiceCenterReference), EdFiLocalEducationAgencyReference ParentLocalEducationAgencyReference = default(EdFiLocalEducationAgencyReference), EdFiStateEducationAgencyReference StateEducationAgencyReference = default(EdFiStateEducationAgencyReference), List <EdFiLocalEducationAgencyAccountability> Accountabilities = default(List <EdFiLocalEducationAgencyAccountability>), string CharterStatusDescriptor = default(string), List <EdFiLocalEducationAgencyFederalFunds> FederalFunds = default(List <EdFiLocalEducationAgencyFederalFunds>), List <EdFiEducationOrganizationIdentificationCode> IdentificationCodes = default(List <EdFiEducationOrganizationIdentificationCode>), List <EdFiEducationOrganizationInstitutionTelephone> InstitutionTelephones = default(List <EdFiEducationOrganizationInstitutionTelephone>), List <EdFiEducationOrganizationInternationalAddress> InternationalAddresses = default(List <EdFiEducationOrganizationInternationalAddress>), string LocalEducationAgencyCategoryDescriptor = default(string), string NameOfInstitution = default(string), string OperationalStatusDescriptor = default(string), string ShortNameOfInstitution = default(string), string WebSite = default(string), string Etag = default(string), LocalEducationAgencyExtensions Ext = default(LocalEducationAgencyExtensions))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiLocalEducationAgency and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Addresses" is required (not null)
     if (Addresses == null)
     {
         throw new InvalidDataException("Addresses is a required property for EdFiLocalEducationAgency and cannot be null");
     }
     else
     {
         this.Addresses = Addresses;
     }
     // to ensure "Categories" is required (not null)
     if (Categories == null)
     {
         throw new InvalidDataException("Categories is a required property for EdFiLocalEducationAgency and cannot be null");
     }
     else
     {
         this.Categories = Categories;
     }
     // to ensure "LocalEducationAgencyId" is required (not null)
     if (LocalEducationAgencyId == null)
     {
         throw new InvalidDataException("LocalEducationAgencyId is a required property for EdFiLocalEducationAgency and cannot be null");
     }
     else
     {
         this.LocalEducationAgencyId = LocalEducationAgencyId;
     }
     // to ensure "LocalEducationAgencyCategoryDescriptor" is required (not null)
     if (LocalEducationAgencyCategoryDescriptor == null)
     {
         throw new InvalidDataException("LocalEducationAgencyCategoryDescriptor is a required property for EdFiLocalEducationAgency and cannot be null");
     }
     else
     {
         this.LocalEducationAgencyCategoryDescriptor = LocalEducationAgencyCategoryDescriptor;
     }
     // to ensure "NameOfInstitution" is required (not null)
     if (NameOfInstitution == null)
     {
         throw new InvalidDataException("NameOfInstitution is a required property for EdFiLocalEducationAgency and cannot be null");
     }
     else
     {
         this.NameOfInstitution = NameOfInstitution;
     }
     this.EducationServiceCenterReference     = EducationServiceCenterReference;
     this.ParentLocalEducationAgencyReference = ParentLocalEducationAgencyReference;
     this.StateEducationAgencyReference       = StateEducationAgencyReference;
     this.Accountabilities            = Accountabilities;
     this.CharterStatusDescriptor     = CharterStatusDescriptor;
     this.FederalFunds                = FederalFunds;
     this.IdentificationCodes         = IdentificationCodes;
     this.InstitutionTelephones       = InstitutionTelephones;
     this.InternationalAddresses      = InternationalAddresses;
     this.OperationalStatusDescriptor = OperationalStatusDescriptor;
     this.ShortNameOfInstitution      = ShortNameOfInstitution;
     this.WebSite = WebSite;
     this.Etag    = Etag;
     this.Ext     = Ext;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EdFiSchool" /> class.
 /// </summary>
 /// <param name="Id">Id (required).</param>
 /// <param name="Addresses">An unordered collection of educationOrganizationAddresses. The set of elements that describes the physical location of the education entity, including the street address, city, state, ZIP code, and ZIP code + 4. (required).</param>
 /// <param name="EducationOrganizationCategories">An unordered collection of educationOrganizationCategories. The classification of the education agency within the geographic boundaries of a state according to the level of administrative and operational control granted by the state. (required).</param>
 /// <param name="GradeLevels">An unordered collection of schoolGradeLevels. The grade levels served at the school. (required).</param>
 /// <param name="SchoolId">The identifier assigned to a school. (required).</param>
 /// <param name="CharterApprovalSchoolYearTypeReference">CharterApprovalSchoolYearTypeReference.</param>
 /// <param name="LocalEducationAgencyReference">LocalEducationAgencyReference.</param>
 /// <param name="AdministrativeFundingControlDescriptor">The type of education institution as classified by its funding source, for example public or private..</param>
 /// <param name="CharterApprovalAgencyTypeDescriptor">The type of agency that approved the establishment or continuation of a charter school..</param>
 /// <param name="CharterStatusDescriptor">A school or agency providing free public elementary or secondary education to eligible students under a specific charter granted by the state legislature or other appropriate authority and designated by such authority to be a charter school..</param>
 /// <param name="IdentificationCodes">An unordered collection of educationOrganizationIdentificationCodes. A unique number or alphanumeric code assigned to an education organization by a school, school system, a state, or other agency or entity..</param>
 /// <param name="InstitutionTelephones">An unordered collection of educationOrganizationInstitutionTelephones. The 10-digit telephone number, including the area code, for the education entity..</param>
 /// <param name="InternationalAddresses">An unordered collection of educationOrganizationInternationalAddresses. The set of elements that describes the international physical location of the education entity..</param>
 /// <param name="InternetAccessDescriptor">The type of Internet access available..</param>
 /// <param name="MagnetSpecialProgramEmphasisSchoolDescriptor">A school that has been designed: 1) to attract students of different racial/ethnic backgrounds for the purpose of reducing, preventing, or eliminating racial isolation; and/or 2) to provide an academic or social focus on a particular theme (e.g., science/math, performing arts, gifted/talented, or foreign language)..</param>
 /// <param name="NameOfInstitution">The full, legally accepted name of the institution. (required).</param>
 /// <param name="OperationalStatusDescriptor">The current operational status of the EducationOrganization (e.g., active, inactive)..</param>
 /// <param name="SchoolCategories">An unordered collection of schoolCategories. The one or more categories of school. For example: High School, Middle School, and/or Elementary School..</param>
 /// <param name="SchoolTypeDescriptor">The type of education institution as classified by its primary focus..</param>
 /// <param name="ShortNameOfInstitution">A short name for the institution..</param>
 /// <param name="TitleIPartASchoolDesignationDescriptor">Denotes the Title I Part A designation for the school..</param>
 /// <param name="WebSite">The public web site address (URL) for the EducationOrganization..</param>
 /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param>
 /// <param name="Ext">Ext.</param>
 public EdFiSchool(string Id = default(string), List <EdFiEducationOrganizationAddress> Addresses = default(List <EdFiEducationOrganizationAddress>), List <EdFiEducationOrganizationCategory> EducationOrganizationCategories = default(List <EdFiEducationOrganizationCategory>), List <EdFiSchoolGradeLevel> GradeLevels = default(List <EdFiSchoolGradeLevel>), int?SchoolId = default(int?), EdFiSchoolYearTypeReference CharterApprovalSchoolYearTypeReference = default(EdFiSchoolYearTypeReference), EdFiLocalEducationAgencyReference LocalEducationAgencyReference = default(EdFiLocalEducationAgencyReference), string AdministrativeFundingControlDescriptor = default(string), string CharterApprovalAgencyTypeDescriptor = default(string), string CharterStatusDescriptor = default(string), List <EdFiEducationOrganizationIdentificationCode> IdentificationCodes = default(List <EdFiEducationOrganizationIdentificationCode>), List <EdFiEducationOrganizationInstitutionTelephone> InstitutionTelephones = default(List <EdFiEducationOrganizationInstitutionTelephone>), List <EdFiEducationOrganizationInternationalAddress> InternationalAddresses = default(List <EdFiEducationOrganizationInternationalAddress>), string InternetAccessDescriptor = default(string), string MagnetSpecialProgramEmphasisSchoolDescriptor = default(string), string NameOfInstitution = default(string), string OperationalStatusDescriptor = default(string), List <EdFiSchoolCategory> SchoolCategories = default(List <EdFiSchoolCategory>), string SchoolTypeDescriptor = default(string), string ShortNameOfInstitution = default(string), string TitleIPartASchoolDesignationDescriptor = default(string), string WebSite = default(string), string Etag = default(string), SchoolExtensions Ext = default(SchoolExtensions))
 {
     // to ensure "Id" is required (not null)
     if (Id == null)
     {
         throw new InvalidDataException("Id is a required property for EdFiSchool and cannot be null");
     }
     else
     {
         this.Id = Id;
     }
     // to ensure "Addresses" is required (not null)
     if (Addresses == null)
     {
         throw new InvalidDataException("Addresses is a required property for EdFiSchool and cannot be null");
     }
     else
     {
         this.Addresses = Addresses;
     }
     // to ensure "EducationOrganizationCategories" is required (not null)
     if (EducationOrganizationCategories == null)
     {
         throw new InvalidDataException("EducationOrganizationCategories is a required property for EdFiSchool and cannot be null");
     }
     else
     {
         this.EducationOrganizationCategories = EducationOrganizationCategories;
     }
     // to ensure "GradeLevels" is required (not null)
     if (GradeLevels == null)
     {
         throw new InvalidDataException("GradeLevels is a required property for EdFiSchool and cannot be null");
     }
     else
     {
         this.GradeLevels = GradeLevels;
     }
     // to ensure "SchoolId" is required (not null)
     if (SchoolId == null)
     {
         throw new InvalidDataException("SchoolId is a required property for EdFiSchool and cannot be null");
     }
     else
     {
         this.SchoolId = SchoolId;
     }
     // to ensure "NameOfInstitution" is required (not null)
     if (NameOfInstitution == null)
     {
         throw new InvalidDataException("NameOfInstitution is a required property for EdFiSchool and cannot be null");
     }
     else
     {
         this.NameOfInstitution = NameOfInstitution;
     }
     this.CharterApprovalSchoolYearTypeReference = CharterApprovalSchoolYearTypeReference;
     this.LocalEducationAgencyReference          = LocalEducationAgencyReference;
     this.AdministrativeFundingControlDescriptor = AdministrativeFundingControlDescriptor;
     this.CharterApprovalAgencyTypeDescriptor    = CharterApprovalAgencyTypeDescriptor;
     this.CharterStatusDescriptor  = CharterStatusDescriptor;
     this.IdentificationCodes      = IdentificationCodes;
     this.InstitutionTelephones    = InstitutionTelephones;
     this.InternationalAddresses   = InternationalAddresses;
     this.InternetAccessDescriptor = InternetAccessDescriptor;
     this.MagnetSpecialProgramEmphasisSchoolDescriptor = MagnetSpecialProgramEmphasisSchoolDescriptor;
     this.OperationalStatusDescriptor            = OperationalStatusDescriptor;
     this.SchoolCategories                       = SchoolCategories;
     this.SchoolTypeDescriptor                   = SchoolTypeDescriptor;
     this.ShortNameOfInstitution                 = ShortNameOfInstitution;
     this.TitleIPartASchoolDesignationDescriptor = TitleIPartASchoolDesignationDescriptor;
     this.WebSite = WebSite;
     this.Etag    = Etag;
     this.Ext     = Ext;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentSchoolAssociationTransportation" /> class.
 /// </summary>
 /// <param name="TransportationCategoryDescriptor">Student&#39;s to and from Transportation Category for the regular school term. (required).</param>
 /// <param name="TransportingLocalEducationAgencyReference">TransportingLocalEducationAgencyReference.</param>
 public MnStudentSchoolAssociationTransportation(string TransportationCategoryDescriptor = default(string), EdFiLocalEducationAgencyReference TransportingLocalEducationAgencyReference = default(EdFiLocalEducationAgencyReference))
 {
     // to ensure "TransportationCategoryDescriptor" is required (not null)
     if (TransportationCategoryDescriptor == null)
     {
         throw new InvalidDataException("TransportationCategoryDescriptor is a required property for MnStudentSchoolAssociationTransportation and cannot be null");
     }
     else
     {
         this.TransportationCategoryDescriptor = TransportationCategoryDescriptor;
     }
     this.TransportingLocalEducationAgencyReference = TransportingLocalEducationAgencyReference;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MnStudentSchoolAssociationExtension" /> class.
 /// </summary>
 /// <param name="SpecialEducationEvaluationStatusDescriptor">An indicator of the students&#39; need for and participation in special education programs during this enrollment period..</param>
 /// <param name="StateAidCategoryDescriptor">State Aid Category..</param>
 /// <param name="HomeboundServiceIndicator">The Homebound Service Indicator is used to validate Membership Days for students who have no Attendance Days. It is an indication of whether students were medically confined to their home and received instruction in the home during the enrollment period..</param>
 /// <param name="SpecialPupilIndicator">An indicator representing a Student  who qualifies as a Special Pupil for Care and Treatment at some time during the school year..</param>
 /// <param name="ResidentLocalEducationAgencyReference">ResidentLocalEducationAgencyReference.</param>
 /// <param name="Membership">Membership.</param>
 /// <param name="Transportation">Transportation.</param>
 public MnStudentSchoolAssociationExtension(string SpecialEducationEvaluationStatusDescriptor = default(string), string StateAidCategoryDescriptor = default(string), bool?HomeboundServiceIndicator = default(bool?), bool?SpecialPupilIndicator = default(bool?), EdFiLocalEducationAgencyReference ResidentLocalEducationAgencyReference = default(EdFiLocalEducationAgencyReference), MnStudentSchoolAssociationMembership Membership = default(MnStudentSchoolAssociationMembership), MnStudentSchoolAssociationTransportation Transportation = default(MnStudentSchoolAssociationTransportation))
 {
     this.SpecialEducationEvaluationStatusDescriptor = SpecialEducationEvaluationStatusDescriptor;
     this.StateAidCategoryDescriptor            = StateAidCategoryDescriptor;
     this.HomeboundServiceIndicator             = HomeboundServiceIndicator;
     this.SpecialPupilIndicator                 = SpecialPupilIndicator;
     this.ResidentLocalEducationAgencyReference = ResidentLocalEducationAgencyReference;
     this.Membership     = Membership;
     this.Transportation = Transportation;
 }