Class TimeOffBalancesPolicy


  • public class TimeOffBalancesPolicy
    extends java.lang.Object
    TimeOffBalancesPolicy

    The time off policy associated with this balance

    • Constructor Detail

      • TimeOffBalancesPolicy

        public TimeOffBalancesPolicy​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id,
                                     org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId,
                                     org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name,
                                     org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description,
                                     org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesType> type,
                                     org.openapitools.jackson.nullable.JsonNullable<? extends TimeOffBalancesDurationUnit> durationUnit,
                                     org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Reason>> reasons,
                                     org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt,
                                     org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
      • TimeOffBalancesPolicy

        public TimeOffBalancesPolicy()
    • Method Detail

      • id

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
        Unique identifier
      • remoteId

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
        Provider's unique identifier
      • name

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
        The name of this policy
      • description

        public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description()
        The description of this policy
      • type

        public org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesType> type()
        The type of this policy
      • durationUnit

        public org.openapitools.jackson.nullable.JsonNullable<TimeOffBalancesDurationUnit> durationUnit()
        The duration unit of the current policy
      • reasons

        public org.openapitools.jackson.nullable.JsonNullable<java.util.List<Reason>> reasons()
      • createdAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt()
        The created_at date of this policy
      • updatedAt

        public org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt()
        The updated_at date of this policy
      • withId

        public TimeOffBalancesPolicy withId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
        Unique identifier
      • withRemoteId

        public TimeOffBalancesPolicy withRemoteId​(java.lang.String remoteId)
        Provider's unique identifier
      • withRemoteId

        public TimeOffBalancesPolicy withRemoteId​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
        Provider's unique identifier
      • withName

        public TimeOffBalancesPolicy withName​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
        The name of this policy
      • withDescription

        public TimeOffBalancesPolicy withDescription​(java.lang.String description)
        The description of this policy
      • withDescription

        public TimeOffBalancesPolicy withDescription​(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> description)
        The description of this policy
      • withReasons

        public TimeOffBalancesPolicy withReasons​(org.openapitools.jackson.nullable.JsonNullable<? extends java.util.List<Reason>> reasons)
      • withCreatedAt

        public TimeOffBalancesPolicy withCreatedAt​(java.time.OffsetDateTime createdAt)
        The created_at date of this policy
      • withCreatedAt

        public TimeOffBalancesPolicy withCreatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> createdAt)
        The created_at date of this policy
      • withUpdatedAt

        public TimeOffBalancesPolicy withUpdatedAt​(java.time.OffsetDateTime updatedAt)
        The updated_at date of this policy
      • withUpdatedAt

        public TimeOffBalancesPolicy withUpdatedAt​(org.openapitools.jackson.nullable.JsonNullable<java.time.OffsetDateTime> updatedAt)
        The updated_at date of this policy
      • 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