Class WorkTime


  • public class WorkTime
    extends java.lang.Object
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  WorkTime.Builder  
    • Constructor Summary

      Constructors 
      Constructor Description
      WorkTime()  
      WorkTime​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration, org.openapitools.jackson.nullable.JsonNullable<? extends Period> period)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static WorkTime.Builder builder()  
      org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration()
      The work time duration in ISO 8601 duration format
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      org.openapitools.jackson.nullable.JsonNullable<Period> period()
      The period of the work time
      java.lang.String toString()  
      WorkTime withDuration​(java.lang.String duration)
      The work time duration in ISO 8601 duration format
      WorkTime withDuration​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> duration)
      The work time duration in ISO 8601 duration format
      WorkTime withPeriod​(Period period)
      The period of the work time
      WorkTime withPeriod​(org.openapitools.jackson.nullable.JsonNullable<? extends Period> period)
      The period of the work time
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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
      • 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​(Period period)
        The period of the work time
      • 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:
        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