public static class Storefront.ApiVersion extends AbstractResponse<Storefront.ApiVersion>
optimisticData, responseData| Constructor and Description |
|---|
ApiVersion() |
ApiVersion(JsonObject fields) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName()
The human-readable name of the version.
|
java.lang.String |
getGraphQlTypeName() |
java.lang.String |
getHandle()
The unique identifier of an ApiVersion.
|
java.lang.Boolean |
getSupported()
Whether the version is actively supported by Shopify.
|
Storefront.ApiVersion |
setDisplayName(java.lang.String arg) |
Storefront.ApiVersion |
setHandle(java.lang.String arg) |
Storefront.ApiVersion |
setSupported(java.lang.Boolean arg) |
boolean |
unwrapsToObject(java.lang.String key) |
collectNodes, get, getFieldName, getKey, jsonAsArray, jsonAsBoolean, jsonAsDouble, jsonAsInteger, jsonAsObject, jsonAsString, withAliaspublic ApiVersion()
public ApiVersion(JsonObject fields)
throws SchemaViolationError
SchemaViolationErrorpublic java.lang.String getGraphQlTypeName()
public java.lang.String getDisplayName()
public Storefront.ApiVersion setDisplayName(java.lang.String arg)
public java.lang.String getHandle()
public Storefront.ApiVersion setHandle(java.lang.String arg)
public java.lang.Boolean getSupported()
public Storefront.ApiVersion setSupported(java.lang.Boolean arg)
public boolean unwrapsToObject(java.lang.String key)
unwrapsToObject in class AbstractResponse<Storefront.ApiVersion>