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 Details

    • oDataType

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

      @SerializedName(value="maxLifetime", alternate="MaxLifetime") @Expose @Nullable public Duration maxLifetime
      The Max Lifetime.
    • restrictForAppsCreatedAfterDateTime

      @SerializedName(value="restrictForAppsCreatedAfterDateTime", alternate="RestrictForAppsCreatedAfterDateTime") @Expose @Nullable public OffsetDateTime restrictForAppsCreatedAfterDateTime
      The 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 restrictionType
      The 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:
      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