T
- The type of object being patched.public class APIPatch<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
APIPatch.Operation
The possible operations for a PATCH request.
|
Constructor and Description |
---|
APIPatch() |
Modifier and Type | Method and Description |
---|---|
APIPatch.Operation |
getOp()
Returns the operation for this patch.
|
String |
getPath()
Returns the path for this patch.
|
T |
getValue()
Returns the value of this patch.
|
void |
setOp(APIPatch.Operation op)
Set the operation for this patch.
|
void |
setPath(String path)
Set the path for this patch.
|
void |
setValue(T value)
Sets the value of this patch.
|
public APIPatch.Operation getOp()
public void setOp(APIPatch.Operation op)
op
- The operation for this patch.public T getValue()
public void setValue(T value)
value
- The value of this patch.public String getPath()
public void setPath(String path)
path
- The path for this patch.Copyright © 2017. All rights reserved.