Class CreateEmploymentApiModel


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

      • CreateEmploymentApiModel

        public CreateEmploymentApiModel​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                                        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<? extends CreateEmploymentApiModelEmploymentType> employmentType,
                                        org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentContractType> employmentContractType,
                                        org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked)
      • CreateEmploymentApiModel

        public CreateEmploymentApiModel()
    • Method Detail

      • id

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
        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
      • 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 pay rate for the employee
      • payCurrency

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

        @Deprecated
        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate()
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The effective date of the employment contract
      • timeWorked

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

        public CreateEmploymentApiModel withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • 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​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate)
        The pay rate 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

        @Deprecated
        public CreateEmploymentApiModel withEffectiveDate​(java.time.OffsetDateTime effectiveDate)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The effective date of the employment contract
      • withEffectiveDate

        @Deprecated
        public CreateEmploymentApiModel withEffectiveDate​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate)
        Deprecated.
        field: This will be removed in a future release, please migrate away from it as soon as possible.
        The effective date of the employment contract
      • withTimeWorked

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

        public CreateEmploymentApiModel withTimeWorked​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked)
        The time worked for the employee in ISO 8601 duration format
      • 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