generated

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package generated provides type aliases mapping service-layer names to Smithy-generated schema names from oapi-codegen.

The Smithy model uses *RequestContent / *ResponseContent suffixes. The service layer uses shorter *Request names for ergonomics.

Package generated provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	CreatedAt   string `json:"created_at"`
	Description string `json:"description"`
	Id          string `json:"id"`
	Permission  string `json:"permission"`
	Token       string `json:"token,omitempty"`
}

AccessToken defines model for AccessToken.

type Account

type Account struct {
	CreatedAt string `json:"created_at"`
	Id        string `json:"id"`
	Name      string `json:"name"`
	Slug      string `json:"slug"`
	Url       string `json:"url"`
	User      User   `json:"user,omitempty"`
}

Account defines model for Account.

type AccountExport

type AccountExport struct {
	CreatedAt   string `json:"created_at"`
	DownloadUrl string `json:"download_url,omitempty"`
	Id          string `json:"id"`
	Status      string `json:"status"`
}

AccountExport defines model for AccountExport.

type AccountSettings

type AccountSettings struct {
	AutoPostponePeriodInDays int32  `json:"auto_postpone_period_in_days,omitempty"`
	CardsCount               int32  `json:"cards_count"`
	CreatedAt                string `json:"created_at"`
	Id                       string `json:"id"`
	Name                     string `json:"name"`
}

AccountSettings defines model for AccountSettings.

type Activity added in v0.1.3

type Activity struct {
	Action        string              `json:"action"`
	Board         Board               `json:"board"`
	CreatedAt     string              `json:"created_at"`
	Creator       User                `json:"creator"`
	Description   string              `json:"description"`
	Eventable     ActivityEventable   `json:"eventable"`
	EventableType string              `json:"eventable_type"`
	Id            string              `json:"id"`
	Particulars   ActivityParticulars `json:"particulars"`
	Url           string              `json:"url"`
}

Activity defines model for Activity.

type ActivityEventable added in v0.1.3

type ActivityEventable struct {
	Assignees        []User       `json:"assignees,omitempty"`
	Board            Board        `json:"board,omitempty"`
	Body             RichTextBody `json:"body,omitempty"`
	Card             CardRef      `json:"card,omitempty"`
	Closed           bool         `json:"closed,omitempty"`
	Column           Column       `json:"column,omitempty"`
	CommentsUrl      string       `json:"comments_url,omitempty"`
	CreatedAt        string       `json:"created_at,omitempty"`
	Creator          User         `json:"creator,omitempty"`
	Description      string       `json:"description,omitempty"`
	DescriptionHtml  string       `json:"description_html,omitempty"`
	Golden           bool         `json:"golden,omitempty"`
	HasAttachments   bool         `json:"has_attachments,omitempty"`
	HasMoreAssignees bool         `json:"has_more_assignees,omitempty"`
	Id               string       `json:"id"`
	ImageUrl         string       `json:"image_url,omitempty"`
	LastActiveAt     string       `json:"last_active_at,omitempty"`
	Number           int32        `json:"number,omitempty"`
	Postponed        bool         `json:"postponed,omitempty"`
	ReactionsUrl     string       `json:"reactions_url,omitempty"`
	Status           string       `json:"status,omitempty"`
	Steps            []Step       `json:"steps,omitempty"`
	Tags             []string     `json:"tags,omitempty"`
	Title            string       `json:"title,omitempty"`
	UpdatedAt        string       `json:"updated_at,omitempty"`
	Url              string       `json:"url"`
}

ActivityEventable defines model for ActivityEventable.

type ActivityParticulars added in v0.1.3

type ActivityParticulars struct {
	AssigneeIds []string `json:"assignee_ids,omitempty"`
	Column      string   `json:"column,omitempty"`
	NewBoard    string   `json:"new_board,omitempty"`
	NewTitle    string   `json:"new_title,omitempty"`
	OldBoard    string   `json:"old_board,omitempty"`
	OldTitle    string   `json:"old_title,omitempty"`
}

ActivityParticulars defines model for ActivityParticulars.

type AssignCardJSONRequestBody

type AssignCardJSONRequestBody = AssignCardRequestContent

AssignCardJSONRequestBody defines body for AssignCard for application/json ContentType.

type AssignCardRequest

type AssignCardRequest = AssignCardRequestContent

AssignCardRequest is a type alias for the generated request type.

type AssignCardRequestContent

type AssignCardRequestContent struct {
	AssigneeId string `json:"assignee_id"`
}

AssignCardRequestContent defines model for AssignCardRequestContent.

type BadRequestErrorResponseContent

type BadRequestErrorResponseContent struct {
	Message string `json:"message"`
}

BadRequestErrorResponseContent defines model for BadRequestErrorResponseContent.

type Board

type Board struct {
	AllAccess                bool     `json:"all_access"`
	AutoPostponePeriodInDays int32    `json:"auto_postpone_period_in_days,omitempty"`
	CreatedAt                string   `json:"created_at"`
	Creator                  User     `json:"creator,omitempty"`
	Id                       string   `json:"id"`
	Name                     string   `json:"name"`
	PublicDescription        string   `json:"public_description,omitempty"`
	PublicDescriptionHtml    string   `json:"public_description_html,omitempty"`
	PublicUrl                string   `json:"public_url,omitempty"`
	Url                      string   `json:"url"`
	UserIds                  []string `json:"user_ids,omitempty"`
}

Board defines model for Board.

type BoardAccessUser added in v0.1.3

type BoardAccessUser struct {
	Active       bool   `json:"active"`
	AvatarUrl    string `json:"avatar_url,omitempty"`
	CreatedAt    string `json:"created_at"`
	EmailAddress string `json:"email_address"`
	HasAccess    bool   `json:"has_access"`
	Id           string `json:"id"`
	Involvement  string `json:"involvement,omitempty"`
	Name         string `json:"name"`
	Role         string `json:"role"`
	Url          string `json:"url"`
}

BoardAccessUser defines model for BoardAccessUser.

type BoardAccesses added in v0.1.3

type BoardAccesses struct {
	AllAccess bool              `json:"all_access"`
	BoardId   string            `json:"board_id"`
	Users     []BoardAccessUser `json:"users"`
}

