calendar  v3
Public Member Functions | Static Public Member Functions | List of all members
google_calendar_api::EventAttachment Class Reference

#include <event_attachment.h>

Inheritance diagram for google_calendar_api::EventAttachment:

Public Member Functions

 EventAttachment (const Json::Value &storage)
 
 EventAttachment (Json::Value *storage)
 
virtual ~EventAttachment ()
 
const StringPiece GetTypeName () const
 
bool has_file_id () const
 
void clear_file_id ()
 
const StringPiece get_file_id () const
 
void set_file_id (const StringPiece &value)
 
bool has_file_url () const
 
void clear_file_url ()
 
const StringPiece get_file_url () const
 
void set_file_url (const StringPiece &value)
 
bool has_icon_link () const
 
void clear_icon_link ()
 
const StringPiece get_icon_link () const
 
void set_icon_link (const StringPiece &value)
 
bool has_mime_type () const
 
void clear_mime_type ()
 
const StringPiece get_mime_type () const
 
void set_mime_type (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static EventAttachmentNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ EventAttachment() [1/2]

google_calendar_api::EventAttachment::EventAttachment ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ EventAttachment() [2/2]

google_calendar_api::EventAttachment::EventAttachment ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~EventAttachment()

google_calendar_api::EventAttachment::~EventAttachment ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_file_id()

void google_calendar_api::EventAttachment::clear_file_id ( )
inline

Clears the 'fileId' attribute.

◆ clear_file_url()

void google_calendar_api::EventAttachment::clear_file_url ( )
inline

Clears the 'fileUrl' attribute.

◆ clear_icon_link()

void google_calendar_api::EventAttachment::clear_icon_link ( )
inline

Clears the 'iconLink' attribute.

◆ clear_mime_type()

void google_calendar_api::EventAttachment::clear_mime_type ( )
inline

Clears the 'mimeType' attribute.

◆ clear_title()

void google_calendar_api::EventAttachment::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_file_id()

const StringPiece google_calendar_api::EventAttachment::get_file_id ( ) const
inline

Get the value of the 'fileId' attribute.

◆ get_file_url()

const StringPiece google_calendar_api::EventAttachment::get_file_url ( ) const
inline

Get the value of the 'fileUrl' attribute.

◆ get_icon_link()

const StringPiece google_calendar_api::EventAttachment::get_icon_link ( ) const
inline

Get the value of the 'iconLink' attribute.

◆ get_mime_type()

const StringPiece google_calendar_api::EventAttachment::get_mime_type ( ) const
inline

Get the value of the 'mimeType' attribute.

◆ get_title()

const StringPiece google_calendar_api::EventAttachment::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

const StringPiece google_calendar_api::EventAttachment::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_calendar_api::EventAttachment

◆ has_file_id()

bool google_calendar_api::EventAttachment::has_file_id ( ) const
inline

Determine if the 'fileId' attribute was set.

Returns
true if the 'fileId' attribute was set.

◆ has_file_url()

bool google_calendar_api::EventAttachment::has_file_url ( ) const
inline

Determine if the 'fileUrl' attribute was set.

Returns
true if the 'fileUrl' attribute was set.

◆ has_icon_link()

bool google_calendar_api::EventAttachment::has_icon_link ( ) const
inline

Determine if the 'iconLink' attribute was set.

Returns
true if the 'iconLink' attribute was set.

◆ has_mime_type()

bool google_calendar_api::EventAttachment::has_mime_type ( ) const
inline

Determine if the 'mimeType' attribute was set.

Returns
true if the 'mimeType' attribute was set.

◆ has_title()

bool google_calendar_api::EventAttachment::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

EventAttachment * google_calendar_api::EventAttachment::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_file_id()

void google_calendar_api::EventAttachment::set_file_id ( const StringPiece &  value)
inline

Change the 'fileId' attribute.

ID of the attached file. Read-only. For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.

Parameters
[in]valueThe new value.

◆ set_file_url()

void google_calendar_api::EventAttachment::set_file_url ( const StringPiece &  value)
inline

Change the 'fileUrl' attribute.

URL link to the attachment. For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API. Required when adding an attachment.

Parameters
[in]valueThe new value.

◆ set_icon_link()

void google_calendar_api::EventAttachment::set_icon_link ( const StringPiece &  value)
inline

Change the 'iconLink' attribute.

URL link to the attachment's icon. Read-only.

Parameters
[in]valueThe new value.

◆ set_mime_type()

void google_calendar_api::EventAttachment::set_mime_type ( const StringPiece &  value)
inline

Change the 'mimeType' attribute.

Internet media type (MIME type) of the attachment.

Parameters
[in]valueThe new value.

◆ set_title()

void google_calendar_api::EventAttachment::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Attachment title.

Parameters
[in]valueThe new value.

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