Class GetEntitlementQuery

    • Field Detail

      • OPERATION_DOCUMENT

        public static final java.lang.String OPERATION_DOCUMENT
        The minimized GraphQL document being sent to the server to save a few bytes. The un-minimized version is: query GetEntitlement($query: FetchEntitlementQuery!) { entitlement(query: $query) { __typename ...EntitlementFragment } } fragment ResetPeriodConfigurationFragment on ResetPeriodConfiguration { __typename ... on MonthlyResetPeriodConfig { monthlyAccordingTo } ... on WeeklyResetPeriodConfig { weeklyAccordingTo } } fragment FeatureFragment on EntitlementFeature { __typename featureType meterType featureUnits featureUnitsPlural description displayName refId } fragment EntitlementFragment on Entitlement { __typename isGranted accessDeniedReason customerId resourceId usageLimit hasUnlimitedUsage hasSoftLimit currentUsage requestedUsage entitlementUpdatedAt usageUpdatedAt nextResetDate resetPeriod resetPeriodConfiguration { __typename ...ResetPeriodConfigurationFragment } feature { __typename ...FeatureFragment } }
        See Also:
        Constant Field Values
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • id

        public java.lang.String id()
        Specified by:
        id in interface com.apollographql.apollo3.api.Operation<GetEntitlementQuery.Data>
      • document

        public java.lang.String document()
        Specified by:
        document in interface com.apollographql.apollo3.api.Operation<GetEntitlementQuery.Data>
      • name

        public java.lang.String name()
        Specified by:
        name in interface com.apollographql.apollo3.api.Operation<GetEntitlementQuery.Data>
      • serializeVariables

        public void serializeVariables​(com.apollographql.apollo3.api.json.JsonWriter writer,
                                       com.apollographql.apollo3.api.CustomScalarAdapters customScalarAdapters)
                                throws java.io.IOException
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Executable<GetEntitlementQuery.Data>
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Operation<GetEntitlementQuery.Data>
        Throws:
        java.io.IOException
      • rootField

        public com.apollographql.apollo3.api.CompiledField rootField()
        Specified by:
        rootField in interface com.apollographql.apollo3.api.Executable<GetEntitlementQuery.Data>
        Specified by:
        rootField in interface com.apollographql.apollo3.api.Operation<GetEntitlementQuery.Data>