Class AutomationDelayStep
- java.lang.Object
-
- com.courier.api.resources.automations.types.AutomationDelayStep
-
- All Implemented Interfaces:
IAutomationStep
public final class AutomationDelayStep extends java.lang.Object implements IAutomationStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAutomationDelayStep.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutomationDelayStep.Builderbuilder()booleanequals(java.lang.Object other)java.lang.StringgetAction()java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getDuration()java.util.Optional<java.lang.String>getIf()java.util.Optional<java.lang.String>getRef()java.util.Optional<java.lang.String>getUntil()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getIf
public java.util.Optional<java.lang.String> getIf()
- Specified by:
getIfin interfaceIAutomationStep
-
getRef
public java.util.Optional<java.lang.String> getRef()
- Specified by:
getRefin interfaceIAutomationStep
-
getAction
public java.lang.String getAction()
-
getDuration
public java.util.Optional<java.lang.String> getDuration()
- Returns:
- The ISO 8601 duration string for how long to delay for
-
getUntil
public java.util.Optional<java.lang.String> getUntil()
- Returns:
- The ISO 8601 timestamp for when the delay should end
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static AutomationDelayStep.Builder builder()
-
-