Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionbyte[]
The Custom Key Identifier.The Display Name.The End Date Time.The Hint.The Key Id.the OData type of the object as returned by the serviceThe Secret Text.The Start Date Time. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManager
void
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
customKeyIdentifier
@SerializedName(value="customKeyIdentifier", alternate="CustomKeyIdentifier") @Expose @Nullable public byte[] customKeyIdentifierThe Custom Key Identifier. Do not use. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. Friendly name for the password. Optional. -
endDateTime
@SerializedName(value="endDateTime", alternate="EndDateTime") @Expose @Nullable public OffsetDateTime endDateTimeThe 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
The Hint. Contains the first three characters of the password. Read-only. -
keyId
The Key Id. The unique identifier for the password. -
secretText
@SerializedName(value="secretText", alternate="SecretText") @Expose @Nullable public String secretTextThe 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 startDateTimeThe 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 interfacecom.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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-