public class AuditProperty extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AuditProperty.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected String |
newValue |
protected String |
odataType |
protected String |
oldValue |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AuditProperty() |
| Modifier and Type | Method and Description |
|---|---|
static AuditProperty.Builder |
builder()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
Optional<String> |
getDisplayName()
“Display name.”
|
Optional<String> |
getNewValue()
“New value.”
|
Optional<String> |
getOldValue()
“Old value.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AuditProperty |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
AuditProperty |
withNewValue(String newValue)
Returns an immutable copy of
this with just the newValue field
changed. |
AuditProperty |
withOldValue(String oldValue)
Returns an immutable copy of
this with just the oldValue field
changed. |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String displayName
protected String oldValue
protected String newValue
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDisplayName()
public AuditProperty withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Display name.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic AuditProperty withOldValue(String oldValue)
this with just the oldValue field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Old value.”
oldValue - new value of oldValue field (as defined in service metadata)this with just the oldValue field changedpublic AuditProperty withNewValue(String newValue)
this with just the newValue field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“New value.”
newValue - new value of newValue field (as defined in service metadata)this with just the newValue field changedpublic com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static AuditProperty.Builder builder()
Copyright © 2018–2020. All rights reserved.