PhoneNumberRelease Class

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

public final class PhoneNumberRelease

The PhoneNumberRelease model.

Constructor Summary

Constructor Description
PhoneNumberRelease()

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreatedAt()

Get the createdAt property: The creation time of the release.

String getErrorMessage()

Get the errorMessage property: The underlying error message of a release.

Map<String,PhoneNumberReleaseDetails> getPhoneNumberReleaseStatusDetails()

Get the phoneNumberReleaseStatusDetails property: The list of phone numbers in the release, mapped to its individual statuses.

String getReleaseId()

Get the releaseId property: The id of the release.

ReleaseStatus getStatus()

Get the status property: The release status.

PhoneNumberRelease setCreatedAt(OffsetDateTime createdAt)

Set the createdAt property: The creation time of the release.

PhoneNumberRelease setErrorMessage(String errorMessage)

Set the errorMessage property: The underlying error message of a release.

PhoneNumberRelease setPhoneNumberReleaseStatusDetails(Map<String,PhoneNumberReleaseDetails> phoneNumberReleaseStatusDetails)

Set the phoneNumberReleaseStatusDetails property: The list of phone numbers in the release, mapped to its individual statuses.

PhoneNumberRelease setReleaseId(String releaseId)

Set the releaseId property: The id of the release.

PhoneNumberRelease setStatus(ReleaseStatus status)

Set the status property: The release status.

Methods inherited from java.lang.Object

Constructor Details

PhoneNumberRelease

public PhoneNumberRelease()

Method Details

getCreatedAt

public OffsetDateTime getCreatedAt()

Get the createdAt property: The creation time of the release.

Returns:

the createdAt value.

getErrorMessage

public String getErrorMessage()

Get the errorMessage property: The underlying error message of a release.

Returns:

the errorMessage value.

getPhoneNumberReleaseStatusDetails

public Map<String,PhoneNumberReleaseDetails> getPhoneNumberReleaseStatusDetails()

Get the phoneNumberReleaseStatusDetails property: The list of phone numbers in the release, mapped to its individual statuses.

Returns:

the phoneNumberReleaseStatusDetails value.

getReleaseId

public String getReleaseId()

Get the releaseId property: The id of the release.

Returns:

the releaseId value.

getStatus

public ReleaseStatus getStatus()

Get the status property: The release status.

Returns:

the status value.

setCreatedAt

public PhoneNumberRelease setCreatedAt(OffsetDateTime createdAt)

Set the createdAt property: The creation time of the release.

Parameters:

createdAt - the createdAt value to set.

Returns:

the PhoneNumberRelease object itself.

setErrorMessage

public PhoneNumberRelease setErrorMessage(String errorMessage)

Set the errorMessage property: The underlying error message of a release.

Parameters:

errorMessage - the errorMessage value to set.

Returns:

the PhoneNumberRelease object itself.

setPhoneNumberReleaseStatusDetails

public PhoneNumberRelease setPhoneNumberReleaseStatusDetails(Map<String,PhoneNumberReleaseDetails> phoneNumberReleaseStatusDetails)

Set the phoneNumberReleaseStatusDetails property: The list of phone numbers in the release, mapped to its individual statuses.

Parameters:

phoneNumberReleaseStatusDetails - the phoneNumberReleaseStatusDetails value to set.

Returns:

the PhoneNumberRelease object itself.

setReleaseId

public PhoneNumberRelease setReleaseId(String releaseId)

Set the releaseId property: The id of the release.

Parameters:

releaseId - the releaseId value to set.

Returns:

the PhoneNumberRelease object itself.

setStatus

public PhoneNumberRelease setStatus(ReleaseStatus status)

Set the status property: The release status.

Parameters:

status - the status value to set.

Returns:

the PhoneNumberRelease object itself.

Applies to