Package com.microsoft.graph.models
Class DeviceInstallState
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceInstallState
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceInstallState
extends Entity
implements com.microsoft.kiota.serialization.Parsable
Contains properties for the installation state for a device.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceInstallStatecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the deviceId property value.Gets the deviceName property value.Gets the errorCode property value.The deserialization information for the current modelGets the installState property value.Gets the lastSyncDateTime property value.Gets the osDescription property value.Gets the osVersion property value.Gets the userName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetDeviceId(String value) Sets the deviceId property value.voidsetDeviceName(String value) Sets the deviceName property value.voidsetErrorCode(String value) Sets the errorCode property value.voidsetInstallState(InstallState value) Sets the installState property value.voidSets the lastSyncDateTime property value.voidsetOsDescription(String value) Sets the osDescription property value.voidsetOsVersion(String value) Sets the osVersion property value.voidsetUserName(String value) Sets the userName property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceInstallState
public DeviceInstallState()Instantiates a newDeviceInstallStateand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceInstallState createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
DeviceInstallState
-
getDeviceId
Gets the deviceId property value. Device Id.- Returns:
- a
String
-
getDeviceName
Gets the deviceName property value. Device name.- Returns:
- a
String
-
getErrorCode
Gets the errorCode property value. The error code for install failures.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getInstallState
Gets the installState property value. Possible values for install state.- Returns:
- a
InstallState
-
getLastSyncDateTime
Gets the lastSyncDateTime property value. Last sync date and time.- Returns:
- a
OffsetDateTime
-
getOsDescription
Gets the osDescription property value. OS Description.- Returns:
- a
String
-
getOsVersion
Gets the osVersion property value. OS Version.- Returns:
- a
String
-
getUserName
Gets the userName property value. Device User Name.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setDeviceId
Sets the deviceId property value. Device Id.- Parameters:
value- Value to set for the deviceId property.
-
setDeviceName
Sets the deviceName property value. Device name.- Parameters:
value- Value to set for the deviceName property.
-
setErrorCode
Sets the errorCode property value. The error code for install failures.- Parameters:
value- Value to set for the errorCode property.
-
setInstallState
Sets the installState property value. Possible values for install state.- Parameters:
value- Value to set for the installState property.
-
setLastSyncDateTime
Sets the lastSyncDateTime property value. Last sync date and time.- Parameters:
value- Value to set for the lastSyncDateTime property.
-
setOsDescription
Sets the osDescription property value. OS Description.- Parameters:
value- Value to set for the osDescription property.
-
setOsVersion
Sets the osVersion property value. OS Version.- Parameters:
value- Value to set for the osVersion property.
-
setUserName
Sets the userName property value. Device User Name.- Parameters:
value- Value to set for the userName property.
-