public class AuditResource extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
AuditResource.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected String |
displayName |
protected List<AuditProperty> |
modifiedProperties |
protected String |
modifiedPropertiesNextLink |
protected String |
odataType |
protected String |
resourceId |
protected String |
type |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
AuditResource() |
| Modifier and Type | Method and Description |
|---|---|
static AuditResource.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.”
|
com.github.davidmoten.odata.client.CollectionPage<AuditProperty> |
getModifiedProperties()
“List of modified properties.”
|
Optional<String> |
getResourceId()
“Audit resource's Id.”
|
Optional<String> |
getType()
“Audit resource's type.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
void |
postInject(boolean addKeysToContextPath) |
String |
toString() |
AuditResource |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
AuditResource |
withResourceId(String resourceId)
Returns an immutable copy of
this with just the resourceId field
changed. |
AuditResource |
withType(String type)
Returns an immutable copy of
this with just the type 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 List<AuditProperty> modifiedProperties
protected String modifiedPropertiesNextLink
protected String type
protected String resourceId
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic Optional<String> getDisplayName()
public AuditResource 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 com.github.davidmoten.odata.client.CollectionPage<AuditProperty> getModifiedProperties()
public AuditResource withType(String type)
this with just the type 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.
“Audit resource's type.”
type - new value of type field (as defined in service metadata)this with just the type field changedpublic Optional<String> getResourceId()
public AuditResource withResourceId(String resourceId)
this with just the resourceId 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.
“Audit resource's Id.”
resourceId - new value of resourceId field (as defined in service metadata)this with just the resourceId 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 AuditResource.Builder builder()
Copyright © 2018–2020. All rights reserved.