public class Patch extends PayPalModel
| Constructor and Description |
|---|
Patch()
Default Constructor
|
Patch(java.lang.String op,
java.lang.String path)
Parameterized Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getFrom()
A string containing a JSON Pointer value that references the location in the target document to move the value from.
|
java.lang.String |
getOp()
The operation to perform.
|
java.lang.String |
getPath()
A JSON pointer that references a location in the target document where the operation is performed.
|
java.lang.Object |
getValue()
New value to apply based on the operation.
|
int |
hashCode() |
Patch |
setFrom(java.lang.String from)
A string containing a JSON Pointer value that references the location in the target document to move the value from.
|
Patch |
setOp(java.lang.String op)
The operation to perform.
|
Patch |
setPath(java.lang.String path)
A JSON pointer that references a location in the target document where the operation is performed.
|
Patch |
setValue(java.lang.Object value)
New value to apply based on the operation.
|
toJSON, toStringpublic Patch()
public Patch(java.lang.String op,
java.lang.String path)
public java.lang.String getOp()
public java.lang.String getPath()
public java.lang.Object getValue()
public java.lang.String getFrom()
public Patch setOp(java.lang.String op)
public Patch setPath(java.lang.String path)
public Patch setValue(java.lang.Object value)
public Patch setFrom(java.lang.String from)
public boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel