public class Patch extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Patch.Builder
Class to build instances of
Patch. |
| Constructor and Description |
|---|
Patch()
Default constructor.
|
Patch(PatchOp op,
String path,
JsonValue value,
String from)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFrom()
Getter for From.
|
PatchOp |
getOp()
Getter for Op.
|
String |
getPath()
Getter for Path.
|
JsonValue |
getValue()
Getter for Value.
|
void |
setFrom(String from)
Setter for From.
|
void |
setOp(PatchOp op)
Setter for Op.
|
void |
setPath(String path)
Setter for Path.
|
void |
setValue(JsonValue value)
Setter for Value.
|
Patch.Builder |
toBuilder()
Builds a new
Patch.Builder object. |
String |
toString()
Converts this Patch into string format.
|
public PatchOp getOp()
public void setOp(PatchOp op)
op - Value for PatchOppublic String getPath()
public void setPath(String path)
path - Value for Stringpublic JsonValue getValue()
public void setValue(JsonValue value)
value - Value for JsonValuepublic String getFrom()
public void setFrom(String from)
from - Value for Stringpublic String toString()
public Patch.Builder toBuilder()
Patch.Builder object.
Creates the instance with the state of the current model.Patch.Builder objectCopyright © 2025. All rights reserved.