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

com.ringcentral.paths.restapi.account.serviceinfo.Index Maven / Gradle / Ivy

There is a newer version: 3.2.1
Show newest version
package com.ringcentral.paths.restapi.account.serviceinfo;

import com.ringcentral.RestClient;
import com.ringcentral.definitions.AccountServiceInfo;

public class Index {
    public RestClient rc;
    public com.ringcentral.paths.restapi.account.Index parent;

    public Index(com.ringcentral.paths.restapi.account.Index parent) {
        this.parent = parent;
        this.rc = parent.rc;
    }

    public String path() {
        return parent.path() + "/service-info";
    }

    public String path(Boolean withParameter) {
        return path();
    }

    /**
     * Returns the information about service plan, available features
     * and limitations for a particular RingCentral customer account.
     * 

* HTTP Method: get * Endpoint: /restapi/{apiVersion}/account/{accountId}/service-info * Rate Limit Group: Light * App Permission: ReadAccounts * User Permission: ReadServicePlanInfo */ public AccountServiceInfo get() throws com.ringcentral.RestException, java.io.IOException { okhttp3.ResponseBody rb = this.rc.get(this.path(), null); return com.ringcentral.Utils.gson.fromJson(rb.string(), AccountServiceInfo.class); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy