-- Do not manually edit this file, it was auto-generated by dillonkearns/elm-graphql -- https://github.com/dillonkearns/elm-graphql module Github.Union.IssueTimelineItem exposing (onAssignedEvent, onClosedEvent, onCommit, onCrossReferencedEvent, onDemilestonedEvent, onIssueComment, onLabeledEvent, onLockedEvent, onMilestonedEvent, onReferencedEvent, onRenamedTitleEvent, onReopenedEvent, onSubscribedEvent, onUnassignedEvent, onUnlabeledEvent, onUnlockedEvent, onUnsubscribedEvent, selection) import Github.InputObject import Github.Interface import Github.Object import Github.Scalar import Github.Union import Graphql.Field as Field exposing (Field) 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.OptionalArgument exposing (OptionalArgument(..)) import Graphql.SelectionSet exposing (FragmentSelectionSet(..), SelectionSet(..)) import Json.Decode as Decode selection : (Maybe typeSpecific -> constructor) -> List (FragmentSelectionSet typeSpecific Github.Union.IssueTimelineItem) -> SelectionSet constructor Github.Union.IssueTimelineItem selection constructor typeSpecificDecoders = Object.unionSelection typeSpecificDecoders constructor onCommit : SelectionSet decodesTo Github.Object.Commit -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onCommit (SelectionSet fields decoder) = FragmentSelectionSet "Commit" fields decoder onIssueComment : SelectionSet decodesTo Github.Object.IssueComment -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onIssueComment (SelectionSet fields decoder) = FragmentSelectionSet "IssueComment" fields decoder onCrossReferencedEvent : SelectionSet decodesTo Github.Object.CrossReferencedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onCrossReferencedEvent (SelectionSet fields decoder) = FragmentSelectionSet "CrossReferencedEvent" fields decoder onClosedEvent : SelectionSet decodesTo Github.Object.ClosedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onClosedEvent (SelectionSet fields decoder) = FragmentSelectionSet "ClosedEvent" fields decoder onReopenedEvent : SelectionSet decodesTo Github.Object.ReopenedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onReopenedEvent (SelectionSet fields decoder) = FragmentSelectionSet "ReopenedEvent" fields decoder onSubscribedEvent : SelectionSet decodesTo Github.Object.SubscribedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onSubscribedEvent (SelectionSet fields decoder) = FragmentSelectionSet "SubscribedEvent" fields decoder onUnsubscribedEvent : SelectionSet decodesTo Github.Object.UnsubscribedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onUnsubscribedEvent (SelectionSet fields decoder) = FragmentSelectionSet "UnsubscribedEvent" fields decoder onReferencedEvent : SelectionSet decodesTo Github.Object.ReferencedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onReferencedEvent (SelectionSet fields decoder) = FragmentSelectionSet "ReferencedEvent" fields decoder onAssignedEvent : SelectionSet decodesTo Github.Object.AssignedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onAssignedEvent (SelectionSet fields decoder) = FragmentSelectionSet "AssignedEvent" fields decoder onUnassignedEvent : SelectionSet decodesTo Github.Object.UnassignedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onUnassignedEvent (SelectionSet fields decoder) = FragmentSelectionSet "UnassignedEvent" fields decoder onLabeledEvent : SelectionSet decodesTo Github.Object.LabeledEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onLabeledEvent (SelectionSet fields decoder) = FragmentSelectionSet "LabeledEvent" fields decoder onUnlabeledEvent : SelectionSet decodesTo Github.Object.UnlabeledEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onUnlabeledEvent (SelectionSet fields decoder) = FragmentSelectionSet "UnlabeledEvent" fields decoder onMilestonedEvent : SelectionSet decodesTo Github.Object.MilestonedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onMilestonedEvent (SelectionSet fields decoder) = FragmentSelectionSet "MilestonedEvent" fields decoder onDemilestonedEvent : SelectionSet decodesTo Github.Object.DemilestonedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onDemilestonedEvent (SelectionSet fields decoder) = FragmentSelectionSet "DemilestonedEvent" fields decoder onRenamedTitleEvent : SelectionSet decodesTo Github.Object.RenamedTitleEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onRenamedTitleEvent (SelectionSet fields decoder) = FragmentSelectionSet "RenamedTitleEvent" fields decoder onLockedEvent : SelectionSet decodesTo Github.Object.LockedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onLockedEvent (SelectionSet fields decoder) = FragmentSelectionSet "LockedEvent" fields decoder onUnlockedEvent : SelectionSet decodesTo Github.Object.UnlockedEvent -> FragmentSelectionSet decodesTo Github.Union.IssueTimelineItem onUnlockedEvent (SelectionSet fields decoder) = FragmentSelectionSet "UnlockedEvent" fields decoder