kubernetes_asyncio.client.models.v2_external_metric_source module

Kubernetes

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

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

class kubernetes_asyncio.client.models.v2_external_metric_source.V2ExternalMetricSource(metric=None, target=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 = {'metric': 'metric', 'target': 'target'}
property metric

Gets the metric of this V2ExternalMetricSource. # noqa: E501

Returns:

The metric of this V2ExternalMetricSource. # noqa: E501

Return type:

V2MetricIdentifier

openapi_types = {'metric': 'V2MetricIdentifier', 'target': 'V2MetricTarget'}
property target

Gets the target of this V2ExternalMetricSource. # noqa: E501

Returns:

The target of this V2ExternalMetricSource. # noqa: E501

Return type:

V2MetricTarget

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model