public class RecordPatch extends Object implements Serializable
| Constructor and Description |
|---|
RecordPatch() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getDeviceLastModifiedDate()
Returns the value of the DeviceLastModifiedDate property for this
object.
|
String |
getKey()
Returns the value of the Key property for this object.
|
String |
getOp()
Returns the value of the Op property for this object.
|
Long |
getSyncCount()
Returns the value of the SyncCount property for this object.
|
String |
getValue()
Returns the value of the Value property for this object.
|
int |
hashCode() |
void |
setDeviceLastModifiedDate(Date deviceLastModifiedDate)
Sets the value of the DeviceLastModifiedDate property for this object.
|
void |
setKey(String key)
Sets the value of the Key property for this object.
|
void |
setOp(Operation op)
Sets the value of the Op property for this object.
|
void |
setOp(String op)
Sets the value of the Op property for this object.
|
void |
setSyncCount(Long syncCount)
Sets the value of the SyncCount property for this object.
|
void |
setValue(String value)
Sets the value of the Value property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecordPatch |
withDeviceLastModifiedDate(Date deviceLastModifiedDate)
Sets the value of the DeviceLastModifiedDate property for this object.
|
RecordPatch |
withKey(String key)
Sets the value of the Key property for this object.
|
RecordPatch |
withOp(Operation op)
Sets the value of the Op property for this object.
|
RecordPatch |
withOp(String op)
Sets the value of the Op property for this object.
|
RecordPatch |
withSyncCount(Long syncCount)
Sets the value of the SyncCount property for this object.
|
RecordPatch |
withValue(String value)
Sets the value of the Value property for this object.
|
public String getOp()
Constraints:
Allowed Values: replace, remove
Operationpublic void setOp(String op)
Constraints:
Allowed Values: replace, remove
op - The new value for the Op property for this object.Operationpublic RecordPatch withOp(String op)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: replace, remove
op - The new value for the Op property for this object.Operationpublic void setOp(Operation op)
Constraints:
Allowed Values: replace, remove
op - The new value for the Op property for this object.Operationpublic RecordPatch withOp(Operation op)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: replace, remove
op - The new value for the Op property for this object.Operationpublic String getKey()
Constraints:
Length: 1 - 1024
public void setKey(String key)
Constraints:
Length: 1 - 1024
key - The new value for the Key property for this object.public RecordPatch withKey(String key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
key - The new value for the Key property for this object.public String getValue()
Constraints:
Length: 0 - 1048575
public void setValue(String value)
Constraints:
Length: 0 - 1048575
value - The new value for the Value property for this object.public RecordPatch withValue(String value)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1048575
value - The new value for the Value property for this object.public Long getSyncCount()
public void setSyncCount(Long syncCount)
syncCount - The new value for the SyncCount property for this object.public RecordPatch withSyncCount(Long syncCount)
Returns a reference to this object so that method calls can be chained together.
syncCount - The new value for the SyncCount property for this object.public Date getDeviceLastModifiedDate()
public void setDeviceLastModifiedDate(Date deviceLastModifiedDate)
deviceLastModifiedDate - The new value for the DeviceLastModifiedDate property for this object.public RecordPatch withDeviceLastModifiedDate(Date deviceLastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
deviceLastModifiedDate - The new value for the DeviceLastModifiedDate property for this object.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.