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

com.ringcentral.paths.rcvideo.v1.accounts.Index Maven / Gradle / Ivy

There is a newer version: 3.2.3
Show newest version
package com.ringcentral.paths.rcvideo.v1.accounts;

import com.ringcentral.RestClient;

public class Index {
    public RestClient rc;
    public com.ringcentral.paths.rcvideo.v1.Index parent;
    public String accountId;

    public Index(com.ringcentral.paths.rcvideo.v1.Index parent, String accountId) {
        this.parent = parent;
        this.rc = parent.rc;
        this.accountId = accountId;
    }

    public String path(Boolean withParameter) {
        if (withParameter && accountId != null) {
            return parent.path() + "/accounts/" + accountId;
        }
        return parent.path() + "/accounts";
    }

    public String path() {
        return path(true);
    }


    public com.ringcentral.paths.rcvideo.v1.accounts.extensions.Index extensions() {
        return this.extensions(null);
    }

    public com.ringcentral.paths.rcvideo.v1.accounts.extensions.Index extensions(String extensionId) {
        return new com.ringcentral.paths.rcvideo.v1.accounts.extensions.Index(this, extensionId);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy