ContextVariable

class oci.identity_data_plane.models.ContextVariable(**kwargs)

Bases: object

ContextVariable model.

Attributes

TYPE_BOOLEAN A constant which can be used with the type property of a ContextVariable.
TYPE_ENTITY A constant which can be used with the type property of a ContextVariable.
TYPE_LIST A constant which can be used with the type property of a ContextVariable.
TYPE_NUMBER A constant which can be used with the type property of a ContextVariable.
TYPE_STRING A constant which can be used with the type property of a ContextVariable.
name [Required] Gets the name of this ContextVariable.
type [Required] Gets the type of this ContextVariable.
value [Required] Gets the value of this ContextVariable.

Methods

__init__(**kwargs) Initializes a new ContextVariable object with values from keyword arguments.
TYPE_BOOLEAN = 'BOOLEAN'

A constant which can be used with the type property of a ContextVariable. This constant has a value of “BOOLEAN”

TYPE_ENTITY = 'ENTITY'

A constant which can be used with the type property of a ContextVariable. This constant has a value of “ENTITY”

TYPE_LIST = 'LIST'

A constant which can be used with the type property of a ContextVariable. This constant has a value of “LIST”

TYPE_NUMBER = 'NUMBER'

A constant which can be used with the type property of a ContextVariable. This constant has a value of “NUMBER”

TYPE_STRING = 'STRING'

A constant which can be used with the type property of a ContextVariable. This constant has a value of “STRING”

__init__(**kwargs)

Initializes a new ContextVariable object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this ContextVariable.
  • value (str) – The value to assign to the value property of this ContextVariable.
  • type (str) – The value to assign to the type property of this ContextVariable. Allowed values for this property are: “STRING”, “NUMBER”, “ENTITY”, “BOOLEAN”, “LIST”
name

[Required] Gets the name of this ContextVariable. The name of the variable.

Returns:The name of this ContextVariable.
Return type:str
type

[Required] Gets the type of this ContextVariable. The type of the variable.

Allowed values for this property are: “STRING”, “NUMBER”, “ENTITY”, “BOOLEAN”, “LIST”

Returns:The type of this ContextVariable.
Return type:str
value

[Required] Gets the value of this ContextVariable. The value of the variable.

Returns:The value of this ContextVariable.
Return type:str