KVPair#

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

Bases: object

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

Parameters:
  • name (min=3 chars, max=128 chars) – (name) The key of the key-value pair.

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

property name#

The key of the key-value pair.

Type:

str

to_dict()#

Returns the model properties as a dictionary

to_str()#

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) | MapOfStringWrapper | list[int]