Class V1ManagedFieldsEntry
java.lang.Object
io.kubernetes.client.openapi.models.V1ManagedFieldsEntry
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class V1ManagedFieldsEntry
extends Object
ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) boolean
fieldsType
(String fieldsType) APIVersion defines the version of this resource that this field set applies to.FieldsType is the discriminator for the different fields format and version.FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.Manager is an identifier of the workflow managing these fields.Operation is the type of operation which lead to this ManagedFieldsEntry being created.Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource.getTime()
Time is the timestamp of when the ManagedFields entry was added.int
hashCode()
void
setApiVersion
(String apiVersion) void
setFieldsType
(String fieldsType) void
setFieldsV1
(Object fieldsV1) void
setManager
(String manager) void
setOperation
(String operation) void
setSubresource
(String subresource) void
setTime
(OffsetDateTime time) subresource
(String subresource) time
(OffsetDateTime time) toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_FIELDS_TYPE
- See Also:
-
SERIALIZED_NAME_FIELDS_V1
- See Also:
-
SERIALIZED_NAME_MANAGER
- See Also:
-
SERIALIZED_NAME_OPERATION
- See Also:
-
SERIALIZED_NAME_SUBRESOURCE
- See Also:
-
SERIALIZED_NAME_TIME
- See Also:
-
-
Constructor Details
-
V1ManagedFieldsEntry
public V1ManagedFieldsEntry()
-
-
Method Details
-
apiVersion
-
getApiVersion
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.- Returns:
- apiVersion
-
setApiVersion
-
fieldsType
-
getFieldsType
FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"- Returns:
- fieldsType
-
setFieldsType
-
fieldsV1
-
getFieldsV1
FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.- Returns:
- fieldsV1
-
setFieldsV1
-
manager
-
getManager
Manager is an identifier of the workflow managing these fields.- Returns:
- manager
-
setManager
-
operation
-
getOperation
Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.- Returns:
- operation
-
setOperation
-
subresource
-
getSubresource
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.- Returns:
- subresource
-
setSubresource
-
time
-
getTime
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.- Returns:
- time
-
setTime
-
equals
-
hashCode
public int hashCode() -
toString
-