|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Definition of one parameter of a REST request, as declared in the API XML. More...
#include <RESTAPI.h>
Public Types | |
| enum | Type { INTEGER , FLOAT , TEXT , ARRAY , IMAGE , VIDEO , BINARY } |
Public Attributes | |
| enum cmlabs::RESTParam::Type | type |
| Expected data type of the parameter. | |
| bool | optional |
| true if the parameter may be omitted. | |
| bool | allowEmpty |
| true if an empty value is acceptable. | |
| std::string | name |
| Parameter name. | |
| std::string | objects |
| For ARRAY parameters: the nested object/param-set name. | |
Definition of one parameter of a REST request, as declared in the API XML.
| bool cmlabs::RESTParam::allowEmpty |
true if an empty value is acceptable.
Definition at line 24 of file RESTAPI.h.
Referenced by cmlabs::RESTParser::parseParamSet().
| std::string cmlabs::RESTParam::name |
Parameter name.
Definition at line 25 of file RESTAPI.h.
Referenced by cmlabs::RESTParser::parseParamSet(), cmlabs::RESTParser::setParameterValue(), and cmlabs::RESTParser::setParameterValue().
| std::string cmlabs::RESTParam::objects |
For ARRAY parameters: the nested object/param-set name.
Definition at line 26 of file RESTAPI.h.
Referenced by cmlabs::RESTParser::parseParamSet().
| bool cmlabs::RESTParam::optional |
true if the parameter may be omitted.
Definition at line 23 of file RESTAPI.h.
Referenced by cmlabs::RESTParser::parseParamSet().
| enum cmlabs::RESTParam::Type cmlabs::RESTParam::type |
Expected data type of the parameter.
Referenced by cmlabs::RESTParser::parseParamSet(), cmlabs::RESTParser::setParameterValue(), and cmlabs::RESTParser::setParameterValue().