#include <rest_method.h>
◆ RestMethodMediaUpload() [1/2]
| google_discovery_api::RestMethod::RestMethodMediaUpload::RestMethodMediaUpload |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ RestMethodMediaUpload() [2/2]
| google_discovery_api::RestMethod::RestMethodMediaUpload::RestMethodMediaUpload |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~RestMethodMediaUpload()
| google_discovery_api::RestMethod::RestMethodMediaUpload::~RestMethodMediaUpload |
( |
| ) |
|
|
virtual |
◆ clear_accept()
| void google_discovery_api::RestMethod::RestMethodMediaUpload::clear_accept |
( |
| ) |
|
|
inline |
Clears the 'accept' attribute.
◆ clear_max_size()
| void google_discovery_api::RestMethod::RestMethodMediaUpload::clear_max_size |
( |
| ) |
|
|
inline |
Clears the 'maxSize' attribute.
◆ clear_protocols()
| void google_discovery_api::RestMethod::RestMethodMediaUpload::clear_protocols |
( |
| ) |
|
|
inline |
Clears the 'protocols' attribute.
◆ get_accept()
| const client::JsonCppArray<string > google_discovery_api::RestMethod::RestMethodMediaUpload::get_accept |
( |
| ) |
const |
|
inline |
Get a reference to the value of the 'accept' attribute.
◆ get_max_size()
| const StringPiece google_discovery_api::RestMethod::RestMethodMediaUpload::get_max_size |
( |
| ) |
const |
|
inline |
Get the value of the 'maxSize' attribute.
◆ get_protocols()
Get a reference to the value of the 'protocols' attribute.
◆ GetTypeName()
| const StringPiece google_discovery_api::RestMethod::RestMethodMediaUpload::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_discovery_api::RestMethodMediaUpload
◆ has_accept()
| bool google_discovery_api::RestMethod::RestMethodMediaUpload::has_accept |
( |
| ) |
const |
|
inline |
Determine if the 'accept' attribute was set.
- Returns
- true if the '
accept' attribute was set.
◆ has_max_size()
| bool google_discovery_api::RestMethod::RestMethodMediaUpload::has_max_size |
( |
| ) |
const |
|
inline |
Determine if the 'maxSize' attribute was set.
- Returns
- true if the '
maxSize' attribute was set.
◆ has_protocols()
| bool google_discovery_api::RestMethod::RestMethodMediaUpload::has_protocols |
( |
| ) |
const |
|
inline |
Determine if the 'protocols' attribute was set.
- Returns
- true if the '
protocols' attribute was set.
◆ mutable_accept()
| client::JsonCppArray<string > google_discovery_api::RestMethod::RestMethodMediaUpload::mutable_accept |
( |
| ) |
|
|
inline |
Gets a reference to a mutable value of the 'accept' property.
MIME Media Ranges for acceptable media uploads to this method.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_protocols()
Gets a reference to a mutable value of the 'protocols' property.
Supported upload protocols.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_max_size()
| void google_discovery_api::RestMethod::RestMethodMediaUpload::set_max_size |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'maxSize' attribute.
Maximum size of a media upload, such as "1MB", "2GB" or "3TB".
- Parameters
-
The documentation for this class was generated from the following files:
- google/discovery_api/rest_method.h
- google/discovery_api/rest_method.cc