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 StringgetCreationTimeStamp()The time stamp that this graph was created (if known).UsergetCreator()The user who created this graph (if known).StringgetDescription()A human-readable description of the graph (in the user's preferred language).StringgetGraphQlTypeName()StringgetId()The id of the working copy.StringgetLabel()A human-readable display label.MasterGraphgetMasterGraph()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 WorkflowGraphIDgetUri()The URI of the resource.WorkflowGraphsetCreationTimeStamp(String arg)WorkflowGraphsetCreator(User arg)WorkflowGraphsetDescription(String arg)WorkflowGraphsetId(String arg)WorkflowGraphsetLabel(String arg)WorkflowGraphsetMasterGraph(MasterGraph arg)WorkflowGraphsetResults(List<_ValidationResult> arg)WorkflowGraphsetType(List<_Resource> arg)WorkflowGraphsetUri(ID arg)booleanunwrapsToObject(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:
unwrapsToObjectin classAbstractResponse<WorkflowGraph>
-
-