PhoneNumberReleaseDetails Class

  • java.lang.Object
    • com.azure.communication.administration.models.PhoneNumberReleaseDetails

public final class PhoneNumberReleaseDetails

The PhoneNumberReleaseDetails model.

Constructor Summary

Constructor Description
PhoneNumberReleaseDetails()

Method Summary

Modifier and Type Method and Description
Integer getErrorCode()

Get the errorCode property: The error code in the case the status is error.

PhoneNumberReleaseStatus getStatus()

Get the status property: The release status of a phone number.

PhoneNumberReleaseDetails setErrorCode(Integer errorCode)

Set the errorCode property: The error code in the case the status is error.

PhoneNumberReleaseDetails setStatus(PhoneNumberReleaseStatus status)

Set the status property: The release status of a phone number.

Methods inherited from java.lang.Object

Constructor Details

PhoneNumberReleaseDetails

public PhoneNumberReleaseDetails()

Method Details

getErrorCode

public Integer getErrorCode()

Get the errorCode property: The error code in the case the status is error.

Returns:

the errorCode value.

getStatus

public PhoneNumberReleaseStatus getStatus()

Get the status property: The release status of a phone number.

Returns:

the status value.

setErrorCode

public PhoneNumberReleaseDetails setErrorCode(Integer errorCode)

Set the errorCode property: The error code in the case the status is error.

Parameters:

errorCode - the errorCode value to set.

Returns:

the PhoneNumberReleaseDetails object itself.

setStatus

public PhoneNumberReleaseDetails setStatus(PhoneNumberReleaseStatus status)

Set the status property: The release status of a phone number.

Parameters:

status - the status value to set.

Returns:

the PhoneNumberReleaseDetails object itself.

Applies to