hercules-ci-api-0.6.0.0: Hercules CI API definition with Servant
Safe HaskellNone
LanguageHaskell2010

Hercules.API.Accounts.Account

Documentation

data AccountType Source #

Constructors

User 
Organization 

Instances

Instances details
Eq AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Show AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Generic AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Associated Types

type Rep AccountType :: Type -> Type #

ToJSON AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

FromJSON AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

NFData AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Methods

rnf :: AccountType -> () #

ToSchema AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

type Rep AccountType Source # 
Instance details

Defined in Hercules.API.Accounts.Account

type Rep AccountType = D1 ('MetaData "AccountType" "Hercules.API.Accounts.Account" "hercules-ci-api-0.6.0.0-9W1q58tM1hxFhTp0arxiaH" 'False) (C1 ('MetaCons "User" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Organization" 'PrefixI 'False) (U1 :: Type -> Type))

data MembershipRole Source #

Constructors

Member 
Admin 

Instances

Instances details
Eq MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Show MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Generic MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Associated Types

type Rep MembershipRole :: Type -> Type #

ToJSON MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

FromJSON MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

NFData MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Methods

rnf :: MembershipRole -> () #

ToSchema MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

type Rep MembershipRole Source # 
Instance details

Defined in Hercules.API.Accounts.Account

type Rep MembershipRole = D1 ('MetaData "MembershipRole" "Hercules.API.Accounts.Account" "hercules-ci-api-0.6.0.0-9W1q58tM1hxFhTp0arxiaH" 'False) (C1 ('MetaCons "Member" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Admin" 'PrefixI 'False) (U1 :: Type -> Type))

data Account Source #

Constructors

Account 

Fields

Instances

Instances details
Eq Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Methods

(==) :: Account -> Account -> Bool #

(/=) :: Account -> Account -> Bool #

Show Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Generic Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Associated Types

type Rep Account :: Type -> Type #

Methods

from :: Account -> Rep Account x #

to :: Rep Account x -> Account #

ToJSON Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

FromJSON Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

NFData Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

Methods

rnf :: Account -> () #

ToSchema Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account

type Rep Account Source # 
Instance details

Defined in Hercules.API.Accounts.Account