-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql -- https://github.com/dillonkearns/elm-graphql module Github.Object.IssueConnection exposing (edges, nodes, pageInfo, totalCount) 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.IssueEdge -> SelectionSet (Maybe (List (Maybe decodesTo))) Github.Object.IssueConnection edges object_ = Object.selectionForCompositeField "edges" [] object_ (identity >> Decode.nullable >> Decode.list >> Decode.nullable) {-| A list of nodes. -} nodes : SelectionSet decodesTo Github.Object.Issue -> SelectionSet (Maybe (List (Maybe decodesTo))) Github.Object.IssueConnection 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.IssueConnection pageInfo object_ = Object.selectionForCompositeField "pageInfo" [] object_ identity {-| Identifies the total count of items in the connection. -} totalCount : SelectionSet Int Github.Object.IssueConnection totalCount = Object.selectionForField "Int" "totalCount" [] Decode.int