analytics
v3
|
#include <segment.h>
Public Member Functions | |
Segment (const Json::Value &storage) | |
Segment (Json::Value *storage) | |
virtual | ~Segment () |
const StringPiece | GetTypeName () const |
bool | has_created () const |
void | clear_created () |
client::DateTime | get_created () const |
void | set_created (client::DateTime value) |
bool | has_definition () const |
void | clear_definition () |
const StringPiece | get_definition () const |
void | set_definition (const StringPiece &value) |
bool | has_id () const |
void | clear_id () |
const StringPiece | get_id () const |
void | set_id (const StringPiece &value) |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_name () const |
void | clear_name () |
const StringPiece | get_name () const |
void | set_name (const StringPiece &value) |
bool | has_segment_id () const |
void | clear_segment_id () |
const StringPiece | get_segment_id () const |
void | set_segment_id (const StringPiece &value) |
bool | has_self_link () const |
void | clear_self_link () |
const StringPiece | get_self_link () const |
void | set_self_link (const StringPiece &value) |
bool | has_type () const |
void | clear_type () |
const StringPiece | get_type () const |
void | set_type (const StringPiece &value) |
bool | has_updated () const |
void | clear_updated () |
client::DateTime | get_updated () const |
void | set_updated (client::DateTime value) |
Static Public Member Functions | |
static Segment * | New () |
JSON template for an Analytics segment.
|
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 'created
' attribute.
|
inline |
Clears the 'definition
' attribute.
|
inline |
Clears the 'id
' attribute.
|
inline |
Clears the 'kind
' attribute.
|
inline |
Clears the 'name
' attribute.
|
inline |
Clears the 'segmentId
' attribute.
|
inline |
Clears the 'selfLink
' attribute.
|
inline |
Clears the 'type
' attribute.
|
inline |
Clears the 'updated
' attribute.
|
inline |
Get the value of the 'created
' attribute.
|
inline |
Get the value of the 'definition
' attribute.
|
inline |
Get the value of the 'id
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'name
' attribute.
|
inline |
Get the value of the 'segmentId
' attribute.
|
inline |
Get the value of the 'selfLink
' attribute.
|
inline |
Get the value of the 'type
' attribute.
|
inline |
Get the value of the 'updated
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'created
' attribute was set.
created
' attribute was set.
|
inline |
Determine if the 'definition
' attribute was set.
definition
' attribute was set.
|
inline |
Determine if the 'id
' attribute was set.
id
' attribute was set.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'name
' attribute was set.
name
' attribute was set.
|
inline |
Determine if the 'segmentId
' attribute was set.
segmentId
' attribute was set.
|
inline |
Determine if the 'selfLink
' attribute was set.
selfLink
' attribute was set.
|
inline |
Determine if the 'type
' attribute was set.
type
' attribute was set.
|
inline |
Determine if the 'updated
' attribute was set.
updated
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'created
' attribute.
Time the segment was created.
[in] | value | The new value. |
|
inline |
|
inline |
|
inline |
Change the 'kind
' attribute.
Resource type for Analytics segment.
[in] | value | The new value. |
|
inline |
|
inline |
Change the 'segmentId
' attribute.
Segment ID. Can be used with the 'segment' parameter in Core Reporting API.
[in] | value | The new value. |
|
inline |
Change the 'selfLink
' attribute.
Link for this segment.
[in] | value | The new value. |
|
inline |
Change the 'type
' attribute.
Type for a segment. Possible values are "BUILT_IN" or "CUSTOM".
[in] | value | The new value. |
|
inline |
Change the 'updated
' attribute.
Time the segment was last modified.
[in] | value | The new value. |