Class WorkflowGraph
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<WorkflowGraph>
-
- org.topbraidlive.client.java.graphql.platform.WorkflowGraph
-
- All Implemented Interfaces:
Serializable
public class WorkflowGraph extends AbstractResponse<WorkflowGraph>
A graph managed by a TopBraid workflow and working copy that is based on a master graph but may contain additional changes.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description WorkflowGraph()
WorkflowGraph(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCreationTimeStamp()
The time stamp that this graph was created (if known).User
getCreator()
The user who created this graph (if known).String
getDescription()
A human-readable description of the graph (in the user's preferred language).String
getGraphQlTypeName()
String
getId()
The id of the working copy.String
getLabel()
A human-readable display label.MasterGraph
getMasterGraph()
The master graph that this is based on.List<_ValidationResult>
getResults()
The (validation) results for the surrounding object, e.g.List<_Resource>
getType()
The types of this WorkflowGraphID
getUri()
The URI of the resource.WorkflowGraph
setCreationTimeStamp(String arg)
WorkflowGraph
setCreator(User arg)
WorkflowGraph
setDescription(String arg)
WorkflowGraph
setId(String arg)
WorkflowGraph
setLabel(String arg)
WorkflowGraph
setMasterGraph(MasterGraph arg)
WorkflowGraph
setResults(List<_ValidationResult> arg)
WorkflowGraph
setType(List<_Resource> arg)
WorkflowGraph
setUri(ID arg)
boolean
unwrapsToObject(String key)
-
Methods inherited from class com.shopify.graphql.support.AbstractResponse
collectNodes, get, getAsArray, getAsBoolean, getAsDouble, getAsInteger, getAsString, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, readCustomField, withAlias
-
-
-
-
Constructor Detail
-
WorkflowGraph
public WorkflowGraph()
-
WorkflowGraph
public WorkflowGraph(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getUri
public ID getUri()
The URI of the resource.
-
setUri
public WorkflowGraph setUri(ID arg)
-
getLabel
public String getLabel()
A human-readable display label.
-
setLabel
public WorkflowGraph setLabel(String arg)
-
getCreationTimeStamp
public String getCreationTimeStamp()
The time stamp that this graph was created (if known).
-
setCreationTimeStamp
public WorkflowGraph setCreationTimeStamp(String arg)
-
getCreator
public User getCreator()
The user who created this graph (if known).
-
setCreator
public WorkflowGraph setCreator(User arg)
-
getDescription
public String getDescription()
A human-readable description of the graph (in the user's preferred language).
-
setDescription
public WorkflowGraph setDescription(String arg)
-
getId
public String getId()
The id of the working copy.
-
setId
public WorkflowGraph setId(String arg)
-
getMasterGraph
public MasterGraph getMasterGraph()
The master graph that this is based on.
-
setMasterGraph
public WorkflowGraph setMasterGraph(MasterGraph arg)
-
setType
public WorkflowGraph setType(List<_Resource> arg)
-
getResults
public List<_ValidationResult> getResults()
The (validation) results for the surrounding object, e.g. current constraint violations.
-
setResults
public WorkflowGraph setResults(List<_ValidationResult> arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<WorkflowGraph>
-
-