/// <summary> /// Initializes a new instance of the <see cref="EdFiStaffCredential" /> class. /// </summary> /// <param name="CredentialReference">CredentialReference (required).</param> public EdFiStaffCredential(EdFiCredentialReference CredentialReference = default(EdFiCredentialReference)) { // to ensure "CredentialReference" is required (not null) if (CredentialReference == null) { throw new InvalidDataException("CredentialReference is a required property for EdFiStaffCredential and cannot be null"); } else { this.CredentialReference = CredentialReference; } }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStaffEducationOrganizationAssignmentAssociation" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="BeginDate">Month, day, and year of the start or effective date of a staff member's employment, contract, or relationship with the LEA. (required).</param> /// <param name="StaffClassificationDescriptor">The titles of employment, official status, or rank of education staff. (required).</param> /// <param name="CredentialReference">CredentialReference.</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="EmploymentStaffEducationOrganizationEmploymentAssociationReference">EmploymentStaffEducationOrganizationEmploymentAssociationReference.</param> /// <param name="StaffReference">StaffReference (required).</param> /// <param name="EndDate">Month, day, and year of the end or termination date of a staff member's employment, contract, or relationship with the LEA..</param> /// <param name="OrderOfAssignment">Describes whether the assignment is this the staff member's primary assignment, secondary assignment, etc..</param> /// <param name="PositionTitle">The descriptive name of an individual's position..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> public EdFiStaffEducationOrganizationAssignmentAssociation(string Id = default(string), DateTime?BeginDate = default(DateTime?), string StaffClassificationDescriptor = default(string), EdFiCredentialReference CredentialReference = default(EdFiCredentialReference), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiStaffEducationOrganizationEmploymentAssociationReference EmploymentStaffEducationOrganizationEmploymentAssociationReference = default(EdFiStaffEducationOrganizationEmploymentAssociationReference), EdFiStaffReference StaffReference = default(EdFiStaffReference), DateTime?EndDate = default(DateTime?), int?OrderOfAssignment = default(int?), string PositionTitle = default(string), string Etag = default(string)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStaffEducationOrganizationAssignmentAssociation and cannot be null"); } else { this.Id = Id; } // to ensure "BeginDate" is required (not null) if (BeginDate == null) { throw new InvalidDataException("BeginDate is a required property for EdFiStaffEducationOrganizationAssignmentAssociation and cannot be null"); } else { this.BeginDate = BeginDate; } // to ensure "StaffClassificationDescriptor" is required (not null) if (StaffClassificationDescriptor == null) { throw new InvalidDataException("StaffClassificationDescriptor is a required property for EdFiStaffEducationOrganizationAssignmentAssociation and cannot be null"); } else { this.StaffClassificationDescriptor = StaffClassificationDescriptor; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStaffEducationOrganizationAssignmentAssociation and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "StaffReference" is required (not null) if (StaffReference == null) { throw new InvalidDataException("StaffReference is a required property for EdFiStaffEducationOrganizationAssignmentAssociation and cannot be null"); } else { this.StaffReference = StaffReference; } this.CredentialReference = CredentialReference; this.EmploymentStaffEducationOrganizationEmploymentAssociationReference = EmploymentStaffEducationOrganizationEmploymentAssociationReference; this.EndDate = EndDate; this.OrderOfAssignment = OrderOfAssignment; this.PositionTitle = PositionTitle; this.Etag = Etag; }
/// <summary> /// Initializes a new instance of the <see cref="EdFiStaffEducationOrganizationEmploymentAssociation" /> class. /// </summary> /// <param name="Id">Id (required).</param> /// <param name="EmploymentStatusDescriptor">Reflects the type of employment or contract; for example: Probationary Contractual Substitute/temporary Tenured or permanent Volunteer/no contract ... (required).</param> /// <param name="HireDate">The month, day, and year on which an individual was hired for a position. (required).</param> /// <param name="CredentialReference">CredentialReference.</param> /// <param name="EducationOrganizationReference">EducationOrganizationReference (required).</param> /// <param name="StaffReference">StaffReference (required).</param> /// <param name="Department">The department or suborganization the employee/contractor is associated with in the EducationOrganization..</param> /// <param name="EndDate">The month, day, and year on which a contract between an individual and a governing authority ends or is terminated under the provisions of the contract (or the date on which the agreement is made invalid)..</param> /// <param name="FullTimeEquivalency">The ratio between the hours of work expected in a position and the hours of work normally expected in a full-time position in the same setting..</param> /// <param name="HourlyWage">Hourly wage associated with the employment position being reported..</param> /// <param name="OfferDate">Date at which the staff member was made an official offer for this employment..</param> /// <param name="SeparationDescriptor">Type of employment separation; for example: Voluntary separation, Involuntary separation, Mutual agreement Other, etc..</param> /// <param name="SeparationReasonDescriptor">Reason for terminating the employment; for example: Employment in education Employment outside of education Retirement Family/personal relocation Change of assignment..</param> /// <param name="Etag">A unique system-generated value that identifies the version of the resource..</param> public EdFiStaffEducationOrganizationEmploymentAssociation(string Id = default(string), string EmploymentStatusDescriptor = default(string), DateTime?HireDate = default(DateTime?), EdFiCredentialReference CredentialReference = default(EdFiCredentialReference), EdFiEducationOrganizationReference EducationOrganizationReference = default(EdFiEducationOrganizationReference), EdFiStaffReference StaffReference = default(EdFiStaffReference), string Department = default(string), DateTime?EndDate = default(DateTime?), double?FullTimeEquivalency = default(double?), double?HourlyWage = default(double?), DateTime?OfferDate = default(DateTime?), string SeparationDescriptor = default(string), string SeparationReasonDescriptor = default(string), string Etag = default(string)) { // to ensure "Id" is required (not null) if (Id == null) { throw new InvalidDataException("Id is a required property for EdFiStaffEducationOrganizationEmploymentAssociation and cannot be null"); } else { this.Id = Id; } // to ensure "EmploymentStatusDescriptor" is required (not null) if (EmploymentStatusDescriptor == null) { throw new InvalidDataException("EmploymentStatusDescriptor is a required property for EdFiStaffEducationOrganizationEmploymentAssociation and cannot be null"); } else { this.EmploymentStatusDescriptor = EmploymentStatusDescriptor; } // to ensure "HireDate" is required (not null) if (HireDate == null) { throw new InvalidDataException("HireDate is a required property for EdFiStaffEducationOrganizationEmploymentAssociation and cannot be null"); } else { this.HireDate = HireDate; } // to ensure "EducationOrganizationReference" is required (not null) if (EducationOrganizationReference == null) { throw new InvalidDataException("EducationOrganizationReference is a required property for EdFiStaffEducationOrganizationEmploymentAssociation and cannot be null"); } else { this.EducationOrganizationReference = EducationOrganizationReference; } // to ensure "StaffReference" is required (not null) if (StaffReference == null) { throw new InvalidDataException("StaffReference is a required property for EdFiStaffEducationOrganizationEmploymentAssociation and cannot be null"); } else { this.StaffReference = StaffReference; } this.CredentialReference = CredentialReference; this.Department = Department; this.EndDate = EndDate; this.FullTimeEquivalency = FullTimeEquivalency; this.HourlyWage = HourlyWage; this.OfferDate = OfferDate; this.SeparationDescriptor = SeparationDescriptor; this.SeparationReasonDescriptor = SeparationReasonDescriptor; this.Etag = Etag; }