Class OccurrencesResponse


  • public class OccurrencesResponse
    extends java.lang.Object
    • Constructor Detail

      • OccurrencesResponse

        public OccurrencesResponse​(java.util.Optional<java.lang.String> scheduleID,
                                   java.util.Optional<java.lang.String> occurrenceID,
                                   java.util.Optional<? extends Mode> mode,
                                   java.util.Optional<java.lang.Boolean> generated,
                                   java.util.Optional<java.lang.Boolean> indefinite,
                                   java.util.Optional<java.time.OffsetDateTime> canceledOn,
                                   java.time.OffsetDateTime runOn,
                                   RunTransfer runTransfer,
                                   java.util.Optional<java.time.OffsetDateTime> ranOn,
                                   java.util.Optional<java.lang.String> ranTransferID,
                                   java.util.Optional<? extends OccurrenceStatus> status,
                                   java.util.Optional<? extends Error> error)
      • OccurrencesResponse

        public OccurrencesResponse​(java.time.OffsetDateTime runOn,
                                   RunTransfer runTransfer)
    • Method Detail

      • scheduleID

        public java.util.Optional<java.lang.String> scheduleID()
      • occurrenceID

        public java.util.Optional<java.lang.String> occurrenceID()
      • mode

        public java.util.Optional<Mode> mode()
        Sandbox or production account mode of this schedule.
      • generated

        public java.util.Optional<java.lang.Boolean> generated()
        True if this was generated by a RRule.
      • indefinite

        public java.util.Optional<java.lang.Boolean> indefinite()
        True if the RRule set runs indefinitely.
      • canceledOn

        public java.util.Optional<java.time.OffsetDateTime> canceledOn()
      • runOn

        public java.time.OffsetDateTime runOn()
      • runTransfer

        public RunTransfer runTransfer()
        Defines the attributes of a transfer.
      • ranOn

        public java.util.Optional<java.time.OffsetDateTime> ranOn()
      • ranTransferID

        public java.util.Optional<java.lang.String> ranTransferID()
      • status

        public java.util.Optional<OccurrenceStatus> status()
        Status of the completed occurrence.
      • error

        public java.util.Optional<Error> error()
        Contains details on why the occurrence errored.
      • withScheduleID

        public OccurrencesResponse withScheduleID​(java.util.Optional<java.lang.String> scheduleID)
      • withOccurrenceID

        public OccurrencesResponse withOccurrenceID​(java.lang.String occurrenceID)
      • withOccurrenceID

        public OccurrencesResponse withOccurrenceID​(java.util.Optional<java.lang.String> occurrenceID)
      • withMode

        public OccurrencesResponse withMode​(Mode mode)
        Sandbox or production account mode of this schedule.
      • withMode

        public OccurrencesResponse withMode​(java.util.Optional<? extends Mode> mode)
        Sandbox or production account mode of this schedule.
      • withGenerated

        public OccurrencesResponse withGenerated​(boolean generated)
        True if this was generated by a RRule.
      • withGenerated

        public OccurrencesResponse withGenerated​(java.util.Optional<java.lang.Boolean> generated)
        True if this was generated by a RRule.
      • withIndefinite

        public OccurrencesResponse withIndefinite​(boolean indefinite)
        True if the RRule set runs indefinitely.
      • withIndefinite

        public OccurrencesResponse withIndefinite​(java.util.Optional<java.lang.Boolean> indefinite)
        True if the RRule set runs indefinitely.
      • withCanceledOn

        public OccurrencesResponse withCanceledOn​(java.time.OffsetDateTime canceledOn)
      • withCanceledOn

        public OccurrencesResponse withCanceledOn​(java.util.Optional<java.time.OffsetDateTime> canceledOn)
      • withRanOn

        public OccurrencesResponse withRanOn​(java.util.Optional<java.time.OffsetDateTime> ranOn)
      • withRanTransferID

        public OccurrencesResponse withRanTransferID​(java.lang.String ranTransferID)
      • withRanTransferID

        public OccurrencesResponse withRanTransferID​(java.util.Optional<java.lang.String> ranTransferID)
      • withError

        public OccurrencesResponse withError​(java.util.Optional<? extends Error> error)
        Contains details on why the occurrence errored.
      • 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