Class CreateEmploymentApiModel
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.CreateEmploymentApiModel
-
public class CreateEmploymentApiModel extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateEmploymentApiModel.Builder
-
Constructor Summary
Constructors Constructor Description CreateEmploymentApiModel()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> employeeId, 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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateEmploymentApiModel.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime>effectiveDate()The effective date of the employment contractorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>employeeId()The employee ID associated with this employmentorg.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelEmploymentContractType>employmentContractType()The employment work schedule type (e.g., full-time, part-time)org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelEmploymentType>employmentType()The type of employment (e.g., contractor, permanent)booleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>jobTitle()The job title of the employeeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>payCurrency()The currency used for payorg.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelPayFrequency>payFrequency()The pay frequencyorg.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelPayPeriod>payPeriod()The pay periodorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>payRate()The pay rate for the employeeorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>timeWorked()The time worked for the employee in ISO 8601 duration formatjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<java.util.Map<java.lang.String,java.lang.Object>>unifiedCustomFields()Custom Unified Fields configured in your StackOne projectCreateEmploymentApiModelwithEffectiveDate(java.time.OffsetDateTime effectiveDate)The effective date of the employment contractCreateEmploymentApiModelwithEffectiveDate(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> effectiveDate)The effective date of the employment contractCreateEmploymentApiModelwithEmployeeId(java.lang.String employeeId)The employee ID associated with this employmentCreateEmploymentApiModelwithEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)The employee ID associated with this employmentCreateEmploymentApiModelwithEmploymentContractType(CreateEmploymentApiModelEmploymentContractType employmentContractType)The employment work schedule type (e.g., full-time, part-time)CreateEmploymentApiModelwithEmploymentContractType(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentContractType> employmentContractType)The employment work schedule type (e.g., full-time, part-time)CreateEmploymentApiModelwithEmploymentType(CreateEmploymentApiModelEmploymentType employmentType)The type of employment (e.g., contractor, permanent)CreateEmploymentApiModelwithEmploymentType(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentType> employmentType)The type of employment (e.g., contractor, permanent)CreateEmploymentApiModelwithId(java.lang.String id)Unique identifierCreateEmploymentApiModelwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierCreateEmploymentApiModelwithJobTitle(java.lang.String jobTitle)The job title of the employeeCreateEmploymentApiModelwithJobTitle(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> jobTitle)The job title of the employeeCreateEmploymentApiModelwithPayCurrency(java.lang.String payCurrency)The currency used for payCreateEmploymentApiModelwithPayCurrency(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payCurrency)The currency used for payCreateEmploymentApiModelwithPayFrequency(CreateEmploymentApiModelPayFrequency payFrequency)The pay frequencyCreateEmploymentApiModelwithPayFrequency(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelPayFrequency> payFrequency)The pay frequencyCreateEmploymentApiModelwithPayPeriod(CreateEmploymentApiModelPayPeriod payPeriod)The pay periodCreateEmploymentApiModelwithPayPeriod(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelPayPeriod> payPeriod)The pay periodCreateEmploymentApiModelwithPayRate(java.lang.String payRate)The pay rate for the employeeCreateEmploymentApiModelwithPayRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate)The pay rate for the employeeCreateEmploymentApiModelwithTimeWorked(java.lang.String timeWorked)The time worked for the employee in ISO 8601 duration formatCreateEmploymentApiModelwithTimeWorked(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> timeWorked)The time worked for the employee in ISO 8601 duration formatCreateEmploymentApiModelwithUnifiedCustomFields(java.util.Map<java.lang.String,java.lang.Object> unifiedCustomFields)Custom Unified Fields configured in your StackOne projectCreateEmploymentApiModelwithUnifiedCustomFields(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.Map<java.lang.String,java.lang.Object>> unifiedCustomFields)Custom Unified Fields configured in your StackOne project
-
-
-
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> employeeId, 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
-
employeeId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId()
The employee ID associated with this employment
-
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
-
payPeriod
public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelPayPeriod> payPeriod()
The pay period
-
payFrequency
public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelPayFrequency> 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
public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelEmploymentType> employmentType()
The type of employment (e.g., contractor, permanent)
-
employmentContractType
public org.openapitools.jackson.nullable.JsonNullable<CreateEmploymentApiModelEmploymentContractType> employmentContractType()
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
-
builder
public static final CreateEmploymentApiModel.Builder builder()
-
withId
public CreateEmploymentApiModel withId(java.lang.String id)
Unique identifier
-
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
-
withEmployeeId
public CreateEmploymentApiModel withEmployeeId(java.lang.String employeeId)
The employee ID associated with this employment
-
withEmployeeId
public CreateEmploymentApiModel withEmployeeId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> employeeId)
The employee ID associated with this employment
-
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 pay rate for the employee
-
withPayRate
public CreateEmploymentApiModel withPayRate(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> payRate)
The pay rate for the employee
-
withPayPeriod
public CreateEmploymentApiModel withPayPeriod(CreateEmploymentApiModelPayPeriod payPeriod)
The pay period
-
withPayPeriod
public CreateEmploymentApiModel withPayPeriod(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelPayPeriod> payPeriod)
The pay period
-
withPayFrequency
public CreateEmploymentApiModel withPayFrequency(CreateEmploymentApiModelPayFrequency payFrequency)
The pay frequency
-
withPayFrequency
public CreateEmploymentApiModel withPayFrequency(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelPayFrequency> payFrequency)
The pay frequency
-
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
-
withEmploymentType
public CreateEmploymentApiModel withEmploymentType(CreateEmploymentApiModelEmploymentType employmentType)
The type of employment (e.g., contractor, permanent)
-
withEmploymentType
public CreateEmploymentApiModel withEmploymentType(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentType> employmentType)
The type of employment (e.g., contractor, permanent)
-
withEmploymentContractType
public CreateEmploymentApiModel withEmploymentContractType(CreateEmploymentApiModelEmploymentContractType employmentContractType)
The employment work schedule type (e.g., full-time, part-time)
-
withEmploymentContractType
public CreateEmploymentApiModel withEmploymentContractType(org.openapitools.jackson.nullable.JsonNullable<? extends CreateEmploymentApiModelEmploymentContractType> employmentContractType)
The employment work schedule type (e.g., full-time, part-time)
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-