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
-
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 formatbooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<Period>period()The period of the work timejava.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 formatWorkTimewithPeriod(Period period)The period of the work timeWorkTimewithPeriod(org.openapitools.jackson.nullable.JsonNullable<? extends Period> period)The period of the work time
-
-
-
Constructor Detail
-
WorkTime
public WorkTime(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration, org.openapitools.jackson.nullable.JsonNullable<? extends Period> period)
-
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
-
period
public org.openapitools.jackson.nullable.JsonNullable<Period> period()
The period of the work time
-
builder
public static 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
-
withPeriod
public WorkTime withPeriod(org.openapitools.jackson.nullable.JsonNullable<? extends Period> period)
The period 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
-
-