libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.Types.User

Description

 
Synopsis

Documentation

data User Source #

Describes a user.

See: newUser smart constructor.

Constructors

User' 

Fields

Instances

Instances details
Eq User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

Methods

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

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

Read User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

Show User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

Generic User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

Associated Types

type Rep User :: Type -> Type #

Methods

from :: User -> Rep User x #

to :: Rep User x -> User #

NFData User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

Methods

rnf :: User -> () #

Hashable User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

Methods

hashWithSalt :: Int -> User -> Int #

hash :: User -> Int #

FromJSON User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

type Rep User Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.User

type Rep User = D1 ('MetaData "User" "Amazonka.WorkDocs.Types.User" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "User'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "givenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserStatusType)) :*: S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocaleType)))) :*: ((S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "storage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserStorageMetadata))) :*: (S1 ('MetaSel ('Just "modifiedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rootFolderId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserType)) :*: S1 ('MetaSel ('Just "surname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timeZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "recycleBinFolderId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newUser :: User Source #

Create a value of User with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:givenName:User', user_givenName - The given name of the user.

$sel:status:User', user_status - The status of the user.

$sel:locale:User', user_locale - The locale of the user.

$sel:username:User', user_username - The login name of the user.

$sel:storage:User', user_storage - The storage for the user.

$sel:modifiedTimestamp:User', user_modifiedTimestamp - The time when the user was modified.

$sel:emailAddress:User', user_emailAddress - The email address of the user.

$sel:id:User', user_id - The ID of the user.

$sel:rootFolderId:User', user_rootFolderId - The ID of the root folder.

$sel:type':User', user_type - The type of user.

$sel:surname:User', user_surname - The surname of the user.

$sel:timeZoneId:User', user_timeZoneId - The time zone ID of the user.

$sel:createdTimestamp:User', user_createdTimestamp - The time when the user was created.

$sel:organizationId:User', user_organizationId - The ID of the organization.

$sel:recycleBinFolderId:User', user_recycleBinFolderId - The ID of the recycle bin folder.

user_givenName :: Lens' User (Maybe Text) Source #

The given name of the user.

user_status :: Lens' User (Maybe UserStatusType) Source #

The status of the user.

user_locale :: Lens' User (Maybe LocaleType) Source #

The locale of the user.

user_username :: Lens' User (Maybe Text) Source #

The login name of the user.

user_storage :: Lens' User (Maybe UserStorageMetadata) Source #

The storage for the user.

user_modifiedTimestamp :: Lens' User (Maybe UTCTime) Source #

The time when the user was modified.

user_emailAddress :: Lens' User (Maybe Text) Source #

The email address of the user.

user_id :: Lens' User (Maybe Text) Source #

The ID of the user.

user_rootFolderId :: Lens' User (Maybe Text) Source #

The ID of the root folder.

user_type :: Lens' User (Maybe UserType) Source #

The type of user.

user_surname :: Lens' User (Maybe Text) Source #

The surname of the user.

user_timeZoneId :: Lens' User (Maybe Text) Source #

The time zone ID of the user.

user_createdTimestamp :: Lens' User (Maybe UTCTime) Source #

The time when the user was created.

user_organizationId :: Lens' User (Maybe Text) Source #

The ID of the organization.

user_recycleBinFolderId :: Lens' User (Maybe Text) Source #

The ID of the recycle bin folder.