com.ringcentral.paths.restapi.account.emergencyaddressautoupdate.users.bulkassign.Index Maven / Gradle / Ivy
package com.ringcentral.paths.restapi.account.emergencyaddressautoupdate.users.bulkassign;
import com.ringcentral.RestClient;
import com.ringcentral.definitions.EmergencyAddressAutoUpdateUsersBulkAssignResource;
public class Index {
public RestClient rc;
public com.ringcentral.paths.restapi.account.emergencyaddressautoupdate.users.Index parent;
public Index(com.ringcentral.paths.restapi.account.emergencyaddressautoupdate.users.Index parent) {
this.parent = parent;
this.rc = parent.rc;
}
public String path() {
return parent.path() + "/bulk-assign";
}
public String path(Boolean withParameter) {
return path();
}
/**
* Enables or disables Automatic Location Updates feature for multiple
* account users.
*
* HTTP Method: post
* Endpoint: /restapi/{apiVersion}/account/{accountId}/emergency-address-auto-update/users/bulk-assign
* Rate Limit Group: Heavy
* App Permission: EditAccounts
* User Permission: ConfigureEmergencyMaps
*/
public String post(EmergencyAddressAutoUpdateUsersBulkAssignResource emergencyAddressAutoUpdateUsersBulkAssignResource) throws com.ringcentral.RestException, java.io.IOException {
okhttp3.ResponseBody rb = this.rc.post(this.path(), emergencyAddressAutoUpdateUsersBulkAssignResource, null);
return rb.string();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy