Help us shape the future of Go! Take the 2026 Go Developer Survey

dto

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agile added in v0.2.0

type Agile struct {
	ID       string    `json:"id"`
	Name     string    `json:"name"`
	Projects []Project `json:"projects"`
}

type Bundle

type Bundle struct {
	ID string `json:"id"`
}

type BundleValue

type BundleValue struct {
	ID       string `json:"id"`
	Name     string `json:"name"`
	Archived bool   `json:"archived"`
}

type CommandList added in v0.2.0

type CommandList struct {
	Commands []ParsedCommand `json:"commands"`
}

type Comment added in v0.3.0

type Comment struct {
	ID      string  `json:"id"`
	Text    *string `json:"text"`
	Author  *User   `json:"author"`
	Created int64   `json:"created"`
	Updated *int64  `json:"updated"`
	Deleted bool    `json:"deleted"`
}

type CustomField

type CustomField struct {
	ID        string    `json:"id"`
	Name      string    `json:"name"`
	FieldType FieldType `json:"fieldType"`
}

type Event

type Event struct {
	ID           string `json:"id"`
	Presentation string `json:"presentation"`
}

type FieldType

type FieldType struct {
	ID           string `json:"id"`
	ValueType    string `json:"valueType"`
	IsMultiValue bool   `json:"isMultiValue"`
}

type Group

type Group struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type Issue

type Issue struct {
	ID           string             `json:"id"`
	IDReadable   string             `json:"idReadable"`
	Summary      string             `json:"summary"`
	Description  string             `json:"description"`
	Created      int64              `json:"created"`
	Updated      int64              `json:"updated"`
	Resolved     *int64             `json:"resolved"`
	Project      Project            `json:"project"`
	Reporter     *User              `json:"reporter"`
	Updater      *User              `json:"updater"`
	Tags         []Tag              `json:"tags"`
	CustomFields []IssueCustomField `json:"customFields"`
}

type IssueCustomField

type IssueCustomField struct {
	ID             string          `json:"id"`
	Name           string          `json:"name"`
	Type           string          `json:"$type"`
	Value          json.RawMessage `json:"value"`
	PossibleEvents []Event         `json:"possibleEvents"`
}

type IssueIdentity added in v0.4.0

type IssueIdentity struct {
	ID         string `json:"id"`
	IDReadable string `json:"idReadable"`
}

type IssueSummary added in v0.3.0

type IssueSummary struct {
	ID         string  `json:"id"`
	IDReadable string  `json:"idReadable"`
	Summary    string  `json:"summary"`
	Project    Project `json:"project"`
	Created    int64   `json:"created"`
	Updated    int64   `json:"updated"`
	Resolved   *int64  `json:"resolved"`
}

type LinkType added in v0.4.0

type LinkType struct {
	ID             string `json:"id"`
	Name           string `json:"name"`
	Directed       bool   `json:"directed"`
	Aggregation    bool   `json:"aggregation"`
	SourceToTarget string `json:"sourceToTarget"`
	TargetToSource string `json:"targetToSource"`
}

type ParsedCommand added in v0.2.0

type ParsedCommand struct {
	Error       bool   `json:"error"`
	Delete      bool   `json:"delete"`
	Description string `json:"description"`
}

type Project

type Project struct {
	ID        string `json:"id"`
	Name      string `json:"name"`
	ShortName string `json:"shortName"`
}

type ProjectCustomField

type ProjectCustomField struct {
	ID         string      `json:"id"`
	Type       string      `json:"$type"`
	CanBeEmpty bool        `json:"canBeEmpty"`
	Field      CustomField `json:"field"`
	Bundle     *Bundle     `json:"bundle"`
}

type SavedQuery added in v0.3.0

type SavedQuery struct {
	ID    string  `json:"id"`
	Name  string  `json:"name"`
	Query *string `json:"query"`
	Owner *User   `json:"owner"`
}

type Sprint added in v0.2.0

type Sprint struct {
	Agile *Agile `json:"agile"`
}

type Tag

type Tag struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

type TimeTrackingSettings added in v0.4.0

type TimeTrackingSettings struct {
	Enabled bool `json:"enabled"`
}

type User

type User struct {
	ID       string `json:"id"`
	Login    string `json:"login"`
	FullName string `json:"fullName"`
}

type WorkDuration added in v0.4.0

type WorkDuration struct {
	Minutes int64 `json:"minutes"`
}

type WorkItem added in v0.4.0

type WorkItem struct {
	ID       string        `json:"id"`
	Date     int64         `json:"date"`
	Duration WorkDuration  `json:"duration"`
	Text     *string       `json:"text"`
	Author   *User         `json:"author"`
	Creator  *User         `json:"creator"`
	Type     *WorkItemType `json:"type"`
	Created  int64         `json:"created"`
	Updated  *int64        `json:"updated"`
}

type WorkItemType added in v0.4.0

type WorkItemType struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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