webfonts  v1
Public Member Functions | Static Public Member Functions | List of all members
google_webfonts_api::Webfont Class Reference

#include <webfont.h>

Inheritance diagram for google_webfonts_api::Webfont:

Public Member Functions

 Webfont (const Json::Value &storage)
 
 Webfont (Json::Value *storage)
 
virtual ~Webfont ()
 
const StringPiece GetTypeName () const
 
bool has_category () const
 
void clear_category ()
 
const StringPiece get_category () const
 
void set_category (const StringPiece &value)
 
bool has_family () const
 
void clear_family ()
 
const StringPiece get_family () const
 
void set_family (const StringPiece &value)
 
bool has_files () const
 
void clear_files ()
 
const client::JsonCppAssociativeArray< string > get_files () const
 
client::JsonCppAssociativeArray< string > mutable_files ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_last_modified () const
 
void clear_last_modified ()
 
client::Date get_last_modified () const
 
void set_last_modified (client::Date value)
 
bool has_subsets () const
 
void clear_subsets ()
 
const client::JsonCppArray< string > get_subsets () const
 
client::JsonCppArray< string > mutable_subsets ()
 
bool has_variants () const
 
void clear_variants ()
 
const client::JsonCppArray< string > get_variants () const
 
client::JsonCppArray< string > mutable_variants ()
 
bool has_version () const
 
void clear_version ()
 
const StringPiece get_version () const
 
void set_version (const StringPiece &value)
 

Static Public Member Functions

static WebfontNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ Webfont() [1/2]

google_webfonts_api::Webfont::Webfont ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Webfont() [2/2]

google_webfonts_api::Webfont::Webfont ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Webfont()

google_webfonts_api::Webfont::~Webfont ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_category()

void google_webfonts_api::Webfont::clear_category ( )
inline

Clears the 'category' attribute.

◆ clear_family()

void google_webfonts_api::Webfont::clear_family ( )
inline

Clears the 'family' attribute.

◆ clear_files()

void google_webfonts_api::Webfont::clear_files ( )
inline

Clears the 'files' attribute.

◆ clear_kind()

void google_webfonts_api::Webfont::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_last_modified()

void google_webfonts_api::Webfont::clear_last_modified ( )
inline

Clears the 'lastModified' attribute.

◆ clear_subsets()

void google_webfonts_api::Webfont::clear_subsets ( )
inline

Clears the 'subsets' attribute.

◆ clear_variants()

void google_webfonts_api::Webfont::clear_variants ( )
inline

Clears the 'variants' attribute.

◆ clear_version()

void google_webfonts_api::Webfont::clear_version ( )
inline

Clears the 'version' attribute.

◆ get_category()

const StringPiece google_webfonts_api::Webfont::get_category ( ) const
inline

Get the value of the 'category' attribute.

◆ get_family()

const StringPiece google_webfonts_api::Webfont::get_family ( ) const
inline

Get the value of the 'family' attribute.

◆ get_files()

const client::JsonCppAssociativeArray<string > google_webfonts_api::Webfont::get_files ( ) const
inline

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

◆ get_kind()

const StringPiece google_webfonts_api::Webfont::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_last_modified()

client::Date google_webfonts_api::Webfont::get_last_modified ( ) const
inline

Get the value of the 'lastModified' attribute.

◆ get_subsets()

const client::JsonCppArray<string > google_webfonts_api::Webfont::get_subsets ( ) const
inline

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

◆ get_variants()

const client::JsonCppArray<string > google_webfonts_api::Webfont::get_variants ( ) const
inline

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

◆ get_version()

const StringPiece google_webfonts_api::Webfont::get_version ( ) const
inline

Get the value of the 'version' attribute.

◆ GetTypeName()

const StringPiece google_webfonts_api::Webfont::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_webfonts_api::Webfont

◆ has_category()

bool google_webfonts_api::Webfont::has_category ( ) const
inline

Determine if the 'category' attribute was set.

Returns
true if the 'category' attribute was set.

◆ has_family()

bool google_webfonts_api::Webfont::has_family ( ) const
inline

Determine if the 'family' attribute was set.

Returns
true if the 'family' attribute was set.

◆ has_files()

bool google_webfonts_api::Webfont::has_files ( ) const
inline

Determine if the 'files' attribute was set.

Returns
true if the 'files' attribute was set.

◆ has_kind()

bool google_webfonts_api::Webfont::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_last_modified()

bool google_webfonts_api::Webfont::has_last_modified ( ) const
inline

Determine if the 'lastModified' attribute was set.

Returns
true if the 'lastModified' attribute was set.

◆ has_subsets()

bool google_webfonts_api::Webfont::has_subsets ( ) const
inline

Determine if the 'subsets' attribute was set.

Returns
true if the 'subsets' attribute was set.

◆ has_variants()

bool google_webfonts_api::Webfont::has_variants ( ) const
inline

Determine if the 'variants' attribute was set.

Returns
true if the 'variants' attribute was set.

◆ has_version()

bool google_webfonts_api::Webfont::has_version ( ) const
inline

Determine if the 'version' attribute was set.

Returns
true if the 'version' attribute was set.

◆ mutable_files()

client::JsonCppAssociativeArray<string > google_webfonts_api::Webfont::mutable_files ( )
inline

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

The font files (with all supported scripts) for each one of the available variants, as a key : value map.

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

◆ mutable_subsets()

client::JsonCppArray<string > google_webfonts_api::Webfont::mutable_subsets ( )
inline

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

The scripts supported by the font.

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

◆ mutable_variants()

client::JsonCppArray<string > google_webfonts_api::Webfont::mutable_variants ( )
inline

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

The available variants for the font.

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

◆ New()

Webfont * google_webfonts_api::Webfont::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_category()

void google_webfonts_api::Webfont::set_category ( const StringPiece &  value)
inline

Change the 'category' attribute.

The category of the font.

Parameters
[in]valueThe new value.

◆ set_family()

void google_webfonts_api::Webfont::set_family ( const StringPiece &  value)
inline

Change the 'family' attribute.

The name of the font.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_webfonts_api::Webfont::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This kind represents a webfont object in the webfonts service.

Parameters
[in]valueThe new value.

◆ set_last_modified()

void google_webfonts_api::Webfont::set_last_modified ( client::Date  value)
inline

Change the 'lastModified' attribute.

The date (format "yyyy-MM-dd") the font was modified for the last time.

Parameters
[in]valueThe new value.

◆ set_version()

void google_webfonts_api::Webfont::set_version ( const StringPiece &  value)
inline

Change the 'version' attribute.

The font version.

Parameters
[in]valueThe new value.

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