Partilhar via


VerificationParameter Class

  • java.lang.Object
    • com.azure.resourcemanager.communication.models.VerificationParameter

Implements

public final class VerificationParameter
implements JsonSerializable<VerificationParameter>

Input parameter for verification APIs.

Constructor Summary

Constructor Description
VerificationParameter()

Creates an instance of VerificationParameter class.

Method Summary

Modifier and Type Method and Description
static VerificationParameter fromJson(JsonReader jsonReader)

Reads an instance of VerificationParameter from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

VerificationType verificationType()

Get the verificationType property: Type of verification.

VerificationParameter withVerificationType(VerificationType verificationType)

Set the verificationType property: Type of verification.

Methods inherited from java.lang.Object

Constructor Details

VerificationParameter

public VerificationParameter()

Creates an instance of VerificationParameter class.

Method Details

fromJson

public static VerificationParameter fromJson(JsonReader jsonReader)

Reads an instance of VerificationParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VerificationParameter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

verificationType

public VerificationType verificationType()

Get the verificationType property: Type of verification.

Returns:

the verificationType value.

withVerificationType

public VerificationParameter withVerificationType(VerificationType verificationType)

Set the verificationType property: Type of verification.

Parameters:

verificationType - the verificationType value to set.

Returns:

the VerificationParameter object itself.

Applies to