-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql -- https://github.com/dillonkearns/elm-graphql module Github.Object.Tag exposing (abbreviatedOid, commitResourcePath, commitUrl, id, message, name, oid, repository, tagger, target) 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 {-| An abbreviated version of the Git object ID -} abbreviatedOid : SelectionSet String Github.Object.Tag abbreviatedOid = Object.selectionForField "String" "abbreviatedOid" [] Decode.string {-| The HTTP path for this Git object -} commitResourcePath : SelectionSet Github.ScalarCodecs.Uri Github.Object.Tag commitResourcePath = Object.selectionForField "ScalarCodecs.Uri" "commitResourcePath" [] (Github.ScalarCodecs.codecs |> Github.Scalar.unwrapCodecs |> .codecUri |> .decoder) {-| The HTTP URL for this Git object -} commitUrl : SelectionSet Github.ScalarCodecs.Uri Github.Object.Tag commitUrl = Object.selectionForField "ScalarCodecs.Uri" "commitUrl" [] (Github.ScalarCodecs.codecs |> Github.Scalar.unwrapCodecs |> .codecUri |> .decoder) id : SelectionSet Github.ScalarCodecs.Id Github.Object.Tag id = Object.selectionForField "ScalarCodecs.Id" "id" [] (Github.ScalarCodecs.codecs |> Github.Scalar.unwrapCodecs |> .codecId |> .decoder) {-| The Git tag message. -} message : SelectionSet (Maybe String) Github.Object.Tag message = Object.selectionForField "(Maybe String)" "message" [] (Decode.string |> Decode.nullable) {-| The Git tag name. -} name : SelectionSet String Github.Object.Tag name = Object.selectionForField "String" "name" [] Decode.string {-| The Git object ID -} oid : SelectionSet Github.ScalarCodecs.GitObjectID Github.Object.Tag oid = Object.selectionForField "ScalarCodecs.GitObjectID" "oid" [] (Github.ScalarCodecs.codecs |> Github.Scalar.unwrapCodecs |> .codecGitObjectID |> .decoder) {-| The Repository the Git object belongs to -} repository : SelectionSet decodesTo Github.Object.Repository -> SelectionSet decodesTo Github.Object.Tag repository object_ = Object.selectionForCompositeField "repository" [] object_ identity {-| Details about the tag author. -} tagger : SelectionSet decodesTo Github.Object.GitActor -> SelectionSet (Maybe decodesTo) Github.Object.Tag tagger object_ = Object.selectionForCompositeField "tagger" [] object_ (identity >> Decode.nullable) {-| The Git object the tag points to. -} target : SelectionSet decodesTo Github.Interface.GitObject -> SelectionSet decodesTo Github.Object.Tag target object_ = Object.selectionForCompositeField "target" [] object_ identity