drive  v2
Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::User::UserPicture Class Reference

#include <user.h>

Inheritance diagram for google_drive_api::User::UserPicture:

Public Member Functions

 UserPicture (const Json::Value &storage)
 
 UserPicture (Json::Value *storage)
 
virtual ~UserPicture ()
 
const StringPiece GetTypeName () const
 
bool has_url () const
 
void clear_url ()
 
const StringPiece get_url () const
 
void set_url (const StringPiece &value)
 

Static Public Member Functions

static UserPictureNew ()
 

Detailed Description

The user's profile picture.

Constructor & Destructor Documentation

◆ UserPicture() [1/2]

google_drive_api::User::UserPicture::UserPicture ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ UserPicture() [2/2]

google_drive_api::User::UserPicture::UserPicture ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~UserPicture()

google_drive_api::User::UserPicture::~UserPicture ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_url()

void google_drive_api::User::UserPicture::clear_url ( )
inline

Clears the 'url' attribute.

◆ get_url()

const StringPiece google_drive_api::User::UserPicture::get_url ( ) const
inline

Get the value of the 'url' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::User::UserPicture::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::UserPicture

◆ has_url()

bool google_drive_api::User::UserPicture::has_url ( ) const
inline

Determine if the 'url' attribute was set.

Returns
true if the 'url' attribute was set.

◆ New()

User::UserPicture * google_drive_api::User::UserPicture::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_url()

void google_drive_api::User::UserPicture::set_url ( const StringPiece &  value)
inline

Change the 'url' attribute.

A URL that points to a profile picture of this user.

Parameters
[in]valueThe new value.

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