Package com.microsoft.graph.models
Class MicrosoftAuthenticatorAuthenticationMethod
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AuthenticationMethod
com.microsoft.graph.models.MicrosoftAuthenticatorAuthenticationMethod
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MicrosoftAuthenticatorAuthenticationMethod
extends AuthenticationMethod
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a newMicrosoftAuthenticatorAuthenticationMethodand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptioncreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the createdDateTime property value.Gets the device property value.Gets the deviceTag property value.Gets the displayName property value.The deserialization information for the current modelGets the phoneAppVersion property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCreatedDateTime(OffsetDateTime value) Sets the createdDateTime property value.voidSets the device property value.voidsetDeviceTag(String value) Sets the deviceTag property value.voidsetDisplayName(String value) Sets the displayName property value.voidsetPhoneAppVersion(String value) Sets the phoneAppVersion property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
MicrosoftAuthenticatorAuthenticationMethod
public MicrosoftAuthenticatorAuthenticationMethod()Instantiates a newMicrosoftAuthenticatorAuthenticationMethodand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MicrosoftAuthenticatorAuthenticationMethod createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
MicrosoftAuthenticatorAuthenticationMethod
-
getCreatedDateTime
Gets the createdDateTime property value. The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In.- Returns:
- a
OffsetDateTime
-
getDevice
Gets the device property value. The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In.- Returns:
- a
Device
-
getDeviceTag
Gets the deviceTag property value. Tags containing app metadata.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The name of the device on which this app is registered.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classAuthenticationMethod- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getPhoneAppVersion
Gets the phoneAppVersion property value. Numerical version of this instance of the Authenticator app.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
serializein classAuthenticationMethod- Parameters:
writer- Serialization writer to use to serialize this model
-
setCreatedDateTime
Sets the createdDateTime property value. The date and time that this app was registered. This property is null if the device isn't registered for passwordless Phone Sign-In.- Parameters:
value- Value to set for the createdDateTime property.
-
setDevice
Sets the device property value. The registered device on which Microsoft Authenticator resides. This property is null if the device isn't registered for passwordless Phone Sign-In.- Parameters:
value- Value to set for the device property.
-
setDeviceTag
Sets the deviceTag property value. Tags containing app metadata.- Parameters:
value- Value to set for the deviceTag property.
-
setDisplayName
Sets the displayName property value. The name of the device on which this app is registered.- Parameters:
value- Value to set for the displayName property.
-
setPhoneAppVersion
Sets the phoneAppVersion property value. Numerical version of this instance of the Authenticator app.- Parameters:
value- Value to set for the phoneAppVersion property.
-