Class IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry
    extends Object
    ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.
    • Constructor Detail

      • IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry

        public IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry()
    • Method Detail

      • getApiVersion

        @Nullable
        public String 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

        public void setApiVersion​(String apiVersion)
      • getFieldsType

        @Nullable
        public String getFieldsType()
        FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"
        Returns:
        fieldsType
      • setFieldsType

        public void setFieldsType​(String fieldsType)
      • getFieldsV1

        @Nullable
        public Object getFieldsV1()
        FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format. Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set. The exact format is defined in sigs.k8s.io/structured-merge-diff
        Returns:
        fieldsV1
      • setFieldsV1

        public void setFieldsV1​(Object fieldsV1)
      • getManager

        @Nullable
        public String getManager()
        Manager is an identifier of the workflow managing these fields.
        Returns:
        manager
      • setManager

        public void setManager​(String manager)
      • getOperation

        @Nullable
        public String 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

        public void setOperation​(String operation)
      • getTime

        @Nullable
        public OffsetDateTime getTime()
        Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
        Returns:
        time
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object