Class DeviceLocalCredential

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.DeviceLocalCredential
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class DeviceLocalCredential extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • DeviceLocalCredential

      public DeviceLocalCredential()
      Instantiates a new DeviceLocalCredential and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static DeviceLocalCredential 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 DeviceLocalCredential
    • getAccountName

      @Nullable public String getAccountName()
      Gets the accountName property value. The name of the local admin account for which LAPS is enabled.
      Returns:
      a String
    • getAccountSid

      @Nullable public String getAccountSid()
      Gets the accountSid property value. The SID of the local admin account for which LAPS is enabled.
      Returns:
      a String
    • getBackupDateTime

      @Nullable public OffsetDateTime getBackupDateTime()
      Gets the backupDateTime property value. When the local administrator account credential for the device object was backed up to Azure Active Directory.
      Returns:
      a OffsetDateTime
    • 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>>
    • getPasswordBase64

      @Nullable public String getPasswordBase64()
      Gets the passwordBase64 property value. The password for the local administrator account that is backed up to Azure Active Directory and returned as a Base64 encoded value.
      Returns:
      a String
    • 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
    • setAccountName

      public void setAccountName(@Nullable String value)
      Sets the accountName property value. The name of the local admin account for which LAPS is enabled.
      Parameters:
      value - Value to set for the accountName property.
    • setAccountSid

      public void setAccountSid(@Nullable String value)
      Sets the accountSid property value. The SID of the local admin account for which LAPS is enabled.
      Parameters:
      value - Value to set for the accountSid property.
    • setBackupDateTime

      public void setBackupDateTime(@Nullable OffsetDateTime value)
      Sets the backupDateTime property value. When the local administrator account credential for the device object was backed up to Azure Active Directory.
      Parameters:
      value - Value to set for the backupDateTime property.
    • setPasswordBase64

      public void setPasswordBase64(@Nullable String value)
      Sets the passwordBase64 property value. The password for the local administrator account that is backed up to Azure Active Directory and returned as a Base64 encoded value.
      Parameters:
      value - Value to set for the passwordBase64 property.