Class TemporaryAccessPassAuthenticationMethod

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AuthenticationMethod
com.microsoft.graph.models.TemporaryAccessPassAuthenticationMethod
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class TemporaryAccessPassAuthenticationMethod extends AuthenticationMethod implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Temporary Access Pass Authentication Method.
  • Field Details

    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. The date and time when the temporaryAccessPass was created.
    • isUsable

      @SerializedName(value="isUsable", alternate="IsUsable") @Expose @Nullable public Boolean isUsable
      The Is Usable. The state of the authentication method that indicates whether it's currently usable by the user.
    • isUsableOnce

      @SerializedName(value="isUsableOnce", alternate="IsUsableOnce") @Expose @Nullable public Boolean isUsableOnce
      The Is Usable Once. Determines whether the pass is limited to a one time use. If true, the pass can be used once; if false, the pass can be used multiple times within the temporaryAccessPass lifetime.
    • lifetimeInMinutes

      @SerializedName(value="lifetimeInMinutes", alternate="LifetimeInMinutes") @Expose @Nullable public Integer lifetimeInMinutes
      The Lifetime In Minutes. The lifetime of the temporaryAccessPass in minutes starting at startDateTime. Minimum 10, Maximum 43200 (equivalent to 30 days).
    • methodUsabilityReason

      @SerializedName(value="methodUsabilityReason", alternate="MethodUsabilityReason") @Expose @Nullable public String methodUsabilityReason
      The Method Usability Reason. Details about usability state (isUsable). Reasons can include: enabledByPolicy, disabledByPolicy, expired, notYetValid, oneTimeUsed.
    • startDateTime

      @SerializedName(value="startDateTime", alternate="StartDateTime") @Expose @Nullable public OffsetDateTime startDateTime
      The Start Date Time. The date and time when the temporaryAccessPass becomes available to use.
    • temporaryAccessPass

      @SerializedName(value="temporaryAccessPass", alternate="TemporaryAccessPass") @Expose @Nullable public String temporaryAccessPass
      The Temporary Access Pass. The temporaryAccessPass used to authenticate. Returned only on creation of a new temporaryAccessPass; returned as NULL with GET.
  • Constructor Details

    • TemporaryAccessPassAuthenticationMethod

      public TemporaryAccessPassAuthenticationMethod()
  • Method Details

    • 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
      Overrides:
      setRawObject in class AuthenticationMethod
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to