compute
v1
|
#include <reference.h>
Public Member Functions | |
Reference (const Json::Value &storage) | |
Reference (Json::Value *storage) | |
virtual | ~Reference () |
const StringPiece | GetTypeName () const |
bool | has_kind () const |
void | clear_kind () |
const StringPiece | get_kind () const |
void | set_kind (const StringPiece &value) |
bool | has_reference_type () const |
void | clear_reference_type () |
const StringPiece | get_reference_type () const |
void | set_reference_type (const StringPiece &value) |
bool | has_referrer () const |
void | clear_referrer () |
const StringPiece | get_referrer () const |
void | set_referrer (const StringPiece &value) |
bool | has_target () const |
void | clear_target () |
const StringPiece | get_target () const |
void | set_target (const StringPiece &value) |
Static Public Member Functions | |
static Reference * | New () |
Represents a reference to a resource.
|
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 'kind
' attribute.
|
inline |
Clears the 'referenceType
' attribute.
|
inline |
Clears the 'referrer
' attribute.
|
inline |
Clears the 'target
' attribute.
|
inline |
Get the value of the 'kind
' attribute.
|
inline |
Get the value of the 'referenceType
' attribute.
|
inline |
Get the value of the 'referrer
' attribute.
|
inline |
Get the value of the 'target
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'kind
' attribute was set.
kind
' attribute was set.
|
inline |
Determine if the 'referenceType
' attribute was set.
referenceType
' attribute was set.
|
inline |
Determine if the 'referrer
' attribute was set.
referrer
' attribute was set.
|
inline |
Determine if the 'target
' attribute was set.
target
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind
' attribute.
[Output Only] Type of the resource. Always compute::reference for references.
[in] | value | The new value. |
|
inline |
Change the 'referenceType
' attribute.
A description of the reference type with no implied semantics. Possible values include:
[in] | value | The new value. |
|
inline |
Change the 'referrer
' attribute.
URL of the resource which refers to the target.
[in] | value | The new value. |
|
inline |
Change the 'target
' attribute.
URL of the resource to which this reference points.
[in] | value | The new value. |