Package com.launchdarkly.api.model
Class CustomWorkflowOutput
- java.lang.Object
-
- com.launchdarkly.api.model.CustomWorkflowOutput
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-02-28T02:08:46.393880Z[Etc/UTC]") public class CustomWorkflowOutput extends java.lang.Object
CustomWorkflowOutput
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CustomWorkflowOutput.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static java.util.HashSet<java.lang.String>
openapiFields
static java.util.HashSet<java.lang.String>
openapiRequiredFields
static java.lang.String
SERIALIZED_NAME_CONFLICTS
static java.lang.String
SERIALIZED_NAME_CREATION_DATE
static java.lang.String
SERIALIZED_NAME_DESCRIPTION
static java.lang.String
SERIALIZED_NAME_EXECUTION
static java.lang.String
SERIALIZED_NAME_ID
static java.lang.String
SERIALIZED_NAME_KIND
static java.lang.String
SERIALIZED_NAME_LINKS
static java.lang.String
SERIALIZED_NAME_MAINTAINER_ID
static java.lang.String
SERIALIZED_NAME_META
static java.lang.String
SERIALIZED_NAME_NAME
static java.lang.String
SERIALIZED_NAME_STAGES
static java.lang.String
SERIALIZED_NAME_TEMPLATE_KEY
static java.lang.String
SERIALIZED_NAME_VERSION
-
Constructor Summary
Constructors Constructor Description CustomWorkflowOutput()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomWorkflowOutput
addConflictsItem(ConflictOutput conflictsItem)
CustomWorkflowOutput
addStagesItem(StageOutput stagesItem)
CustomWorkflowOutput
conflicts(java.util.List<ConflictOutput> conflicts)
CustomWorkflowOutput
creationDate(java.lang.Long creationDate)
CustomWorkflowOutput
description(java.lang.String description)
boolean
equals(java.lang.Object o)
CustomWorkflowOutput
execution(ExecutionOutput execution)
static CustomWorkflowOutput
fromJson(java.lang.String jsonString)
Create an instance of CustomWorkflowOutput given an JSON stringjava.util.Map<java.lang.String,java.lang.Object>
getAdditionalProperties()
Return the additional (undeclared) property.java.lang.Object
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.java.util.List<ConflictOutput>
getConflicts()
Any conflicts that are present in the workflow stagesjava.lang.Long
getCreationDate()
Get creationDatejava.lang.String
getDescription()
A brief description of the workflowExecutionOutput
getExecution()
Get executionjava.lang.String
getId()
The ID of the workflowjava.lang.String
getKind()
The kind of workflowjava.util.Map<java.lang.String,Link>
getLinks()
The location and content type of related resourcesjava.lang.String
getMaintainerId()
The member ID of the maintainer of the workflow.WorkflowTemplateMetadata
getMeta()
Get metajava.lang.String
getName()
The name of the workflowjava.util.List<StageOutput>
getStages()
The stages that make up the workflow.java.lang.String
getTemplateKey()
For workflows being created from a workflow template, this value is the template's keyjava.lang.Integer
getVersion()
The version of the workflowint
hashCode()
CustomWorkflowOutput
id(java.lang.String id)
CustomWorkflowOutput
kind(java.lang.String kind)
CustomWorkflowOutput
links(java.util.Map<java.lang.String,Link> links)
CustomWorkflowOutput
maintainerId(java.lang.String maintainerId)
CustomWorkflowOutput
meta(WorkflowTemplateMetadata meta)
CustomWorkflowOutput
name(java.lang.String name)
CustomWorkflowOutput
putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.CustomWorkflowOutput
putLinksItem(java.lang.String key, Link linksItem)
void
setConflicts(java.util.List<ConflictOutput> conflicts)
void
setCreationDate(java.lang.Long creationDate)
void
setDescription(java.lang.String description)
void
setExecution(ExecutionOutput execution)
void
setId(java.lang.String id)
void
setKind(java.lang.String kind)
void
setLinks(java.util.Map<java.lang.String,Link> links)
void
setMaintainerId(java.lang.String maintainerId)
void
setMeta(WorkflowTemplateMetadata meta)
void
setName(java.lang.String name)
void
setStages(java.util.List<StageOutput> stages)
void
setTemplateKey(java.lang.String templateKey)
void
setVersion(java.lang.Integer version)
CustomWorkflowOutput
stages(java.util.List<StageOutput> stages)
CustomWorkflowOutput
templateKey(java.lang.String templateKey)
java.lang.String
toJson()
Convert an instance of CustomWorkflowOutput to an JSON stringjava.lang.String
toString()
static void
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues foundCustomWorkflowOutput
version(java.lang.Integer version)
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final java.lang.String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VERSION
public static final java.lang.String SERIALIZED_NAME_VERSION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CONFLICTS
public static final java.lang.String SERIALIZED_NAME_CONFLICTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CREATION_DATE
public static final java.lang.String SERIALIZED_NAME_CREATION_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MAINTAINER_ID
public static final java.lang.String SERIALIZED_NAME_MAINTAINER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LINKS
public static final java.lang.String SERIALIZED_NAME_LINKS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final java.lang.String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final java.lang.String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_KIND
public static final java.lang.String SERIALIZED_NAME_KIND
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STAGES
public static final java.lang.String SERIALIZED_NAME_STAGES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION
public static final java.lang.String SERIALIZED_NAME_EXECUTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_META
public static final java.lang.String SERIALIZED_NAME_META
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEMPLATE_KEY
public static final java.lang.String SERIALIZED_NAME_TEMPLATE_KEY
- See Also:
- Constant Field Values
-
openapiFields
public static java.util.HashSet<java.lang.String> openapiFields
-
openapiRequiredFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
-
-
Method Detail
-
id
public CustomWorkflowOutput id(java.lang.String id)
-
getId
@Nonnull public java.lang.String getId()
The ID of the workflow- Returns:
- id
-
setId
public void setId(java.lang.String id)
-
version
public CustomWorkflowOutput version(java.lang.Integer version)
-
getVersion
@Nonnull public java.lang.Integer getVersion()
The version of the workflow- Returns:
- version
-
setVersion
public void setVersion(java.lang.Integer version)
-
conflicts
public CustomWorkflowOutput conflicts(java.util.List<ConflictOutput> conflicts)
-
addConflictsItem
public CustomWorkflowOutput addConflictsItem(ConflictOutput conflictsItem)
-
getConflicts
@Nonnull public java.util.List<ConflictOutput> getConflicts()
Any conflicts that are present in the workflow stages- Returns:
- conflicts
-
setConflicts
public void setConflicts(java.util.List<ConflictOutput> conflicts)
-
creationDate
public CustomWorkflowOutput creationDate(java.lang.Long creationDate)
-
getCreationDate
@Nonnull public java.lang.Long getCreationDate()
Get creationDate- Returns:
- creationDate
-
setCreationDate
public void setCreationDate(java.lang.Long creationDate)
-
maintainerId
public CustomWorkflowOutput maintainerId(java.lang.String maintainerId)
-
getMaintainerId
@Nonnull public java.lang.String getMaintainerId()
The member ID of the maintainer of the workflow. Defaults to the workflow creator.- Returns:
- maintainerId
-
setMaintainerId
public void setMaintainerId(java.lang.String maintainerId)
-
links
public CustomWorkflowOutput links(java.util.Map<java.lang.String,Link> links)
-
putLinksItem
public CustomWorkflowOutput putLinksItem(java.lang.String key, Link linksItem)
-
getLinks
@Nonnull public java.util.Map<java.lang.String,Link> getLinks()
The location and content type of related resources- Returns:
- links
-
setLinks
public void setLinks(java.util.Map<java.lang.String,Link> links)
-
name
public CustomWorkflowOutput name(java.lang.String name)
-
getName
@Nonnull public java.lang.String getName()
The name of the workflow- Returns:
- name
-
setName
public void setName(java.lang.String name)
-
description
public CustomWorkflowOutput description(java.lang.String description)
-
getDescription
@Nullable public java.lang.String getDescription()
A brief description of the workflow- Returns:
- description
-
setDescription
public void setDescription(java.lang.String description)
-
kind
public CustomWorkflowOutput kind(java.lang.String kind)
-
getKind
@Nullable public java.lang.String getKind()
The kind of workflow- Returns:
- kind
-
setKind
public void setKind(java.lang.String kind)
-
stages
public CustomWorkflowOutput stages(java.util.List<StageOutput> stages)
-
addStagesItem
public CustomWorkflowOutput addStagesItem(StageOutput stagesItem)
-
getStages
@Nullable public java.util.List<StageOutput> getStages()
The stages that make up the workflow. Each stage contains conditions and actions.- Returns:
- stages
-
setStages
public void setStages(java.util.List<StageOutput> stages)
-
execution
public CustomWorkflowOutput execution(ExecutionOutput execution)
-
getExecution
@Nonnull public ExecutionOutput getExecution()
Get execution- Returns:
- execution
-
setExecution
public void setExecution(ExecutionOutput execution)
-
meta
public CustomWorkflowOutput meta(WorkflowTemplateMetadata meta)
-
getMeta
@Nullable public WorkflowTemplateMetadata getMeta()
Get meta- Returns:
- meta
-
setMeta
public void setMeta(WorkflowTemplateMetadata meta)
-
templateKey
public CustomWorkflowOutput templateKey(java.lang.String templateKey)
-
getTemplateKey
@Nullable public java.lang.String getTemplateKey()
For workflows being created from a workflow template, this value is the template's key- Returns:
- templateKey
-
setTemplateKey
public void setTemplateKey(java.lang.String templateKey)
-
putAdditionalProperty
public CustomWorkflowOutput putAdditionalProperty(java.lang.String key, java.lang.Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
Return the additional (undeclared) property.
-
getAdditionalProperty
public java.lang.Object getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
-
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
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws java.io.IOException
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
java.io.IOException
- if the JSON Object is invalid with respect to CustomWorkflowOutput
-
fromJson
public static CustomWorkflowOutput fromJson(java.lang.String jsonString) throws java.io.IOException
Create an instance of CustomWorkflowOutput given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of CustomWorkflowOutput
- Throws:
java.io.IOException
- if the JSON string is invalid with respect to CustomWorkflowOutput
-
toJson
public java.lang.String toJson()
Convert an instance of CustomWorkflowOutput to an JSON string- Returns:
- JSON string
-
-