BodyParameter¶
-
class
oci.resource_scheduler.models.BodyParameter(**kwargs)¶ Bases:
oci.resource_scheduler.models.parameter.ParameterThis is an input parameter that will be passed as HTTP request body parameter.
Attributes
PARAMETER_TYPE_BODYstr(object=’’) -> str PARAMETER_TYPE_HEADERstr(object=’’) -> str PARAMETER_TYPE_PATHstr(object=’’) -> str PARAMETER_TYPE_QUERYstr(object=’’) -> str parameter_type[Required] Gets the parameter_type of this Parameter. valueGets the value of this BodyParameter. Methods
__init__(**kwargs)Initializes a new BodyParameter object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
PARAMETER_TYPE_BODY= 'BODY'¶
-
PARAMETER_TYPE_HEADER= 'HEADER'¶
-
PARAMETER_TYPE_PATH= 'PATH'¶
-
PARAMETER_TYPE_QUERY= 'QUERY'¶
-
__init__(**kwargs)¶ Initializes a new BodyParameter object with values from keyword arguments. The default value of the
parameter_typeattribute of this class isBODYand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - parameter_type (str) – The value to assign to the parameter_type property of this BodyParameter. Allowed values for this property are: “HEADER”, “BODY”, “PATH”, “QUERY”
- value (object) – The value to assign to the value property of this BodyParameter.
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
parameter_type¶ [Required] Gets the parameter_type of this Parameter. This is the parameter type on which the input parameter is defined
Allowed values for this property are: “HEADER”, “BODY”, “PATH”, “QUERY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The parameter_type of this Parameter. Return type: str
-
value¶ Gets the value of this BodyParameter. This is the body parameter value.
Returns: The value of this BodyParameter. Return type: object
-