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
  • Constructor Details

    • DeviceLocalCredentialInfo

      public DeviceLocalCredentialInfo()
      Instantiates a new DeviceLocalCredentialInfo 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

      @Nullable public List<DeviceLocalCredential> 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

      @Nullable public String 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getLastBackupDateTime

      @Nullable public OffsetDateTime getLastBackupDateTime()
      Gets the lastBackupDateTime property value. When the local administrator account credential was backed up to Azure Active Directory.
      Returns:
      a OffsetDateTime
    • getRefreshDateTime

      @Nullable public 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setCredentials

      public void setCredentials(@Nullable List<DeviceLocalCredential> value)
      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

      public void setDeviceName(@Nullable String value)
      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

      public void setLastBackupDateTime(@Nullable OffsetDateTime value)
      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

      public void setRefreshDateTime(@Nullable OffsetDateTime value)
      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.