CreateCommentRequest

public struct CreateCommentRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

    Declaration

    Swift

    public let authenticationToken: String?
  • The ID of the document.

    Declaration

    Swift

    public let documentId: String
  • Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.

    Declaration

    Swift

    public let notifyCollaborators: Bool?
  • The ID of the parent comment.

    Declaration

    Swift

    public let parentId: String?
  • The text of the comment.

    Declaration

    Swift

    public let text: String
  • The ID of the root comment in the thread.

    Declaration

    Swift

    public let threadId: String?
  • The ID of the document version.

    Declaration

    Swift

    public let versionId: String
  • The visibility of the comment. Options are either PRIVATE, where the comment is visible only to the comment author and document owner and co-owners, or PUBLIC, where the comment is visible to document owners, co-owners, and contributors.

    Declaration

    Swift

    public let visibility: CommentVisibilityType?
  • Undocumented

    Declaration

    Swift

    public init(authenticationToken: String? = nil, documentId: String, notifyCollaborators: Bool? = nil, parentId: String? = nil, text: String, threadId: String? = nil, versionId: String, visibility: CommentVisibilityType? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws