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

#include <modify_attachments_request.h>

Inheritance diagram for google_classroom_api::ModifyAttachmentsRequest:

Public Member Functions

 ModifyAttachmentsRequest (const Json::Value &storage)
 
 ModifyAttachmentsRequest (Json::Value *storage)
 
virtual ~ModifyAttachmentsRequest ()
 
const StringPiece GetTypeName () const
 
bool has_add_attachments () const
 
void clear_add_attachments ()
 
const client::JsonCppArray< Attachmentget_add_attachments () const
 
client::JsonCppArray< Attachmentmutable_addAttachments ()
 

Static Public Member Functions

static ModifyAttachmentsRequestNew ()
 

Detailed Description

Request to modify the attachments of a student submission.

Constructor & Destructor Documentation

◆ ModifyAttachmentsRequest() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ModifyAttachmentsRequest() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ModifyAttachmentsRequest()

google_classroom_api::ModifyAttachmentsRequest::~ModifyAttachmentsRequest ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_add_attachments()

void google_classroom_api::ModifyAttachmentsRequest::clear_add_attachments ( )
inline

Clears the 'addAttachments' attribute.

◆ get_add_attachments()

const client::JsonCppArray<Attachment > google_classroom_api::ModifyAttachmentsRequest::get_add_attachments ( ) const

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

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_classroom_api::ModifyAttachmentsRequest

◆ has_add_attachments()

bool google_classroom_api::ModifyAttachmentsRequest::has_add_attachments ( ) const
inline

Determine if the 'addAttachments' attribute was set.

Returns
true if the 'addAttachments' attribute was set.

◆ mutable_addAttachments()

client::JsonCppArray<Attachment > google_classroom_api::ModifyAttachmentsRequest::mutable_addAttachments ( )

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

Attachments to add. A student submission may not have more than 20 attachments.

Form attachments are not supported.

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

◆ New()

ModifyAttachmentsRequest * google_classroom_api::ModifyAttachmentsRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

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