BoardAccesses defines model for BoardAccesses.

type BulkReadNotificationsJSONRequestBody

type BulkReadNotificationsJSONRequestBody = BulkReadNotificationsRequestContent

BulkReadNotificationsJSONRequestBody defines body for BulkReadNotifications for application/json ContentType.

type BulkReadNotificationsRequest

type BulkReadNotificationsRequest = BulkReadNotificationsRequestContent

type BulkReadNotificationsRequestContent

type BulkReadNotificationsRequestContent struct {
	NotificationIds []string `json:"notification_ids,omitempty"`
}

BulkReadNotificationsRequestContent defines model for BulkReadNotificationsRequestContent.

type Card

type Card struct {
	Assignees        []User   `json:"assignees,omitempty"`
	Board            Board    `json:"board,omitempty"`
	Closed           bool     `json:"closed"`
	Column           Column   `json:"column,omitempty"`
	CommentsUrl      string   `json:"comments_url,omitempty"`
	CreatedAt        string   `json:"created_at"`
	Creator          User     `json:"creator,omitempty"`
	Description      string   `json:"description,omitempty"`
	DescriptionHtml  string   `json:"description_html,omitempty"`
	Golden           bool     `json:"golden"`
	HasAttachments   bool     `json:"has_attachments"`
	HasMoreAssignees bool     `json:"has_more_assignees,omitempty"`
	Id               string   `json:"id"`
	ImageUrl         string   `json:"image_url,omitempty"`
	LastActiveAt     string   `json:"last_active_at,omitempty"`
	Number           int32    `json:"number"`
	Postponed        bool     `json:"postponed"`
	ReactionsUrl     string   `json:"reactions_url,omitempty"`
	Status           string   `json:"status"`
	Steps            []Step   `json:"steps,omitempty"`
	Tags             []string `json:"tags,omitempty"`
	Title            string   `json:"title"`
	Url              string   `json:"url"`
}

Card defines model for Card.

type CardRef

type CardRef struct {
	Id  string `json:"id"`
	Url string `json:"url"`
}

CardRef defines model for CardRef.

type Color

type Color struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Color defines model for Color.

type Column

type Column struct {
	CardsUrl  string `json:"cards_url,omitempty"`
	Color     *Color `json:"color,omitempty"`
	CreatedAt string `json:"created_at"`
	Id        string `json:"id"`
	Name      string `json:"name"`
}

Column defines model for Column.

type Comment

type Comment struct {
	Body         RichTextBody `json:"body"`
	Card         CardRef      `json:"card,omitempty"`
	CreatedAt    string       `json:"created_at"`
	Creator      User         `json:"creator"`
	Id           string       `json:"id"`
	ReactionsUrl string       `json:"reactions_url,omitempty"`
	UpdatedAt    string       `json:"updated_at"`
	Url          string       `json:"url"`
}

Comment defines model for Comment.

type CompleteJoinJSONRequestBody

type CompleteJoinJSONRequestBody = CompleteJoinRequestContent

CompleteJoinJSONRequestBody defines body for CompleteJoin for application/json ContentType.

type CompleteJoinRequest

type CompleteJoinRequest = CompleteJoinRequestContent

type CompleteJoinRequestContent

type CompleteJoinRequestContent struct {
	Name string `json:"name"`
}

CompleteJoinRequestContent defines model for CompleteJoinRequestContent.

type CompleteSignupJSONRequestBody

type CompleteSignupJSONRequestBody = CompleteSignupRequestContent

CompleteSignupJSONRequestBody defines body for CompleteSignup for application/json ContentType.

type CompleteSignupRequest

type CompleteSignupRequest = CompleteSignupRequestContent

type CompleteSignupRequestContent

type CompleteSignupRequestContent struct {
	FullName string `json:"full_name"`
}

CompleteSignupRequestContent defines model for CompleteSignupRequestContent.

type CreateAccessTokenJSONRequestBody

type CreateAccessTokenJSONRequestBody = CreateAccessTokenRequestContent

CreateAccessTokenJSONRequestBody defines body for CreateAccessToken for application/json ContentType.

type CreateAccessTokenRequest

type CreateAccessTokenRequest = CreateAccessTokenRequestContent

type CreateAccessTokenRequestContent

type CreateAccessTokenRequestContent struct {
	Description string `json:"description"`
	Permission  string `json:"permission"`
}

CreateAccessTokenRequestContent defines model for CreateAccessTokenRequestContent.

type CreateAccessTokenResponseContent

type CreateAccessTokenResponseContent = AccessToken

CreateAccessTokenResponseContent defines model for CreateAccessTokenResponseContent.

type CreateAccountExportResponseContent

type CreateAccountExportResponseContent = AccountExport

CreateAccountExportResponseContent defines model for CreateAccountExportResponseContent.

type CreateBoardJSONRequestBody

type CreateBoardJSONRequestBody = CreateBoardRequestContent

CreateBoardJSONRequestBody defines body for CreateBoard for application/json ContentType.

type CreateBoardRequest

type CreateBoardRequest = CreateBoardRequestContent

type CreateBoardRequestContent

type CreateBoardRequestContent struct {
	AllAccess                bool   `json:"all_access,omitempty"`
	AutoPostponePeriodInDays int32  `json:"auto_postpone_period_in_days,omitempty"`
	Name                     string `json:"name"`
	PublicDescription        string `json:"public_description,omitempty"`
}

CreateBoardRequestContent defines model for CreateBoardRequestContent.

type CreateBoardResponseContent

type CreateBoardResponseContent = Board

CreateBoardResponseContent defines model for CreateBoardResponseContent.

type CreateCardJSONRequestBody

type CreateCardJSONRequestBody = CreateCardRequestContent

CreateCardJSONRequestBody defines body for CreateCard for application/json ContentType.

type CreateCardReactionJSONRequestBody

type CreateCardReactionJSONRequestBody = CreateCardReactionRequestContent

CreateCardReactionJSONRequestBody defines body for CreateCardReaction for application/json ContentType.

type CreateCardReactionRequest

type CreateCardReactionRequest = CreateCardReactionRequestContent

type CreateCardReactionRequestContent

type CreateCardReactionRequestContent struct {
	Content string `json:"content"`
}

CreateCardReactionRequestContent defines model for CreateCardReactionRequestContent.

