model

package
v2.0.0-...-f438546 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateDTO

type DateDTO struct {
	ISO8601     string `json:"iso8601,omitempty" structs:"iso8601,omitempty"`
	JIRA        string `json:"jira,omitempty" structs:"jira,omitempty"`
	Friendly    string `json:"friendly,omitempty" structs:"friendly,omitempty"`
	EpochMillis int64  `json:"epochMillis,omitempty" structs:"epochMillis,omitempty"`
}

type FindGroupAndUsersQueryOptions

type FindGroupAndUsersQueryOptions struct {
	Query                string   `url:"query,omitempty"`
	MaxResults           int      `url:"maxResults,omitempty"`
	ShowAvatar           bool     `url:"showAvatar,omitempty"`
	FieldID              string   `url:"fieldId,omitempty"`
	ProjectID            []string `url:"projectId,omitempty"`
	IssueTypeID          []string `url:"issueTypeId,omitempty"`
	AvatarSize           string   `url:"avatarSize,omitempty"`
	CaseInsensitive      bool     `url:"caseInsensitive,omitempty"`
	ExcludeConnectAddons bool     `url:"excludeConnectAddons,omitempty"`
}

FindGroupAndUsersQueryOptions specifies the optional parameters to the Edit issue

type FoundGroup

type FoundGroup struct {
	GroupID string       `json:"groupId"`
	Name    string       `json:"name"`
	HTML    string       `json:"html"`
	Labels  []GroupLabel `json:"labels"`
}

type FoundGroups

type FoundGroups struct {
	Groups []FoundGroup `json:"groups"`
	Total  int          `json:"total"`
	Header string       `json:"header"`
}

type FoundUsers

type FoundUsers struct {
	Users  []UserPickerUser `json:"users"`
	Total  int              `json:"total"`
	Header string           `json:"header"`
}

type FoundUsersAndGroups

type FoundUsersAndGroups struct {
	Users  FoundUsers  `json:"users"`
	Groups FoundGroups `json:"groups"`
}

type GroupLabel

type GroupLabel struct {
	Text  string `json:"text"`
	Title string `json:"title"`
	Type  string `json:"type"`
}

type PagedDTOT

type PagedDTOT[T any] struct {
	Size       int       `json:"size" structs:"size"`
	Start      int       `json:"start" structs:"start"`
	Limit      int       `json:"limit,omitempty" structs:"limit,omitempty"`
	IsLastPage bool      `json:"isLastPage,omitempty" structs:"isLastPage,omitempty"`
	Values     []T       `json:"values,omitempty" structs:"values,omitempty"`
	Expands    []string  `json:"_expands,omitempty" structs:"_expands,omitempty"`
	Links      *SelfLink `json:"_links,omitempty" structs:"_links,omitempty"`
}

PagedDTOT is response of a paged list (PagedDTO) with generic support for values

type SearchUsersQueryOptions

type SearchUsersQueryOptions struct {
	Query      string `url:"query,omitempty"`
	Username   string `url:"username,omitempty"`
	AccountID  string `url:"accountId,omitempty"`
	StartAt    string `url:"startAt,omitempty"`
	MaxResults int    `url:"maxResults,omitempty"`
	Property   string `url:"property,omitempty"`
}

type SearchUsersQueryResult

type SearchUsersQueryResult struct {
	Self        string `json:"self"`
	AccountID   string `json:"accountId"`
	AccountType string `json:"accountType"`
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
	Active      bool   `json:"active"`
	TimeZone    string `json:"timeZone"`
	Locale      string `json:"locale"`
}
type SelfLink struct {
	Self string `json:"self,omitempty" structs:"self,omitempty"`
}

type UserPickerUser

type UserPickerUser struct {
	AccountID   string `json:"accountId"`
	HTML        string `json:"html"`
	DisplayName string `json:"displayName"`
	AvatarURL   string `json:"avatarUrl"`
}

Directories

Path Synopsis
apps

Jump to

Keyboard shortcuts

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