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.UserMetadata

Description

 
Synopsis

Documentation

data UserMetadata Source #

Describes the metadata of the user.

See: newUserMetadata smart constructor.

Constructors

UserMetadata' 

Fields

Instances

Instances details
Eq UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

Read UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

Show UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

Generic UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

Associated Types

type Rep UserMetadata :: Type -> Type #

NFData UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

Methods

rnf :: UserMetadata -> () #

Hashable UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

FromJSON UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

type Rep UserMetadata Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.UserMetadata

type Rep UserMetadata = D1 ('MetaData "UserMetadata" "Amazonka.WorkDocs.Types.UserMetadata" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "UserMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "givenName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "username") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "emailAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "surname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newUserMetadata :: UserMetadata Source #

Create a value of UserMetadata 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:UserMetadata', userMetadata_givenName - The given name of the user before a rename operation.

$sel:username:UserMetadata', userMetadata_username - The name of the user.

$sel:emailAddress:UserMetadata', userMetadata_emailAddress - The email address of the user.

$sel:id:UserMetadata', userMetadata_id - The ID of the user.

$sel:surname:UserMetadata', userMetadata_surname - The surname of the user.

userMetadata_givenName :: Lens' UserMetadata (Maybe Text) Source #

The given name of the user before a rename operation.

userMetadata_emailAddress :: Lens' UserMetadata (Maybe Text) Source #

The email address of the user.