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 TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 temporaryAccessPass 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 temporaryAccessPass lifetime. -
lifetimeInMinutes
@SerializedName(value="lifetimeInMinutes", alternate="LifetimeInMinutes") @Expose @Nullable public Integer lifetimeInMinutesThe 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 methodUsabilityReasonThe 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 startDateTimeThe Start Date Time. The date and time when the temporaryAccessPass becomes available to use. -
temporaryAccessPass
@SerializedName(value="temporaryAccessPass", alternate="TemporaryAccessPass") @Expose @Nullable public String temporaryAccessPassThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classAuthenticationMethod- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-