type CreateCardReactionResponseContent

type CreateCardReactionResponseContent = Reaction

CreateCardReactionResponseContent defines model for CreateCardReactionResponseContent.

type CreateCardRequest

type CreateCardRequest = CreateCardRequestContent

type CreateCardRequestContent

type CreateCardRequestContent struct {
	AssigneeIds  []string `json:"assignee_ids,omitempty"`
	BoardId      string   `json:"board_id,omitempty"`
	ColumnId     string   `json:"column_id,omitempty"`
	CreatedAt    string   `json:"created_at,omitempty"`
	Description  string   `json:"description,omitempty"`
	Image        string   `json:"image,omitempty"`
	LastActiveAt string   `json:"last_active_at,omitempty"`
	TagNames     []string `json:"tag_names,omitempty"`
	Title        string   `json:"title"`
}

CreateCardRequestContent defines model for CreateCardRequestContent.

type CreateCardResponseContent

type CreateCardResponseContent = Card

CreateCardResponseContent defines model for CreateCardResponseContent.

type CreateColumnJSONRequestBody

type CreateColumnJSONRequestBody = CreateColumnRequestContent

CreateColumnJSONRequestBody defines body for CreateColumn for application/json ContentType.

type CreateColumnRequest

type CreateColumnRequest = CreateColumnRequestContent

type CreateColumnRequestContent

type CreateColumnRequestContent struct {
	Color string `json:"color,omitempty"`
	Name  string `json:"name"`
}

CreateColumnRequestContent defines model for CreateColumnRequestContent.

type CreateColumnResponseContent

type CreateColumnResponseContent = Column

CreateColumnResponseContent defines model for CreateColumnResponseContent.

type CreateCommentJSONRequestBody

type CreateCommentJSONRequestBody = CreateCommentRequestContent

CreateCommentJSONRequestBody defines body for CreateComment for application/json ContentType.

type CreateCommentReactionJSONRequestBody

type CreateCommentReactionJSONRequestBody = CreateCommentReactionRequestContent

CreateCommentReactionJSONRequestBody defines body for CreateCommentReaction for application/json ContentType.

type CreateCommentReactionRequest

type CreateCommentReactionRequest = CreateCommentReactionRequestContent

type CreateCommentReactionRequestContent

type CreateCommentReactionRequestContent struct {
	Content string `json:"content"`
}

CreateCommentReactionRequestContent defines model for CreateCommentReactionRequestContent.

type CreateCommentReactionResponseContent

type CreateCommentReactionResponseContent = Reaction

CreateCommentReactionResponseContent defines model for CreateCommentReactionResponseContent.

type CreateCommentRequest

type CreateCommentRequest = CreateCommentRequestContent

type CreateCommentRequestContent

type CreateCommentRequestContent struct {
	Body      string `json:"body"`
	CreatedAt string `json:"created_at,omitempty"`
}

CreateCommentRequestContent defines model for CreateCommentRequestContent.

type CreateCommentResponseContent

type CreateCommentResponseContent = Comment

CreateCommentResponseContent defines model for CreateCommentResponseContent.

type CreateDirectUploadJSONRequestBody

type CreateDirectUploadJSONRequestBody = CreateDirectUploadRequestContent

CreateDirectUploadJSONRequestBody defines body for CreateDirectUpload for application/json ContentType.

type CreateDirectUploadRequest

type CreateDirectUploadRequest = CreateDirectUploadRequestContent

type CreateDirectUploadRequestContent

type CreateDirectUploadRequestContent struct {
	ByteSize    int64  `json:"byte_size"`
	Checksum    string `json:"checksum"`
	ContentType string `json:"content_type"`
	Filename    string `json:"filename"`
}

CreateDirectUploadRequestContent defines model for CreateDirectUploadRequestContent.

type CreateDirectUploadResponseContent

type CreateDirectUploadResponseContent = DirectUpload

CreateDirectUploadResponseContent defines model for CreateDirectUploadResponseContent.

type CreatePushSubscriptionJSONRequestBody

type CreatePushSubscriptionJSONRequestBody = CreatePushSubscriptionRequestContent

CreatePushSubscriptionJSONRequestBody defines body for CreatePushSubscription for application/json ContentType.

type CreatePushSubscriptionRequest

type CreatePushSubscriptionRequest = CreatePushSubscriptionRequestContent

type CreatePushSubscriptionRequestContent

type CreatePushSubscriptionRequestContent struct {
	AuthKey   string `json:"auth_key"`
	Endpoint  string `json:"endpoint"`
	P256dhKey string `json:"p256dh_key"`
}

CreatePushSubscriptionRequestContent defines model for CreatePushSubscriptionRequestContent.

type CreateSessionJSONRequestBody

type CreateSessionJSONRequestBody = CreateSessionRequestContent

CreateSessionJSONRequestBody defines body for CreateSession for application/json ContentType.

type CreateSessionRequest

type CreateSessionRequest = CreateSessionRequestContent

type CreateSessionRequestContent

type CreateSessionRequestContent struct {
	EmailAddress string `json:"email_address"`
}

CreateSessionRequestContent defines model for CreateSessionRequestContent.

type CreateSessionResponseContent

type CreateSessionResponseContent = PendingAuthentication

CreateSessionResponseContent defines model for CreateSessionResponseContent.

type CreateStepJSONRequestBody

type CreateStepJSONRequestBody = CreateStepRequestContent

CreateStepJSONRequestBody defines body for CreateStep for application/json ContentType.

type CreateStepRequest

type CreateStepRequest = CreateStepRequestContent

type CreateStepRequestContent

type CreateStepRequestContent struct {
	Completed bool   `json:"completed,omitempty"`
	Content   string `json:"content"`
}

CreateStepRequestContent defines model for CreateStepRequestContent.

type CreateStepResponseContent

type CreateStepResponseContent = Step

CreateStepResponseContent defines model for CreateStepResponseContent.

type CreateUserDataExportResponseContent added in v0.1.3

type CreateUserDataExportResponseContent = DataExport

CreateUserDataExportResponseContent defines model for CreateUserDataExportResponseContent.

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = CreateWebhookRequestContent

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookRequest

type CreateWebhookRequest = CreateWebhookRequestContent

