playground-common-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Gist

Documentation

type API = Header "Authorization" (Token 'Github) :> ("gists" :> GistAPI) Source #

data Owner Source #

Constructors

Owner 

Instances

Instances details
Eq Owner Source # 
Instance details

Defined in Gist

Methods

(==) :: Owner -> Owner -> Bool Source #

(/=) :: Owner -> Owner -> Bool Source #

Show Owner Source # 
Instance details

Defined in Gist

Generic Owner Source # 
Instance details

Defined in Gist

Associated Types

type Rep Owner :: Type -> Type Source #

Methods

from :: Owner -> Rep Owner x Source #

to :: Rep Owner x -> Owner Source #

ToJSON Owner Source # 
Instance details

Defined in Gist

FromJSON Owner Source # 
Instance details

Defined in Gist

type Rep Owner Source # 
Instance details

Defined in Gist

type Rep Owner = D1 ('MetaData "Owner" "Gist" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'False) (C1 ('MetaCons "Owner" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ownerLogin") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_ownerHtmlUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))

newtype GistId Source #

Constructors

GistId Text 

Instances

Instances details
Eq GistId Source # 
Instance details

Defined in Gist

Ord GistId Source # 
Instance details

Defined in Gist

Show GistId Source # 
Instance details

Defined in Gist

Generic GistId Source # 
Instance details

Defined in Gist

Associated Types

type Rep GistId :: Type -> Type Source #

ToJSON GistId Source # 
Instance details

Defined in Gist

FromJSON GistId Source # 
Instance details

Defined in Gist

ToHttpApiData GistId Source # 
Instance details

Defined in Gist

FromHttpApiData GistId Source # 
Instance details

Defined in Gist

type Rep GistId Source # 
Instance details

Defined in Gist

type Rep GistId = D1 ('MetaData "GistId" "Gist" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'True) (C1 ('MetaCons "GistId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data Gist Source #

Instances

Instances details
Eq Gist Source # 
Instance details

Defined in Gist

Methods

(==) :: Gist -> Gist -> Bool Source #

(/=) :: Gist -> Gist -> Bool Source #

Show Gist Source # 
Instance details

Defined in Gist

Generic Gist Source # 
Instance details

Defined in Gist

Associated Types

type Rep Gist :: Type -> Type Source #

Methods

from :: Gist -> Rep Gist x Source #

to :: Rep Gist x -> Gist Source #

ToJSON Gist Source # 
Instance details

Defined in Gist

FromJSON Gist Source # 
Instance details

Defined in Gist

type Rep Gist Source # 
Instance details

Defined in Gist

data GistFile Source #

Instances

Instances details
Eq GistFile Source # 
Instance details

Defined in Gist

Show GistFile Source # 
Instance details

Defined in Gist

Generic GistFile Source # 
Instance details

Defined in Gist

Associated Types

type Rep GistFile :: Type -> Type Source #

ToJSON GistFile Source # 
Instance details

Defined in Gist

FromJSON GistFile Source # 
Instance details

Defined in Gist

type Rep GistFile Source # 
Instance details

Defined in Gist

type Rep GistFile = D1 ('MetaData "GistFile" "Gist" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'False) (C1 ('MetaCons "GistFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_gistFileFilename") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_gistFileLanguage") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_gistFileType") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_gistFileTruncated") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_gistFileContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))))))

data NewGist Source #

Instances

Instances details
Eq NewGist Source # 
Instance details

Defined in Gist

Show NewGist Source # 
Instance details

Defined in Gist

Generic NewGist Source # 
Instance details

Defined in Gist

Associated Types

type Rep NewGist :: Type -> Type Source #

ToJSON NewGist Source # 
Instance details

Defined in Gist

FromJSON NewGist Source # 
Instance details

Defined in Gist

type Rep NewGist Source # 
Instance details

Defined in Gist

type Rep NewGist = D1 ('MetaData "NewGist" "Gist" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'False) (C1 ('MetaCons "NewGist" 'PrefixI 'True) (S1 ('MetaSel ('Just "_newGistDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_newGistPublic") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_newGistFiles") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [NewGistFile]))))

data NewGistFile Source #

Instances

Instances details
Eq NewGistFile Source # 
Instance details

Defined in Gist

Show NewGistFile Source # 
Instance details

Defined in Gist

Generic NewGistFile Source # 
Instance details

Defined in Gist

Associated Types

type Rep NewGistFile :: Type -> Type Source #

FromJSON NewGistFile Source # 
Instance details

Defined in Gist

type Rep NewGistFile Source # 
Instance details

Defined in Gist

type Rep NewGistFile = D1 ('MetaData "NewGistFile" "Gist" "playground-common-0.1.0.0-LHGPmcl6mK723R6a6rRgpE" 'False) (C1 ('MetaCons "NewGistFile" 'PrefixI 'True) (S1 ('MetaSel ('Just "_newGistFilename") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_newGistFileContent") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))