All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.identitytoolkit.v2.model.GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.identitytoolkit.v2.model;

/**
 * Phone Verification info for a FinalizeMfa request.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Identity Toolkit API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo extends com.google.api.client.json.GenericJson { /** * Android only. Uses for "instant" phone number verification though GmsCore. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String androidVerificationProof; /** * User-entered verification code. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String code; /** * Required if Android verification proof is presented. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String phoneNumber; /** * An opaque string that represents the enrollment session. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String sessionInfo; /** * Android only. Uses for "instant" phone number verification though GmsCore. * @return value or {@code null} for none */ public java.lang.String getAndroidVerificationProof() { return androidVerificationProof; } /** * Android only. Uses for "instant" phone number verification though GmsCore. * @param androidVerificationProof androidVerificationProof or {@code null} for none */ public GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo setAndroidVerificationProof(java.lang.String androidVerificationProof) { this.androidVerificationProof = androidVerificationProof; return this; } /** * User-entered verification code. * @return value or {@code null} for none */ public java.lang.String getCode() { return code; } /** * User-entered verification code. * @param code code or {@code null} for none */ public GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo setCode(java.lang.String code) { this.code = code; return this; } /** * Required if Android verification proof is presented. * @return value or {@code null} for none */ public java.lang.String getPhoneNumber() { return phoneNumber; } /** * Required if Android verification proof is presented. * @param phoneNumber phoneNumber or {@code null} for none */ public GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo setPhoneNumber(java.lang.String phoneNumber) { this.phoneNumber = phoneNumber; return this; } /** * An opaque string that represents the enrollment session. * @return value or {@code null} for none */ public java.lang.String getSessionInfo() { return sessionInfo; } /** * An opaque string that represents the enrollment session. * @param sessionInfo sessionInfo or {@code null} for none */ public GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo setSessionInfo(java.lang.String sessionInfo) { this.sessionInfo = sessionInfo; return this; } @Override public GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo set(String fieldName, Object value) { return (GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo) super.set(fieldName, value); } @Override public GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo clone() { return (GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy