com.ringcentral.definitions.MessageStoreCallerInfoResponseFrom Maven / Gradle / Ivy
package com.ringcentral.definitions;
/**
* Sender information
*/
public class MessageStoreCallerInfoResponseFrom {
/**
* Extension short number (usually 3 or 4 digits). This property
* is filled when parties communicate by means of short internal numbers,
* for example when calling to other extension or sending/receiving Company
* Pager message
*/
public String extensionNumber;
/**
* Internal identifier of an extension
*/
public String extensionId;
/**
* Contains party location (city, state) if one can be determined
* from phoneNumber. This property is filled only when phoneNumber is not
* empty and server can calculate location information from it (for example,
* this information is unavailable for US toll-free numbers)
*/
public String location;
/**
* Symbolic name associated with a party. If the phone does not
* belong to the known extension, only the location is returned, the name
* is not determined then
*/
public String name;
/**
* Phone number of a party. Usually it is a plain number including
* country and area code like 18661234567. But sometimes it could be returned
* from database with some formatting applied, for example (866)123-4567.
* This property is filled in all cases where parties communicate by means
* of global phone numbers, for example when calling to direct numbers or
* sending/receiving SMS
*/
public String phoneNumber;
public MessageStoreCallerInfoResponseFrom extensionNumber(String extensionNumber) {
this.extensionNumber = extensionNumber;
return this;
}
public MessageStoreCallerInfoResponseFrom extensionId(String extensionId) {
this.extensionId = extensionId;
return this;
}
public MessageStoreCallerInfoResponseFrom location(String location) {
this.location = location;
return this;
}
public MessageStoreCallerInfoResponseFrom name(String name) {
this.name = name;
return this;
}
public MessageStoreCallerInfoResponseFrom phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy