Class PatchEntity
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.PatchEntity
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PatchEntityBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PatchEntity extends Object implements io.fabric8.kubernetes.api.builder.Editable<PatchEntityBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PatchEntity represent a json patch (RFC 6902) to be applied to the install-config- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PatchEntity()No args constructor for use in serializationPatchEntity(String from, String op, String path, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatchEntityBuilderedit()Map<String,Object>getAdditionalProperties()StringgetFrom()From is the json path to copy or move the value fromStringgetOp()Op is the operation to perform: add, remove, replace, move, copy, testStringgetPath()Path is the json path to the value to be modifiedStringgetValue()Value is the value to be used in the operationvoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetFrom(String from)From is the json path to copy or move the value fromvoidsetOp(String op)Op is the operation to perform: add, remove, replace, move, copy, testvoidsetPath(String path)Path is the json path to the value to be modifiedvoidsetValue(String value)Value is the value to be used in the operationPatchEntityBuildertoBuilder()
-
-
-
Method Detail
-
getFrom
public String getFrom()
From is the json path to copy or move the value from
-
setFrom
public void setFrom(String from)
From is the json path to copy or move the value from
-
getOp
public String getOp()
Op is the operation to perform: add, remove, replace, move, copy, test
-
setOp
public void setOp(String op)
Op is the operation to perform: add, remove, replace, move, copy, test
-
getPath
public String getPath()
Path is the json path to the value to be modified
-
setPath
public void setPath(String path)
Path is the json path to the value to be modified
-
getValue
public String getValue()
Value is the value to be used in the operation
-
setValue
public void setValue(String value)
Value is the value to be used in the operation
-
edit
public PatchEntityBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PatchEntityBuilder>
-
toBuilder
public PatchEntityBuilder toBuilder()
-
-