public interface UserAssignmentService
| Modifier and Type | Field and Description |
|---|---|
static String |
basePath |
static String |
path |
| Modifier and Type | Method and Description |
|---|---|
retrofit2.Call<UserAssignment> |
create(long projectId,
UserAssignment creationInfo) |
retrofit2.Call<Void> |
delete(long projectId,
long userAssignmentId) |
retrofit2.Call<UserAssignment> |
get(long projectId,
long userAssignmentId) |
retrofit2.Call<PaginatedList> |
list(long projectId,
Map<String,Object> options) |
retrofit2.Call<UserAssignment> |
update(long projectId,
long userAssignmentId,
UserAssignmentUpdateInfo updateInfo) |
static final String basePath
static final String path
@GET(value="projects/{projectId}/user_assignments")
retrofit2.Call<PaginatedList> list(@Path(value="projectId")
long projectId,
@QueryMap
Map<String,Object> options)
@GET(value="projects/{projectId}/user_assignments/{userAssignmentId}")
retrofit2.Call<UserAssignment> get(@Path(value="projectId")
long projectId,
@Path(value="userAssignmentId")
long userAssignmentId)
@POST(value="projects/{projectId}/user_assignments")
retrofit2.Call<UserAssignment> create(@Path(value="projectId")
long projectId,
@Body
UserAssignment creationInfo)
@PATCH(value="projects/{projectId}/user_assignments/{userAssignmentId}")
retrofit2.Call<UserAssignment> update(@Path(value="projectId")
long projectId,
@Path(value="userAssignmentId")
long userAssignmentId,
@Body
UserAssignmentUpdateInfo updateInfo)
@DELETE(value="projects/{projectId}/user_assignments/{userAssignmentId}")
retrofit2.Call<Void> delete(@Path(value="projectId")
long projectId,
@Path(value="userAssignmentId")
long userAssignmentId)