KVPair#

class KVPair(name=None, value=None, *args, **kwargs)[source]#

Bases: object

A map describing a set of keys and their corresponding values.

Parameters:
  • name – (name) The key of this key-value pair

  • value – (value) The value associated with the key for this key-value pair

property name#

The key of this key-value pair

Type:

str

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property value#

The value associated with the key for this key-value pair

Type:

str | int | bool | list[str] | dict(str, str)