Class _ValidationResultSuggestion
- java.lang.Object
-
- com.shopify.graphql.support.AbstractResponse<_ValidationResultSuggestion>
-
- org.topbraidlive.client.java.graphql.platform._ValidationResultSuggestion
-
- All Implemented Interfaces:
Serializable
public class _ValidationResultSuggestion extends AbstractResponse<_ValidationResultSuggestion>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractResponse
optimisticData, responseData
-
-
Constructor Summary
Constructors Constructor Description _ValidationResultSuggestion()
_ValidationResultSuggestion(com.google.gson.JsonObject fields)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getAdds()
A human-readable list of statements that will be added if the suggestion is applied.String
getApplyData()
Machine-readable data that can be sent back to the server if the user decides to apply the suggestion.Double
getConfidence()
A confidence for the suggestion, between 0 and 100 if present.List<String>
getDeletes()
A human-readable list of statements that will be deleted if the suggestion is applied.String
getGraphQlTypeName()
String
getMessage()
A description of the suggestion._ValidationResultSuggestion
setAdds(List<String> arg)
_ValidationResultSuggestion
setApplyData(String arg)
_ValidationResultSuggestion
setConfidence(Double arg)
_ValidationResultSuggestion
setDeletes(List<String> arg)
_ValidationResultSuggestion
setMessage(String 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
-
_ValidationResultSuggestion
public _ValidationResultSuggestion()
-
_ValidationResultSuggestion
public _ValidationResultSuggestion(com.google.gson.JsonObject fields) throws SchemaViolationError
- Throws:
SchemaViolationError
-
-
Method Detail
-
getGraphQlTypeName
public String getGraphQlTypeName()
-
getMessage
public String getMessage()
A description of the suggestion.
-
setMessage
public _ValidationResultSuggestion setMessage(String arg)
-
getConfidence
public Double getConfidence()
A confidence for the suggestion, between 0 and 100 if present.
-
setConfidence
public _ValidationResultSuggestion setConfidence(Double arg)
-
getApplyData
public String getApplyData()
Machine-readable data that can be sent back to the server if the user decides to apply the suggestion.
-
setApplyData
public _ValidationResultSuggestion setApplyData(String arg)
-
getAdds
public List<String> getAdds()
A human-readable list of statements that will be added if the suggestion is applied.
-
setAdds
public _ValidationResultSuggestion setAdds(List<String> arg)
-
getDeletes
public List<String> getDeletes()
A human-readable list of statements that will be deleted if the suggestion is applied.
-
setDeletes
public _ValidationResultSuggestion setDeletes(List<String> arg)
-
unwrapsToObject
public boolean unwrapsToObject(String key)
- Specified by:
unwrapsToObject
in classAbstractResponse<_ValidationResultSuggestion>
-
-