type CreateWebhookRequestContent

type CreateWebhookRequestContent struct {
	Name              string   `json:"name"`
	SubscribedActions []string `json:"subscribed_actions,omitempty"`
	Url               string   `json:"url"`
}

CreateWebhookRequestContent defines model for CreateWebhookRequestContent.

type CreateWebhookResponseContent

type CreateWebhookResponseContent = Webhook

CreateWebhookResponseContent defines model for CreateWebhookResponseContent.

type DataExport added in v0.1.3

type DataExport struct {
	CreatedAt   string `json:"created_at"`
	DownloadUrl string `json:"download_url,omitempty"`
	Id          string `json:"id"`
	Status      string `json:"status"`
}

DataExport defines model for DataExport.

type DirectUpload

type DirectUpload struct {
	ByteSize     int64                `json:"byte_size"`
	Checksum     string               `json:"checksum"`
	ContentType  string               `json:"content_type"`
	DirectUpload DirectUploadMetadata `json:"direct_upload"`
	Filename     string               `json:"filename"`
	Id           string               `json:"id"`
	Key          string               `json:"key"`
}

DirectUpload defines model for DirectUpload.

type DirectUploadHeaders

type DirectUploadHeaders struct {
	ContentMD5  string `json:"Content_MD5,omitempty"`
	ContentType string `json:"Content_Type"`
}

DirectUploadHeaders defines model for DirectUploadHeaders.

type DirectUploadMetadata

type DirectUploadMetadata struct {
	Headers DirectUploadHeaders `json:"headers"`
	Url     string              `json:"url"`
}

DirectUploadMetadata defines model for DirectUploadMetadata.

type ForbiddenErrorResponseContent

type ForbiddenErrorResponseContent struct {
	Message string `json:"message"`
}

ForbiddenErrorResponseContent defines model for ForbiddenErrorResponseContent.

type GetAccountExportResponseContent

type GetAccountExportResponseContent = AccountExport

GetAccountExportResponseContent defines model for GetAccountExportResponseContent.

type GetAccountSettingsResponseContent

type GetAccountSettingsResponseContent = AccountSettings

GetAccountSettingsResponseContent defines model for GetAccountSettingsResponseContent.

type GetBoardResponseContent

type GetBoardResponseContent = Board

GetBoardResponseContent defines model for GetBoardResponseContent.

type GetCardResponseContent

type GetCardResponseContent = Card

GetCardResponseContent defines model for GetCardResponseContent.

type GetColumnResponseContent

type GetColumnResponseContent = Column

GetColumnResponseContent defines model for GetColumnResponseContent.

type GetCommentResponseContent

type GetCommentResponseContent = Comment

GetCommentResponseContent defines model for GetCommentResponseContent.

type GetJoinCodeResponseContent

type GetJoinCodeResponseContent = JoinCode

GetJoinCodeResponseContent defines model for GetJoinCodeResponseContent.

type GetMyIdentityResponseContent

type GetMyIdentityResponseContent = Identity

GetMyIdentityResponseContent defines model for GetMyIdentityResponseContent.

type GetNotificationSettingsResponseContent

type GetNotificationSettingsResponseContent = NotificationSettings

GetNotificationSettingsResponseContent defines model for GetNotificationSettingsResponseContent.

type GetNotificationTrayParams

type GetNotificationTrayParams struct {
	IncludeRead bool `form:"include_read,omitempty" json:"include_read,omitempty"`
}

GetNotificationTrayParams defines parameters for GetNotificationTray.

type GetNotificationTrayResponseContent

type GetNotificationTrayResponseContent = []Notification

GetNotificationTrayResponseContent defines model for GetNotificationTrayResponseContent.

type GetStepResponseContent

type GetStepResponseContent = Step

GetStepResponseContent defines model for GetStepResponseContent.

type GetUserDataExportResponseContent added in v0.1.3

type GetUserDataExportResponseContent = DataExport

GetUserDataExportResponseContent defines model for GetUserDataExportResponseContent.

type GetUserResponseContent

type GetUserResponseContent = User

GetUserResponseContent defines model for GetUserResponseContent.

type GetWebhookResponseContent

type GetWebhookResponseContent = Webhook

GetWebhookResponseContent defines model for GetWebhookResponseContent.

type Identity

type Identity struct {
	Accounts     []Account `json:"accounts"`
	EmailAddress string    `json:"email_address,omitempty"`
	Id           string    `json:"id"`
	Name         string    `json:"name,omitempty"`
}

Identity defines model for Identity.

type InternalServerErrorResponseContent

type InternalServerErrorResponseContent struct {
	Message string `json:"message"`
}

InternalServerErrorResponseContent defines model for InternalServerErrorResponseContent.

type JoinCode

type JoinCode struct {
	Active     bool   `json:"active,omitempty"`
	Code       string `json:"code"`
	Url        string `json:"url"`
	UsageCount int32  `json:"usage_count,omitempty"`
	UsageLimit int32  `json:"usage_limit,omitempty"`
}

JoinCode defines model for JoinCode.

type ListAccessTokensResponseContent

type ListAccessTokensResponseContent = []AccessToken

ListAccessTokensResponseContent defines model for ListAccessTokensResponseContent.

type ListActivitiesParams added in v0.1.3

type ListActivitiesParams struct {
	CreatorIds []string `form:"creator_ids[],omitempty" json:"creator_ids[],omitempty"`
	BoardIds   []string `form:"board_ids[],omitempty" json:"board_ids[],omitempty"`
}

ListActivitiesParams defines parameters for ListActivities.

type ListActivitiesResponseContent added in v0.1.3

type ListActivitiesResponseContent = []Activity

ListActivitiesResponseContent defines model for ListActivitiesResponseContent.

type ListBoardAccessesParams added in v0.1.3

type ListBoardAccessesParams struct {
	Page int32 `form:"page,omitempty" json:"page,omitempty"`
}

ListBoardAccessesParams defines parameters for ListBoardAccesses.

type ListBoardAccessesResponseContent added in v0.1.3

type ListBoardAccessesResponseContent = BoardAccesses

ListBoardAccessesResponseContent defines model for ListBoardAccessesResponseContent.

type ListBoardsResponseContent

type ListBoardsResponseContent = []Board

ListBoardsResponseContent defines model for ListBoardsResponseContent.

type ListCardReactionsResponseContent

type ListCardReactionsResponseContent = []Reaction

ListCardReactionsResponseContent defines model for ListCardReactionsResponseContent.

type ListCardsParams

type ListCardsParams struct {
	BoardIds         []string `form:"board_ids[],omitempty" json:"board_ids[],omitempty"`
	TagIds           []string `form:"tag_ids[],omitempty" json:"tag_ids[],omitempty"`
	AssigneeIds      []string `form:"assignee_ids[],omitempty" json:"assignee_ids[],omitempty"`
	CreatorIds       []string `form:"creator_ids[],omitempty" json:"creator_ids[],omitempty"`
	CloserIds        []string `form:"closer_ids[],omitempty" json:"closer_ids[],omitempty"`
	CardIds          []string `form:"card_ids[],omitempty" json:"card_ids[],omitempty"`
	ColumnIds        []string `form:"column_ids[],omitempty" json:"column_ids[],omitempty"`
	IndexedBy        string   `form:"indexed_by,omitempty" json:"indexed_by,omitempty"`
	SortedBy         string   `form:"sorted_by,omitempty" json:"sorted_by,omitempty"`
	AssignmentStatus string   `form:"assignment_status,omitempty" json:"assignment_status,omitempty"`
	Creation         string   `form:"creation,omitempty" json:"creation,omitempty"`
	Closure          string   `form:"closure,omitempty" json:"closure,omitempty"`
	Terms            []string `form:"terms[],omitempty" json:"terms[],omitempty"`
}

ListCardsParams defines parameters for ListCards.

type ListCardsResponseContent

type ListCardsResponseContent = []Card

ListCardsResponseContent defines model for ListCardsResponseContent.

type ListClosedCardsResponseContent

type ListClosedCardsResponseContent = []Card

ListClosedCardsResponseContent defines model for ListClosedCardsResponseContent.

type ListColumnCardsResponseContent added in v0.1.3

type ListColumnCardsResponseContent = []Card

ListColumnCardsResponseContent defines model for ListColumnCardsResponseContent.

type ListColumnsResponseContent

type ListColumnsResponseContent = []Column

ListColumnsResponseContent defines model for ListColumnsResponseContent.

type ListCommentReactionsResponseContent

type ListCommentReactionsResponseContent = []Reaction

ListCommentReactionsResponseContent defines model for ListCommentReactionsResponseContent.

type ListCommentsResponseContent

type ListCommentsResponseContent = []Comment

ListCommentsResponseContent defines model for ListCommentsResponseContent.

type ListNotificationsParams

type ListNotificationsParams struct {
	Read bool `form:"read,omitempty" json:"read,omitempty"`
}

ListNotificationsParams defines parameters for ListNotifications.

type ListNotificationsResponseContent

type ListNotificationsResponseContent = []Notification

ListNotificationsResponseContent defines model for ListNotificationsResponseContent.

type ListPinsResponseContent

type ListPinsResponseContent = []Card

ListPinsResponseContent defines model for ListPinsResponseContent.

type ListPostponedCardsResponseContent

type ListPostponedCardsResponseContent = []Card

ListPostponedCardsResponseContent defines model for ListPostponedCardsResponseContent.

type ListStepsResponseContent

type ListStepsResponseContent = []Step

ListStepsResponseContent defines model for ListStepsResponseContent.

type ListStreamCardsResponseContent

type ListStreamCardsResponseContent = []Card

ListStreamCardsResponseContent defines model for ListStreamCardsResponseContent.

type ListTagsResponseContent

type ListTagsResponseContent = []Tag

ListTagsResponseContent defines model for ListTagsResponseContent.

type ListUsersResponseContent

type ListUsersResponseContent = []User

ListUsersResponseContent defines model for ListUsersResponseContent.

type ListWebhookDeliveriesResponseContent added in v0.1.3

type ListWebhookDeliveriesResponseContent = []WebhookDelivery

ListWebhookDeliveriesResponseContent defines model for ListWebhookDeliveriesResponseContent.

type ListWebhooksResponseContent

type ListWebhooksResponseContent = []Webhook

ListWebhooksResponseContent defines model for ListWebhooksResponseContent.

type MoveCardJSONRequestBody

type MoveCardJSONRequestBody = MoveCardRequestContent

MoveCardJSONRequestBody defines body for MoveCard for application/json ContentType.

type MoveCardRequest

type MoveCardRequest = MoveCardRequestContent

type MoveCardRequestContent

type MoveCardRequestContent struct {
	BoardId  string `json:"board_id"`
	ColumnId string `json:"column_id,omitempty"`
}

MoveCardRequestContent defines model for MoveCardRequestContent.

type MoveCardResponseContent

type MoveCardResponseContent = Card

MoveCardResponseContent defines model for MoveCardResponseContent.

type NotFoundErrorResponseContent

type NotFoundErrorResponseContent struct {
	Message string `json:"message"`
}

NotFoundErrorResponseContent defines model for NotFoundErrorResponseContent.

type Notification

type Notification struct {
	Body        string           `json:"body,omitempty"`
	Card        NotificationCard `json:"card,omitempty"`
	CreatedAt   string           `json:"created_at"`
	Creator     User             `json:"creator"`
	Id          string           `json:"id"`
	Read        bool             `json:"read"`
	ReadAt      string           `json:"read_at,omitempty"`
	SourceType  string           `json:"source_type"`
	Title       string           `json:"title,omitempty"`
	UnreadCount int32            `json:"unread_count"`
	Url         string           `json:"url"`
}

Notification defines model for Notification.

type NotificationCard

type NotificationCard struct {
	BoardName string `json:"board_name,omitempty"`
	Closed    bool   `json:"closed"`
	Column    Column `json:"column,omitempty"`
	Id        string `json:"id"`
	Number    int32  `json:"number"`
	Postponed bool   `json:"postponed"`
	Status    string `json:"status"`
	Title     string `json:"title"`
	Url       string `json:"url"`
}

NotificationCard defines model for NotificationCard.

type NotificationSettings

type NotificationSettings struct {
	BundleEmailFrequency string `json:"bundle_email_frequency"`
}

NotificationSettings defines model for NotificationSettings.

