Class VerificationStatusRecord
- java.lang.Object
-
- com.azure.resourcemanager.communication.models.VerificationStatusRecord
-
public final class VerificationStatusRecord extends Object
A class that represents a VerificationStatus record.
-
-
Constructor Summary
Constructors Constructor Description VerificationStatusRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
errorCode()
Get the errorCode property: Error code.VerificationStatus
status()
Get the status property: Status of the verification operation.void
validate()
Validates the instance.
-
-
-
Method Detail
-
status
public VerificationStatus status()
Get the status property: Status of the verification operation.- Returns:
- the status value.
-
errorCode
public String errorCode()
Get the errorCode property: Error code. This property will only be present if the status is UnableToVerify.- Returns:
- the errorCode value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-