public interface ClientContactService
| Modifier and Type | Field and Description |
|---|---|
static String |
basePath |
static String |
id |
static String |
path |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<ClientContact> |
create(ClientContact creationInfo) |
retrofit2.Call<Void> |
delete(long clientContactId) |
retrofit2.Call<ClientContact> |
get(long clientContactId) |
retrofit2.Call<PaginatedList> |
list(Map<String,Object> options) |
retrofit2.Call<ClientContact> |
update(long clientContactId,
ClientContactUpdateInfo updateInfo) |
static final String basePath
static final String id
static final String path
@GET(value="contacts") retrofit2.Call<PaginatedList> list(@QueryMap Map<String,Object> options)
@GET(value="contacts/{id}")
retrofit2.Call<ClientContact> get(@Path(value="id")
long clientContactId)
@POST(value="contacts") retrofit2.Call<ClientContact> create(@Body ClientContact creationInfo)
@PATCH(value="contacts/{id}")
retrofit2.Call<ClientContact> update(@Path(value="id")
long clientContactId,
@Body
ClientContactUpdateInfo updateInfo)
@DELETE(value="contacts/{id}")
retrofit2.Call<Void> delete(@Path(value="id")
long clientContactId)