discovery  v1
Public Member Functions | Static Public Member Functions | List of all members
google_discovery_api::JsonSchema::JsonSchemaAnnotations Class Reference

#include <json_schema.h>

Inheritance diagram for google_discovery_api::JsonSchema::JsonSchemaAnnotations:

Public Member Functions

 JsonSchemaAnnotations (const Json::Value &storage)
 
 JsonSchemaAnnotations (Json::Value *storage)
 
virtual ~JsonSchemaAnnotations ()
 
const StringPiece GetTypeName () const
 
bool has_required () const
 
void clear_required ()
 
const client::JsonCppArray< string > get_required () const
 
client::JsonCppArray< string > mutable_required ()
 

Static Public Member Functions

static JsonSchemaAnnotationsNew ()
 

Detailed Description

Additional information about this property.

Constructor & Destructor Documentation

◆ JsonSchemaAnnotations() [1/2]

google_discovery_api::JsonSchema::JsonSchemaAnnotations::JsonSchemaAnnotations ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ JsonSchemaAnnotations() [2/2]

google_discovery_api::JsonSchema::JsonSchemaAnnotations::JsonSchemaAnnotations ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~JsonSchemaAnnotations()

google_discovery_api::JsonSchema::JsonSchemaAnnotations::~JsonSchemaAnnotations ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_required()

void google_discovery_api::JsonSchema::JsonSchemaAnnotations::clear_required ( )
inline

Clears the 'required' attribute.

◆ get_required()

const client::JsonCppArray<string > google_discovery_api::JsonSchema::JsonSchemaAnnotations::get_required ( ) const
inline

Get a reference to the value of the 'required' attribute.

◆ GetTypeName()

const StringPiece google_discovery_api::JsonSchema::JsonSchemaAnnotations::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_discovery_api::JsonSchemaAnnotations

◆ has_required()

bool google_discovery_api::JsonSchema::JsonSchemaAnnotations::has_required ( ) const
inline

Determine if the 'required' attribute was set.

Returns
true if the 'required' attribute was set.

◆ mutable_required()

client::JsonCppArray<string > google_discovery_api::JsonSchema::JsonSchemaAnnotations::mutable_required ( )
inline

Gets a reference to a mutable value of the 'required' property.

A list of methods for which this property is required on requests.

Returns
The result can be modified to change the attribute value.

◆ New()

JsonSchema::JsonSchemaAnnotations * google_discovery_api::JsonSchema::JsonSchemaAnnotations::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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