com.ringcentral.definitions.BlockedAllowedPhoneNumberInfo Maven / Gradle / Ivy
package com.ringcentral.definitions;
/**
* Information on a blocked/allowed phone number
*/
public class BlockedAllowedPhoneNumberInfo {
/**
* Link to a blocked/allowed phone number
* Format: uri
*/
public String uri;
/**
* Internal identifier of a blocked/allowed phone number
*/
public String id;
/**
* A blocked/allowed phone number in [E.164](https://www.itu.int/rec/T-REC-E.164-201011-I) format
*/
public String phoneNumber;
/**
* Custom name of a blocked/allowed phone number
*/
public String label;
/**
* Status of a phone number
* Default: Blocked
* Enum: Blocked, Allowed
*/
public String status;
public BlockedAllowedPhoneNumberInfo uri(String uri) {
this.uri = uri;
return this;
}
public BlockedAllowedPhoneNumberInfo id(String id) {
this.id = id;
return this;
}
public BlockedAllowedPhoneNumberInfo phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public BlockedAllowedPhoneNumberInfo label(String label) {
this.label = label;
return this;
}
public BlockedAllowedPhoneNumberInfo status(String status) {
this.status = status;
return this;
}
}