#include <comment_reply.h>
A comment on a file in Google Drive.
◆ CommentReply() [1/2]
google_drive_api::CommentReply::CommentReply |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ CommentReply() [2/2]
google_drive_api::CommentReply::CommentReply |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~CommentReply()
google_drive_api::CommentReply::~CommentReply |
( |
| ) |
|
|
virtual |
◆ clear_author()
void google_drive_api::CommentReply::clear_author |
( |
| ) |
|
|
inline |
Clears the 'author
' attribute.
◆ clear_content()
void google_drive_api::CommentReply::clear_content |
( |
| ) |
|
|
inline |
Clears the 'content
' attribute.
◆ clear_created_date()
void google_drive_api::CommentReply::clear_created_date |
( |
| ) |
|
|
inline |
Clears the 'createdDate
' attribute.
◆ clear_deleted()
void google_drive_api::CommentReply::clear_deleted |
( |
| ) |
|
|
inline |
Clears the 'deleted
' attribute.
◆ clear_html_content()
void google_drive_api::CommentReply::clear_html_content |
( |
| ) |
|
|
inline |
Clears the 'htmlContent
' attribute.
◆ clear_kind()
void google_drive_api::CommentReply::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_modified_date()
void google_drive_api::CommentReply::clear_modified_date |
( |
| ) |
|
|
inline |
Clears the 'modifiedDate
' attribute.
◆ clear_reply_id()
void google_drive_api::CommentReply::clear_reply_id |
( |
| ) |
|
|
inline |
Clears the 'replyId
' attribute.
◆ clear_verb()
void google_drive_api::CommentReply::clear_verb |
( |
| ) |
|
|
inline |
Clears the 'verb
' attribute.
◆ get_author()
const User google_drive_api::CommentReply::get_author |
( |
| ) |
const |
Get a reference to the value of the 'author
' attribute.
◆ get_content()
const StringPiece google_drive_api::CommentReply::get_content |
( |
| ) |
const |
|
inline |
Get the value of the 'content
' attribute.
◆ get_created_date()
client::DateTime google_drive_api::CommentReply::get_created_date |
( |
| ) |
const |
|
inline |
Get the value of the 'createdDate
' attribute.
◆ get_deleted()
bool google_drive_api::CommentReply::get_deleted |
( |
| ) |
const |
|
inline |
Get the value of the 'deleted
' attribute.
◆ get_html_content()
const StringPiece google_drive_api::CommentReply::get_html_content |
( |
| ) |
const |
|
inline |
Get the value of the 'htmlContent
' attribute.
◆ get_kind()
const StringPiece google_drive_api::CommentReply::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_modified_date()
client::DateTime google_drive_api::CommentReply::get_modified_date |
( |
| ) |
const |
|
inline |
Get the value of the 'modifiedDate
' attribute.
◆ get_reply_id()
const StringPiece google_drive_api::CommentReply::get_reply_id |
( |
| ) |
const |
|
inline |
Get the value of the 'replyId
' attribute.
◆ get_verb()
const StringPiece google_drive_api::CommentReply::get_verb |
( |
| ) |
const |
|
inline |
Get the value of the 'verb
' attribute.
◆ GetTypeName()
const StringPiece google_drive_api::CommentReply::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_author()
bool google_drive_api::CommentReply::has_author |
( |
| ) |
const |
|
inline |
Determine if the 'author
' attribute was set.
- Returns
- true if the '
author
' attribute was set.
◆ has_content()
bool google_drive_api::CommentReply::has_content |
( |
| ) |
const |
|
inline |
Determine if the 'content
' attribute was set.
- Returns
- true if the '
content
' attribute was set.
◆ has_created_date()
bool google_drive_api::CommentReply::has_created_date |
( |
| ) |
const |
|
inline |
Determine if the 'createdDate
' attribute was set.
- Returns
- true if the '
createdDate
' attribute was set.
◆ has_deleted()
bool google_drive_api::CommentReply::has_deleted |
( |
| ) |
const |
|
inline |
Determine if the 'deleted
' attribute was set.
- Returns
- true if the '
deleted
' attribute was set.
◆ has_html_content()
bool google_drive_api::CommentReply::has_html_content |
( |
| ) |
const |
|
inline |
Determine if the 'htmlContent
' attribute was set.
- Returns
- true if the '
htmlContent
' attribute was set.
◆ has_kind()
bool google_drive_api::CommentReply::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_modified_date()
bool google_drive_api::CommentReply::has_modified_date |
( |
| ) |
const |
|
inline |
Determine if the 'modifiedDate
' attribute was set.
- Returns
- true if the '
modifiedDate
' attribute was set.
◆ has_reply_id()
bool google_drive_api::CommentReply::has_reply_id |
( |
| ) |
const |
|
inline |
Determine if the 'replyId
' attribute was set.
- Returns
- true if the '
replyId
' attribute was set.
◆ has_verb()
bool google_drive_api::CommentReply::has_verb |
( |
| ) |
const |
|
inline |
Determine if the 'verb
' attribute was set.
- Returns
- true if the '
verb
' attribute was set.
◆ mutable_author()
User google_drive_api::CommentReply::mutable_author |
( |
| ) |
|
Gets a reference to a mutable value of the 'author
' property.
The author of the reply. The author's email address and permission ID will not be populated.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_content()
void google_drive_api::CommentReply::set_content |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'content
' attribute.
The plain text content used to create this reply. This is not HTML safe and should only be used as a starting point to make edits to a reply's content. This field is required on inserts if no verb is specified (resolve/reopen).
- Parameters
-
◆ set_created_date()
void google_drive_api::CommentReply::set_created_date |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'createdDate
' attribute.
The date when this reply was first created.
- Parameters
-
◆ set_deleted()
void google_drive_api::CommentReply::set_deleted |
( |
bool |
value | ) |
|
|
inline |
Change the 'deleted
' attribute.
Whether this reply has been deleted. If a reply has been deleted the content will be cleared and this will only represent a reply that once existed.
- Parameters
-
◆ set_html_content()
void google_drive_api::CommentReply::set_html_content |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'htmlContent
' attribute.
HTML formatted content for this reply.
- Parameters
-
◆ set_kind()
void google_drive_api::CommentReply::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
This is always drive::commentReply.
- Parameters
-
◆ set_modified_date()
void google_drive_api::CommentReply::set_modified_date |
( |
client::DateTime |
value | ) |
|
|
inline |
Change the 'modifiedDate
' attribute.
The date when this reply was last modified.
- Parameters
-
◆ set_reply_id()
void google_drive_api::CommentReply::set_reply_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'replyId
' attribute.
The ID of the reply.
- Parameters
-
◆ set_verb()
void google_drive_api::CommentReply::set_verb |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'verb
' attribute.
The action this reply performed to the parent comment. When creating a new reply this is the action to be perform to the parent comment. Possible values are:
- "resolve"
- To resolve a comment.
- "reopen"
- To reopen (un-resolve) a comment.
- Parameters
-
The documentation for this class was generated from the following files: