hercules-ci-api-core-0.1.2.0: Types and convenience modules use across Hercules CI API packages
Safe HaskellNone
LanguageHaskell2010

Hercules.API.Name

Synopsis

Documentation

newtype Name (a :: k) Source #

A slug. Display names are simply Text.

Constructors

Name 

Fields

Instances

Instances details
Eq (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Methods

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

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

Ord (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Methods

compare :: Name a -> Name a -> Ordering #

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

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

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

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

max :: Name a -> Name a -> Name a #

min :: Name a -> Name a -> Name a #

Show (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Methods

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

show :: Name a -> String #

showList :: [Name a] -> ShowS #

Generic (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Associated Types

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

Methods

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

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

Hashable (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Methods

hashWithSalt :: Int -> Name a -> Int #

hash :: Name a -> Int #

ToJSON (Name a) Source # 
Instance details

Defined in Hercules.API.Name

FromJSON (Name a) Source # 
Instance details

Defined in Hercules.API.Name

NFData (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Methods

rnf :: Name a -> () #

ToHttpApiData (Name a) Source # 
Instance details

Defined in Hercules.API.Name

FromHttpApiData (Name a) Source # 
Instance details

Defined in Hercules.API.Name

ToSchema (Name a) Source # 
Instance details

Defined in Hercules.API.Name

ToParamSchema (Name a) Source # 
Instance details

Defined in Hercules.API.Name

Methods

toParamSchema :: forall (t :: SwaggerKind Type). Proxy (Name a) -> ParamSchema t #

type Rep (Name a) Source # 
Instance details

Defined in Hercules.API.Name

type Rep (Name a) = D1 ('MetaData "Name" "Hercules.API.Name" "hercules-ci-api-core-0.1.2.0-HrLZoDXMhdPCHYCbeB2oiG" 'True) (C1 ('MetaCons "Name" 'PrefixI 'True) (S1 ('MetaSel ('Just "nameText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))