-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql -- https://github.com/dillonkearns/elm-graphql module Github.Object.ExternalIdentity exposing (guid, id, organizationInvitation, samlIdentity, scimIdentity, user) 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 {-| The GUID for this identity -} guid : SelectionSet String Github.Object.ExternalIdentity guid = Object.selectionForField "String" "guid" [] Decode.string id : SelectionSet Github.ScalarCodecs.Id Github.Object.ExternalIdentity id = Object.selectionForField "ScalarCodecs.Id" "id" [] (Github.ScalarCodecs.codecs |> Github.Scalar.unwrapCodecs |> .codecId |> .decoder) {-| Organization invitation for this SCIM-provisioned external identity -} organizationInvitation : SelectionSet decodesTo Github.Object.OrganizationInvitation -> SelectionSet (Maybe decodesTo) Github.Object.ExternalIdentity organizationInvitation object_ = Object.selectionForCompositeField "organizationInvitation" [] object_ (identity >> Decode.nullable) {-| SAML Identity attributes -} samlIdentity : SelectionSet decodesTo Github.Object.ExternalIdentitySamlAttributes -> SelectionSet (Maybe decodesTo) Github.Object.ExternalIdentity samlIdentity object_ = Object.selectionForCompositeField "samlIdentity" [] object_ (identity >> Decode.nullable) {-| SCIM Identity attributes -} scimIdentity : SelectionSet decodesTo Github.Object.ExternalIdentityScimAttributes -> SelectionSet (Maybe decodesTo) Github.Object.ExternalIdentity scimIdentity object_ = Object.selectionForCompositeField "scimIdentity" [] object_ (identity >> Decode.nullable) {-| User linked to this external identity -} user : SelectionSet decodesTo Github.Object.User -> SelectionSet (Maybe decodesTo) Github.Object.ExternalIdentity user object_ = Object.selectionForCompositeField "user" [] object_ (identity >> Decode.nullable)