001package com.plivo.api.models.profile; 002 003import com.plivo.api.models.base.MessagingDeleter; 004import okhttp3.ResponseBody; 005import retrofit2.Call; 006 007public class ProfileDeleter extends MessagingDeleter<Profile> { 008 009 public ProfileDeleter(String id) { 010 super(id); 011 if (id == null) { 012 throw new IllegalArgumentException("powerpack uuid cannot be null"); 013 } 014 this.id = id; 015 } 016 017 @Override 018 protected Call<Profile> obtainCall() { 019 return client().getApiService().profileDelete(client().getAuthId(), id); 020 } 021 022}