public class DeviceManagementTroubleshootingEvent extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceManagementTroubleshootingEvent.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected List<KeyValuePair> |
additionalInformation |
protected String |
additionalInformationNextLink |
protected String |
correlationId |
protected OffsetDateTime |
eventDateTime |
protected String |
eventName |
protected DeviceManagementTroubleshootingErrorDetails |
troubleshootingErrorDetails |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
DeviceManagementTroubleshootingEvent() |
| Modifier and Type | Method and Description |
|---|---|
static DeviceManagementTroubleshootingEvent.Builder |
builderDeviceManagementTroubleshootingEvent()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> |
getAdditionalInformation()
“A set of string key and string value pairs which provides additional information
on the Troubleshooting event”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getCorrelationId()
“Id used for tracing the failure in the service.”
|
Optional<OffsetDateTime> |
getEventDateTime()
“Time when the event occurred .”
|
Optional<String> |
getEventName()
“Event Name corresponding to the Troubleshooting Event.
|
Optional<DeviceManagementTroubleshootingErrorDetails> |
getTroubleshootingErrorDetails()
“Object containing detailed information about the error and its remediation.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
DeviceManagementTroubleshootingEvent |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
DeviceManagementTroubleshootingEvent |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
DeviceManagementTroubleshootingEvent |
withCorrelationId(String correlationId)
Returns an immutable copy of
this with just the correlationId
field changed. |
DeviceManagementTroubleshootingEvent |
withEventDateTime(OffsetDateTime eventDateTime)
Returns an immutable copy of
this with just the eventDateTime
field changed. |
DeviceManagementTroubleshootingEvent |
withEventName(String eventName)
Returns an immutable copy of
this with just the eventName field
changed. |
DeviceManagementTroubleshootingEvent |
withTroubleshootingErrorDetails(DeviceManagementTroubleshootingErrorDetails troubleshootingErrorDetails)
Returns an immutable copy of
this with just the troubleshootingErrorDetails field changed. |
protected OffsetDateTime eventDateTime
protected String correlationId
protected DeviceManagementTroubleshootingErrorDetails troubleshootingErrorDetails
protected String eventName
protected List<KeyValuePair> additionalInformation
protected String additionalInformationNextLink
protected DeviceManagementTroubleshootingEvent()
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static DeviceManagementTroubleshootingEvent.Builder builderDeviceManagementTroubleshootingEvent()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getEventDateTime()
public DeviceManagementTroubleshootingEvent withEventDateTime(OffsetDateTime eventDateTime)
this with just the eventDateTime
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.
“Time when the event occurred .”
eventDateTime - new value of eventDateTime field (as defined in service metadata)this with just the eventDateTime field changedpublic Optional<String> getCorrelationId()
public DeviceManagementTroubleshootingEvent withCorrelationId(String correlationId)
this with just the correlationId
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.
“Id used for tracing the failure in the service.”
correlationId - new value of correlationId field (as defined in service metadata)this with just the correlationId field changedpublic Optional<DeviceManagementTroubleshootingErrorDetails> getTroubleshootingErrorDetails()
public DeviceManagementTroubleshootingEvent withTroubleshootingErrorDetails(DeviceManagementTroubleshootingErrorDetails troubleshootingErrorDetails)
this with just the troubleshootingErrorDetails 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.
“Object containing detailed information about the error and its remediation.”
troubleshootingErrorDetails - new value of troubleshootingErrorDetails field (as defined in service metadata)this with just the troubleshootingErrorDetails field changedpublic Optional<String> getEventName()
public DeviceManagementTroubleshootingEvent withEventName(String eventName)
this with just the eventName 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.
“Event Name corresponding to the Troubleshooting Event. It is an Optional field”
eventName - new value of eventName field (as defined in service metadata)this with just the eventName field changedpublic com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getAdditionalInformation()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic DeviceManagementTroubleshootingEvent patch()
this with changed fields reset.public DeviceManagementTroubleshootingEvent put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.