Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Created Date Time.The Is Usable.The Is Usable Once.The Lifetime In Minutes.The Method Usability Reason.The Start Date Time.The Temporary Access Pass. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
createdDateTime
@SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTimeThe Created Date Time. The date and time when the Temporary Access Pass was created. -
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 isUsableOnceThe 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 lifetimeInMinutesThe 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 methodUsabilityReasonThe 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 startDateTimeThe 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 temporaryAccessPassThe 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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classAuthenticationMethod
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-