-
public final class ResourceEvent.GraphqlGraphQL requests parameters
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classResourceEvent.Graphql.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ResourceEvent.OperationTypeoperationTypeprivate final StringoperationNameprivate Stringpayloadprivate Stringvariables
-
Constructor Summary
Constructors Constructor Description ResourceEvent.Graphql(ResourceEvent.OperationType operationType, String operationName, String payload, String variables)
-
Method Summary
Modifier and Type Method Description final ResourceEvent.OperationTypegetOperationType()final StringgetOperationName()final StringgetPayload()final UnitsetPayload(String payload)final StringgetVariables()final UnitsetVariables(String variables)final JsonElementtoJson()-
-
Constructor Detail
-
ResourceEvent.Graphql
ResourceEvent.Graphql(ResourceEvent.OperationType operationType, String operationName, String payload, String variables)
- Parameters:
operationType- Type of the GraphQL operationoperationName- Name of the GraphQL operationpayload- Content of the GraphQL operationvariables- String representation of the operation variables
-
-
Method Detail
-
getOperationType
final ResourceEvent.OperationType getOperationType()
-
getOperationName
final String getOperationName()
-
getPayload
final String getPayload()
-
setPayload
final Unit setPayload(String payload)
- Parameters:
payload- Content of the GraphQL operation
-
getVariables
final String getVariables()
-
setVariables
final Unit setVariables(String variables)
- Parameters:
variables- String representation of the operation variables
-
toJson
final JsonElement toJson()
-
-
-
-