public interface UserAssignmentsApi extends Api.GetNested<Project,UserAssignment>
| Modifier and Type | Method and Description |
|---|---|
UserAssignment |
create(Reference<Project> projectReference,
UserAssignment creationInfo)
Create a new UserAssignment
|
void |
delete(Reference<Project> projectReference,
Reference<UserAssignment> userAssignmentReference)
Delete an existing UserAssignment.
|
UserAssignment |
get(Reference<Project> projectReference,
Reference<UserAssignment> userAssignmentReference)
Return an existing UserAssignment.
|
List<UserAssignment> |
list(Reference<Project> projectReference,
UserAssignmentFilter filter) |
Pagination<UserAssignment> |
list(Reference<Project> projectReference,
UserAssignmentFilter filter,
int page,
int perPage) |
UserAssignment |
update(Reference<Project> projectReference,
Reference<UserAssignment> userAssignmentReference,
UserAssignmentUpdateInfo updateInfo)
Updates the specific UserAssignment by setting the values of the parameters
passed.
|
List<UserAssignment> list(Reference<Project> projectReference, UserAssignmentFilter filter)
filter - filtering optionsprojectReference - the project containing the assignmentsPagination<UserAssignment> list(Reference<Project> projectReference, UserAssignmentFilter filter, int page, int perPage)
filter - filtering optionsprojectReference - the project containing the assignmentspage - the page numberperPage - how many results to return for one page. Max 100UserAssignment get(Reference<Project> projectReference, Reference<UserAssignment> userAssignmentReference)
get in interface Api.GetNested<Project,UserAssignment>projectReference - the project containing the assignmentuserAssignmentReference - a reference to an existing UserAssignmentUserAssignment create(Reference<Project> projectReference, UserAssignment creationInfo)
projectReference - the project that will contain the assignmentcreationInfo - creation informationUserAssignment update(Reference<Project> projectReference, Reference<UserAssignment> userAssignmentReference, UserAssignmentUpdateInfo updateInfo)
projectReference - the project that contains the assignmentuserAssignmentReference - An existing UserAssignment to be updatedupdateInfo - the changes to be performedvoid delete(Reference<Project> projectReference, Reference<UserAssignment> userAssignmentReference)
projectReference - the project that contains the assignmentuserAssignmentReference - An existing UserAssignment to be deleted