![JAR search and dependency download from the Maven repository](/logo.png)
com.ringcentral.definitions.CallLogToParty Maven / Gradle / Ivy
package com.ringcentral.definitions;
/**
* Target caller information
*/
public class CallLogToParty {
/**
* 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;
/**
* 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;
/**
* 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;
/**
* 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;
/**
*
*/
public CallLogRecordDeviceInfo device;
/**
* Dialed phone number without any format modifications. Returned for outbound calls
*/
public String dialedPhoneNumber;
public CallLogToParty phoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
return this;
}
public CallLogToParty extensionNumber(String extensionNumber) {
this.extensionNumber = extensionNumber;
return this;
}
public CallLogToParty extensionId(String extensionId) {
this.extensionId = extensionId;
return this;
}
public CallLogToParty name(String name) {
this.name = name;
return this;
}
public CallLogToParty location(String location) {
this.location = location;
return this;
}
public CallLogToParty device(CallLogRecordDeviceInfo device) {
this.device = device;
return this;
}
public CallLogToParty dialedPhoneNumber(String dialedPhoneNumber) {
this.dialedPhoneNumber = dialedPhoneNumber;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy