AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

UserMetadata

import "github.com/aws/aws-sdk-go/service/workdocs"

type UserMetadata struct { EmailAddress *string `min:"1" type:"string"` GivenName *string `min:"1" type:"string"` Id *string `min:"1" type:"string"` Surname *string `min:"1" type:"string"` Username *string `min:"1" type:"string"` }

Describes the metadata of the user.

EmailAddress

Type: *string

The email address of the user.

GivenName

Type: *string

The given name of the user before a rename operation.

Id

Type: *string

The ID of the user.

Surname

Type: *string

The surname of the user.

Username

Type: *string

The name of the user.

Method

GoString

func (s UserMetadata) GoString() string

GoString returns the string representation

SetEmailAddress

func (s *UserMetadata) SetEmailAddress(v string) *UserMetadata

SetEmailAddress sets the EmailAddress field's value.

SetGivenName

func (s *UserMetadata) SetGivenName(v string) *UserMetadata

SetGivenName sets the GivenName field's value.

SetId

func (s *UserMetadata) SetId(v string) *UserMetadata

SetId sets the Id field's value.

SetSurname

func (s *UserMetadata) SetSurname(v string) *UserMetadata

SetSurname sets the Surname field's value.

SetUsername

func (s *UserMetadata) SetUsername(v string) *UserMetadata

SetUsername sets the Username field's value.

String

func (s UserMetadata) String() string

String returns the string representation

On this page: