VerificationCodeResponseProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceprovisioningservices.models.VerificationCodeResponseProperties

Implements

public final class VerificationCodeResponseProperties
implements JsonSerializable<VerificationCodeResponseProperties>

The VerificationCodeResponseProperties model.

Method Summary

Modifier and Type Method and Description
byte[] certificate()

Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.

String created()

Get the created property: Certificate created time.

String expiry()

Get the expiry property: Code expiry.

static VerificationCodeResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of VerificationCodeResponseProperties from the JsonReader.

Boolean isVerified()

Get the isVerified property: Indicate if the certificate is verified by owner of private key.

String subject()

Get the subject property: Certificate subject.

String thumbprint()

Get the thumbprint property: Certificate thumbprint.

JsonWriter toJson(JsonWriter jsonWriter)
String updated()

Get the updated property: Certificate updated time.

String verificationCode()

Get the verificationCode property: Verification code.

Methods inherited from java.lang.Object

Method Details

certificate

public byte[] certificate()

Get the certificate property: base-64 representation of X509 certificate .cer file or just .pem file content.

Returns:

the certificate value.

created

public String created()

Get the created property: Certificate created time.

Returns:

the created value.

expiry

public String expiry()

Get the expiry property: Code expiry.

Returns:

the expiry value.

fromJson

public static VerificationCodeResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of VerificationCodeResponseProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the VerificationCodeResponseProperties.

isVerified

public Boolean isVerified()

Get the isVerified property: Indicate if the certificate is verified by owner of private key.

Returns:

the isVerified value.

subject

public String subject()

Get the subject property: Certificate subject.

Returns:

the subject value.

thumbprint

public String thumbprint()

Get the thumbprint property: Certificate thumbprint.

Returns:

the thumbprint value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

updated

public String updated()

Get the updated property: Certificate updated time.

Returns:

the updated value.

verificationCode

public String verificationCode()

Get the verificationCode property: Verification code.

Returns:

the verificationCode value.

Applies to