@Immutable public class GQLMethodCall extends Object implements GQLSelection
| Constructor and Description |
|---|
GQLMethodCall(net.morimekta.providence.descriptor.PServiceMethod method,
String alias,
net.morimekta.providence.PMessage<?> arguments,
List<GQLSelection> selectionSet)
Make a full field selection definition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAlias() |
<M extends net.morimekta.providence.PMessage<M>> |
getArguments() |
net.morimekta.providence.descriptor.PServiceMethod |
getMethod() |
List<GQLSelection> |
getSelectionSet() |
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSelection, hasSelection, hasSelectionPathpublic GQLMethodCall(@Nonnull net.morimekta.providence.descriptor.PServiceMethod method, @Nullable String alias, @Nullable net.morimekta.providence.PMessage<?> arguments, @Nullable List<GQLSelection> selectionSet)
method - The method call to be represented.alias - The alias to be used in the JSON output.arguments - Arguments used for the method call.selectionSet - SelectionSet for sub-field selection.@Nonnull public net.morimekta.providence.descriptor.PServiceMethod getMethod()
@Nullable public <M extends net.morimekta.providence.PMessage<M>> M getArguments()
M - The argument message type.@Nullable public List<GQLSelection> getSelectionSet()
getSelectionSet in interface GQLSelectionCopyright © 2015–2020 morimekta.net. All rights reserved.