Class WorkTime


  • public class WorkTime
    extends java.lang.Object
    • 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
      • 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​(org.openapitools.jackson.nullable.JsonNullable<? extends EmploymentDurationUnit> durationUnit)
        The duration unit of the work time
      • 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