Class User
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<User>
-
- org.topbraidlive.client.java.graphql.platform.User
-
- All Implemented Interfaces:
Serializable
public class User extends AbstractResponse<User>
A TopBraid user (account).- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEmail()
The email address associated with a user.String
getGraphQlTypeName()
String
getLabel()
A human-readable display label.List<_ValidationResult>
getResults()
The (validation) results for the surrounding object, e.g.List<_Resource>
getType()
The types of this UserID
getUri()
The URI of the resource.User
setEmail(String arg)
User
setLabel(String arg)
User
setResults(List<_ValidationResult> arg)
User
setType(List<_Resource> arg)
User
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
-
User
public User()
-
User
public User(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getUri
public ID getUri()
The URI of the resource.
-
getLabel
public String getLabel()
A human-readable display label.
-
getEmail
public String getEmail()
The email address associated with a user.
-
getResults
public List<_ValidationResult> getResults()
The (validation) results for the surrounding object, e.g. current constraint violations.
-
setResults
public User setResults(List<_ValidationResult> arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<User>
-
-