github-0.25: Access to the GitHub API, v3.

LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

GitHub.Data.Name

Description

 
Synopsis

Documentation

newtype Name entity Source #

Constructors

N Text 
Instances
Eq (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

(==) :: Name entity -> Name entity -> Bool #

(/=) :: Name entity -> Name entity -> Bool #

Data entity => Data (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Name entity -> c (Name entity) #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Name entity) #

toConstr :: Name entity -> Constr #

dataTypeOf :: Name entity -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Name entity)) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Name entity)) #

gmapT :: (forall b. Data b => b -> b) -> Name entity -> Name entity #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Name entity -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Name entity -> r #

gmapQ :: (forall d. Data d => d -> u) -> Name entity -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Name entity -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Name entity -> m (Name entity) #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Name entity -> m (Name entity) #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Name entity -> m (Name entity) #

Ord (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

compare :: Name entity -> Name entity -> Ordering #

(<) :: Name entity -> Name entity -> Bool #

(<=) :: Name entity -> Name entity -> Bool #

(>) :: Name entity -> Name entity -> Bool #

(>=) :: Name entity -> Name entity -> Bool #

max :: Name entity -> Name entity -> Name entity #

min :: Name entity -> Name entity -> Name entity #

Show (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

showsPrec :: Int -> Name entity -> ShowS #

show :: Name entity -> String #

showList :: [Name entity] -> ShowS #

IsString (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

fromString :: String -> Name entity #

Generic (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Associated Types

type Rep (Name entity) :: Type -> Type #

Methods

from :: Name entity -> Rep (Name entity) x #

to :: Rep (Name entity) x -> Name entity #

Hashable (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

hashWithSalt :: Int -> Name entity -> Int #

hash :: Name entity -> Int #

ToJSON (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

toJSON :: Name entity -> Value #

toEncoding :: Name entity -> Encoding #

toJSONList :: [Name entity] -> Value #

toEncodingList :: [Name entity] -> Encoding #

ToJSONKey (Name entity) Source #

Since: 0.15.0.0

Instance details

Defined in GitHub.Data.Name

FromJSON (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

parseJSON :: Value -> Parser (Name entity) #

parseJSONList :: Value -> Parser [Name entity] #

FromJSONKey (Name entity) Source #

Since: 0.15.0.0

Instance details

Defined in GitHub.Data.Name

Binary (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

put :: Name entity -> Put #

get :: Get (Name entity) #

putList :: [Name entity] -> Put #

NFData (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

Methods

rnf :: Name entity -> () #

IsPathPart (Name a) Source # 
Instance details

Defined in GitHub.Data.Request

Methods

toPathPart :: Name a -> Text Source #

type Rep (Name entity) Source # 
Instance details

Defined in GitHub.Data.Name

type Rep (Name entity) = D1 (MetaData "Name" "GitHub.Data.Name" "github-0.25-1HQIU2gSqEnJ7BxC9veRNX" True) (C1 (MetaCons "N" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

mkName :: proxy entity -> Text -> Name entity Source #

Smart constructor for Name

untagName :: Name entity -> Text Source #