public class PatchRequest extends PayPalModel
| Constructor and Description |
|---|
PatchRequest()
Default Constructor
|
PatchRequest(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()
string containing a JSON-Pointer value that references a location within the target document (the target location) where the operation is performed.
|
java.lang.String |
getValue()
New value to apply based on the operation.
|
int |
hashCode() |
PatchRequest |
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.
|
PatchRequest |
setOp(java.lang.String op)
The operation to perform.
|
PatchRequest |
setPath(java.lang.String path)
string containing a JSON-Pointer value that references a location within the target document (the target location) where the operation is performed.
|
PatchRequest |
setValue(java.lang.String value)
New value to apply based on the operation.
|
toJSON, toStringpublic PatchRequest()
public PatchRequest(java.lang.String op,
java.lang.String path)
public java.lang.String getOp()
public java.lang.String getPath()
public java.lang.String getValue()
public java.lang.String getFrom()
public PatchRequest setOp(java.lang.String op)
public PatchRequest setPath(java.lang.String path)
public PatchRequest setValue(java.lang.String value)
public PatchRequest 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