Class V1ManagedFieldsEntry
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ManagedFieldsEntry
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) Set apiVersion in a chainable fashion.boolean
fieldsType
(String fieldsType) Set fieldsType in a chainable fashion.Set fieldsV1 in a chainable fashion.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()
Set manager in a chainable fashion.Set operation in a chainable fashion.void
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
setFieldsType
(String fieldsType) Set the fieldsType property valuevoid
setFieldsV1
(Object fieldsV1) Set the fieldsV1 property valuevoid
setManager
(String manager) Set the manager property valuevoid
setOperation
(String operation) Set the operation property valuevoid
setSubresource
(String subresource) Set the subresource property valuevoid
setTime
(ZonedDateTime time) Set the time property valuesubresource
(String subresource) Set subresource in a chainable fashion.time
(ZonedDateTime time) Set time in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_FIELDS_TYPE
- See Also:
-
JSON_PROPERTY_FIELDS_V1
- See Also:
-
JSON_PROPERTY_MANAGER
- See Also:
-
JSON_PROPERTY_OPERATION
- See Also:
-
JSON_PROPERTY_SUBRESOURCE
- See Also:
-
JSON_PROPERTY_TIME
- See Also:
-
-
Constructor Details
-
V1ManagedFieldsEntry
public V1ManagedFieldsEntry()
-
-
Method Details
-
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:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value -
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
getFieldsType
FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"- Returns:
- the fieldsType property value
-
setFieldsType
Set the fieldsType property value -
fieldsType
Set fieldsType in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
getFieldsV1
FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type.- Returns:
- the fieldsV1 property value
-
setFieldsV1
Set the fieldsV1 property value -
fieldsV1
Set fieldsV1 in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
getManager
Manager is an identifier of the workflow managing these fields.- Returns:
- the manager property value
-
setManager
Set the manager property value -
manager
Set manager in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
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:
- the operation property value
-
setOperation
Set the operation property value -
operation
Set operation in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
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:
- the subresource property value
-
setSubresource
Set the subresource property value -
subresource
Set subresource in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
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:
- the time property value
-
setTime
Set the time property value -
time
Set time in a chainable fashion.- Returns:
- The same instance of V1ManagedFieldsEntry for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-