workitems

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(restClient *networking.RestClient) *Client

func (*Client) CreateArea

func (c *Client) CreateArea(ctx context.Context, projectId string, path string, name string) (*WorkItemClassificationNode, error)

func (*Client) CreateIteration

func (c *Client) CreateIteration(ctx context.Context, projectId string, path string, name string, startDate *string, finishDate *string) (*WorkItemClassificationNode, error)

func (*Client) DeleteArea

func (c *Client) DeleteArea(ctx context.Context, projectId string, path string) error

func (*Client) DeleteIteration

func (c *Client) DeleteIteration(ctx context.Context, projectId string, path string) error

func (*Client) GetArea

func (c *Client) GetArea(ctx context.Context, projectId string, path string) (*WorkItemClassificationNode, error)

func (*Client) GetIteration

func (c *Client) GetIteration(ctx context.Context, projectId string, path string) (*WorkItemClassificationNode, error)

func (*Client) MoveArea

func (c *Client) MoveArea(ctx context.Context, projectId string, path string, nodeId int, name string) (*WorkItemClassificationNode, error)

func (*Client) MoveIteration

func (c *Client) MoveIteration(ctx context.Context, projectId string, path string, nodeId int, name string, startDate *string, finishDate *string) (*WorkItemClassificationNode, error)

func (*Client) UpdateArea

func (c *Client) UpdateArea(ctx context.Context, projectId string, path string, name string) (*WorkItemClassificationNode, error)

func (*Client) UpdateIteration

func (c *Client) UpdateIteration(ctx context.Context, projectId string, path string, name string, startDate *string, finishDate *string) (*WorkItemClassificationNode, error)

type WorkItemClassificationNode

type WorkItemClassificationNode struct {
	Attributes    *map[string]interface{}       `json:"attributes,omitempty"`
	Children      *[]WorkItemClassificationNode `json:"children,omitempty"`
	HasChildren   *bool                         `json:"hasChildren,omitempty"`
	Id            *int                          `json:"id,omitempty"`
	Identifier    *uuid.UUID                    `json:"identifier,omitempty"`
	Links         interface{}                   `json:"_links,omitempty"`
	Name          *string                       `json:"name,omitempty"`
	Path          *string                       `json:"path,omitempty"`
	StructureType *string                       `json:"structureType,omitempty"`
	Url           *string                       `json:"url,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL