#[non_exhaustive]pub struct DocumentReviewCommentSourceBuilder { /* private fields */ }
Expand description
A builder for DocumentReviewCommentSource
.
Implementations§
source§impl DocumentReviewCommentSourceBuilder
impl DocumentReviewCommentSourceBuilder
sourcepub fn type(self, input: DocumentReviewCommentType) -> Self
pub fn type(self, input: DocumentReviewCommentType) -> Self
The type of information added to a review request. Currently, only the value Comment
is supported.
sourcepub fn set_type(self, input: Option<DocumentReviewCommentType>) -> Self
pub fn set_type(self, input: Option<DocumentReviewCommentType>) -> Self
The type of information added to a review request. Currently, only the value Comment
is supported.
sourcepub fn get_type(&self) -> &Option<DocumentReviewCommentType>
pub fn get_type(&self) -> &Option<DocumentReviewCommentType>
The type of information added to a review request. Currently, only the value Comment
is supported.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The content of a comment entered by a user who requests a review of a new document version, or who reviews the new version.
sourcepub fn build(self) -> DocumentReviewCommentSource
pub fn build(self) -> DocumentReviewCommentSource
Consumes the builder and constructs a DocumentReviewCommentSource
.
Trait Implementations§
source§impl Clone for DocumentReviewCommentSourceBuilder
impl Clone for DocumentReviewCommentSourceBuilder
source§fn clone(&self) -> DocumentReviewCommentSourceBuilder
fn clone(&self) -> DocumentReviewCommentSourceBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DocumentReviewCommentSourceBuilder
impl Default for DocumentReviewCommentSourceBuilder
source§fn default() -> DocumentReviewCommentSourceBuilder
fn default() -> DocumentReviewCommentSourceBuilder
source§impl PartialEq for DocumentReviewCommentSourceBuilder
impl PartialEq for DocumentReviewCommentSourceBuilder
source§fn eq(&self, other: &DocumentReviewCommentSourceBuilder) -> bool
fn eq(&self, other: &DocumentReviewCommentSourceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.