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.

CommentMetadata

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

type CommentMetadata struct { CommentId *string `min:"1" type:"string"` CommentStatus *string `type:"string" enum:"CommentStatusType"` Contributor *User `type:"structure"` CreatedTimestamp *time.Time `type:"timestamp"` RecipientId *string `min:"1" type:"string"` }

Describes the metadata of a comment.

CommentId

Type: *string

The ID of the comment.

CommentStatus

Type: *string

The status of the comment.

Contributor

Describes a user.

CreatedTimestamp

Type: *time.Time

The timestamp that the comment was created.

RecipientId

Type: *string

The ID of the user being replied to.

Method

GoString

func (s CommentMetadata) GoString() string

GoString returns the string representation

SetCommentId

func (s *CommentMetadata) SetCommentId(v string) *CommentMetadata

SetCommentId sets the CommentId field's value.

SetCommentStatus

func (s *CommentMetadata) SetCommentStatus(v string) *CommentMetadata

SetCommentStatus sets the CommentStatus field's value.

SetContributor

func (s *CommentMetadata) SetContributor(v *User) *CommentMetadata

SetContributor sets the Contributor field's value.

SetCreatedTimestamp

func (s *CommentMetadata) SetCreatedTimestamp(v time.Time) *CommentMetadata

SetCreatedTimestamp sets the CreatedTimestamp field's value.

SetRecipientId

func (s *CommentMetadata) SetRecipientId(v string) *CommentMetadata

SetRecipientId sets the RecipientId field's value.

String

func (s CommentMetadata) String() string

String returns the string representation

On this page: