Esempio n. 1
0
 public static Meziantou.GitLab.PagedResponse <Todo> GetTodos(this Meziantou.GitLab.IGitLabToDosClient client, TodoAction?action = default(TodoAction?), UserIdRef?authorId = default(UserIdRef?), ProjectIdRef?projectId = default(ProjectIdRef?), GroupIdRef?groupId = default(GroupIdRef?), TodoState?state = default(TodoState?), Meziantou.GitLab.RequestOptions?requestOptions = default(Meziantou.GitLab.RequestOptions))
 {
     Meziantou.GitLab.GetTodosToDoRequest request = new Meziantou.GitLab.GetTodosToDoRequest();
     request.Action    = action;
     request.AuthorId  = authorId;
     request.ProjectId = projectId;
     request.GroupId   = groupId;
     request.State     = state;
     return(client.GetTodos(request, requestOptions));
 }
Esempio n. 2
0
 public static System.Threading.Tasks.Task <Todo> MarkTodoAsDoneAsync(this Meziantou.GitLab.IGitLabToDosClient client, TodoIdRef id, Meziantou.GitLab.RequestOptions?requestOptions = default(Meziantou.GitLab.RequestOptions), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     Meziantou.GitLab.MarkTodoAsDoneToDoRequest request = new Meziantou.GitLab.MarkTodoAsDoneToDoRequest(id);
     return(client.MarkTodoAsDoneAsync(request, requestOptions, cancellationToken));
 }