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

com.plivo.api.models.powerpack.RemoveShortcode Maven / Gradle / Ivy

Go to download

A Java SDK to make voice calls & send SMS using Plivo and to generate Plivo XML

There is a newer version: 5.46.0
Show newest version
package com.plivo.api.models.powerpack;

import com.plivo.api.models.base.Deleter;
import okhttp3.ResponseBody;

public class RemoveShortcode extends Deleter {

  private String shortcode;

  public RemoveShortcode(String id) {
    super(id);
    if (id == null) {
      throw new IllegalArgumentException("powerpack uuid cannot be null");
    }
    this.id = id;
  }

  public RemoveShortcode shortcode(final String shortcode) {
    this.shortcode = shortcode;
    return this;
  }

  @Override
  protected retrofit2.Call obtainCall() {
    return client().getApiService().powerpackShortcodeDelete(client().getAuthId(), id, shortcode, this);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy