public class RecordPatch
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RecordPatch() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDeviceLastModifiedDate()
Returns the value of the DeviceLastModifiedDate property for this
object.
|
java.lang.String |
getKey()
Returns the value of the Key property for this object.
|
java.lang.String |
getOp()
Returns the value of the Op property for this object.
|
java.lang.Long |
getSyncCount()
Returns the value of the SyncCount property for this object.
|
java.lang.String |
getValue()
Returns the value of the Value property for this object.
|
int |
hashCode() |
void |
setDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
Sets the value of the DeviceLastModifiedDate property for this object.
|
void |
setKey(java.lang.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(java.lang.String op)
Sets the value of the Op property for this object.
|
void |
setSyncCount(java.lang.Long syncCount)
Sets the value of the SyncCount property for this object.
|
void |
setValue(java.lang.String value)
Sets the value of the Value property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
RecordPatch |
withDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
Sets the value of the DeviceLastModifiedDate property for this object.
|
RecordPatch |
withKey(java.lang.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(java.lang.String op)
Sets the value of the Op property for this object.
|
RecordPatch |
withSyncCount(java.lang.Long syncCount)
Sets the value of the SyncCount property for this object.
|
RecordPatch |
withValue(java.lang.String value)
Sets the value of the Value property for this object.
|
public java.lang.String getOp()
Constraints:
Allowed Values: replace, remove
Operationpublic void setOp(java.lang.String op)
Constraints:
Allowed Values: replace, remove
op - The new value for the Op property for this object.Operationpublic RecordPatch withOp(java.lang.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 java.lang.String getKey()
Constraints:
Length: 1 - 1024
public void setKey(java.lang.String key)
Constraints:
Length: 1 - 1024
key - The new value for the Key property for this object.public RecordPatch withKey(java.lang.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 java.lang.String getValue()
Constraints:
Length: 0 - 1048575
public void setValue(java.lang.String value)
Constraints:
Length: 0 - 1048575
value - The new value for the Value property for this object.public RecordPatch withValue(java.lang.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 java.lang.Long getSyncCount()
public void setSyncCount(java.lang.Long syncCount)
syncCount - The new value for the SyncCount property for this object.public RecordPatch withSyncCount(java.lang.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 java.util.Date getDeviceLastModifiedDate()
public void setDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
deviceLastModifiedDate - The new value for the DeviceLastModifiedDate property for this object.public RecordPatch withDeviceLastModifiedDate(java.util.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object