#[non_exhaustive]pub struct CreateCommentInput {
pub authentication_token: Option<String>,
pub document_id: Option<String>,
pub version_id: Option<String>,
pub parent_id: Option<String>,
pub thread_id: Option<String>,
pub text: Option<String>,
pub visibility: Option<CommentVisibilityType>,
pub notify_collaborators: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.authentication_token: Option<String>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
document_id: Option<String>
The ID of the document.
version_id: Option<String>
The ID of the document version.
parent_id: Option<String>
The ID of the parent comment.
thread_id: Option<String>
The ID of the root comment in the thread.
text: Option<String>
The text of the comment.
visibility: Option<CommentVisibilityType>
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.
notify_collaborators: Option<bool>
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
Implementations§
source§impl CreateCommentInput
impl CreateCommentInput
sourcepub fn authentication_token(&self) -> Option<&str>
pub fn authentication_token(&self) -> Option<&str>
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
sourcepub fn document_id(&self) -> Option<&str>
pub fn document_id(&self) -> Option<&str>
The ID of the document.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The ID of the document version.
sourcepub fn visibility(&self) -> Option<&CommentVisibilityType>
pub fn visibility(&self) -> Option<&CommentVisibilityType>
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.
sourcepub fn notify_collaborators(&self) -> Option<bool>
pub fn notify_collaborators(&self) -> Option<bool>
Set this parameter to TRUE to send an email out to the document collaborators after the comment is created.
source§impl CreateCommentInput
impl CreateCommentInput
sourcepub fn builder() -> CreateCommentInputBuilder
pub fn builder() -> CreateCommentInputBuilder
Creates a new builder-style object to manufacture CreateCommentInput
.
Trait Implementations§
source§impl Clone for CreateCommentInput
impl Clone for CreateCommentInput
source§fn clone(&self) -> CreateCommentInput
fn clone(&self) -> CreateCommentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCommentInput
impl Debug for CreateCommentInput
source§impl PartialEq for CreateCommentInput
impl PartialEq for CreateCommentInput
source§fn eq(&self, other: &CreateCommentInput) -> bool
fn eq(&self, other: &CreateCommentInput) -> bool
self
and other
values to be equal, and is used
by ==
.