Class GetUsageHistoryQuery

    • 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 GetUsageHistory($usageHistoryInput: UsageHistoryInput!) { usageHistory(usageHistoryInput: $usageHistoryInput) { __typename ...UsageHistoryFragment } } fragment UsageHistoryFragment on UsageHistory { startDate endDate usageMeasurements { date value isResetPoint } }
        See Also:
        Constant Field Values
    • Constructor Detail

      • GetUsageHistoryQuery

        public GetUsageHistoryQuery​(UsageHistoryInput usageHistoryInput)
    • 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<GetUsageHistoryQuery.Data>
      • document

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

        public java.lang.String name()
        Specified by:
        name in interface com.apollographql.apollo3.api.Operation<GetUsageHistoryQuery.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<GetUsageHistoryQuery.Data>
        Specified by:
        serializeVariables in interface com.apollographql.apollo3.api.Operation<GetUsageHistoryQuery.Data>
        Throws:
        java.io.IOException
      • rootField

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