License | BSD3 |
---|---|
Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
Safe Haskell | None |
Language | Haskell2010 |
- data Organisation = Organisation {
- _orgId' :: !OrganisationId
- _orgParamName' :: !(ParamName Organisation)
- _orgName' :: !Text
- _orgUserLimit' :: !Int
- _orgUserCount' :: !Int
- _orgActive' :: !Bool
- _orgUrl' :: !(ApiUrl Organisation)
- _orgUsers :: ![OrgUser]
- type OrganisationId = Identifier Integer Organisation
- class OrgLike o where
- orgId :: Lens' o OrganisationId
- orgName :: Lens' o Text
- orgParamName :: Lens' o (ParamName Organisation)
- orgUserLimit :: Lens' o Int
- orgUserCount :: Lens' o Int
- orgActive :: Lens' o Bool
- orgUrl :: Lens' o (ApiUrl Organisation)
- orgUsers :: Lens' Organisation [OrgUser]
- data OrgUser = OrgUser {}
- ouAdmin :: Lens' OrgUser Bool
Documentation
data Organisation Source
Organisation | |
|
type OrganisationId = Identifier Integer Organisation Source
Opaque Organisation identifier
Organisation
like structures
orgId :: Lens' o OrganisationId Source
orgName :: Lens' o Text Source
orgParamName :: Lens' o (ParamName Organisation) Source
orgUserLimit :: Lens' o Int Source
orgUserCount :: Lens' o Int Source
orgActive :: Lens' o Bool Source
orgUrl :: Lens' o (ApiUrl Organisation) Source