Class GraphQLResponseImpl
java.lang.Object
com.commercetools.api.models.graph_ql.GraphQLResponseImpl
- All Implemented Interfaces:
GraphQLResponse
,io.vrap.rmf.base.client.ModelBase
public class GraphQLResponseImpl
extends Object
implements GraphQLResponse, io.vrap.rmf.base.client.ModelBase
GraphQLResponse
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getData()
int
hashCode()
void
set datavoid
setErrors
(GraphQLError... errors) set errorsvoid
setErrors
(List<GraphQLError> errors) set errorsMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.graph_ql.GraphQLResponse
withGraphQLResponse
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
GraphQLResponseImpl
public GraphQLResponseImpl()create empty instance
-
-
Method Details
-
getData
- Specified by:
getData
in interfaceGraphQLResponse
- Returns:
- data
-
getErrors
- Specified by:
getErrors
in interfaceGraphQLResponse
- Returns:
- errors
-
setData
Description copied from interface:GraphQLResponse
set data- Specified by:
setData
in interfaceGraphQLResponse
- Parameters:
data
- value to be set
-
setErrors
Description copied from interface:GraphQLResponse
set errors- Specified by:
setErrors
in interfaceGraphQLResponse
- Parameters:
errors
- values to be set
-
setErrors
Description copied from interface:GraphQLResponse
set errors- Specified by:
setErrors
in interfaceGraphQLResponse
- Parameters:
errors
- values to be set
-
equals
-
hashCode
public int hashCode()
-