KeyValue

class oci.container_engine.models.KeyValue(**kwargs)

Bases: object

The properties that define a key value pair.

Methods

__init__(**kwargs) Initializes a new KeyValue object with values from keyword arguments.

Attributes

key Gets the key of this KeyValue.
value Gets the value of this KeyValue.
__init__(**kwargs)

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

Parameters:
  • key (str) – The value to assign to the key property of this KeyValue.
  • value (str) – The value to assign to the value property of this KeyValue.
key

Gets the key of this KeyValue. The key of the pair.

Returns:The key of this KeyValue.
Return type:str
value

Gets the value of this KeyValue. The value of the pair.

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