books  v1
Public Member Functions | Static Public Member Functions | List of all members
google_books_api::BooksSubscriptionReleaseInfo Class Reference

#include <books_subscription_release_info.h>

Inheritance diagram for google_books_api::BooksSubscriptionReleaseInfo:

Public Member Functions

 BooksSubscriptionReleaseInfo (const Json::Value &storage)
 
 BooksSubscriptionReleaseInfo (Json::Value *storage)
 
virtual ~BooksSubscriptionReleaseInfo ()
 
const StringPiece GetTypeName () const
 
bool has_amount_in_micros () const
 
void clear_amount_in_micros ()
 
int64 get_amount_in_micros () const
 
void set_amount_in_micros (int64 value)
 
bool has_currency_code () const
 
void clear_currency_code ()
 
const StringPiece get_currency_code () const
 
void set_currency_code (const StringPiece &value)
 
bool has_release_number () const
 
void clear_release_number ()
 
const StringPiece get_release_number () const
 
void set_release_number (const StringPiece &value)
 
bool has_release_timestamp_us () const
 
void clear_release_timestamp_us ()
 
int64 get_release_timestamp_us () const
 
void set_release_timestamp_us (int64 value)
 

Static Public Member Functions

static BooksSubscriptionReleaseInfoNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ BooksSubscriptionReleaseInfo() [1/2]

google_books_api::BooksSubscriptionReleaseInfo::BooksSubscriptionReleaseInfo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ BooksSubscriptionReleaseInfo() [2/2]

google_books_api::BooksSubscriptionReleaseInfo::BooksSubscriptionReleaseInfo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~BooksSubscriptionReleaseInfo()

google_books_api::BooksSubscriptionReleaseInfo::~BooksSubscriptionReleaseInfo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_amount_in_micros()

void google_books_api::BooksSubscriptionReleaseInfo::clear_amount_in_micros ( )
inline

Clears the 'amountInMicros' attribute.

◆ clear_currency_code()

void google_books_api::BooksSubscriptionReleaseInfo::clear_currency_code ( )
inline

Clears the 'currencyCode' attribute.

◆ clear_release_number()

void google_books_api::BooksSubscriptionReleaseInfo::clear_release_number ( )
inline

Clears the 'releaseNumber' attribute.

◆ clear_release_timestamp_us()

void google_books_api::BooksSubscriptionReleaseInfo::clear_release_timestamp_us ( )
inline

Clears the 'releaseTimestampUs' attribute.

◆ get_amount_in_micros()

int64 google_books_api::BooksSubscriptionReleaseInfo::get_amount_in_micros ( ) const
inline

Get the value of the 'amountInMicros' attribute.

◆ get_currency_code()

const StringPiece google_books_api::BooksSubscriptionReleaseInfo::get_currency_code ( ) const
inline

Get the value of the 'currencyCode' attribute.

◆ get_release_number()

const StringPiece google_books_api::BooksSubscriptionReleaseInfo::get_release_number ( ) const
inline

Get the value of the 'releaseNumber' attribute.

◆ get_release_timestamp_us()

int64 google_books_api::BooksSubscriptionReleaseInfo::get_release_timestamp_us ( ) const
inline

Get the value of the 'releaseTimestampUs' attribute.

◆ GetTypeName()

const StringPiece google_books_api::BooksSubscriptionReleaseInfo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_books_api::BooksSubscriptionReleaseInfo

◆ has_amount_in_micros()

bool google_books_api::BooksSubscriptionReleaseInfo::has_amount_in_micros ( ) const
inline

Determine if the 'amountInMicros' attribute was set.

Returns
true if the 'amountInMicros' attribute was set.

◆ has_currency_code()

bool google_books_api::BooksSubscriptionReleaseInfo::has_currency_code ( ) const
inline

Determine if the 'currencyCode' attribute was set.

Returns
true if the 'currencyCode' attribute was set.

◆ has_release_number()

bool google_books_api::BooksSubscriptionReleaseInfo::has_release_number ( ) const
inline

Determine if the 'releaseNumber' attribute was set.

Returns
true if the 'releaseNumber' attribute was set.

◆ has_release_timestamp_us()

bool google_books_api::BooksSubscriptionReleaseInfo::has_release_timestamp_us ( ) const
inline

Determine if the 'releaseTimestampUs' attribute was set.

Returns
true if the 'releaseTimestampUs' attribute was set.

◆ New()

BooksSubscriptionReleaseInfo * google_books_api::BooksSubscriptionReleaseInfo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_amount_in_micros()

void google_books_api::BooksSubscriptionReleaseInfo::set_amount_in_micros ( int64  value)
inline

Change the 'amountInMicros' attribute.

Amount in micros of the specified currency code.

Parameters
[in]valueThe new value.

◆ set_currency_code()

void google_books_api::BooksSubscriptionReleaseInfo::set_currency_code ( const StringPiece &  value)
inline

Change the 'currencyCode' attribute.

Currency code of the amount.

Parameters
[in]valueThe new value.

◆ set_release_number()

void google_books_api::BooksSubscriptionReleaseInfo::set_release_number ( const StringPiece &  value)
inline

Change the 'releaseNumber' attribute.

The release number of this issue/volume/book.

Parameters
[in]valueThe new value.

◆ set_release_timestamp_us()

void google_books_api::BooksSubscriptionReleaseInfo::set_release_timestamp_us ( int64  value)
inline

Change the 'releaseTimestampUs' attribute.

The release date.

Parameters
[in]valueThe new value.

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