drive
v2
|
#include <comment.h>
Public Member Functions | |
CommentContext (const Json::Value &storage) | |
CommentContext (Json::Value *storage) | |
virtual | ~CommentContext () |
const StringPiece | GetTypeName () const |
bool | has_type () const |
void | clear_type () |
const StringPiece | get_type () const |
void | set_type (const StringPiece &value) |
bool | has_value () const |
void | clear_value () |
const StringPiece | get_value () const |
void | set_value (const StringPiece &value) |
Static Public Member Functions | |
static CommentContext * | New () |
The context of the file which is being commented on.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'type
' attribute.
|
inline |
Clears the 'value
' attribute.
|
inline |
Get the value of the 'type
' attribute.
|
inline |
Get the value of the 'value
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::CommentContext
|
inline |
Determine if the 'type
' attribute was set.
type
' attribute was set.
|
inline |
Determine if the 'value
' attribute was set.
value
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'type
' attribute.
The MIME type of the context snippet.
[in] | value | The new value. |
|
inline |
Change the 'value
' attribute.
Data representation of the segment of the file being commented on. In the case of a text file for example, this would be the actual text that the comment is about.
[in] | value | The new value. |