type PendingAuthentication

type PendingAuthentication struct {
	PendingAuthenticationToken string `json:"pending_authentication_token"`
}

PendingAuthentication defines model for PendingAuthentication.

type RateLimitErrorResponseContent

type RateLimitErrorResponseContent struct {
	Message string `json:"message"`
}

RateLimitErrorResponseContent defines model for RateLimitErrorResponseContent.

type Reaction

type Reaction struct {
	Content string `json:"content"`
	Id      string `json:"id"`
	Reacter User   `json:"reacter"`
	Url     string `json:"url"`
}

Reaction defines model for Reaction.

type RedeemMagicLinkJSONRequestBody

type RedeemMagicLinkJSONRequestBody = RedeemMagicLinkRequestContent

RedeemMagicLinkJSONRequestBody defines body for RedeemMagicLink for application/json ContentType.

type RedeemMagicLinkRequest

type RedeemMagicLinkRequest = RedeemMagicLinkRequestContent

type RedeemMagicLinkRequestContent

type RedeemMagicLinkRequestContent struct {
	Token string `json:"token"`
}

RedeemMagicLinkRequestContent defines model for RedeemMagicLinkRequestContent.

type RedeemMagicLinkResponseContent

type RedeemMagicLinkResponseContent = SessionAuthorization

RedeemMagicLinkResponseContent defines model for RedeemMagicLinkResponseContent.

type RegisterDeviceJSONRequestBody

type RegisterDeviceJSONRequestBody = RegisterDeviceRequestContent

RegisterDeviceJSONRequestBody defines body for RegisterDevice for application/json ContentType.

type RegisterDeviceRequest

type RegisterDeviceRequest = RegisterDeviceRequestContent

type RegisterDeviceRequestContent

type RegisterDeviceRequestContent struct {
	Name     string `json:"name,omitempty"`
	Platform string `json:"platform"`
	Token    string `json:"token"`
}

RegisterDeviceRequestContent defines model for RegisterDeviceRequestContent.

type RequestEmailAddressChangeJSONRequestBody added in v0.1.3

type RequestEmailAddressChangeJSONRequestBody = RequestEmailAddressChangeRequestContent

RequestEmailAddressChangeJSONRequestBody defines body for RequestEmailAddressChange for application/json ContentType.

type RequestEmailAddressChangeRequest added in v0.1.3

type RequestEmailAddressChangeRequest = RequestEmailAddressChangeRequestContent

type RequestEmailAddressChangeRequestContent added in v0.1.3

type RequestEmailAddressChangeRequestContent struct {
	EmailAddress string `json:"email_address"`
}

RequestEmailAddressChangeRequestContent defines model for RequestEmailAddressChangeRequestContent.

type RichTextBody

type RichTextBody struct {
	Html      string `json:"html"`
	PlainText string `json:"plain_text"`
}

RichTextBody defines model for RichTextBody.

type SearchCardsParams

type SearchCardsParams struct {
	Q string `form:"q" json:"q"`
}

SearchCardsParams defines parameters for SearchCards.

type SearchCardsResponseContent

type SearchCardsResponseContent = []Card

SearchCardsResponseContent defines model for SearchCardsResponseContent.

type SessionAuthorization

type SessionAuthorization struct {
	RequiresSignupCompletion bool   `json:"requires_signup_completion"`
	SessionToken             string `json:"session_token"`
}

SessionAuthorization defines model for SessionAuthorization.

type Step

type Step struct {
	Completed bool   `json:"completed"`
	Content   string `json:"content"`
	Id        string `json:"id"`
}

Step defines model for Step.

type StringMap added in v0.1.3

type StringMap map[string]string

StringMap defines model for StringMap.

type Tag

type Tag struct {
	CreatedAt string `json:"created_at"`
	Id        string `json:"id"`
	Title     string `json:"title"`
	Url       string `json:"url,omitempty"`
}

Tag defines model for Tag.

type TagCardJSONRequestBody

type TagCardJSONRequestBody = TagCardRequestContent

TagCardJSONRequestBody defines body for TagCard for application/json ContentType.

type TagCardRequest

type TagCardRequest = TagCardRequestContent

type TagCardRequestContent

type TagCardRequestContent struct {
	TagTitle string `json:"tag_title"`
}

TagCardRequestContent defines model for TagCardRequestContent.

type TriageCardJSONRequestBody

type TriageCardJSONRequestBody = TriageCardRequestContent

TriageCardJSONRequestBody defines body for TriageCard for application/json ContentType.

type TriageCardRequest

type TriageCardRequest = TriageCardRequestContent

type TriageCardRequestContent

type TriageCardRequestContent struct {
	ColumnId string `json:"column_id,omitempty"`
}

TriageCardRequestContent defines model for TriageCardRequestContent.

type UnauthorizedErrorResponseContent

type UnauthorizedErrorResponseContent struct {
	Message string `json:"message"`
}

UnauthorizedErrorResponseContent defines model for UnauthorizedErrorResponseContent.

type UpdateAccountEntropyJSONRequestBody

type UpdateAccountEntropyJSONRequestBody = UpdateAccountEntropyRequestContent

UpdateAccountEntropyJSONRequestBody defines body for UpdateAccountEntropy for application/json ContentType.

type UpdateAccountEntropyRequest

type UpdateAccountEntropyRequest = UpdateAccountEntropyRequestContent

type UpdateAccountEntropyRequestContent

type UpdateAccountEntropyRequestContent struct {
	AutoPostponePeriodInDays int32 `json:"auto_postpone_period_in_days,omitempty"`
}

UpdateAccountEntropyRequestContent defines model for UpdateAccountEntropyRequestContent.

type UpdateAccountEntropyResponseContent added in v0.1.2

type UpdateAccountEntropyResponseContent = AccountSettings

UpdateAccountEntropyResponseContent defines model for UpdateAccountEntropyResponseContent.

type UpdateAccountSettingsJSONRequestBody

type UpdateAccountSettingsJSONRequestBody = UpdateAccountSettingsRequestContent

UpdateAccountSettingsJSONRequestBody defines body for UpdateAccountSettings for application/json ContentType.

type UpdateAccountSettingsRequest

type UpdateAccountSettingsRequest = UpdateAccountSettingsRequestContent

