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 Temporary Access Pass 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 Temporary Access Pass lifetime.
    • lifetimeInMinutes

      @SerializedName(value="lifetimeInMinutes", alternate="LifetimeInMinutes") @Expose @Nullable public Integer lifetimeInMinutes
      The Lifetime In Minutes. The lifetime of the Temporary Access Pass in minutes starting at startDateTime. Must be between 10 and 43200 inclusive (equivalent to 30 days).
    • methodUsabilityReason

      @SerializedName(value="methodUsabilityReason", alternate="MethodUsabilityReason") @Expose @Nullable public String methodUsabilityReason
      The Method Usability Reason. Details about the 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 Temporary Access Pass becomes available to use and when isUsable is true is enforced.
    • temporaryAccessPass

      @SerializedName(value="temporaryAccessPass", alternate="TemporaryAccessPass") @Expose @Nullable public String temporaryAccessPass
      The Temporary Access Pass. The Temporary Access Pass used to authenticate. Returned only on creation of a new temporaryAccessPassAuthenticationMethod object; Hidden in subsequent read operations and 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