kubernetes.aio.client.models.v1beta1_device_counter_consumption module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech

class kubernetes.aio.client.models.v1beta1_device_counter_consumption.V1beta1DeviceCounterConsumption(counter_set=None, counters=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'counter_set': 'counterSet', 'counters': 'counters'}
property counter_set

Gets the counter_set of this V1beta1DeviceCounterConsumption. # noqa: E501

CounterSet is the name of the set from which the counters defined will be consumed. # noqa: E501

Returns:

The counter_set of this V1beta1DeviceCounterConsumption. # noqa: E501

Return type:

str

property counters

Gets the counters of this V1beta1DeviceCounterConsumption. # noqa: E501

Counters defines the counters that will be consumed by the device. The maximum number of counters is 32. # noqa: E501

Returns:

The counters of this V1beta1DeviceCounterConsumption. # noqa: E501

Return type:

dict[str, V1beta1Counter]

openapi_types = {'counter_set': 'str', 'counters': 'dict[str, V1beta1Counter]'}
to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model