type UpdateAccountSettingsRequestContent

type UpdateAccountSettingsRequestContent struct {
	Name string `json:"name,omitempty"`
}

UpdateAccountSettingsRequestContent defines model for UpdateAccountSettingsRequestContent.

type UpdateBoardEntropyJSONRequestBody

type UpdateBoardEntropyJSONRequestBody = UpdateBoardEntropyRequestContent

UpdateBoardEntropyJSONRequestBody defines body for UpdateBoardEntropy for application/json ContentType.

type UpdateBoardEntropyRequest

type UpdateBoardEntropyRequest = UpdateBoardEntropyRequestContent

type UpdateBoardEntropyRequestContent

type UpdateBoardEntropyRequestContent struct {
	AutoPostponePeriodInDays int32 `json:"auto_postpone_period_in_days,omitempty"`
}

UpdateBoardEntropyRequestContent defines model for UpdateBoardEntropyRequestContent.

type UpdateBoardEntropyResponseContent added in v0.1.2

type UpdateBoardEntropyResponseContent = Board

UpdateBoardEntropyResponseContent defines model for UpdateBoardEntropyResponseContent.

type UpdateBoardInvolvementJSONRequestBody

type UpdateBoardInvolvementJSONRequestBody = UpdateBoardInvolvementRequestContent

UpdateBoardInvolvementJSONRequestBody defines body for UpdateBoardInvolvement for application/json ContentType.

type UpdateBoardInvolvementRequest

type UpdateBoardInvolvementRequest = UpdateBoardInvolvementRequestContent

type UpdateBoardInvolvementRequestContent

type UpdateBoardInvolvementRequestContent struct {
	Involvement string `json:"involvement,omitempty"`
}

UpdateBoardInvolvementRequestContent defines model for UpdateBoardInvolvementRequestContent.

type UpdateBoardJSONRequestBody

type UpdateBoardJSONRequestBody = UpdateBoardRequestContent

UpdateBoardJSONRequestBody defines body for UpdateBoard for application/json ContentType.

type UpdateBoardRequest

type UpdateBoardRequest = UpdateBoardRequestContent

type UpdateBoardRequestContent

type UpdateBoardRequestContent struct {
	AllAccess                bool     `json:"all_access,omitempty"`
	AutoPostponePeriodInDays int32    `json:"auto_postpone_period_in_days,omitempty"`
	Name                     string   `json:"name,omitempty"`
	PublicDescription        string   `json:"public_description,omitempty"`
	UserIds                  []string `json:"user_ids,omitempty"`
}

UpdateBoardRequestContent defines model for UpdateBoardRequestContent.

type UpdateBoardResponseContent

type UpdateBoardResponseContent = Board

UpdateBoardResponseContent defines model for UpdateBoardResponseContent.

type UpdateCardJSONRequestBody

type UpdateCardJSONRequestBody = UpdateCardRequestContent

UpdateCardJSONRequestBody defines body for UpdateCard for application/json ContentType.

type UpdateCardRequest

type UpdateCardRequest = UpdateCardRequestContent

type UpdateCardRequestContent

type UpdateCardRequestContent struct {
	ColumnId    string `json:"column_id,omitempty"`
	CreatedAt   string `json:"created_at,omitempty"`
	Description string `json:"description,omitempty"`
	Image       string `json:"image,omitempty"`
	Title       string `json:"title,omitempty"`
}

UpdateCardRequestContent defines model for UpdateCardRequestContent.

type UpdateCardResponseContent

type UpdateCardResponseContent = Card

UpdateCardResponseContent defines model for UpdateCardResponseContent.

type UpdateColumnJSONRequestBody

type UpdateColumnJSONRequestBody = UpdateColumnRequestContent

UpdateColumnJSONRequestBody defines body for UpdateColumn for application/json ContentType.

type UpdateColumnRequest

type UpdateColumnRequest = UpdateColumnRequestContent

type UpdateColumnRequestContent

type UpdateColumnRequestContent struct {
	Color string `json:"color,omitempty"`
	Name  string `json:"name,omitempty"`
}

UpdateColumnRequestContent defines model for UpdateColumnRequestContent.

type UpdateColumnResponseContent

type UpdateColumnResponseContent = Column

UpdateColumnResponseContent defines model for UpdateColumnResponseContent.

type UpdateCommentJSONRequestBody

type UpdateCommentJSONRequestBody = UpdateCommentRequestContent

UpdateCommentJSONRequestBody defines body for UpdateComment for application/json ContentType.

type UpdateCommentRequest

type UpdateCommentRequest = UpdateCommentRequestContent

type UpdateCommentRequestContent

type UpdateCommentRequestContent struct {
	Body string `json:"body"`
}

UpdateCommentRequestContent defines model for UpdateCommentRequestContent.

type UpdateCommentResponseContent

type UpdateCommentResponseContent = Comment

UpdateCommentResponseContent defines model for UpdateCommentResponseContent.

type UpdateJoinCodeJSONRequestBody

type UpdateJoinCodeJSONRequestBody = UpdateJoinCodeRequestContent

UpdateJoinCodeJSONRequestBody defines body for UpdateJoinCode for application/json ContentType.

type UpdateJoinCodeRequest

type UpdateJoinCodeRequest = UpdateJoinCodeRequestContent

type UpdateJoinCodeRequestContent

type UpdateJoinCodeRequestContent struct {
	UsageLimit int32 `json:"usage_limit,omitempty"`
}

UpdateJoinCodeRequestContent defines model for UpdateJoinCodeRequestContent.

type UpdateMyTimezoneJSONRequestBody added in v0.2.2

type UpdateMyTimezoneJSONRequestBody = UpdateMyTimezoneRequestContent

UpdateMyTimezoneJSONRequestBody defines body for UpdateMyTimezone for application/json ContentType.

type UpdateMyTimezoneRequest added in v0.2.2

type UpdateMyTimezoneRequest = UpdateMyTimezoneRequestContent

type UpdateMyTimezoneRequestContent added in v0.2.2

type UpdateMyTimezoneRequestContent struct {
	TimezoneName string `json:"timezone_name"`
}

UpdateMyTimezoneRequestContent defines model for UpdateMyTimezoneRequestContent.

