public class Device extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Device.Builder
Class to build instances of
Device. |
| Modifier | Constructor and Description |
|---|---|
|
Device(DeviceAttributes attributes,
String id,
List<Component> components,
DeviceStatus status)
Initialization constructor.
|
protected |
Device(DeviceAttributes attributes,
String id,
io.apimatic.core.types.OptionalNullable<List<Component>> components,
DeviceStatus status)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
DeviceAttributes |
getAttributes()
Getter for Attributes.
|
List<Component> |
getComponents()
Getter for Components.
|
String |
getId()
Getter for Id.
|
DeviceStatus |
getStatus()
Getter for Status.
|
int |
hashCode() |
protected io.apimatic.core.types.OptionalNullable<List<Component>> |
internalGetComponents()
Internal Getter for Components.
|
Device.Builder |
toBuilder()
Builds a new
Device.Builder object. |
String |
toString()
Converts this Device into string format.
|
public Device(DeviceAttributes attributes, String id, List<Component> components, DeviceStatus status)
attributes - DeviceAttributes value for attributes.id - String value for id.components - List of Component value for components.status - DeviceStatus value for status.protected Device(DeviceAttributes attributes, String id, io.apimatic.core.types.OptionalNullable<List<Component>> components, DeviceStatus status)
attributes - DeviceAttributes value for attributes.id - String value for id.components - List of Component value for components.status - DeviceStatus value for status.public String getId()
public DeviceAttributes getAttributes()
protected io.apimatic.core.types.OptionalNullable<List<Component>> internalGetComponents()
public List<Component> getComponents()
public DeviceStatus getStatus()
public String toString()
public Device.Builder toBuilder()
Device.Builder object.
Creates the instance with the state of the current model.Device.Builder objectCopyright © 2024. All rights reserved.