All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ringcentral.definitions.DeviceProvisioningExtensionInfo Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.definitions;


/**
 * Information on the extension, to which the phone number is assigned. Returned only for the request of Account phone number list
 */
public class DeviceProvisioningExtensionInfo {
    /**
     * Internal identifier of an extension
     */
    public String id;
    /**
     * Canonical URI of an extension
     * Format: uri
     */
    public String uri;
    /**
     * Number of extension
     */
    public String extensionNumber;
    /**
     * For Partner Applications Internal identifier of an extension
     * created by partner. The RingCentral supports the mapping of accounts and
     * stores the corresponding account ID/extension ID for each partner ID of
     * a client application. In request URIs partner IDs are accepted instead
     * of regular RingCentral native IDs as path parameters using pid = XXX clause.
     * Though in response URIs contain the corresponding account IDs and extension
     * IDs. In all request and response bodies these values are reflected via
     * partnerId attributes of account and extension
     */
    public String partnerId;

    public DeviceProvisioningExtensionInfo id(String id) {
        this.id = id;
        return this;
    }

    public DeviceProvisioningExtensionInfo uri(String uri) {
        this.uri = uri;
        return this;
    }

    public DeviceProvisioningExtensionInfo extensionNumber(String extensionNumber) {
        this.extensionNumber = extensionNumber;
        return this;
    }

    public DeviceProvisioningExtensionInfo partnerId(String partnerId) {
        this.partnerId = partnerId;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy