Class JsonPatchOperation
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.dph_services.dph.v1.model.JsonPatchOperation
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class JsonPatchOperation extends com.ibm.cloud.sdk.core.service.model.GenericModelThis model represents an individual patch operation to be performed on a JSON document, as defined by RFC 6902.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJsonPatchOperation.BuilderBuilder.static interfaceJsonPatchOperation.OpThe operation to be performed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringfrom()Gets the from.JsonPatchOperation.BuildernewBuilder()New builder.java.lang.Stringop()Gets the op.java.lang.Stringpath()Gets the path.java.lang.Objectvalue()Gets the value.
-
-
-
Method Detail
-
newBuilder
public JsonPatchOperation.Builder newBuilder()
New builder.- Returns:
- a JsonPatchOperation builder
-
op
public java.lang.String op()
Gets the op. The operation to be performed.- Returns:
- the op
-
path
public java.lang.String path()
Gets the path. The JSON Pointer that identifies the field that is the target of the operation.- Returns:
- the path
-
from
public java.lang.String from()
Gets the from. The JSON Pointer that identifies the field that is the source of the operation.- Returns:
- the from
-
value
public java.lang.Object value()
Gets the value. The value to be used within the operation.- Returns:
- the value
-
-