-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql -- https://github.com/dillonkearns/elm-graphql module Github.Object.LanguageConnection exposing (edges, nodes, pageInfo, totalCount, totalSize) import Github.InputObject import Github.Interface import Github.Object import Github.Scalar import Github.ScalarCodecs import Github.Union import Graphql.Internal.Builder.Argument as Argument exposing (Argument) import Graphql.Internal.Builder.Object as Object import Graphql.Internal.Encode as Encode exposing (Value) import Graphql.Operation exposing (RootMutation, RootQuery, RootSubscription) import Graphql.OptionalArgument exposing (OptionalArgument(..)) import Graphql.SelectionSet exposing (SelectionSet) import Json.Decode as Decode {-| A list of edges. -} edges : SelectionSet decodesTo Github.Object.LanguageEdge -> SelectionSet (Maybe (List (Maybe decodesTo))) Github.Object.LanguageConnection edges object_ = Object.selectionForCompositeField "edges" [] object_ (identity >> Decode.nullable >> Decode.list >> Decode.nullable) {-| A list of nodes. -} nodes : SelectionSet decodesTo Github.Object.Language -> SelectionSet (Maybe (List (Maybe decodesTo))) Github.Object.LanguageConnection nodes object_ = Object.selectionForCompositeField "nodes" [] object_ (identity >> Decode.nullable >> Decode.list >> Decode.nullable) {-| Information to aid in pagination. -} pageInfo : SelectionSet decodesTo Github.Object.PageInfo -> SelectionSet decodesTo Github.Object.LanguageConnection pageInfo object_ = Object.selectionForCompositeField "pageInfo" [] object_ identity {-| Identifies the total count of items in the connection. -} totalCount : SelectionSet Int Github.Object.LanguageConnection totalCount = Object.selectionForField "Int" "totalCount" [] Decode.int {-| The total size in bytes of files written in that language. -} totalSize : SelectionSet Int Github.Object.LanguageConnection totalSize = Object.selectionForField "Int" "totalSize" [] Decode.int