Package 

Enum __DirectiveLocation

  • All Implemented Interfaces:
    com.apollographql.apollo.api.EnumValue , java.io.Serializable , kotlin.Comparable

    
    public enum __DirectiveLocation
    extends Enum<__DirectiveLocation> implements EnumValue
                        

    An enum describing valid locations where a directive can be placed

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      UNKNOWN__

      Auto generated constant for unknown enum values

      INPUT_FIELD_DEFINITION

      Indicates the directive is valid on an input object field SDL definition.

      INPUT_OBJECT

      Indicates the directive is valid on an input object SDL definition.

      ENUM_VALUE

      Indicates the directive is valid on an enum value SDL definition.

      ENUM

      Indicates the directive is valid on an enum SDL definition.

      UNION

      Indicates the directive is valid on an union SDL definition.

      INTERFACE

      Indicates the directive is valid on an interface SDL definition.

      ARGUMENT_DEFINITION

      Indicates the directive is valid on a field argument SDL definition.

      FIELD_DEFINITION

      Indicates the directive is valid on a field SDL definition.

      OBJECT

      Indicates the directive is valid on an object SDL definition.

      SCALAR

      Indicates the directive is valid on a scalar SDL definition.

      SCHEMA

      Indicates the directive is valid on a schema SDL definition.

      INLINE_FRAGMENT

      Indicates the directive is valid on inline fragments.

      FRAGMENT_SPREAD

      Indicates the directive is valid on fragment spreads.

      FRAGMENT_DEFINITION

      Indicates the directive is valid on fragment definitions.

      FIELD

      Indicates the directive is valid on fields.

      MUTATION

      Indicates the directive is valid on mutations.

      QUERY

      Indicates the directive is valid on queries.

    • Method Summary

      Modifier and Type Method Description
      String getRawValue()
      final String getName()
      final Integer getOrdinal()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait