DeviceInsightInner Class
- java.
lang. Object - com.
azure. resourcemanager. sphere. fluent. models. DeviceInsightInner
- com.
Implements
public final class DeviceInsightInner
implements JsonSerializable<DeviceInsightInner>
Device insight report.
Constructor Summary
| Constructor | Description |
|---|---|
| DeviceInsightInner() |
Creates an instance of Device |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: Event description. |
| String |
deviceId()
Get the device |
|
Offset |
endTimestampUtc()
Get the end |
| String |
eventCategory()
Get the event |
| String |
eventClass()
Get the event |
| int |
eventCount()
Get the event |
| String |
eventType()
Get the event |
|
static
Device |
fromJson(JsonReader jsonReader)
Reads an instance of Device |
|
Offset |
startTimestampUtc()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Device |
withDescription(String description)
Set the description property: Event description. |
|
Device |
withDeviceId(String deviceId)
Set the device |
|
Device |
withEndTimestampUtc(OffsetDateTime endTimestampUtc)
Set the end |
|
Device |
withEventCategory(String eventCategory)
Set the event |
|
Device |
withEventClass(String eventClass)
Set the event |
|
Device |
withEventCount(int eventCount)
Set the event |
|
Device |
withEventType(String eventType)
Set the event |
|
Device |
withStartTimestampUtc(OffsetDateTime startTimestampUtc)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
DeviceInsightInner
public DeviceInsightInner()
Creates an instance of DeviceInsightInner class.
Method Details
description
public String description()
Get the description property: Event description.
Returns:
deviceId
public String deviceId()
Get the deviceId property: Device ID.
Returns:
endTimestampUtc
public OffsetDateTime endTimestampUtc()
Get the endTimestampUtc property: Event end timestamp.
Returns:
eventCategory
public String eventCategory()
Get the eventCategory property: Event category.
Returns:
eventClass
public String eventClass()
Get the eventClass property: Event class.
Returns:
eventCount
public int eventCount()
Get the eventCount property: Event count.
Returns:
eventType
public String eventType()
Get the eventType property: Event type.
Returns:
fromJson
public static DeviceInsightInner fromJson(JsonReader jsonReader)
Reads an instance of DeviceInsightInner from the JsonReader.
Parameters:
Returns:
Throws:
startTimestampUtc
public OffsetDateTime startTimestampUtc()
Get the startTimestampUtc property: Event start timestamp.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDescription
public DeviceInsightInner withDescription(String description)
Set the description property: Event description.
Parameters:
Returns:
withDeviceId
public DeviceInsightInner withDeviceId(String deviceId)
Set the deviceId property: Device ID.
Parameters:
Returns:
withEndTimestampUtc
public DeviceInsightInner withEndTimestampUtc(OffsetDateTime endTimestampUtc)
Set the endTimestampUtc property: Event end timestamp.
Parameters:
Returns:
withEventCategory
public DeviceInsightInner withEventCategory(String eventCategory)
Set the eventCategory property: Event category.
Parameters:
Returns:
withEventClass
public DeviceInsightInner withEventClass(String eventClass)
Set the eventClass property: Event class.
Parameters:
Returns:
withEventCount
public DeviceInsightInner withEventCount(int eventCount)
Set the eventCount property: Event count.
Parameters:
Returns:
withEventType
public DeviceInsightInner withEventType(String eventType)
Set the eventType property: Event type.
Parameters:
Returns:
withStartTimestampUtc
public DeviceInsightInner withStartTimestampUtc(OffsetDateTime startTimestampUtc)
Set the startTimestampUtc property: Event start timestamp.
Parameters:
Returns: