Package com.microsoft.graph.models
Class DeviceLocalCredentialInfo
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceLocalCredentialInfo
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class DeviceLocalCredentialInfo
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceLocalCredentialInfo
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the credentials property value.Gets the deviceName property value.The deserialization information for the current modelGets the lastBackupDateTime property value.Gets the refreshDateTime property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setCredentials
(List<DeviceLocalCredential> value) Sets the credentials property value.void
setDeviceName
(String value) Sets the deviceName property value.void
Sets the lastBackupDateTime property value.void
setRefreshDateTime
(OffsetDateTime value) Sets the refreshDateTime property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
DeviceLocalCredentialInfo
public DeviceLocalCredentialInfo()Instantiates a newDeviceLocalCredentialInfo
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static DeviceLocalCredentialInfo 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
DeviceLocalCredentialInfo
-
getCredentials
Gets the credentials property value. The credentials of the device's local administrator account backed up to Azure Active Directory.- Returns:
- a
List<DeviceLocalCredential>
-
getDeviceName
Gets the deviceName property value. Display name of the device that the local credentials are associated with.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getLastBackupDateTime
Gets the lastBackupDateTime property value. When the local administrator account credential was backed up to Azure Active Directory.- Returns:
- a
OffsetDateTime
-
getRefreshDateTime
Gets the refreshDateTime property value. When the local administrator account credential will be refreshed and backed up to Azure Active Directory.- Returns:
- a
OffsetDateTime
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setCredentials
Sets the credentials property value. The credentials of the device's local administrator account backed up to Azure Active Directory.- Parameters:
value
- Value to set for the credentials property.
-
setDeviceName
Sets the deviceName property value. Display name of the device that the local credentials are associated with.- Parameters:
value
- Value to set for the deviceName property.
-
setLastBackupDateTime
Sets the lastBackupDateTime property value. When the local administrator account credential was backed up to Azure Active Directory.- Parameters:
value
- Value to set for the lastBackupDateTime property.
-
setRefreshDateTime
Sets the refreshDateTime property value. When the local administrator account credential will be refreshed and backed up to Azure Active Directory.- Parameters:
value
- Value to set for the refreshDateTime property.
-