Class CreateEmploymentApiModel


  • public class CreateEmploymentApiModel
    extends java.lang.Object
    • Constructor Detail

      • CreateEmploymentApiModel

        public CreateEmploymentApiModel​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,​java.lang.Object>> unifiedCustomFields,
                                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle,
                                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelPayPeriod> payPeriod,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelPayFrequency> payFrequency,
                                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payCurrency,
                                        org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate,
                                        org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelGrade> grade,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentType> employmentType,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentContractType> employmentContractType,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelType> type,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelContractType> contractType,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelWorkTime> workTime,
                                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payrollCode,
                                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobId)
      • CreateEmploymentApiModel

        public CreateEmploymentApiModel()
    • Method Detail

      • 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
      • jobTitle

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle()
        The job title of the employee
      • payRate

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

        public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelPayPeriod> payPeriod()
        The time period over which the pay rate is calculated
      • 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
      • endDate

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate()
        The end date of employment
      • grade

        public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelGrade> grade()
        Represents the employee’s position within the organizational hierarchy.
      • employmentType

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelEmploymentType> 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<CreateEmploymentApiModelEmploymentContractType> 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)
      • payrollCode

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payrollCode()
        The payroll code of the employee
      • jobId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobId()
        The employee job id
      • withUnifiedCustomFields

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

        public CreateEmploymentApiModel 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
      • withJobTitle

        public CreateEmploymentApiModel withJobTitle​(java.lang.String jobTitle)
        The job title of the employee
      • withJobTitle

        public CreateEmploymentApiModel withJobTitle​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle)
        The job title of the employee
      • withPayRate

        public CreateEmploymentApiModel withPayRate​(java.lang.String payRate)
        The amount of compensation for the employee
      • withPayRate

        public CreateEmploymentApiModel withPayRate​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate)
        The amount of compensation for the employee
      • withPayCurrency

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

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

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

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

        public CreateEmploymentApiModel withEndDate​(java.time.OffsetDateTime endDate)
        The end date of employment
      • withEndDate

        public CreateEmploymentApiModel withEndDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> endDate)
        The end date of employment
      • withEmploymentType

        @Deprecated
        public CreateEmploymentApiModel withEmploymentType​(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentType> 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 CreateEmploymentApiModel withEmploymentContractType​(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentContractType> 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)
      • withPayrollCode

        public CreateEmploymentApiModel withPayrollCode​(java.lang.String payrollCode)
        The payroll code of the employee
      • withPayrollCode

        public CreateEmploymentApiModel withPayrollCode​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payrollCode)
        The payroll code of the employee
      • withJobId

        public CreateEmploymentApiModel withJobId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobId)
        The employee job id
      • 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