github-0.28: Access to the GitHub API, v3.
LicenseBSD-3-Clause
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellSafe-Inferred
LanguageHaskell2010

GitHub.Data.Teams

Description

 
Synopsis

Documentation

data Privacy Source #

Instances

Instances details
Data Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: Privacy -> Constr #

dataTypeOf :: Privacy -> DataType #

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

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

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

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

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

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

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

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

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

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

Bounded Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Enum Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Generic Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep Privacy :: Type -> Type #

Methods

from :: Privacy -> Rep Privacy x #

to :: Rep Privacy x -> Privacy #

Show Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Binary Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

put :: Privacy -> Put #

get :: Get Privacy #

putList :: [Privacy] -> Put #

NFData Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: Privacy -> () #

Eq Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

Ord Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

parseJSON :: Value -> Parser Privacy #

parseJSONList :: Value -> Parser [Privacy] #

ToJSON Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

toJSON :: Privacy -> Value #

toEncoding :: Privacy -> Encoding #

toJSONList :: [Privacy] -> Value #

toEncodingList :: [Privacy] -> Encoding #

type Rep Privacy Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep Privacy = D1 ('MetaData "Privacy" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "PrivacyClosed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PrivacySecret" 'PrefixI 'False) (U1 :: Type -> Type))

data Permission Source #

Instances

Instances details
Data Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: Permission -> Constr #

dataTypeOf :: Permission -> DataType #

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

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

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

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

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

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

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

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

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

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

Bounded Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Enum Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Generic Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep Permission :: Type -> Type #

Show Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Binary Permission Source # 
Instance details

Defined in GitHub.Data.Teams

NFData Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: Permission -> () #

Eq Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Ord Permission Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

parseJSON :: Value -> Parser Permission #

parseJSONList :: Value -> Parser [Permission] #

ToJSON Permission Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

toJSON :: Permission -> Value #

toEncoding :: Permission -> Encoding #

toJSONList :: [Permission] -> Value #

toEncodingList :: [Permission] -> Encoding #

type Rep Permission Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep Permission = D1 ('MetaData "Permission" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "PermissionPull" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PermissionPush" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PermissionAdmin" 'PrefixI 'False) (U1 :: Type -> Type)))

data AddTeamRepoPermission Source #

Instances

Instances details
Data AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: AddTeamRepoPermission -> Constr #

dataTypeOf :: AddTeamRepoPermission -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep AddTeamRepoPermission :: Type -> Type #

Show AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

Binary AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

NFData AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: AddTeamRepoPermission -> () #

Eq AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

Ord AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

ToJSON AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep AddTeamRepoPermission Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep AddTeamRepoPermission = D1 ('MetaData "AddTeamRepoPermission" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "AddTeamRepoPermission" 'PrefixI 'True) (S1 ('MetaSel ('Just "addTeamRepoPermission") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Permission)))

data SimpleTeam Source #

Instances

Instances details
Data SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: SimpleTeam -> Constr #

dataTypeOf :: SimpleTeam -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep SimpleTeam :: Type -> Type #

Show SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Binary SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

NFData SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: SimpleTeam -> () #

Eq SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Ord SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

parseJSON :: Value -> Parser SimpleTeam #

parseJSONList :: Value -> Parser [SimpleTeam] #

type Rep SimpleTeam Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep SimpleTeam = D1 ('MetaData "SimpleTeam" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "SimpleTeam" 'PrefixI 'True) (((S1 ('MetaSel ('Just "simpleTeamId") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Id Team)) :*: S1 ('MetaSel ('Just "simpleTeamUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL)) :*: (S1 ('MetaSel ('Just "simpleTeamName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "simpleTeamSlug") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Team)))) :*: ((S1 ('MetaSel ('Just "simpleTeamDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "simpleTeamPrivacy") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Privacy)) :*: (S1 ('MetaSel ('Just "simpleTeamPermission") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Permission) :*: (S1 ('MetaSel ('Just "simpleTeamMembersUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: S1 ('MetaSel ('Just "simpleTeamRepositoriesUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL))))))

data Team Source #

Instances

Instances details
Data Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: Team -> Constr #

dataTypeOf :: Team -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Team Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep Team :: Type -> Type #

Methods

from :: Team -> Rep Team x #

to :: Rep Team x -> Team #

Show Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

showsPrec :: Int -> Team -> ShowS #

show :: Team -> String #

showList :: [Team] -> ShowS #

Binary Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

put :: Team -> Put #

get :: Get Team #

putList :: [Team] -> Put #

NFData Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: Team -> () #

Eq Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

Ord Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

compare :: Team -> Team -> Ordering #

(<) :: Team -> Team -> Bool #

(<=) :: Team -> Team -> Bool #

(>) :: Team -> Team -> Bool #

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

max :: Team -> Team -> Team #

min :: Team -> Team -> Team #

FromJSON Team Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

parseJSON :: Value -> Parser Team #

parseJSONList :: Value -> Parser [Team] #

type Rep Team Source # 
Instance details

Defined in GitHub.Data.Teams

data CreateTeam Source #

Instances

Instances details
Data CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: CreateTeam -> Constr #

dataTypeOf :: CreateTeam -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep CreateTeam :: Type -> Type #

Show CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Binary CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

NFData CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: CreateTeam -> () #

Eq CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Ord CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

ToJSON CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

toJSON :: CreateTeam -> Value #

toEncoding :: CreateTeam -> Encoding #

toJSONList :: [CreateTeam] -> Value #

toEncodingList :: [CreateTeam] -> Encoding #

type Rep CreateTeam Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep CreateTeam = D1 ('MetaData "CreateTeam" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "CreateTeam" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createTeamName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Team)) :*: S1 ('MetaSel ('Just "createTeamDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createTeamRepoNames") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Vector (Name Repo))) :*: (S1 ('MetaSel ('Just "createTeamPrivacy") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Privacy) :*: S1 ('MetaSel ('Just "createTeamPermission") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Permission)))))

data EditTeam Source #

Instances

Instances details
Data EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: EditTeam -> Constr #

dataTypeOf :: EditTeam -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep EditTeam :: Type -> Type #

Methods

from :: EditTeam -> Rep EditTeam x #

to :: Rep EditTeam x -> EditTeam #

Show EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Binary EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

put :: EditTeam -> Put #

get :: Get EditTeam #

putList :: [EditTeam] -> Put #

NFData EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: EditTeam -> () #

Eq EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Ord EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

ToJSON EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

toJSON :: EditTeam -> Value #

toEncoding :: EditTeam -> Encoding #

toJSONList :: [EditTeam] -> Value #

toEncodingList :: [EditTeam] -> Encoding #

type Rep EditTeam Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep EditTeam = D1 ('MetaData "EditTeam" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "EditTeam" 'PrefixI 'True) ((S1 ('MetaSel ('Just "editTeamName") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Name Team)) :*: S1 ('MetaSel ('Just "editTeamDescription") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "editTeamPrivacy") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Privacy)) :*: S1 ('MetaSel ('Just "editTeamPermission") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Permission)))))

data Role Source #

Constructors

RoleMaintainer 
RoleMember 

Instances

Instances details
Data Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: Role -> Constr #

dataTypeOf :: Role -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic Role Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep Role :: Type -> Type #

Methods

from :: Role -> Rep Role x #

to :: Rep Role x -> Role #

Show Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

showsPrec :: Int -> Role -> ShowS #

show :: Role -> String #

showList :: [Role] -> ShowS #

Binary Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

put :: Role -> Put #

get :: Get Role #

putList :: [Role] -> Put #

NFData Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: Role -> () #

Eq Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

Ord Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

compare :: Role -> Role -> Ordering #

(<) :: Role -> Role -> Bool #

(<=) :: Role -> Role -> Bool #

(>) :: Role -> Role -> Bool #

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

max :: Role -> Role -> Role #

min :: Role -> Role -> Role #

FromJSON Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

parseJSON :: Value -> Parser Role #

parseJSONList :: Value -> Parser [Role] #

ToJSON Role Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

toJSON :: Role -> Value #

toEncoding :: Role -> Encoding #

toJSONList :: [Role] -> Value #

toEncodingList :: [Role] -> Encoding #

type Rep Role Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep Role = D1 ('MetaData "Role" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "RoleMaintainer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RoleMember" 'PrefixI 'False) (U1 :: Type -> Type))

data ReqState Source #

Constructors

StatePending 
StateActive 

Instances

Instances details
Data ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: ReqState -> Constr #

dataTypeOf :: ReqState -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep ReqState :: Type -> Type #

Methods

from :: ReqState -> Rep ReqState x #

to :: Rep ReqState x -> ReqState #

Show ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Binary ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

put :: ReqState -> Put #

get :: Get ReqState #

putList :: [ReqState] -> Put #

NFData ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: ReqState -> () #

Eq ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Ord ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

parseJSON :: Value -> Parser ReqState #

parseJSONList :: Value -> Parser [ReqState] #

ToJSON ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

toJSON :: ReqState -> Value #

toEncoding :: ReqState -> Encoding #

toJSONList :: [ReqState] -> Value #

toEncodingList :: [ReqState] -> Encoding #

type Rep ReqState Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep ReqState = D1 ('MetaData "ReqState" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "StatePending" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "StateActive" 'PrefixI 'False) (U1 :: Type -> Type))

data TeamMembership Source #

Instances

Instances details
Data TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: TeamMembership -> Constr #

dataTypeOf :: TeamMembership -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep TeamMembership :: Type -> Type #

Show TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Binary TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

NFData TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: TeamMembership -> () #

Eq TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Ord TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep TeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep TeamMembership = D1 ('MetaData "TeamMembership" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "TeamMembership" 'PrefixI 'True) (S1 ('MetaSel ('Just "teamMembershipUrl") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 URL) :*: (S1 ('MetaSel ('Just "teamMembershipRole") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Role) :*: S1 ('MetaSel ('Just "teamMembershipReqState") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ReqState))))

data CreateTeamMembership Source #

Instances

Instances details
Data CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: CreateTeamMembership -> Constr #

dataTypeOf :: CreateTeamMembership -> DataType #

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

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

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

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

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

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

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

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

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

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

Generic CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep CreateTeamMembership :: Type -> Type #

Show CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Binary CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

NFData CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

rnf :: CreateTeamMembership -> () #

Eq CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

Ord CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

FromJSON CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

ToJSON CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep CreateTeamMembership Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep CreateTeamMembership = D1 ('MetaData "CreateTeamMembership" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "CreateTeamMembership" 'PrefixI 'True) (S1 ('MetaSel ('Just "createTeamMembershipRole") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Role)))

data TeamMemberRole Source #

Filters members returned by their role in the team.

Constructors

TeamMemberRoleAll

all members of the team.

TeamMemberRoleMaintainer

team maintainers

TeamMemberRoleMember

normal members of the team.

Instances

Instances details
Data TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

Methods

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

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

toConstr :: TeamMemberRole -> Constr #

dataTypeOf :: TeamMemberRole -> DataType #

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

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

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

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

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

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

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

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

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

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

Bounded TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

Enum TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

Generic TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

Associated Types

type Rep TeamMemberRole :: Type -> Type #

Show TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

Eq TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

Ord TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep TeamMemberRole Source # 
Instance details

Defined in GitHub.Data.Teams

type Rep TeamMemberRole = D1 ('MetaData "TeamMemberRole" "GitHub.Data.Teams" "github-0.28-inplace" 'False) (C1 ('MetaCons "TeamMemberRoleAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TeamMemberRoleMaintainer" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TeamMemberRoleMember" 'PrefixI 'False) (U1 :: Type -> Type)))