你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphDeviceManagementTroubleshootingEvent Class

public final class MicrosoftGraphDeviceManagementTroubleshootingEvent
extends MicrosoftGraphEntity

deviceManagementTroubleshootingEvent Event representing an general failure.

Constructor Summary

Constructor Description
MicrosoftGraphDeviceManagementTroubleshootingEvent()

Creates an instance of MicrosoftGraphDeviceManagementTroubleshootingEvent class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: Event representing an general failure.

String correlationId()

Get the correlationId property: Id used for tracing the failure in the service.

OffsetDateTime eventDateTime()

Get the eventDateTime property: Time when the event occurred .

static MicrosoftGraphDeviceManagementTroubleshootingEvent fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDeviceManagementTroubleshootingEvent from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphDeviceManagementTroubleshootingEvent withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Event representing an general failure.

MicrosoftGraphDeviceManagementTroubleshootingEvent withCorrelationId(String correlationId)

Set the correlationId property: Id used for tracing the failure in the service.

MicrosoftGraphDeviceManagementTroubleshootingEvent withEventDateTime(OffsetDateTime eventDateTime)

Set the eventDateTime property: Time when the event occurred .

MicrosoftGraphDeviceManagementTroubleshootingEvent withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDeviceManagementTroubleshootingEvent

public MicrosoftGraphDeviceManagementTroubleshootingEvent()

Creates an instance of MicrosoftGraphDeviceManagementTroubleshootingEvent class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Event representing an general failure.

Overrides:

MicrosoftGraphDeviceManagementTroubleshootingEvent.additionalProperties()

Returns:

the additionalProperties value.

correlationId

public String correlationId()

Get the correlationId property: Id used for tracing the failure in the service.

Returns:

the correlationId value.

eventDateTime

public OffsetDateTime eventDateTime()

Get the eventDateTime property: Time when the event occurred .

Returns:

the eventDateTime value.

fromJson

public static MicrosoftGraphDeviceManagementTroubleshootingEvent fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDeviceManagementTroubleshootingEvent from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphDeviceManagementTroubleshootingEvent if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphDeviceManagementTroubleshootingEvent.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphDeviceManagementTroubleshootingEvent.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDeviceManagementTroubleshootingEvent.validate()

withAdditionalProperties

public MicrosoftGraphDeviceManagementTroubleshootingEvent withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Event representing an general failure.

Overrides:

MicrosoftGraphDeviceManagementTroubleshootingEvent.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.

withCorrelationId

public MicrosoftGraphDeviceManagementTroubleshootingEvent withCorrelationId(String correlationId)

Set the correlationId property: Id used for tracing the failure in the service.

Parameters:

correlationId - the correlationId value to set.

Returns:

the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.

withEventDateTime

public MicrosoftGraphDeviceManagementTroubleshootingEvent withEventDateTime(OffsetDateTime eventDateTime)

Set the eventDateTime property: Time when the event occurred .

Parameters:

eventDateTime - the eventDateTime value to set.

Returns:

the MicrosoftGraphDeviceManagementTroubleshootingEvent object itself.

withId

public MicrosoftGraphDeviceManagementTroubleshootingEvent withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDeviceManagementTroubleshootingEvent.withId(String id)

Parameters:

id

Applies to