Package io.moov.sdk.models.components
Class OccurrencesResponse
- java.lang.Object
-
- io.moov.sdk.models.components.OccurrencesResponse
-
public class OccurrencesResponse extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOccurrencesResponse.Builder
-
Constructor Summary
Constructors Constructor Description OccurrencesResponse(java.time.OffsetDateTime runOn, RunTransfer runTransfer)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)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OccurrencesResponse.Builderbuilder()java.util.Optional<java.time.OffsetDateTime>canceledOn()booleanequals(java.lang.Object o)java.util.Optional<Error>error()Contains details on why the occurrence errored.java.util.Optional<java.lang.Boolean>generated()True if this was generated by a RRule.inthashCode()java.util.Optional<java.lang.Boolean>indefinite()True if the RRule set runs indefinitely.java.util.Optional<Mode>mode()Sandbox or production account mode of this schedule.java.util.Optional<java.lang.String>occurrenceID()java.util.Optional<java.time.OffsetDateTime>ranOn()java.util.Optional<java.lang.String>ranTransferID()java.time.OffsetDateTimerunOn()RunTransferrunTransfer()Defines the attributes of a transfer.java.util.Optional<java.lang.String>scheduleID()java.util.Optional<OccurrenceStatus>status()Status of the completed occurrence.java.lang.StringtoString()OccurrencesResponsewithCanceledOn(java.time.OffsetDateTime canceledOn)OccurrencesResponsewithCanceledOn(java.util.Optional<java.time.OffsetDateTime> canceledOn)OccurrencesResponsewithError(Error error)Contains details on why the occurrence errored.OccurrencesResponsewithError(java.util.Optional<? extends Error> error)Contains details on why the occurrence errored.OccurrencesResponsewithGenerated(boolean generated)True if this was generated by a RRule.OccurrencesResponsewithGenerated(java.util.Optional<java.lang.Boolean> generated)True if this was generated by a RRule.OccurrencesResponsewithIndefinite(boolean indefinite)True if the RRule set runs indefinitely.OccurrencesResponsewithIndefinite(java.util.Optional<java.lang.Boolean> indefinite)True if the RRule set runs indefinitely.OccurrencesResponsewithMode(Mode mode)Sandbox or production account mode of this schedule.OccurrencesResponsewithMode(java.util.Optional<? extends Mode> mode)Sandbox or production account mode of this schedule.OccurrencesResponsewithOccurrenceID(java.lang.String occurrenceID)OccurrencesResponsewithOccurrenceID(java.util.Optional<java.lang.String> occurrenceID)OccurrencesResponsewithRanOn(java.time.OffsetDateTime ranOn)OccurrencesResponsewithRanOn(java.util.Optional<java.time.OffsetDateTime> ranOn)OccurrencesResponsewithRanTransferID(java.lang.String ranTransferID)OccurrencesResponsewithRanTransferID(java.util.Optional<java.lang.String> ranTransferID)OccurrencesResponsewithRunOn(java.time.OffsetDateTime runOn)OccurrencesResponsewithRunTransfer(RunTransfer runTransfer)Defines the attributes of a transfer.OccurrencesResponsewithScheduleID(java.lang.String scheduleID)OccurrencesResponsewithScheduleID(java.util.Optional<java.lang.String> scheduleID)OccurrencesResponsewithStatus(OccurrenceStatus status)Status of the completed occurrence.OccurrencesResponsewithStatus(java.util.Optional<? extends OccurrenceStatus> status)Status of the completed occurrence.
-
-
-
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.
-
builder
public static OccurrencesResponse.Builder builder()
-
withScheduleID
public OccurrencesResponse withScheduleID(java.lang.String scheduleID)
-
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)
-
withRunOn
public OccurrencesResponse withRunOn(java.time.OffsetDateTime runOn)
-
withRunTransfer
public OccurrencesResponse withRunTransfer(RunTransfer runTransfer)
Defines the attributes of a transfer.
-
withRanOn
public OccurrencesResponse withRanOn(java.time.OffsetDateTime ranOn)
-
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)
-
withStatus
public OccurrencesResponse withStatus(OccurrenceStatus status)
Status of the completed occurrence.
-
withStatus
public OccurrencesResponse withStatus(java.util.Optional<? extends OccurrenceStatus> status)
Status of the completed occurrence.
-
withError
public OccurrencesResponse withError(Error error)
Contains details on why the occurrence errored.
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-