classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::Form Class Reference

#include <form.h>

Inheritance diagram for google_classroom_api::Form:

Public Member Functions

 Form (const Json::Value &storage)
 
 Form (Json::Value *storage)
 
virtual ~Form ()
 
const StringPiece GetTypeName () const
 
bool has_form_url () const
 
void clear_form_url ()
 
const StringPiece get_form_url () const
 
void set_form_url (const StringPiece &value)
 
bool has_response_url () const
 
void clear_response_url ()
 
const StringPiece get_response_url () const
 
void set_response_url (const StringPiece &value)
 
bool has_thumbnail_url () const
 
void clear_thumbnail_url ()
 
const StringPiece get_thumbnail_url () const
 
void set_thumbnail_url (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 FormNew ()
 

Detailed Description

Google Forms item.

Constructor & Destructor Documentation

◆ Form() [1/2]

google_classroom_api::Form::Form ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Form() [2/2]

google_classroom_api::Form::Form ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Form()

google_classroom_api::Form::~Form ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_form_url()

void google_classroom_api::Form::clear_form_url ( )
inline

Clears the 'formUrl' attribute.

◆ clear_response_url()

void google_classroom_api::Form::clear_response_url ( )
inline

Clears the 'responseUrl' attribute.

◆ clear_thumbnail_url()

void google_classroom_api::Form::clear_thumbnail_url ( )
inline

Clears the 'thumbnailUrl' attribute.

◆ clear_title()

void google_classroom_api::Form::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_form_url()

const StringPiece google_classroom_api::Form::get_form_url ( ) const
inline

Get the value of the 'formUrl' attribute.

◆ get_response_url()

const StringPiece google_classroom_api::Form::get_response_url ( ) const
inline

Get the value of the 'responseUrl' attribute.

◆ get_thumbnail_url()

const StringPiece google_classroom_api::Form::get_thumbnail_url ( ) const
inline

Get the value of the 'thumbnailUrl' attribute.

◆ get_title()

const StringPiece google_classroom_api::Form::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

const StringPiece google_classroom_api::Form::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::Form

◆ has_form_url()

bool google_classroom_api::Form::has_form_url ( ) const
inline

Determine if the 'formUrl' attribute was set.

Returns
true if the 'formUrl' attribute was set.

◆ has_response_url()

bool google_classroom_api::Form::has_response_url ( ) const
inline

Determine if the 'responseUrl' attribute was set.

Returns
true if the 'responseUrl' attribute was set.

◆ has_thumbnail_url()

bool google_classroom_api::Form::has_thumbnail_url ( ) const
inline

Determine if the 'thumbnailUrl' attribute was set.

Returns
true if the 'thumbnailUrl' attribute was set.

◆ has_title()

bool google_classroom_api::Form::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

Form * google_classroom_api::Form::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_form_url()

void google_classroom_api::Form::set_form_url ( const StringPiece &  value)
inline

Change the 'formUrl' attribute.

URL of the form.

Parameters
[in]valueThe new value.

◆ set_response_url()

void google_classroom_api::Form::set_response_url ( const StringPiece &  value)
inline

Change the 'responseUrl' attribute.

URL of the form responses document. Only set if respsonses have been recorded and only when the requesting user is an editor of the form.

Read-only.

Parameters
[in]valueThe new value.

◆ set_thumbnail_url()

void google_classroom_api::Form::set_thumbnail_url ( const StringPiece &  value)
inline

Change the 'thumbnailUrl' attribute.

URL of a thumbnail image of the Form.

Read-only.

Parameters
[in]valueThe new value.

◆ set_title()

void google_classroom_api::Form::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Title of the Form.

Read-only.

Parameters
[in]valueThe new value.

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