type UpdateNotificationSettingsJSONRequestBody

type UpdateNotificationSettingsJSONRequestBody = UpdateNotificationSettingsRequestContent

UpdateNotificationSettingsJSONRequestBody defines body for UpdateNotificationSettings for application/json ContentType.

type UpdateNotificationSettingsRequest

type UpdateNotificationSettingsRequest = UpdateNotificationSettingsRequestContent

type UpdateNotificationSettingsRequestContent

type UpdateNotificationSettingsRequestContent struct {
	BundleEmailFrequency string `json:"bundle_email_frequency,omitempty"`
}

UpdateNotificationSettingsRequestContent defines model for UpdateNotificationSettingsRequestContent.

type UpdateStepJSONRequestBody

type UpdateStepJSONRequestBody = UpdateStepRequestContent

UpdateStepJSONRequestBody defines body for UpdateStep for application/json ContentType.

type UpdateStepRequest

type UpdateStepRequest = UpdateStepRequestContent

type UpdateStepRequestContent

type UpdateStepRequestContent struct {
	Completed bool   `json:"completed,omitempty"`
	Content   string `json:"content,omitempty"`
}

UpdateStepRequestContent defines model for UpdateStepRequestContent.

type UpdateStepResponseContent

type UpdateStepResponseContent = Step

UpdateStepResponseContent defines model for UpdateStepResponseContent.

type UpdateUserJSONRequestBody

type UpdateUserJSONRequestBody = UpdateUserRequestContent

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequest

type UpdateUserRequest = UpdateUserRequestContent

type UpdateUserRequestContent

type UpdateUserRequestContent struct {
	Name string `json:"name,omitempty"`
}

UpdateUserRequestContent defines model for UpdateUserRequestContent.

type UpdateUserResponseContent

type UpdateUserResponseContent = User

UpdateUserResponseContent defines model for UpdateUserResponseContent.

type UpdateUserRoleJSONRequestBody

type UpdateUserRoleJSONRequestBody = UpdateUserRoleRequestContent

UpdateUserRoleJSONRequestBody defines body for UpdateUserRole for application/json ContentType.

type UpdateUserRoleRequest

type UpdateUserRoleRequest = UpdateUserRoleRequestContent

type UpdateUserRoleRequestContent

type UpdateUserRoleRequestContent struct {
	Role string `json:"role"`
}

UpdateUserRoleRequestContent defines model for UpdateUserRoleRequestContent.

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody = UpdateWebhookRequestContent

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookRequest

type UpdateWebhookRequest = UpdateWebhookRequestContent

type UpdateWebhookRequestContent

type UpdateWebhookRequestContent struct {
	Name              string   `json:"name,omitempty"`
	SubscribedActions []string `json:"subscribed_actions,omitempty"`
	Url               string   `json:"url,omitempty"`
}

UpdateWebhookRequestContent defines model for UpdateWebhookRequestContent.

type UpdateWebhookResponseContent

type UpdateWebhookResponseContent = Webhook

UpdateWebhookResponseContent defines model for UpdateWebhookResponseContent.

type User

type User struct {
	Active       bool   `json:"active"`
	AvatarUrl    string `json:"avatar_url,omitempty"`
	CreatedAt    string `json:"created_at"`
	EmailAddress string `json:"email_address"`
	Id           string `json:"id"`
	Name         string `json:"name"`
	Role         string `json:"role"`
	Url          string `json:"url"`
}

User defines model for User.

type ValidationErrorResponseContent

type ValidationErrorResponseContent struct {
	Errors  []string `json:"errors,omitempty"`
	Message string   `json:"message"`
}

ValidationErrorResponseContent defines model for ValidationErrorResponseContent.

type Webhook

type Webhook struct {
	Active            bool     `json:"active"`
	Board             Board    `json:"board,omitempty"`
	CreatedAt         string   `json:"created_at"`
	Id                string   `json:"id"`
	Name              string   `json:"name"`
	PayloadUrl        string   `json:"payload_url"`
	SigningSecret     string   `json:"signing_secret"`
	SubscribedActions []string `json:"subscribed_actions"`
	UpdatedAt         string   `json:"updated_at,omitempty"`
	Url               string   `json:"url"`
}

Webhook defines model for Webhook.

type WebhookDelivery added in v0.1.3

type WebhookDelivery struct {
	CreatedAt string                  `json:"created_at"`
	Event     WebhookDeliveryEvent    `json:"event,omitempty"`
	Id        string                  `json:"id"`
	Request   WebhookDeliveryRequest  `json:"request,omitempty"`
	Response  WebhookDeliveryResponse `json:"response,omitempty"`
	State     string                  `json:"state"`
	UpdatedAt string                  `json:"updated_at"`
}

WebhookDelivery defines model for WebhookDelivery.

type WebhookDeliveryEvent added in v0.1.3

type WebhookDeliveryEvent struct {
	Action    string                        `json:"action"`
	CreatedAt string                        `json:"created_at"`
	Creator   WebhookDeliveryEventCreator   `json:"creator,omitempty"`
	Eventable WebhookDeliveryEventEventable `json:"eventable,omitempty"`
	Id        string                        `json:"id"`
}

WebhookDeliveryEvent defines model for WebhookDeliveryEvent.

type WebhookDeliveryEventCreator added in v0.1.3

type WebhookDeliveryEventCreator struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

WebhookDeliveryEventCreator defines model for WebhookDeliveryEventCreator.

type WebhookDeliveryEventEventable added in v0.1.3

type WebhookDeliveryEventEventable struct {
	Id   string `json:"id"`
	Type string `json:"type"`
	Url  string `json:"url"`
}

WebhookDeliveryEventEventable defines model for WebhookDeliveryEventEventable.

type WebhookDeliveryRequest added in v0.1.3

type WebhookDeliveryRequest struct {
	Headers StringMap `json:"headers,omitempty"`
}

WebhookDeliveryRequest defines model for WebhookDeliveryRequest.

type WebhookDeliveryResponse added in v0.1.3

type WebhookDeliveryResponse struct {
	Code  int32  `json:"code,omitempty"`
	Error string `json:"error,omitempty"`
}

WebhookDeliveryResponse defines model for WebhookDeliveryResponse.

Jump to

Keyboard shortcuts

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