Package com.microsoft.graph.models
Class PasswordCredentialConfiguration
java.lang.Object
com.microsoft.graph.models.PasswordCredentialConfiguration
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class PasswordCredentialConfiguration
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Password Credential Configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Max Lifetime.the OData type of the object as returned by the serviceThe Restrict For Apps Created After Date Time.The Restriction Type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(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 -
maxLifetime
@SerializedName(value="maxLifetime", alternate="MaxLifetime") @Expose @Nullable public Duration maxLifetimeThe Max Lifetime. -
restrictForAppsCreatedAfterDateTime
@SerializedName(value="restrictForAppsCreatedAfterDateTime", alternate="RestrictForAppsCreatedAfterDateTime") @Expose @Nullable public OffsetDateTime restrictForAppsCreatedAfterDateTimeThe Restrict For Apps Created After Date Time. Enforces the policy for an app created on or after the enforcement date. For existing applications, the enforcement date would be back dated. To apply to all applications, enforcement datetime would be null. -
restrictionType
@SerializedName(value="restrictionType", alternate="RestrictionType") @Expose @Nullable public AppCredentialRestrictionType restrictionTypeThe Restriction Type. The type of restriction being applied. The possible values are: passwordAddition, passwordLifetime, symmetricKeyAddition, symmetricKeyLifetime,customPasswordAddition, unknownFutureValue. Each value of restrictionType can be used only once per policy.
-
-
Constructor Details
-
PasswordCredentialConfiguration
public PasswordCredentialConfiguration()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-