Class PasswordCredential

java.lang.Object
com.microsoft.graph.models.PasswordCredential
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class PasswordCredential extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Password Credential.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • customKeyIdentifier

      @SerializedName(value="customKeyIdentifier", alternate="CustomKeyIdentifier") @Expose @Nullable public byte[] customKeyIdentifier
      The Custom Key Identifier. Do not use.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. Friendly name for the password. Optional.
    • endDateTime

      @SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTime
      The End Date Time. The date and time at which the password expires represented using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
    • hint

      @SerializedName(value="hint", alternate="Hint") @Expose @Nullable public String hint
      The Hint. Contains the first three characters of the password. Read-only.
    • keyId

      @SerializedName(value="keyId", alternate="KeyId") @Expose @Nullable public UUID keyId
      The Key Id. The unique identifier for the password.
    • secretText

      @SerializedName(value="secretText", alternate="SecretText") @Expose @Nullable public String secretText
      The Secret Text. Read-only; Contains the strong passwords generated by Azure AD that are 16-64 characters in length. The generated password value is only returned during the initial POST request to addPassword. There is no way to retrieve this password in the future.
    • startDateTime

      @SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTime
      The Start Date Time. The date and time at which the password becomes valid. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. Optional.
  • Constructor Details

    • PasswordCredential

      public PasswordCredential()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to