Asana Class

Summary

Provides an object representation of Asana.
Assembly
Cake.Board.Asana.dll
Namespace
Cake.Board.Asana
Interfaces
  • IBoard
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IBoard"] Type["Asana"] class Type type-node

Syntax

public class Asana : IBoard

Constructors

Name Summary
Asana(HttpClient) Initializes a new instance of the Asana class.
Asana(string) Initializes a new instance of the Asana class.

Properties

Name Value Summary
ProjectId string
Gets or sets Asana project name.

Methods

Name Value Summary
ExecuteBatch(string) Task<string>
GetWorkItemByIdAsync(string) Task<IWorkItem>
GetWorkItemsByProjectIdAsync() Task<IEnumerable<IWorkItem>>
Fetch all work items by project.
GetWorkItemsByProjectIdAsync(string) Task<IEnumerable<IWorkItem>>
Fetch all work items by project.
GetWorkItemsByQueryIdAsync(string, string, string) Task<IEnumerable<IWorkItem>>
GetWorkItemsByQueryIdAsync(string) Task<IEnumerable<IWorkItem>>

Extension Methods

Name Value Summary
Dump<Asana>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<Asana>(Asana[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<Asana>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
NotNull<Asana>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
ThrowIfNull<Asana>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<Asana>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin