kubernetes_asyncio.client.models.v1_managed_fields_entry 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.v1_managed_fields_entry.V1ManagedFieldsEntry(api_version=None, fields_type=None, fields_v1=None, manager=None, operation=None, subresource=None, time=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.

property api_version

Gets the api_version of this V1ManagedFieldsEntry. # noqa: E501

APIVersion defines the version of this resource that this field set applies to. The format is “group/version” just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted. # noqa: E501

Returns:

The api_version of this V1ManagedFieldsEntry. # noqa: E501

Return type:

str

attribute_map = {'api_version': 'apiVersion', 'fields_type': 'fieldsType', 'fields_v1': 'fieldsV1', 'manager': 'manager', 'operation': 'operation', 'subresource': 'subresource', 'time': 'time'}
property fields_type

Gets the fields_type of this V1ManagedFieldsEntry. # noqa: E501

FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: “FieldsV1” # noqa: E501

Returns:

The fields_type of this V1ManagedFieldsEntry. # noqa: E501

Return type:

str

property fields_v1

Gets the fields_v1 of this V1ManagedFieldsEntry. # noqa: E501

FieldsV1 holds the first JSON version format as described in the “FieldsV1” type. # noqa: E501

Returns:

The fields_v1 of this V1ManagedFieldsEntry. # noqa: E501

Return type:

object

property manager

Gets the manager of this V1ManagedFieldsEntry. # noqa: E501

Manager is an identifier of the workflow managing these fields. # noqa: E501

Returns:

The manager of this V1ManagedFieldsEntry. # noqa: E501

Return type:

str

openapi_types = {'api_version': 'str', 'fields_type': 'str', 'fields_v1': 'object', 'manager': 'str', 'operation': 'str', 'subresource': 'str', 'time': 'datetime'}
property operation

Gets the operation of this V1ManagedFieldsEntry. # noqa: E501

Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are ‘Apply’ and ‘Update’. # noqa: E501

Returns:

The operation of this V1ManagedFieldsEntry. # noqa: E501

Return type:

str

property subresource

Gets the subresource of this V1ManagedFieldsEntry. # noqa: E501

Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource. # noqa: E501

Returns:

The subresource of this V1ManagedFieldsEntry. # noqa: E501

Return type:

str

property time

Gets the time of this V1ManagedFieldsEntry. # noqa: E501

Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over. # noqa: E501

Returns:

The time of this V1ManagedFieldsEntry. # noqa: E501

Return type:

datetime

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model