com.ringcentral.paths.restapi.subscription.renew.Index.kt Maven / Gradle / Ivy
package com.ringcentral.paths.restapi.subscription.renew
class Index(val parent: com.ringcentral.paths.restapi.subscription.Index) {
var rc: com.ringcentral.RestClient = parent.rc
fun path(): String
{
return "${parent.path()}/renew"
}
/**
* Operation: Renew Subscription
* Http Post /restapi/v1.0/subscription/{subscriptionId}/renew
*/
fun post() : com.ringcentral.definitions.SubscriptionInfo?
{
val rb: okhttp3.ResponseBody = rc.post(this.path())
return com.ringcentral.Utils.gson.fromJson(rb.string(), com.ringcentral.definitions.SubscriptionInfo::class.java)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy