Package com.launchdarkly.api.model
Class TriggerPost
- java.lang.Object
-
- com.launchdarkly.api.model.TriggerPost
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-29T20:20:42.888981Z[Etc/UTC]") public class TriggerPost extends java.lang.Object
TriggerPost
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERIALIZED_NAME_COMMENT
static java.lang.String
SERIALIZED_NAME_INSTRUCTIONS
static java.lang.String
SERIALIZED_NAME_INTEGRATION_KEY
-
Constructor Summary
Constructors Constructor Description TriggerPost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerPost
addInstructionsItem(java.lang.Object instructionsItem)
TriggerPost
comment(java.lang.String comment)
boolean
equals(java.lang.Object o)
java.lang.String
getComment()
Get commentjava.util.List<java.lang.Object>
getInstructions()
The action to perform when triggering.java.lang.String
getIntegrationKey()
The unique identifier of the integration you intend to set your trigger up with.int
hashCode()
TriggerPost
instructions(java.util.List<java.lang.Object> instructions)
TriggerPost
integrationKey(java.lang.String integrationKey)
void
setComment(java.lang.String comment)
void
setInstructions(java.util.List<java.lang.Object> instructions)
void
setIntegrationKey(java.lang.String integrationKey)
java.lang.String
toString()
-
-
-
Field Detail
-
SERIALIZED_NAME_COMMENT
public static final java.lang.String SERIALIZED_NAME_COMMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INSTRUCTIONS
public static final java.lang.String SERIALIZED_NAME_INSTRUCTIONS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INTEGRATION_KEY
public static final java.lang.String SERIALIZED_NAME_INTEGRATION_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
comment
public TriggerPost comment(java.lang.String comment)
-
getComment
@Nullable public java.lang.String getComment()
Get comment- Returns:
- comment
-
setComment
public void setComment(java.lang.String comment)
-
instructions
public TriggerPost instructions(java.util.List<java.lang.Object> instructions)
-
addInstructionsItem
public TriggerPost addInstructionsItem(java.lang.Object instructionsItem)
-
getInstructions
@Nullable public java.util.List<java.lang.Object> getInstructions()
The action to perform when triggering. It should pass an array with a single {\"kind\": <flag_action>} object. Currently supported flag actions are \"turnFlagOn\" and \"turnFlagOff\".- Returns:
- instructions
-
setInstructions
public void setInstructions(java.util.List<java.lang.Object> instructions)
-
integrationKey
public TriggerPost integrationKey(java.lang.String integrationKey)
-
getIntegrationKey
@Nonnull public java.lang.String getIntegrationKey()
The unique identifier of the integration you intend to set your trigger up with. \"generic-trigger\" should be used for integrations not explicitly supported.- Returns:
- integrationKey
-
setIntegrationKey
public void setIntegrationKey(java.lang.String integrationKey)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-