models

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Project

type Project struct {
	ID             *string `json:"id"`
	ParentID       *string `json:"parent_id"`
	Order          *int    `json:"order"`
	Color          *string `json:"color"`
	Name           *string `json:"name"`
	CommentCount   *int    `json:"comment_count"`
	IsShared       *bool   `json:"is_shared"`
	IsFavorite     *bool   `json:"is_favorite"`
	IsInboxProject *bool   `json:"is_inbox_project"`
	IsTeamInbox    *bool   `json:"is_team_inbox"`
	URL            *string `json:"url"`
	ViewStyle      *string `json:"view_style"`
}

func (*Project) TableHeader

func (*Project) TableHeader() table.Row

func (*Project) TableRows

func (proj *Project) TableRows() []table.Row

type Projects

type Projects []*Project

func (Projects) TableHeader

func (Projects) TableHeader() table.Row

func (Projects) TableRows

func (projs Projects) TableRows() []table.Row

type Section added in v0.4.0

type Section struct {
	ID        *string `json:"id"`
	ProjectID *string `json:"project_id"`
	Order     *int    `json:"order"`
	Name      *string `json:"name"`
}

func (*Section) TableHeader added in v0.4.0

func (*Section) TableHeader() table.Row

func (*Section) TableRows added in v0.4.0

func (sec *Section) TableRows() []table.Row

type Sections added in v0.4.0

type Sections []*Section

func (Sections) TableHeader added in v0.4.0

func (Sections) TableHeader() table.Row

func (Sections) TableRows added in v0.4.0

func (secs Sections) TableRows() []table.Row

type Task added in v0.5.0

type Task struct {
	ID           *string  `json:"id"`
	AssignerID   *string  `json:"assigner_id"`
	AssigneeID   *string  `json:"assignee_id"`
	ProjectID    *string  `json:"project_id"`
	SectionID    *string  `json:"section_id"`
	ParentID     *string  `json:"parent_id"`
	Order        *int     `json:"order"`
	Content      *string  `json:"content"`
	Description  *string  `json:"description"`
	IsCompleted  *bool    `json:"is_completed"`
	Labels       []string `json:"labels"`
	Priority     *int     `json:"priority"`
	CommentCount *int     `json:"comment_count"`
	CreatorID    *string  `json:"creator_id"`
	CreatedAt    *string  `json:"created_at"`
	Due          *TaskDue `json:"due"`
	URL          *string  `json:"url"`
}

func (*Task) TableHeader added in v0.5.0

func (*Task) TableHeader() table.Row

func (*Task) TableRows added in v0.5.0

func (t *Task) TableRows() []table.Row

type TaskDue added in v0.5.0

type TaskDue struct {
	Date        *string `json:"date"`
	IsRecurring *bool   `json:"is_recurring"`
	Datetime    *string `json:"datetime"`
	String      *string `json:"string"`
	Timezone    *string `json:"timezone"`
}

type Tasks added in v0.5.0

type Tasks []*Task

func (Tasks) TableHeader added in v0.5.0

func (Tasks) TableHeader() table.Row

func (Tasks) TableRows added in v0.5.0

func (ts Tasks) TableRows() []table.Row

Jump to

Keyboard shortcuts

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