drive  v2
Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::CommentReply Class Reference

#include <comment_reply.h>

Inheritance diagram for google_drive_api::CommentReply:

Public Member Functions

 CommentReply (const Json::Value &storage)
 
 CommentReply (Json::Value *storage)
 
virtual ~CommentReply ()
 
const StringPiece GetTypeName () const
 
bool has_author () const
 
void clear_author ()
 
const User get_author () const
 
User mutable_author ()
 
bool has_content () const
 
void clear_content ()
 
const StringPiece get_content () const
 
void set_content (const StringPiece &value)
 
bool has_created_date () const
 
void clear_created_date ()
 
client::DateTime get_created_date () const
 
void set_created_date (client::DateTime value)
 
bool has_deleted () const
 
void clear_deleted ()
 
bool get_deleted () const
 
void set_deleted (bool value)
 
bool has_html_content () const
 
void clear_html_content ()
 
const StringPiece get_html_content () const
 
void set_html_content (const StringPiece &value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_modified_date () const
 
void clear_modified_date ()
 
client::DateTime get_modified_date () const
 
void set_modified_date (client::DateTime value)
 
bool has_reply_id () const
 
void clear_reply_id ()
 
const StringPiece get_reply_id () const
 
void set_reply_id (const StringPiece &value)
 
bool has_verb () const
 
void clear_verb ()
 
const StringPiece get_verb () const
 
void set_verb (const StringPiece &value)
 

Static Public Member Functions

static CommentReplyNew ()
 

Detailed Description

A comment on a file in Google Drive.

Constructor & Destructor Documentation

◆ CommentReply() [1/2]

google_drive_api::CommentReply::CommentReply ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe 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]storageThe underlying data storage for this instance.

◆ ~CommentReply()

google_drive_api::CommentReply::~CommentReply ( )
virtual

Standard destructor.

Member Function Documentation

◆ 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

Returns a string denoting the type of this data object.

Returns
google_drive_api::CommentReply

◆ 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()

CommentReply * google_drive_api::CommentReply::New ( )
static

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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ set_kind()

void google_drive_api::CommentReply::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always drive::commentReply.

Parameters
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

◆ 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
[in]valueThe new value.

The documentation for this class was generated from the following files: