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.

Delegate

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

type Delegate struct { Id *string `type:"string" required:"true"` Type *string `type:"string" required:"true" enum:"MemberType"` }

The name of the attribute, which is one of the values defined in the UserAttribute enumeration.

Id

Type: *string

The identifier for the user or group is associated as the resource's delegate.

Id is a required field

Type

Type: *string

The type of the delegate: user or group.

Type is a required field

Method

GoString

func (s Delegate) GoString() string

GoString returns the string representation

SetId

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

SetId sets the Id field's value.

SetType

func (s *Delegate) SetType(v string) *Delegate

SetType sets the Type field's value.

String

func (s Delegate) String() string

String returns the string representation

On this page: