Class WorkTime
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.WorkTime
-
public class WorkTime extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkTime.Builder
-
Constructor Summary
Constructors Constructor Description WorkTime()WorkTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDurationUnit> durationUnit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkTime.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>duration()The work time duration in ISO 8601 duration formatorg.openapitools.jackson.nullable.JsonNullable<EmploymentDurationUnit>durationUnit()The duration unit of the work timebooleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()WorkTimewithDuration(java.lang.String duration)The work time duration in ISO 8601 duration formatWorkTimewithDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)The work time duration in ISO 8601 duration formatWorkTimewithDurationUnit(EmploymentDurationUnit durationUnit)The duration unit of the work timeWorkTimewithDurationUnit(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDurationUnit> durationUnit)The duration unit of the work time
-
-
-
Constructor Detail
-
WorkTime
public WorkTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration, org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDurationUnit> durationUnit)
-
WorkTime
public WorkTime()
-
-
Method Detail
-
duration
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration()
The work time duration in ISO 8601 duration format
-
durationUnit
public org.openapitools.jackson.nullable.JsonNullable<EmploymentDurationUnit> durationUnit()
The duration unit of the work time
-
builder
public static final WorkTime.Builder builder()
-
withDuration
public WorkTime withDuration(java.lang.String duration)
The work time duration in ISO 8601 duration format
-
withDuration
public WorkTime withDuration(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
The work time duration in ISO 8601 duration format
-
withDurationUnit
public WorkTime withDurationUnit(EmploymentDurationUnit durationUnit)
The duration unit of the work time
-
withDurationUnit
public WorkTime withDurationUnit(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDurationUnit> durationUnit)
The duration unit of the work time
-
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
-
-