Package com.microsoft.graph.models
Class PhoneAuthenticationMethod
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AuthenticationMethod
com.microsoft.graph.models.PhoneAuthenticationMethod
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class PhoneAuthenticationMethod
extends AuthenticationMethod
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Phone Authentication Method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Phone Number.The Phone Type.The Sms Sign In State. -
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
-
phoneNumber
@SerializedName(value="phoneNumber", alternate="PhoneNumber") @Expose @Nullable public String phoneNumberThe Phone Number. The phone number to text or call for authentication. Phone numbers use the format +{country code} {number}x{extension}, with extension optional. For example, +1 5555551234 or +1 5555551234x123 are valid. Numbers are rejected when creating or updating if they do not match the required format. -
phoneType
@SerializedName(value="phoneType", alternate="PhoneType") @Expose @Nullable public AuthenticationPhoneType phoneTypeThe Phone Type. The type of this phone. Possible values are: mobile, alternateMobile, or office. -
smsSignInState
@SerializedName(value="smsSignInState", alternate="SmsSignInState") @Expose @Nullable public AuthenticationMethodSignInState smsSignInStateThe Sms Sign In State. Whether a phone is ready to be used for SMS sign-in or not. Possible values are: notSupported, notAllowedByPolicy, notEnabled, phoneNumberNotUnique, ready, or notConfigured, unknownFutureValue.
-
-
Constructor Details
-
PhoneAuthenticationMethod
public PhoneAuthenticationMethod()
-
-
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
-