Class FixedSlotCapacityQuery


  • public class FixedSlotCapacityQuery
    extends java.lang.Object
    Request schema for the `getFixedSlotCapacity` operation. This schema is used to define the time range, capacity types and slot duration which are being queried.
    • Constructor Detail

      • FixedSlotCapacityQuery

        public FixedSlotCapacityQuery()
    • Method Detail

      • getCapacityTypes

        public java.util.List<CapacityType> getCapacityTypes()
        An array of capacity types which are being requested. Default value is `[SCHEDULED_CAPACITY]`.
        Returns:
        capacityTypes
      • setCapacityTypes

        public void setCapacityTypes​(java.util.List<CapacityType> capacityTypes)
      • getSlotDuration

        public java.math.BigDecimal getSlotDuration()
        Size in which slots are being requested. This value should be a multiple of 5 and fall in the range: 5 <= `slotDuration` <= 360.
        Returns:
        slotDuration
      • setSlotDuration

        public void setSlotDuration​(java.math.BigDecimal slotDuration)
      • startDateTime

        public FixedSlotCapacityQuery startDateTime​(org.threeten.bp.OffsetDateTime startDateTime)
      • getStartDateTime

        public org.threeten.bp.OffsetDateTime getStartDateTime()
        Start date time from which the capacity slots are being requested in ISO 8601 format.
        Returns:
        startDateTime
      • setStartDateTime

        public void setStartDateTime​(org.threeten.bp.OffsetDateTime startDateTime)
      • getEndDateTime

        public org.threeten.bp.OffsetDateTime getEndDateTime()
        End date time up to which the capacity slots are being requested in ISO 8601 format.
        Returns:
        endDateTime
      • setEndDateTime

        public void setEndDateTime​(org.threeten.bp.OffsetDateTime endDateTime)
      • 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