Class Employment


  • public class Employment
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Employment.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      Employment()  
      Employment​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate, org.openapitools.jackson.nullable.JsonNullable<? extends PayPeriod> payPeriod, org.openapitools.jackson.nullable.JsonNullable<? extends PayFrequency> payFrequency, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payCurrency, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentEmploymentType> employmentType, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentEmploymentContractType> employmentContractType, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate, org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate, org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDepartment> department, org.openapitools.jackson.nullable.JsonNullable<? extends CostCenter> costCenter, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<HRISCostCenter>> costCenters, org.openapitools.jackson.nullable.JsonNullable<? extends Division> division, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentJob> job, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentType1> type, org.openapitools.jackson.nullable.JsonNullable<? extends ContractType> contractType, org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<EmploymentManagerApiModel>> manager)  
    • Constructor Detail

      • Employment

        public Employment​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId,
                          org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate,
                          org.openapitools.jackson.nullable.JsonNullable<? extends PayPeriod> payPeriod,
                          org.openapitools.jackson.nullable.JsonNullable<? extends PayFrequency> payFrequency,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payCurrency,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate,
                          org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentEmploymentType> employmentType,
                          org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentEmploymentContractType> employmentContractType,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate,
                          org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate,
                          org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active,
                          org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDepartment> department,
                          org.openapitools.jackson.nullable.JsonNullable<? extends CostCenter> costCenter,
                          org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<HRISCostCenter>> costCenters,
                          org.openapitools.jackson.nullable.JsonNullable<? extends Division> division,
                          org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentJob> job,
                          org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentType1> type,
                          org.openapitools.jackson.nullable.JsonNullable<? extends ContractType> contractType,
                          org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<EmploymentManagerApiModel>> manager)
      • Employment

        public Employment()
    • Method Detail

      • id

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
        Unique identifier
      • remoteId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
        Provider's unique identifier
      • unifiedCustomFields

        public org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields()
        Custom Unified Fields configured in your StackOne project
      • employeeId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
        The employee ID associated with this employment
      • remoteEmployeeId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId()
        Provider's unique identifier of the employee associated with this employment
      • jobTitle

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle()
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The job title of the employee
      • payRate

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate()
        The pay rate for the employee
      • payPeriod

        public org.openapitools.jackson.nullable.JsonNullable<PayPeriod> payPeriod()
        The pay period
      • payFrequency

        public org.openapitools.jackson.nullable.JsonNullable<PayFrequency> payFrequency()
        The pay frequency
      • payCurrency

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payCurrency()
        The currency used for pay
      • effectiveDate

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate()
        The effective date of the employment contract
      • employmentType

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<EmploymentEmploymentType> employmentType()
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The type of employment (e.g., contractor, permanent)
      • employmentContractType

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<EmploymentEmploymentContractType> employmentContractType()
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The employment work schedule type (e.g., full-time, part-time)
      • timeWorked

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked()
        The time worked for the employee in ISO 8601 duration format
      • createdAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
        The created_at date
      • updatedAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
        The updated_at date
      • startDate

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate()
        The start_date of employment
      • endDate

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate()
        The end_date of employment
      • active

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active()
        The employment active status
      • department

        public org.openapitools.jackson.nullable.JsonNullable<EmploymentDepartment> department()
        The employee department
      • costCenter

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<CostCenter> costCenter()
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The employee cost_center
      • costCenters

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<HRISCostCenter>> costCenters()
        The employee cost_centers
      • division

        public org.openapitools.jackson.nullable.JsonNullable<Division> division()
        The employee division
      • job

        public org.openapitools.jackson.nullable.JsonNullable<EmploymentJob> job()
        The job of employee
      • type

        public org.openapitools.jackson.nullable.JsonNullable<EmploymentType1> type()
        The type of employment
      • contractType

        public org.openapitools.jackson.nullable.JsonNullable<ContractType> contractType()
        The employment work schedule type
      • manager

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<EmploymentManagerApiModel>> manager()
        The employee manager
      • withId

        public Employment withId​(java.lang.String id)
        Unique identifier
      • withId

        public Employment withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • withRemoteId

        public Employment withRemoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • withRemoteId

        public Employment withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • withUnifiedCustomFields

        public Employment withUnifiedCustomFields​(java.util.Map<java.lang.String,​java.lang.Object> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • withUnifiedCustomFields

        public Employment withUnifiedCustomFields​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields)
        Custom Unified Fields configured in your StackOne project
      • withEmployeeId

        public Employment withEmployeeId​(java.lang.String employeeId)
        The employee ID associated with this employment
      • withEmployeeId

        public Employment withEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
        The employee ID associated with this employment
      • withRemoteEmployeeId

        public Employment withRemoteEmployeeId​(java.lang.String remoteEmployeeId)
        Provider's unique identifier of the employee associated with this employment
      • withRemoteEmployeeId

        public Employment withRemoteEmployeeId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteEmployeeId)
        Provider's unique identifier of the employee associated with this employment
      • withJobTitle

        @Deprecated
        public Employment withJobTitle​(java.lang.String jobTitle)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The job title of the employee
      • withJobTitle

        @Deprecated
        public Employment withJobTitle​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The job title of the employee
      • withPayRate

        public Employment withPayRate​(java.lang.String payRate)
        The pay rate for the employee
      • withPayRate

        public Employment withPayRate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate)
        The pay rate for the employee
      • withPayPeriod

        public Employment withPayPeriod​(org.openapitools.jackson.nullable.JsonNullable<? extends PayPeriod> payPeriod)
        The pay period
      • withPayFrequency

        public Employment withPayFrequency​(org.openapitools.jackson.nullable.JsonNullable<? extends PayFrequency> payFrequency)
        The pay frequency
      • withPayCurrency

        public Employment withPayCurrency​(java.lang.String payCurrency)
        The currency used for pay
      • withPayCurrency

        public Employment withPayCurrency​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payCurrency)
        The currency used for pay
      • withEffectiveDate

        public Employment withEffectiveDate​(java.time.OffsetDateTime effectiveDate)
        The effective date of the employment contract
      • withEffectiveDate

        public Employment withEffectiveDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate)
        The effective date of the employment contract
      • withEmploymentType

        @Deprecated
        public Employment withEmploymentType​(EmploymentEmploymentType employmentType)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The type of employment (e.g., contractor, permanent)
      • withEmploymentType

        @Deprecated
        public Employment withEmploymentType​(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentEmploymentType> employmentType)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The type of employment (e.g., contractor, permanent)
      • withEmploymentContractType

        @Deprecated
        public Employment withEmploymentContractType​(EmploymentEmploymentContractType employmentContractType)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The employment work schedule type (e.g., full-time, part-time)
      • withEmploymentContractType

        @Deprecated
        public Employment withEmploymentContractType​(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentEmploymentContractType> employmentContractType)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The employment work schedule type (e.g., full-time, part-time)
      • withTimeWorked

        public Employment withTimeWorked​(java.lang.String timeWorked)
        The time worked for the employee in ISO 8601 duration format
      • withTimeWorked

        public Employment withTimeWorked​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked)
        The time worked for the employee in ISO 8601 duration format
      • withCreatedAt

        public Employment withCreatedAt​(java.time.OffsetDateTime createdAt)
        The created_at date
      • withCreatedAt

        public Employment withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The created_at date
      • withUpdatedAt

        public Employment withUpdatedAt​(java.time.OffsetDateTime updatedAt)
        The updated_at date
      • withUpdatedAt

        public Employment withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The updated_at date
      • withStartDate

        public Employment withStartDate​(java.time.OffsetDateTime startDate)
        The start_date of employment
      • withStartDate

        public Employment withStartDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> startDate)
        The start_date of employment
      • withEndDate

        public Employment withEndDate​(java.time.OffsetDateTime endDate)
        The end_date of employment
      • withEndDate

        public Employment withEndDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate)
        The end_date of employment
      • withActive

        public Employment withActive​(boolean active)
        The employment active status
      • withActive

        public Employment withActive​(org.openapitools.jackson.nullable.JsonNullable<java.lang.Boolean> active)
        The employment active status
      • withDepartment

        public Employment withDepartment​(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDepartment> department)
        The employee department
      • withCostCenter

        @Deprecated
        public Employment withCostCenter​(CostCenter costCenter)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The employee cost_center
      • withCostCenter

        @Deprecated
        public Employment withCostCenter​(org.openapitools.jackson.nullable.JsonNullable<? extends CostCenter> costCenter)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The employee cost_center
      • withCostCenters

        public Employment withCostCenters​(java.util.List<HRISCostCenter> costCenters)
        The employee cost_centers
      • withCostCenters

        public Employment withCostCenters​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<HRISCostCenter>> costCenters)
        The employee cost_centers
      • withDivision

        public Employment withDivision​(Division division)
        The employee division
      • withDivision

        public Employment withDivision​(org.openapitools.jackson.nullable.JsonNullable<? extends Division> division)
        The employee division
      • withJob

        public Employment withJob​(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentJob> job)
        The job of employee
      • withType

        public Employment withType​(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentType1> type)
        The type of employment
      • withContractType

        public Employment withContractType​(ContractType contractType)
        The employment work schedule type
      • withContractType

        public Employment withContractType​(org.openapitools.jackson.nullable.JsonNullable<? extends ContractType> contractType)
        The employment work schedule type
      • withManager

        public Employment withManager​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<EmploymentManagerApiModel>> manager)
        The employee manager
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object