Documentation ¶
Index ¶
- func NewConnector() (*sdk.ConnectorPlugin, error)
- type CreateTaskOperation
- type CurrentStatus
- type CurrentStatusUpdate
- type CustomField
- type CustomFieldSetting
- type DateValue
- type EnumOption
- type Project
- type ProjectBrief
- type ProjectResponse
- type Task
- type Team
- type Template
- type User
- type Workspace
- type WorkspaceNew
- type WorkspaceResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnector ¶
func NewConnector() (*sdk.ConnectorPlugin, error)
Types ¶
type CreateTaskOperation ¶
type CreateTaskOperation struct {
// contains filtered or unexported fields
}
func NewCreateTaskOperation ¶
func NewCreateTaskOperation() *CreateTaskOperation
func (*CreateTaskOperation) GetInfo ¶
func (c *CreateTaskOperation) GetInfo() *sdk.OperationInfo
func (*CreateTaskOperation) Run ¶
func (c *CreateTaskOperation) Run(ctx *sdk.RunContext) (sdk.JSON, error)
func (*CreateTaskOperation) Test ¶
func (c *CreateTaskOperation) Test(ctx *sdk.RunContext) (sdk.JSON, error)
type CurrentStatus ¶
type CurrentStatus struct { GID string `json:"gid"` ResourceType string `json:"resource_type"` Title string `json:"title"` Text string `json:"text"` HTMLText string `json:"html_text"` Color string `json:"color"` Author *User `json:"author"` CreatedAt string `json:"created_at"` CreatedBy *User `json:"created_by"` ModifiedAt string `json:"modified_at"` }
type CurrentStatusUpdate ¶
type CustomField ¶
type CustomField struct { GID string `json:"gid"` ResourceType string `json:"resource_type"` Name string `json:"name"` ResourceSubtype string `json:"resource_subtype"` Type string `json:"type"` EnumOptions []EnumOption `json:"enum_options"` Enabled bool `json:"enabled"` RepresentationType string `json:"representation_type"` IDPrefix string `json:"id_prefix"` IsFormulaField bool `json:"is_formula_field"` DateValue *DateValue `json:"date_value"` EnumValue *EnumOption `json:"enum_value"` MultiEnumValues []EnumOption `json:"multi_enum_values"` NumberValue float64 `json:"number_value"` TextValue string `json:"text_value"` DisplayValue string `json:"display_value"` Description string `json:"description,omitempty"` Precision int `json:"precision,omitempty"` Format string `json:"format,omitempty"` CurrencyCode string `json:"currency_code,omitempty"` CustomLabel string `json:"custom_label,omitempty"` CustomLabelPosition string `json:"custom_label_position,omitempty"` IsGlobalToWorkspace bool `json:"is_global_to_workspace,omitempty"` HasNotificationsEnabled bool `json:"has_notifications_enabled,omitempty"` AsanaCreatedField string `json:"asana_created_field,omitempty"` IsValueReadOnly bool `json:"is_value_read_only,omitempty"` CreatedBy *User `json:"created_by,omitempty"` PeopleValue []User `json:"people_value,omitempty"` }
type CustomFieldSetting ¶
type EnumOption ¶
type Project ¶
type Project struct { GID string `json:"gid"` ResourceType string `json:"resource_type"` Name string `json:"name"` Archived bool `json:"archived"` Color string `json:"color"` CreatedAt string `json:"created_at"` CurrentStatus *CurrentStatus `json:"current_status"` CurrentStatusUpdate *CurrentStatusUpdate `json:"current_status_update"` CustomFieldSettings []CustomFieldSetting `json:"custom_field_settings"` DefaultView string `json:"default_view"` DueDate string `json:"due_date"` DueOn string `json:"due_on"` HTMLNotes string `json:"html_notes"` Members []User `json:"members"` ModifiedAt string `json:"modified_at"` Notes string `json:"notes"` PrivacySetting string `json:"privacy_setting"` StartOn string `json:"start_on"` DefaultAccessLevel string `json:"default_access_level"` MinimumAccessLevelForCustomization string `json:"minimum_access_level_for_customization"` MinimumAccessLevelForSharing string `json:"minimum_access_level_for_sharing"` CustomFields []CustomField `json:"custom_fields"` Completed bool `json:"completed"` CompletedAt string `json:"completed_at"` CompletedBy *User `json:"completed_by"` Followers []User `json:"followers"` Owner *User `json:"owner"` Team *Team `json:"team"` Icon string `json:"icon"` PermalinkURL string `json:"permalink_url"` ProjectBrief *ProjectBrief `json:"project_brief"` CreatedFromTemplate *Template `json:"created_from_template"` Workspace *Workspace `json:"workspace"` }
type ProjectBrief ¶
type ProjectResponse ¶
type ProjectResponse struct {
Data []Project `json:"data"`
}
type WorkspaceNew ¶
type WorkspaceResponse ¶
type WorkspaceResponse struct {
Data []Workspace `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.