Package io.fabric8.kubernetes.api.model
Class FieldsV1
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.FieldsV1
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FieldsV1Builder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FieldsV1 extends Object implements io.fabric8.kubernetes.api.builder.Editable<FieldsV1Builder>, KubernetesResource
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
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FieldsV1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldsV1Builderedit()Map<String,Object>getAdditionalProperties()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)FieldsV1BuildertoBuilder()
-
-
-
Method Detail
-
edit
public FieldsV1Builder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<FieldsV1Builder>
-
toBuilder
public FieldsV1Builder toBuilder()
-
-