Class FilterExtensions
This holds all the filter related extension methods
Inheritance
Inherited Members
Namespace:Dapplo.Jira
Assembly:Dapplo.Jira.dll
Syntax
public static class FilterExtensions
Methods
| Improve this Doc View SourceCreateAsync(IFilterDomain, Filter, CancellationToken)
Create a filter
Declaration
public static Task<Filter> CreateAsync(this IFilterDomain jiraClient, Filter filter, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IFilterDomain | jiraClient | IFilterDomain to bind the extension method to |
Filter | filter | Filter to create |
System.Threading.CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Filter> | Filter |
DeleteAsync(IFilterDomain, Filter, CancellationToken)
Delete filter See: https://docs.atlassian.com/jira/REST/latest/#d2e1388
Declaration
public static Task DeleteAsync(this IFilterDomain jiraClient, Filter filter, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IFilterDomain | jiraClient | IFilterDomain to bind the extension method to |
Filter | filter | Filter to delete |
System.Threading.CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
GetAsync(IFilterDomain, Int64, CancellationToken)
Get filter See: https://docs.atlassian.com/jira/REST/latest/#d2e1388
Declaration
public static Task<Filter> GetAsync(this IFilterDomain jiraClient, long id, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IFilterDomain | jiraClient | IFilterDomain to bind the extension method to |
System.Int64 | id | filter id |
System.Threading.CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Filter> | Filter |
GetFavoritesAsync(IFilterDomain, CancellationToken)
Get filter favorites See: https://docs.atlassian.com/jira/REST/latest/#d2e1388
Declaration
public static Task<IList<Filter>> GetFavoritesAsync(this IFilterDomain jiraClient, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IFilterDomain | jiraClient | IFilterDomain to bind the extension method to |
System.Threading.CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IList<Filter>> | List of filter |
GetFiltersAsync(IFilterDomain, CancellationToken)
Get my filters See: https://docs.atlassian.com/jira/REST/latest/#d2e1388
Declaration
public static Task<IList<Filter>> GetFiltersAsync(this IFilterDomain jiraClient, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IFilterDomain | jiraClient | IFilterDomain to bind the extension method to |
System.Threading.CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IList<Filter>> | List of filter |
UpdateAsync(IFilterDomain, Filter, CancellationToken)
Update a filter
Declaration
public static Task<Filter> UpdateAsync(this IFilterDomain jiraClient, Filter filter, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
IFilterDomain | jiraClient | IFilterDomain to bind the extension method to |
Filter | filter | Filter to update |
System.Threading.CancellationToken | cancellationToken | CancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<Filter> | Filter |