openapi

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: AGPL-3.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

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

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

Index

Constants

View Source
const (
	OAuth2Scopes = "OAuth2.Scopes"
)

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

Types

type AddGroupParent201Response

type AddGroupParent201Response struct {
}

func (AddGroupParent201Response) VisitAddGroupParentResponse

func (response AddGroupParent201Response) VisitAddGroupParentResponse(w http.ResponseWriter) error

type AddGroupParentJSONRequestBody

type AddGroupParentJSONRequestBody = GroupRelation

AddGroupParentJSONRequestBody defines body for AddGroupParent for application/json ContentType.

type AddGroupParentRequestObject

type AddGroupParentRequestObject struct {
	Id   string `json:"id"`
	Body *AddGroupParentJSONRequestBody
}

type AddGroupParentResponseObject

type AddGroupParentResponseObject interface {
	VisitAddGroupParentResponse(w http.ResponseWriter) error
}

type AddUserGroup201Response

type AddUserGroup201Response struct {
}

func (AddUserGroup201Response) VisitAddUserGroupResponse

func (response AddUserGroup201Response) VisitAddUserGroupResponse(w http.ResponseWriter) error

type AddUserGroupJSONRequestBody

type AddUserGroupJSONRequestBody = GroupRelation

AddUserGroupJSONRequestBody defines body for AddUserGroup for application/json ContentType.

type AddUserGroupRequestObject

type AddUserGroupRequestObject struct {
	Id   string `json:"id"`
	Body *AddUserGroupJSONRequestBody
}

type AddUserGroupResponseObject

type AddUserGroupResponseObject interface {
	VisitAddUserGroupResponse(w http.ResponseWriter) error
}

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Comment

type Comment struct {
	Author  string    `json:"author"`
	Created time.Time `json:"created"`
	Id      string    `json:"id"`
	Message string    `json:"message"`
	Ticket  string    `json:"ticket"`
	Updated time.Time `json:"updated"`
}

Comment defines model for Comment.

type CommentUpdate

type CommentUpdate struct {
	Author  *string `json:"author,omitempty"`
	Message *string `json:"message,omitempty"`
}

CommentUpdate defines model for CommentUpdate.

type Config

type Config struct {
	Flags       []string `json:"flags"`
	Permissions []string `json:"permissions"`
	Tables      []Table  `json:"tables"`
}

Config defines model for Config.

type CreateComment200JSONResponse

type CreateComment200JSONResponse Comment

func (CreateComment200JSONResponse) VisitCreateCommentResponse

func (response CreateComment200JSONResponse) VisitCreateCommentResponse(w http.ResponseWriter) error

type CreateCommentJSONRequestBody

type CreateCommentJSONRequestBody = NewComment

CreateCommentJSONRequestBody defines body for CreateComment for application/json ContentType.

type CreateCommentRequestObject

type CreateCommentRequestObject struct {
	Body *CreateCommentJSONRequestBody
}

type CreateCommentResponseObject

type CreateCommentResponseObject interface {
	VisitCreateCommentResponse(w http.ResponseWriter) error
}

type CreateFile200JSONResponse

type CreateFile200JSONResponse File

func (CreateFile200JSONResponse) VisitCreateFileResponse

func (response CreateFile200JSONResponse) VisitCreateFileResponse(w http.ResponseWriter) error

type CreateFileJSONRequestBody

type CreateFileJSONRequestBody = NewFile

CreateFileJSONRequestBody defines body for CreateFile for application/json ContentType.

type CreateFileRequestObject

type CreateFileRequestObject struct {
	Body *CreateFileJSONRequestBody
}

type CreateFileResponseObject

type CreateFileResponseObject interface {
	VisitCreateFileResponse(w http.ResponseWriter) error
}

type CreateGroup200JSONResponse

type CreateGroup200JSONResponse Group

func (CreateGroup200JSONResponse) VisitCreateGroupResponse

func (response CreateGroup200JSONResponse) VisitCreateGroupResponse(w http.ResponseWriter) error

type CreateGroupJSONRequestBody

type CreateGroupJSONRequestBody = NewGroup

CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.

type CreateGroupRequestObject

type CreateGroupRequestObject struct {
	Body *CreateGroupJSONRequestBody
}

type CreateGroupResponseObject

type CreateGroupResponseObject interface {
	VisitCreateGroupResponse(w http.ResponseWriter) error
}

type CreateLink200JSONResponse

type CreateLink200JSONResponse Link

func (CreateLink200JSONResponse) VisitCreateLinkResponse

func (response CreateLink200JSONResponse) VisitCreateLinkResponse(w http.ResponseWriter) error

type CreateLinkJSONRequestBody

type CreateLinkJSONRequestBody = NewLink

CreateLinkJSONRequestBody defines body for CreateLink for application/json ContentType.

type CreateLinkRequestObject

type CreateLinkRequestObject struct {
	Body *CreateLinkJSONRequestBody
}

type CreateLinkResponseObject

type CreateLinkResponseObject interface {
	VisitCreateLinkResponse(w http.ResponseWriter) error
}

type CreateReaction200JSONResponse

type CreateReaction200JSONResponse Reaction

func (CreateReaction200JSONResponse) VisitCreateReactionResponse

func (response CreateReaction200JSONResponse) VisitCreateReactionResponse(w http.ResponseWriter) error

type CreateReactionJSONRequestBody

type CreateReactionJSONRequestBody = NewReaction

CreateReactionJSONRequestBody defines body for CreateReaction for application/json ContentType.

type CreateReactionRequestObject

type CreateReactionRequestObject struct {
	Body *CreateReactionJSONRequestBody
}

type CreateReactionResponseObject

type CreateReactionResponseObject interface {
	VisitCreateReactionResponse(w http.ResponseWriter) error
}

type CreateTask200JSONResponse

type CreateTask200JSONResponse Task

func (CreateTask200JSONResponse) VisitCreateTaskResponse

func (response CreateTask200JSONResponse) VisitCreateTaskResponse(w http.ResponseWriter) error

type CreateTaskJSONRequestBody

type CreateTaskJSONRequestBody = NewTask

CreateTaskJSONRequestBody defines body for CreateTask for application/json ContentType.

type CreateTaskRequestObject

type CreateTaskRequestObject struct {
	Body *CreateTaskJSONRequestBody
}

type CreateTaskResponseObject

type CreateTaskResponseObject interface {
	VisitCreateTaskResponse(w http.ResponseWriter) error
}

type CreateTicket200JSONResponse

type CreateTicket200JSONResponse Ticket

func (CreateTicket200JSONResponse) VisitCreateTicketResponse

func (response CreateTicket200JSONResponse) VisitCreateTicketResponse(w http.ResponseWriter) error

type CreateTicketJSONRequestBody

type CreateTicketJSONRequestBody = NewTicket

CreateTicketJSONRequestBody defines body for CreateTicket for application/json ContentType.

type CreateTicketRequestObject

type CreateTicketRequestObject struct {
	Body *CreateTicketJSONRequestBody
}

type CreateTicketResponseObject

type CreateTicketResponseObject interface {
	VisitCreateTicketResponse(w http.ResponseWriter) error
}

type CreateTimeline200JSONResponse

type CreateTimeline200JSONResponse TimelineEntry

func (CreateTimeline200JSONResponse) VisitCreateTimelineResponse

func (response CreateTimeline200JSONResponse) VisitCreateTimelineResponse(w http.ResponseWriter) error

type CreateTimelineJSONRequestBody

type CreateTimelineJSONRequestBody = NewTimelineEntry

CreateTimelineJSONRequestBody defines body for CreateTimeline for application/json ContentType.

type CreateTimelineRequestObject

type CreateTimelineRequestObject struct {
	Body *CreateTimelineJSONRequestBody
}

type CreateTimelineResponseObject

type CreateTimelineResponseObject interface {
	VisitCreateTimelineResponse(w http.ResponseWriter) error
}

type CreateType200JSONResponse

type CreateType200JSONResponse Type

func (CreateType200JSONResponse) VisitCreateTypeResponse

func (response CreateType200JSONResponse) VisitCreateTypeResponse(w http.ResponseWriter) error

type CreateTypeJSONRequestBody

type CreateTypeJSONRequestBody = NewType

CreateTypeJSONRequestBody defines body for CreateType for application/json ContentType.

type CreateTypeRequestObject

type CreateTypeRequestObject struct {
	Body *CreateTypeJSONRequestBody
}

type CreateTypeResponseObject

type CreateTypeResponseObject interface {
	VisitCreateTypeResponse(w http.ResponseWriter) error
}

type CreateUser200JSONResponse

type CreateUser200JSONResponse User

func (CreateUser200JSONResponse) VisitCreateUserResponse

func (response CreateUser200JSONResponse) VisitCreateUserResponse(w http.ResponseWriter) error

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody = NewUser

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type CreateUserRequestObject

type CreateUserRequestObject struct {
	Body *CreateUserJSONRequestBody
}

type CreateUserResponseObject

type CreateUserResponseObject interface {
	VisitCreateUserResponse(w http.ResponseWriter) error
}

type CreateWebhook200JSONResponse

type CreateWebhook200JSONResponse Webhook

func (CreateWebhook200JSONResponse) VisitCreateWebhookResponse

func (response CreateWebhook200JSONResponse) VisitCreateWebhookResponse(w http.ResponseWriter) error

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = NewWebhook

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookRequestObject

type CreateWebhookRequestObject struct {
	Body *CreateWebhookJSONRequestBody
}

type CreateWebhookResponseObject

type CreateWebhookResponseObject interface {
	VisitCreateWebhookResponse(w http.ResponseWriter) error
}

type DashboardCounts

type DashboardCounts struct {
	Count int    `json:"count"`
	Id    string `json:"id"`
}

DashboardCounts defines model for DashboardCounts.

type DeleteComment204Response

type DeleteComment204Response struct {
}

func (DeleteComment204Response) VisitDeleteCommentResponse

func (response DeleteComment204Response) VisitDeleteCommentResponse(w http.ResponseWriter) error

type DeleteCommentRequestObject

type DeleteCommentRequestObject struct {
	Id string `json:"id"`
}

type DeleteCommentResponseObject

type DeleteCommentResponseObject interface {
	VisitDeleteCommentResponse(w http.ResponseWriter) error
}

type DeleteFile204Response

type DeleteFile204Response struct {
}

func (DeleteFile204Response) VisitDeleteFileResponse

func (response DeleteFile204Response) VisitDeleteFileResponse(w http.ResponseWriter) error

type DeleteFileRequestObject

type DeleteFileRequestObject struct {
	Id string `json:"id"`
}

type DeleteFileResponseObject

type DeleteFileResponseObject interface {
	VisitDeleteFileResponse(w http.ResponseWriter) error
}

type DeleteGroup204Response

type DeleteGroup204Response struct {
}

func (DeleteGroup204Response) VisitDeleteGroupResponse

func (response DeleteGroup204Response) VisitDeleteGroupResponse(w http.ResponseWriter) error

type DeleteGroupRequestObject

type DeleteGroupRequestObject struct {
	Id string `json:"id"`
}

type DeleteGroupResponseObject

type DeleteGroupResponseObject interface {
	VisitDeleteGroupResponse(w http.ResponseWriter) error
}

type DeleteLink204Response

type DeleteLink204Response struct {
}

func (DeleteLink204Response) VisitDeleteLinkResponse

func (response DeleteLink204Response) VisitDeleteLinkResponse(w http.ResponseWriter) error

type DeleteLinkRequestObject

type DeleteLinkRequestObject struct {
	Id string `json:"id"`
}

type DeleteLinkResponseObject

type DeleteLinkResponseObject interface {
	VisitDeleteLinkResponse(w http.ResponseWriter) error
}

type DeleteReaction204Response

type DeleteReaction204Response struct {
}

func (DeleteReaction204Response) VisitDeleteReactionResponse

func (response DeleteReaction204Response) VisitDeleteReactionResponse(w http.ResponseWriter) error

type DeleteReactionRequestObject

type DeleteReactionRequestObject struct {
	Id string `json:"id"`
}

type DeleteReactionResponseObject

type DeleteReactionResponseObject interface {
	VisitDeleteReactionResponse(w http.ResponseWriter) error
}

type DeleteTask204Response

type DeleteTask204Response struct {
}

func (DeleteTask204Response) VisitDeleteTaskResponse

func (response DeleteTask204Response) VisitDeleteTaskResponse(w http.ResponseWriter) error

type DeleteTaskRequestObject

type DeleteTaskRequestObject struct {
	Id string `json:"id"`
}

type DeleteTaskResponseObject

type DeleteTaskResponseObject interface {
	VisitDeleteTaskResponse(w http.ResponseWriter) error
}

type DeleteTicket204Response

type DeleteTicket204Response struct {
}

func (DeleteTicket204Response) VisitDeleteTicketResponse

func (response DeleteTicket204Response) VisitDeleteTicketResponse(w http.ResponseWriter) error

type DeleteTicketRequestObject

type DeleteTicketRequestObject struct {
	Id string `json:"id"`
}

type DeleteTicketResponseObject

type DeleteTicketResponseObject interface {
	VisitDeleteTicketResponse(w http.ResponseWriter) error
}

type DeleteTimeline204Response

type DeleteTimeline204Response struct {
}

func (DeleteTimeline204Response) VisitDeleteTimelineResponse

func (response DeleteTimeline204Response) VisitDeleteTimelineResponse(w http.ResponseWriter) error

type DeleteTimelineRequestObject

type DeleteTimelineRequestObject struct {
	Id string `json:"id"`
}

type DeleteTimelineResponseObject

type DeleteTimelineResponseObject interface {
	VisitDeleteTimelineResponse(w http.ResponseWriter) error
}

type DeleteType204Response

type DeleteType204Response struct {
}

func (DeleteType204Response) VisitDeleteTypeResponse

func (response DeleteType204Response) VisitDeleteTypeResponse(w http.ResponseWriter) error

type DeleteTypeRequestObject

type DeleteTypeRequestObject struct {
	Id string `json:"id"`
}

type DeleteTypeResponseObject

type DeleteTypeResponseObject interface {
	VisitDeleteTypeResponse(w http.ResponseWriter) error
}

type DeleteUser204Response

type DeleteUser204Response struct {
}

func (DeleteUser204Response) VisitDeleteUserResponse

func (response DeleteUser204Response) VisitDeleteUserResponse(w http.ResponseWriter) error

type DeleteUserRequestObject

type DeleteUserRequestObject struct {
	Id string `json:"id"`
}

type DeleteUserResponseObject

type DeleteUserResponseObject interface {
	VisitDeleteUserResponse(w http.ResponseWriter) error
}

type DeleteWebhook204Response

type DeleteWebhook204Response struct {
}

func (DeleteWebhook204Response) VisitDeleteWebhookResponse

func (response DeleteWebhook204Response) VisitDeleteWebhookResponse(w http.ResponseWriter) error

type DeleteWebhookRequestObject

type DeleteWebhookRequestObject struct {
	Id string `json:"id"`
}

type DeleteWebhookResponseObject

type DeleteWebhookResponseObject interface {
	VisitDeleteWebhookResponse(w http.ResponseWriter) error
}

type DownloadFile200ApplicationoctetStreamResponse

type DownloadFile200ApplicationoctetStreamResponse struct {
	Body          io.Reader
	Headers       DownloadFile200ResponseHeaders
	ContentLength int64
}

func (DownloadFile200ApplicationoctetStreamResponse) VisitDownloadFileResponse

func (response DownloadFile200ApplicationoctetStreamResponse) VisitDownloadFileResponse(w http.ResponseWriter) error

type DownloadFile200ResponseHeaders

type DownloadFile200ResponseHeaders struct {
	ContentDisposition string
	ContentType        string
}

type DownloadFileRequestObject

type DownloadFileRequestObject struct {
	Id string `json:"id"`
}

type DownloadFileResponseObject

type DownloadFileResponseObject interface {
	VisitDownloadFileResponse(w http.ResponseWriter) error
}

type EmailTemplate

type EmailTemplate struct {
	Body    string `json:"body"`
	Subject string `json:"subject"`
}

EmailTemplate defines model for EmailTemplate.

type Error

type Error struct {
	Error   string `json:"error"`
	Message string `json:"message"`
	Status  int    `json:"status"`
}

Error defines model for Error.

type ExtendedComment

type ExtendedComment struct {
	Author     string    `json:"author"`
	AuthorName string    `json:"author_name"`
	Created    time.Time `json:"created"`
	Id         string    `json:"id"`
	Message    string    `json:"message"`
	Ticket     string    `json:"ticket"`
	Updated    time.Time `json:"updated"`
}

ExtendedComment defines model for ExtendedComment.

type ExtendedTask

type ExtendedTask struct {
	Created    time.Time `json:"created"`
	Id         string    `json:"id"`
	Name       string    `json:"name"`
	Open       bool      `json:"open"`
	Owner      *string   `json:"owner,omitempty"`
	OwnerName  *string   `json:"owner_name,omitempty"`
	Ticket     string    `json:"ticket"`
	TicketName string    `json:"ticket_name"`
	TicketType string    `json:"ticket_type"`
	Updated    time.Time `json:"updated"`
}

ExtendedTask defines model for ExtendedTask.

type ExtendedTicket

type ExtendedTicket struct {
	Created      time.Time              `json:"created"`
	Description  string                 `json:"description"`
	Id           string                 `json:"id"`
	Name         string                 `json:"name"`
	Open         bool                   `json:"open"`
	Owner        *string                `json:"owner,omitempty"`
	OwnerName    *string                `json:"owner_name,omitempty"`
	Resolution   *string                `json:"resolution,omitempty"`
	Schema       map[string]interface{} `json:"schema"`
	State        map[string]interface{} `json:"state"`
	Type         string                 `json:"type"`
	TypePlural   string                 `json:"type_plural"`
	TypeSingular string                 `json:"type_singular"`
	Updated      time.Time              `json:"updated"`
}

ExtendedTicket defines model for ExtendedTicket.

type Feature

type Feature struct {
	Created time.Time `json:"created"`
	Id      string    `json:"id"`
	Name    string    `json:"name"`
	Updated time.Time `json:"updated"`
}

Feature defines model for Feature.

type File

type File struct {
	Created time.Time `json:"created"`
	Id      string    `json:"id"`
	Name    string    `json:"name"`
	Size    float64   `json:"size"`
	Ticket  string    `json:"ticket"`
	Updated time.Time `json:"updated"`
}

File defines model for File.

type FileUpdate

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

FileUpdate defines model for FileUpdate.

type GetComment200JSONResponse

type GetComment200JSONResponse ExtendedComment

func (GetComment200JSONResponse) VisitGetCommentResponse

func (response GetComment200JSONResponse) VisitGetCommentResponse(w http.ResponseWriter) error

type GetCommentRequestObject

type GetCommentRequestObject struct {
	Id string `json:"id"`
}

type GetCommentResponseObject

type GetCommentResponseObject interface {
	VisitGetCommentResponse(w http.ResponseWriter) error
}

type GetConfig200JSONResponse

type GetConfig200JSONResponse Config

func (GetConfig200JSONResponse) VisitGetConfigResponse

func (response GetConfig200JSONResponse) VisitGetConfigResponse(w http.ResponseWriter) error

type GetConfigRequestObject

type GetConfigRequestObject struct {
}

type GetConfigResponseObject

type GetConfigResponseObject interface {
	VisitGetConfigResponse(w http.ResponseWriter) error
}

type GetDashboardCounts200JSONResponse

type GetDashboardCounts200JSONResponse []DashboardCounts

func (GetDashboardCounts200JSONResponse) VisitGetDashboardCountsResponse

func (response GetDashboardCounts200JSONResponse) VisitGetDashboardCountsResponse(w http.ResponseWriter) error

type GetDashboardCountsRequestObject

type GetDashboardCountsRequestObject struct {
}

type GetDashboardCountsResponseObject

type GetDashboardCountsResponseObject interface {
	VisitGetDashboardCountsResponse(w http.ResponseWriter) error
}

type GetFile200JSONResponse

type GetFile200JSONResponse File

func (GetFile200JSONResponse) VisitGetFileResponse

func (response GetFile200JSONResponse) VisitGetFileResponse(w http.ResponseWriter) error

type GetFileRequestObject

type GetFileRequestObject struct {
	Id string `json:"id"`
}

type GetFileResponseObject

type GetFileResponseObject interface {
	VisitGetFileResponse(w http.ResponseWriter) error
}

type GetGroup200JSONResponse

type GetGroup200JSONResponse Group

func (GetGroup200JSONResponse) VisitGetGroupResponse

func (response GetGroup200JSONResponse) VisitGetGroupResponse(w http.ResponseWriter) error

type GetGroupRequestObject

type GetGroupRequestObject struct {
	Id string `json:"id"`
}

type GetGroupResponseObject

type GetGroupResponseObject interface {
	VisitGetGroupResponse(w http.ResponseWriter) error
}

type GetLink200JSONResponse

type GetLink200JSONResponse Link

func (GetLink200JSONResponse) VisitGetLinkResponse

func (response GetLink200JSONResponse) VisitGetLinkResponse(w http.ResponseWriter) error

type GetLinkRequestObject

type GetLinkRequestObject struct {
	Id string `json:"id"`
}

type GetLinkResponseObject

type GetLinkResponseObject interface {
	VisitGetLinkResponse(w http.ResponseWriter) error
}

type GetReaction200JSONResponse

type GetReaction200JSONResponse Reaction

func (GetReaction200JSONResponse) VisitGetReactionResponse

func (response GetReaction200JSONResponse) VisitGetReactionResponse(w http.ResponseWriter) error

type GetReactionRequestObject

type GetReactionRequestObject struct {
	Id string `json:"id"`
}

type GetReactionResponseObject

type GetReactionResponseObject interface {
	VisitGetReactionResponse(w http.ResponseWriter) error
}

type GetSettings200JSONResponse

type GetSettings200JSONResponse Settings

func (GetSettings200JSONResponse) VisitGetSettingsResponse

func (response GetSettings200JSONResponse) VisitGetSettingsResponse(w http.ResponseWriter) error

type GetSettingsRequestObject

type GetSettingsRequestObject struct {
}

type GetSettingsResponseObject

type GetSettingsResponseObject interface {
	VisitGetSettingsResponse(w http.ResponseWriter) error
}

type GetSidebar200JSONResponse

type GetSidebar200JSONResponse []Sidebar

func (GetSidebar200JSONResponse) VisitGetSidebarResponse

func (response GetSidebar200JSONResponse) VisitGetSidebarResponse(w http.ResponseWriter) error

type GetSidebarRequestObject

type GetSidebarRequestObject struct {
}

type GetSidebarResponseObject

type GetSidebarResponseObject interface {
	VisitGetSidebarResponse(w http.ResponseWriter) error
}

type GetTask200JSONResponse

type GetTask200JSONResponse ExtendedTask

func (GetTask200JSONResponse) VisitGetTaskResponse

func (response GetTask200JSONResponse) VisitGetTaskResponse(w http.ResponseWriter) error

type GetTaskRequestObject

type GetTaskRequestObject struct {
	Id string `json:"id"`
}

type GetTaskResponseObject

type GetTaskResponseObject interface {
	VisitGetTaskResponse(w http.ResponseWriter) error
}

type GetTicket200JSONResponse

type GetTicket200JSONResponse ExtendedTicket

func (GetTicket200JSONResponse) VisitGetTicketResponse

func (response GetTicket200JSONResponse) VisitGetTicketResponse(w http.ResponseWriter) error

type GetTicketRequestObject

type GetTicketRequestObject struct {
	Id string `json:"id"`
}

type GetTicketResponseObject

type GetTicketResponseObject interface {
	VisitGetTicketResponse(w http.ResponseWriter) error
}

type GetTimeline200JSONResponse

type GetTimeline200JSONResponse TimelineEntry

func (GetTimeline200JSONResponse) VisitGetTimelineResponse

func (response GetTimeline200JSONResponse) VisitGetTimelineResponse(w http.ResponseWriter) error

type GetTimelineRequestObject

type GetTimelineRequestObject struct {
	Id string `json:"id"`
}

type GetTimelineResponseObject

type GetTimelineResponseObject interface {
	VisitGetTimelineResponse(w http.ResponseWriter) error
}

type GetType200JSONResponse

type GetType200JSONResponse Type

func (GetType200JSONResponse) VisitGetTypeResponse

func (response GetType200JSONResponse) VisitGetTypeResponse(w http.ResponseWriter) error

type GetTypeRequestObject

type GetTypeRequestObject struct {
	Id string `json:"id"`
}

type GetTypeResponseObject

type GetTypeResponseObject interface {
	VisitGetTypeResponse(w http.ResponseWriter) error
}

type GetUser200JSONResponse

type GetUser200JSONResponse User

func (GetUser200JSONResponse) VisitGetUserResponse

func (response GetUser200JSONResponse) VisitGetUserResponse(w http.ResponseWriter) error

type GetUserRequestObject

type GetUserRequestObject struct {
	Id string `json:"id"`
}

type GetUserResponseObject

type GetUserResponseObject interface {
	VisitGetUserResponse(w http.ResponseWriter) error
}

type GetWebhook200JSONResponse

type GetWebhook200JSONResponse Webhook

func (GetWebhook200JSONResponse) VisitGetWebhookResponse

func (response GetWebhook200JSONResponse) VisitGetWebhookResponse(w http.ResponseWriter) error

type GetWebhookRequestObject

type GetWebhookRequestObject struct {
	Id string `json:"id"`
}

type GetWebhookResponseObject

type GetWebhookResponseObject interface {
	VisitGetWebhookResponse(w http.ResponseWriter) error
}

type Group

type Group struct {
	Created     time.Time `json:"created"`
	Id          string    `json:"id"`
	Name        string    `json:"name"`
	Permissions []string  `json:"permissions"`
	Updated     time.Time `json:"updated"`
}

Group defines model for Group.

type GroupRelation

type GroupRelation struct {
	GroupId string `json:"group_id"`
}

GroupRelation defines model for GroupRelation.

type GroupUpdate

type GroupUpdate struct {
	Name        *string   `json:"name,omitempty"`
	Permissions *[]string `json:"permissions,omitempty"`
}

GroupUpdate defines model for GroupUpdate.

type GroupUser

type GroupUser struct {
	Active                 bool       `json:"active"`
	Avatar                 *string    `json:"avatar,omitempty"`
	Created                time.Time  `json:"created"`
	Email                  *string    `json:"email,omitempty"`
	Id                     string     `json:"id"`
	LastResetSentAt        *time.Time `json:"lastResetSentAt,omitempty"`
	LastVerificationSentAt *time.Time `json:"lastVerificationSentAt,omitempty"`
	Name                   *string    `json:"name,omitempty"`
	Type                   string     `json:"type"`
	Updated                time.Time  `json:"updated"`
	Username               string     `json:"username"`
}

GroupUser defines model for GroupUser.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error
type Link struct {
	Created time.Time `json:"created"`
	Id      string    `json:"id"`
	Name    string    `json:"name"`
	Ticket  string    `json:"ticket"`
	Updated time.Time `json:"updated"`
	Url     string    `json:"url"`
}

Link defines model for Link.

type LinkUpdate

type LinkUpdate struct {
	Name *string `json:"name,omitempty"`
	Url  *string `json:"url,omitempty"`
}

LinkUpdate defines model for LinkUpdate.

type ListChildGroups200JSONResponse

type ListChildGroups200JSONResponse []UserGroup

func (ListChildGroups200JSONResponse) VisitListChildGroupsResponse

func (response ListChildGroups200JSONResponse) VisitListChildGroupsResponse(w http.ResponseWriter) error

type ListChildGroupsRequestObject

type ListChildGroupsRequestObject struct {
	Id string `json:"id"`
}

type ListChildGroupsResponseObject

type ListChildGroupsResponseObject interface {
	VisitListChildGroupsResponse(w http.ResponseWriter) error
}

type ListComments200JSONResponse

type ListComments200JSONResponse struct {
	Body    []ExtendedComment
	Headers ListComments200ResponseHeaders
}

func (ListComments200JSONResponse) VisitListCommentsResponse

func (response ListComments200JSONResponse) VisitListCommentsResponse(w http.ResponseWriter) error

type ListComments200ResponseHeaders

type ListComments200ResponseHeaders struct {
	XTotalCount int
}

type ListCommentsParams

type ListCommentsParams struct {
	Ticket *string `form:"ticket,omitempty" json:"ticket,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListCommentsParams defines parameters for ListComments.

type ListCommentsRequestObject

type ListCommentsRequestObject struct {
	Params ListCommentsParams
}

type ListCommentsResponseObject

type ListCommentsResponseObject interface {
	VisitListCommentsResponse(w http.ResponseWriter) error
}

type ListFiles200JSONResponse

type ListFiles200JSONResponse struct {
	Body    []File
	Headers ListFiles200ResponseHeaders
}

func (ListFiles200JSONResponse) VisitListFilesResponse

func (response ListFiles200JSONResponse) VisitListFilesResponse(w http.ResponseWriter) error

type ListFiles200ResponseHeaders

type ListFiles200ResponseHeaders struct {
	XTotalCount int
}

type ListFilesParams

type ListFilesParams struct {
	Ticket *string `form:"ticket,omitempty" json:"ticket,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListFilesParams defines parameters for ListFiles.

type ListFilesRequestObject

type ListFilesRequestObject struct {
	Params ListFilesParams
}

type ListFilesResponseObject

type ListFilesResponseObject interface {
	VisitListFilesResponse(w http.ResponseWriter) error
}

type ListGroupUsers200JSONResponse

type ListGroupUsers200JSONResponse []GroupUser

func (ListGroupUsers200JSONResponse) VisitListGroupUsersResponse

func (response ListGroupUsers200JSONResponse) VisitListGroupUsersResponse(w http.ResponseWriter) error

type ListGroupUsersRequestObject

type ListGroupUsersRequestObject struct {
	Id string `json:"id"`
}

type ListGroupUsersResponseObject

type ListGroupUsersResponseObject interface {
	VisitListGroupUsersResponse(w http.ResponseWriter) error
}

type ListGroups200JSONResponse

type ListGroups200JSONResponse struct {
	Body    []Group
	Headers ListGroups200ResponseHeaders
}

func (ListGroups200JSONResponse) VisitListGroupsResponse

func (response ListGroups200JSONResponse) VisitListGroupsResponse(w http.ResponseWriter) error

type ListGroups200ResponseHeaders

type ListGroups200ResponseHeaders struct {
	XTotalCount int
}

type ListGroupsParams

type ListGroupsParams struct {
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListGroupsParams defines parameters for ListGroups.

type ListGroupsRequestObject

type ListGroupsRequestObject struct {
	Params ListGroupsParams
}

type ListGroupsResponseObject

type ListGroupsResponseObject interface {
	VisitListGroupsResponse(w http.ResponseWriter) error
}

type ListLinks200JSONResponse

type ListLinks200JSONResponse struct {
	Body    []Link
	Headers ListLinks200ResponseHeaders
}

func (ListLinks200JSONResponse) VisitListLinksResponse

func (response ListLinks200JSONResponse) VisitListLinksResponse(w http.ResponseWriter) error

type ListLinks200ResponseHeaders

type ListLinks200ResponseHeaders struct {
	XTotalCount int
}

type ListLinksParams

type ListLinksParams struct {
	Ticket *string `form:"ticket,omitempty" json:"ticket,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListLinksParams defines parameters for ListLinks.

type ListLinksRequestObject

type ListLinksRequestObject struct {
	Params ListLinksParams
}

type ListLinksResponseObject

type ListLinksResponseObject interface {
	VisitListLinksResponse(w http.ResponseWriter) error
}

type ListParentGroups200JSONResponse

type ListParentGroups200JSONResponse []UserGroup

func (ListParentGroups200JSONResponse) VisitListParentGroupsResponse

func (response ListParentGroups200JSONResponse) VisitListParentGroupsResponse(w http.ResponseWriter) error

type ListParentGroupsRequestObject

type ListParentGroupsRequestObject struct {
	Id string `json:"id"`
}

type ListParentGroupsResponseObject

type ListParentGroupsResponseObject interface {
	VisitListParentGroupsResponse(w http.ResponseWriter) error
}

type ListParentPermissions200JSONResponse

type ListParentPermissions200JSONResponse []string

func (ListParentPermissions200JSONResponse) VisitListParentPermissionsResponse

func (response ListParentPermissions200JSONResponse) VisitListParentPermissionsResponse(w http.ResponseWriter) error

type ListParentPermissionsRequestObject

type ListParentPermissionsRequestObject struct {
	Id string `json:"id"`
}

type ListParentPermissionsResponseObject

type ListParentPermissionsResponseObject interface {
	VisitListParentPermissionsResponse(w http.ResponseWriter) error
}

type ListReactions200JSONResponse

type ListReactions200JSONResponse struct {
	Body    []Reaction
	Headers ListReactions200ResponseHeaders
}

func (ListReactions200JSONResponse) VisitListReactionsResponse

func (response ListReactions200JSONResponse) VisitListReactionsResponse(w http.ResponseWriter) error

type ListReactions200ResponseHeaders

type ListReactions200ResponseHeaders struct {
	XTotalCount int
}

type ListReactionsParams

type ListReactionsParams struct {
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListReactionsParams defines parameters for ListReactions.

type ListReactionsRequestObject

type ListReactionsRequestObject struct {
	Params ListReactionsParams
}

type ListReactionsResponseObject

type ListReactionsResponseObject interface {
	VisitListReactionsResponse(w http.ResponseWriter) error
}

type ListTasks200JSONResponse

type ListTasks200JSONResponse struct {
	Body    []ExtendedTask
	Headers ListTasks200ResponseHeaders
}

func (ListTasks200JSONResponse) VisitListTasksResponse

func (response ListTasks200JSONResponse) VisitListTasksResponse(w http.ResponseWriter) error

type ListTasks200ResponseHeaders

type ListTasks200ResponseHeaders struct {
	XTotalCount int
}

type ListTasksParams

type ListTasksParams struct {
	Ticket *string `form:"ticket,omitempty" json:"ticket,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListTasksParams defines parameters for ListTasks.

type ListTasksRequestObject

type ListTasksRequestObject struct {
	Params ListTasksParams
}

type ListTasksResponseObject

type ListTasksResponseObject interface {
	VisitListTasksResponse(w http.ResponseWriter) error
}

type ListTickets200JSONResponse

type ListTickets200JSONResponse struct {
	Body    []ExtendedTicket
	Headers ListTickets200ResponseHeaders
}

func (ListTickets200JSONResponse) VisitListTicketsResponse

func (response ListTickets200JSONResponse) VisitListTicketsResponse(w http.ResponseWriter) error

type ListTickets200ResponseHeaders

type ListTickets200ResponseHeaders struct {
	XTotalCount int
}

type ListTicketsParams

type ListTicketsParams struct {
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListTicketsParams defines parameters for ListTickets.

type ListTicketsRequestObject

type ListTicketsRequestObject struct {
	Params ListTicketsParams
}

type ListTicketsResponseObject

type ListTicketsResponseObject interface {
	VisitListTicketsResponse(w http.ResponseWriter) error
}

type ListTimeline200JSONResponse

type ListTimeline200JSONResponse struct {
	Body    []TimelineEntry
	Headers ListTimeline200ResponseHeaders
}

func (ListTimeline200JSONResponse) VisitListTimelineResponse

func (response ListTimeline200JSONResponse) VisitListTimelineResponse(w http.ResponseWriter) error

type ListTimeline200ResponseHeaders

type ListTimeline200ResponseHeaders struct {
	XTotalCount int
}

type ListTimelineParams

type ListTimelineParams struct {
	Ticket *string `form:"ticket,omitempty" json:"ticket,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

ListTimelineParams defines parameters for ListTimeline.

type ListTimelineRequestObject

type ListTimelineRequestObject struct {
	Params ListTimelineParams
}

type ListTimelineResponseObject

type ListTimelineResponseObject interface {
	VisitListTimelineResponse(w http.ResponseWriter) error
}

type ListTypes200JSONResponse

type ListTypes200JSONResponse struct {
	Body    []Type
	Headers ListTypes200ResponseHeaders
}

func (ListTypes200JSONResponse) VisitListTypesResponse

func (response ListTypes200JSONResponse) VisitListTypesResponse(w http.ResponseWriter) error

type ListTypes200ResponseHeaders

type ListTypes200ResponseHeaders struct {
	XTotalCount int
}

type ListTypesParams

type ListTypesParams struct {
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListTypesParams defines parameters for ListTypes.

type ListTypesRequestObject

type ListTypesRequestObject struct {
	Params ListTypesParams
}

type ListTypesResponseObject

type ListTypesResponseObject interface {
	VisitListTypesResponse(w http.ResponseWriter) error
}

type ListUserGroups200JSONResponse

type ListUserGroups200JSONResponse []UserGroup

func (ListUserGroups200JSONResponse) VisitListUserGroupsResponse

func (response ListUserGroups200JSONResponse) VisitListUserGroupsResponse(w http.ResponseWriter) error

type ListUserGroupsRequestObject

type ListUserGroupsRequestObject struct {
	Id string `json:"id"`
}

type ListUserGroupsResponseObject

type ListUserGroupsResponseObject interface {
	VisitListUserGroupsResponse(w http.ResponseWriter) error
}

type ListUserPermissions200JSONResponse

type ListUserPermissions200JSONResponse []string

func (ListUserPermissions200JSONResponse) VisitListUserPermissionsResponse

func (response ListUserPermissions200JSONResponse) VisitListUserPermissionsResponse(w http.ResponseWriter) error

type ListUserPermissionsRequestObject

type ListUserPermissionsRequestObject struct {
	Id string `json:"id"`
}

type ListUserPermissionsResponseObject

type ListUserPermissionsResponseObject interface {
	VisitListUserPermissionsResponse(w http.ResponseWriter) error
}

type ListUsers200JSONResponse

type ListUsers200JSONResponse struct {
	Body    []User
	Headers ListUsers200ResponseHeaders
}

func (ListUsers200JSONResponse) VisitListUsersResponse

func (response ListUsers200JSONResponse) VisitListUsersResponse(w http.ResponseWriter) error

type ListUsers200ResponseHeaders

type ListUsers200ResponseHeaders struct {
	XTotalCount int
}

type ListUsersParams

type ListUsersParams struct {
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListUsersParams defines parameters for ListUsers.

type ListUsersRequestObject

type ListUsersRequestObject struct {
	Params ListUsersParams
}

type ListUsersResponseObject

type ListUsersResponseObject interface {
	VisitListUsersResponse(w http.ResponseWriter) error
}

type ListWebhooks200JSONResponse

type ListWebhooks200JSONResponse struct {
	Body    []Webhook
	Headers ListWebhooks200ResponseHeaders
}

func (ListWebhooks200JSONResponse) VisitListWebhooksResponse

func (response ListWebhooks200JSONResponse) VisitListWebhooksResponse(w http.ResponseWriter) error

type ListWebhooks200ResponseHeaders

type ListWebhooks200ResponseHeaders struct {
	XTotalCount int
}

type ListWebhooksParams

type ListWebhooksParams struct {
	Offset *int `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int `form:"limit,omitempty" json:"limit,omitempty"`
}

ListWebhooksParams defines parameters for ListWebhooks.

type ListWebhooksRequestObject

type ListWebhooksRequestObject struct {
	Params ListWebhooksParams
}

type ListWebhooksResponseObject

type ListWebhooksResponseObject interface {
	VisitListWebhooksResponse(w http.ResponseWriter) error
}

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type NewComment

type NewComment struct {
	Author  string `json:"author"`
	Message string `json:"message"`
	Ticket  string `json:"ticket"`
}

NewComment defines model for NewComment.

type NewFeature

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

NewFeature defines model for NewFeature.

type NewFile

type NewFile struct {
	Blob   string `json:"blob"`
	Name   string `json:"name"`
	Ticket string `json:"ticket"`
}

NewFile defines model for NewFile.

type NewGroup

type NewGroup struct {
	Name        string   `json:"name"`
	Permissions []string `json:"permissions"`
}

NewGroup defines model for NewGroup.

type NewLink struct {
	Name   string `json:"name"`
	Ticket string `json:"ticket"`
	Url    string `json:"url"`
}

NewLink defines model for NewLink.

type NewReaction

type NewReaction struct {
	Action      string                 `json:"action"`
	Actiondata  map[string]interface{} `json:"actiondata"`
	Name        string                 `json:"name"`
	Trigger     string                 `json:"trigger"`
	Triggerdata map[string]interface{} `json:"triggerdata"`
}

NewReaction defines model for NewReaction.

type NewTask

type NewTask struct {
	Name   string  `json:"name"`
	Open   bool    `json:"open"`
	Owner  *string `json:"owner,omitempty"`
	Ticket string  `json:"ticket"`
}

NewTask defines model for NewTask.

type NewTicket

type NewTicket struct {
	Description string                 `json:"description"`
	Name        string                 `json:"name"`
	Open        bool                   `json:"open"`
	Owner       *string                `json:"owner,omitempty"`
	Resolution  *string                `json:"resolution,omitempty"`
	Schema      map[string]interface{} `json:"schema"`
	State       map[string]interface{} `json:"state"`
	Type        string                 `json:"type"`
}

NewTicket defines model for NewTicket.

type NewTimelineEntry

type NewTimelineEntry struct {
	Message string    `json:"message"`
	Ticket  string    `json:"ticket"`
	Time    time.Time `json:"time"`
}

NewTimelineEntry defines model for NewTimelineEntry.

type NewType

type NewType struct {
	Icon     *string                `json:"icon,omitempty"`
	Plural   string                 `json:"plural"`
	Schema   map[string]interface{} `json:"schema"`
	Singular string                 `json:"singular"`
}

NewType defines model for NewType.

type NewUser

type NewUser struct {
	Active   bool    `json:"active"`
	Avatar   *string `json:"avatar,omitempty"`
	Email    *string `json:"email,omitempty"`
	Name     *string `json:"name,omitempty"`
	Username string  `json:"username"`
}

NewUser defines model for NewUser.

type NewWebhook

type NewWebhook struct {
	Collection  string `json:"collection"`
	Destination string `json:"destination"`
	Name        string `json:"name"`
}

NewWebhook defines model for NewWebhook.

type Reaction

type Reaction struct {
	Action      string                 `json:"action"`
	Actiondata  map[string]interface{} `json:"actiondata"`
	Created     time.Time              `json:"created"`
	Id          string                 `json:"id"`
	Name        string                 `json:"name"`
	Trigger     string                 `json:"trigger"`
	Triggerdata map[string]interface{} `json:"triggerdata"`
	Updated     time.Time              `json:"updated"`
}

Reaction defines model for Reaction.

type ReactionUpdate

type ReactionUpdate struct {
	Action      *string                 `json:"action,omitempty"`
	Actiondata  *map[string]interface{} `json:"actiondata,omitempty"`
	Name        *string                 `json:"name,omitempty"`
	Trigger     *string                 `json:"trigger,omitempty"`
	Triggerdata *map[string]interface{} `json:"triggerdata,omitempty"`
}

ReactionUpdate defines model for ReactionUpdate.

type RemoveGroupParent204Response

type RemoveGroupParent204Response struct {
}

func (RemoveGroupParent204Response) VisitRemoveGroupParentResponse

func (response RemoveGroupParent204Response) VisitRemoveGroupParentResponse(w http.ResponseWriter) error

type RemoveGroupParentRequestObject

type RemoveGroupParentRequestObject struct {
	Id            string `json:"id"`
	ParentGroupId string `json:"parentGroupId"`
}

type RemoveGroupParentResponseObject

type RemoveGroupParentResponseObject interface {
	VisitRemoveGroupParentResponse(w http.ResponseWriter) error
}

type RemoveUserGroup204Response

type RemoveUserGroup204Response struct {
}

func (RemoveUserGroup204Response) VisitRemoveUserGroupResponse

func (response RemoveUserGroup204Response) VisitRemoveUserGroupResponse(w http.ResponseWriter) error

type RemoveUserGroupRequestObject

type RemoveUserGroupRequestObject struct {
	Id      string `json:"id"`
	GroupId string `json:"groupId"`
}

type RemoveUserGroupResponseObject

type RemoveUserGroupResponseObject interface {
	VisitRemoveUserGroupResponse(w http.ResponseWriter) error
}

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type SearchTickets200JSONResponse

type SearchTickets200JSONResponse struct {
	Body    []TicketSearch
	Headers SearchTickets200ResponseHeaders
}

func (SearchTickets200JSONResponse) VisitSearchTicketsResponse

func (response SearchTickets200JSONResponse) VisitSearchTicketsResponse(w http.ResponseWriter) error

type SearchTickets200ResponseHeaders

type SearchTickets200ResponseHeaders struct {
	XTotalCount int
}

type SearchTicketsParams

type SearchTicketsParams struct {
	Query  *string `form:"query,omitempty" json:"query,omitempty"`
	Type   *string `form:"type,omitempty" json:"type,omitempty"`
	Open   *bool   `form:"open,omitempty" json:"open,omitempty"`
	Offset *int    `form:"offset,omitempty" json:"offset,omitempty"`
	Limit  *int    `form:"limit,omitempty" json:"limit,omitempty"`
}

SearchTicketsParams defines parameters for SearchTickets.

type SearchTicketsRequestObject

type SearchTicketsRequestObject struct {
	Params SearchTicketsParams
}

type SearchTicketsResponseObject

type SearchTicketsResponseObject interface {
	VisitSearchTicketsResponse(w http.ResponseWriter) error
}

type ServerInterface

type ServerInterface interface {
	// List all comments
	// (GET /comments)
	ListComments(w http.ResponseWriter, r *http.Request, params ListCommentsParams)
	// Create a new comment
	// (POST /comments)
	CreateComment(w http.ResponseWriter, r *http.Request)
	// Delete a comment by ID
	// (DELETE /comments/{id})
	DeleteComment(w http.ResponseWriter, r *http.Request, id string)
	// Get a single comment by ID
	// (GET /comments/{id})
	GetComment(w http.ResponseWriter, r *http.Request, id string)
	// Update a comment by ID
	// (PATCH /comments/{id})
	UpdateComment(w http.ResponseWriter, r *http.Request, id string)
	// Get the configuration
	// (GET /config)
	GetConfig(w http.ResponseWriter, r *http.Request)
	// Get dashboard summary counts
	// (GET /dashboard_counts)
	GetDashboardCounts(w http.ResponseWriter, r *http.Request)
	// List all files
	// (GET /files)
	ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)
	// Create a new file
	// (POST /files)
	CreateFile(w http.ResponseWriter, r *http.Request)
	// Delete a file by ID
	// (DELETE /files/{id})
	DeleteFile(w http.ResponseWriter, r *http.Request, id string)
	// Get a single file by ID
	// (GET /files/{id})
	GetFile(w http.ResponseWriter, r *http.Request, id string)
	// Download a file by ID
	// (GET /files/{id}/download)
	DownloadFile(w http.ResponseWriter, r *http.Request, id string)
	// List all groups
	// (GET /groups)
	ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)
	// Create a new group
	// (POST /groups)
	CreateGroup(w http.ResponseWriter, r *http.Request)
	// Delete a group by ID
	// (DELETE /groups/{id})
	DeleteGroup(w http.ResponseWriter, r *http.Request, id string)
	// Get a single group by ID
	// (GET /groups/{id})
	GetGroup(w http.ResponseWriter, r *http.Request, id string)
	// Update a group by ID
	// (PATCH /groups/{id})
	UpdateGroup(w http.ResponseWriter, r *http.Request, id string)
	// List all child groups for a group
	// (GET /groups/{id}/children)
	ListChildGroups(w http.ResponseWriter, r *http.Request, id string)
	// Remove a parent group from another group
	// (DELETE /groups/{id}/groups/{parentGroupId})
	RemoveGroupParent(w http.ResponseWriter, r *http.Request, id string, parentGroupId string)
	// List all parent groups for a group
	// (GET /groups/{id}/parents)
	ListParentGroups(w http.ResponseWriter, r *http.Request, id string)
	// Add a parent group to another group
	// (POST /groups/{id}/parents)
	AddGroupParent(w http.ResponseWriter, r *http.Request, id string)
	// List all permissions for a group
	// (GET /groups/{id}/permissions)
	ListParentPermissions(w http.ResponseWriter, r *http.Request, id string)
	// List all users for a group
	// (GET /groups/{id}/users)
	ListGroupUsers(w http.ResponseWriter, r *http.Request, id string)
	// List all links
	// (GET /links)
	ListLinks(w http.ResponseWriter, r *http.Request, params ListLinksParams)
	// Create a new link
	// (POST /links)
	CreateLink(w http.ResponseWriter, r *http.Request)
	// Delete a link by ID
	// (DELETE /links/{id})
	DeleteLink(w http.ResponseWriter, r *http.Request, id string)
	// Get a single link by ID
	// (GET /links/{id})
	GetLink(w http.ResponseWriter, r *http.Request, id string)
	// Update a link by ID
	// (PATCH /links/{id})
	UpdateLink(w http.ResponseWriter, r *http.Request, id string)
	// List all reactions
	// (GET /reactions)
	ListReactions(w http.ResponseWriter, r *http.Request, params ListReactionsParams)
	// Create a new reaction
	// (POST /reactions)
	CreateReaction(w http.ResponseWriter, r *http.Request)
	// Delete a reaction by ID
	// (DELETE /reactions/{id})
	DeleteReaction(w http.ResponseWriter, r *http.Request, id string)
	// Get a single reaction by ID
	// (GET /reactions/{id})
	GetReaction(w http.ResponseWriter, r *http.Request, id string)
	// Update a reaction by ID
	// (PATCH /reactions/{id})
	UpdateReaction(w http.ResponseWriter, r *http.Request, id string)
	// Get system settings
	// (GET /settings)
	GetSettings(w http.ResponseWriter, r *http.Request)
	// Update system settings
	// (POST /settings)
	UpdateSettings(w http.ResponseWriter, r *http.Request)
	// Get sidebar data
	// (GET /sidebar)
	GetSidebar(w http.ResponseWriter, r *http.Request)
	// List all tasks
	// (GET /tasks)
	ListTasks(w http.ResponseWriter, r *http.Request, params ListTasksParams)
	// Create a new task
	// (POST /tasks)
	CreateTask(w http.ResponseWriter, r *http.Request)
	// Delete a task by ID
	// (DELETE /tasks/{id})
	DeleteTask(w http.ResponseWriter, r *http.Request, id string)
	// Get a single task by ID
	// (GET /tasks/{id})
	GetTask(w http.ResponseWriter, r *http.Request, id string)
	// Update a task by ID
	// (PATCH /tasks/{id})
	UpdateTask(w http.ResponseWriter, r *http.Request, id string)
	// Search tickets with full join data
	// (GET /ticket_search)
	SearchTickets(w http.ResponseWriter, r *http.Request, params SearchTicketsParams)
	// List all tickets
	// (GET /tickets)
	ListTickets(w http.ResponseWriter, r *http.Request, params ListTicketsParams)
	// Create a new ticket
	// (POST /tickets)
	CreateTicket(w http.ResponseWriter, r *http.Request)
	// Delete a ticket by ID
	// (DELETE /tickets/{id})
	DeleteTicket(w http.ResponseWriter, r *http.Request, id string)
	// Get a single ticket by ID
	// (GET /tickets/{id})
	GetTicket(w http.ResponseWriter, r *http.Request, id string)
	// Update a ticket by ID
	// (PATCH /tickets/{id})
	UpdateTicket(w http.ResponseWriter, r *http.Request, id string)
	// List all timeline items
	// (GET /timeline)
	ListTimeline(w http.ResponseWriter, r *http.Request, params ListTimelineParams)
	// Create a new timeline item
	// (POST /timeline)
	CreateTimeline(w http.ResponseWriter, r *http.Request)
	// Delete a timeline item by ID
	// (DELETE /timeline/{id})
	DeleteTimeline(w http.ResponseWriter, r *http.Request, id string)
	// Get a single timeline item by ID
	// (GET /timeline/{id})
	GetTimeline(w http.ResponseWriter, r *http.Request, id string)
	// Update a timeline item by ID
	// (PATCH /timeline/{id})
	UpdateTimeline(w http.ResponseWriter, r *http.Request, id string)
	// List all types
	// (GET /types)
	ListTypes(w http.ResponseWriter, r *http.Request, params ListTypesParams)
	// Create a new type
	// (POST /types)
	CreateType(w http.ResponseWriter, r *http.Request)
	// Delete a type by ID
	// (DELETE /types/{id})
	DeleteType(w http.ResponseWriter, r *http.Request, id string)
	// Get a single type by ID
	// (GET /types/{id})
	GetType(w http.ResponseWriter, r *http.Request, id string)
	// Update a type by ID
	// (PATCH /types/{id})
	UpdateType(w http.ResponseWriter, r *http.Request, id string)
	// List all users
	// (GET /users)
	ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)
	// Create a new user
	// (POST /users)
	CreateUser(w http.ResponseWriter, r *http.Request)
	// Delete a user by ID
	// (DELETE /users/{id})
	DeleteUser(w http.ResponseWriter, r *http.Request, id string)
	// Get a single user by ID
	// (GET /users/{id})
	GetUser(w http.ResponseWriter, r *http.Request, id string)
	// Update a user by ID
	// (PATCH /users/{id})
	UpdateUser(w http.ResponseWriter, r *http.Request, id string)
	// List all groups for a user
	// (GET /users/{id}/groups)
	ListUserGroups(w http.ResponseWriter, r *http.Request, id string)
	// Add a group to a user
	// (POST /users/{id}/groups)
	AddUserGroup(w http.ResponseWriter, r *http.Request, id string)
	// Remove a group from a user
	// (DELETE /users/{id}/groups/{groupId})
	RemoveUserGroup(w http.ResponseWriter, r *http.Request, id string, groupId string)
	// List all permissions for a user
	// (GET /users/{id}/permissions)
	ListUserPermissions(w http.ResponseWriter, r *http.Request, id string)
	// List all webhooks
	// (GET /webhooks)
	ListWebhooks(w http.ResponseWriter, r *http.Request, params ListWebhooksParams)
	// Create a new webhook
	// (POST /webhooks)
	CreateWebhook(w http.ResponseWriter, r *http.Request)
	// Delete a webhook by ID
	// (DELETE /webhooks/{id})
	DeleteWebhook(w http.ResponseWriter, r *http.Request, id string)
	// Get a single webhook by ID
	// (GET /webhooks/{id})
	GetWebhook(w http.ResponseWriter, r *http.Request, id string)
	// Update a webhook by ID
	// (PATCH /webhooks/{id})
	UpdateWebhook(w http.ResponseWriter, r *http.Request, id string)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AddGroupParent

func (siw *ServerInterfaceWrapper) AddGroupParent(w http.ResponseWriter, r *http.Request)

AddGroupParent operation middleware

func (*ServerInterfaceWrapper) AddUserGroup

func (siw *ServerInterfaceWrapper) AddUserGroup(w http.ResponseWriter, r *http.Request)

AddUserGroup operation middleware

func (*ServerInterfaceWrapper) CreateComment

func (siw *ServerInterfaceWrapper) CreateComment(w http.ResponseWriter, r *http.Request)

CreateComment operation middleware

func (*ServerInterfaceWrapper) CreateFile

func (siw *ServerInterfaceWrapper) CreateFile(w http.ResponseWriter, r *http.Request)

CreateFile operation middleware

func (*ServerInterfaceWrapper) CreateGroup

func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)

CreateGroup operation middleware

func (siw *ServerInterfaceWrapper) CreateLink(w http.ResponseWriter, r *http.Request)

CreateLink operation middleware

func (*ServerInterfaceWrapper) CreateReaction

func (siw *ServerInterfaceWrapper) CreateReaction(w http.ResponseWriter, r *http.Request)

CreateReaction operation middleware

func (*ServerInterfaceWrapper) CreateTask

func (siw *ServerInterfaceWrapper) CreateTask(w http.ResponseWriter, r *http.Request)

CreateTask operation middleware

func (*ServerInterfaceWrapper) CreateTicket

func (siw *ServerInterfaceWrapper) CreateTicket(w http.ResponseWriter, r *http.Request)

CreateTicket operation middleware

func (*ServerInterfaceWrapper) CreateTimeline

func (siw *ServerInterfaceWrapper) CreateTimeline(w http.ResponseWriter, r *http.Request)

CreateTimeline operation middleware

func (*ServerInterfaceWrapper) CreateType

func (siw *ServerInterfaceWrapper) CreateType(w http.ResponseWriter, r *http.Request)

CreateType operation middleware

func (*ServerInterfaceWrapper) CreateUser

func (siw *ServerInterfaceWrapper) CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser operation middleware

func (*ServerInterfaceWrapper) CreateWebhook

func (siw *ServerInterfaceWrapper) CreateWebhook(w http.ResponseWriter, r *http.Request)

CreateWebhook operation middleware

func (*ServerInterfaceWrapper) DeleteComment

func (siw *ServerInterfaceWrapper) DeleteComment(w http.ResponseWriter, r *http.Request)

DeleteComment operation middleware

func (*ServerInterfaceWrapper) DeleteFile

func (siw *ServerInterfaceWrapper) DeleteFile(w http.ResponseWriter, r *http.Request)

DeleteFile operation middleware

func (*ServerInterfaceWrapper) DeleteGroup

func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)

DeleteGroup operation middleware

func (siw *ServerInterfaceWrapper) DeleteLink(w http.ResponseWriter, r *http.Request)

DeleteLink operation middleware

func (*ServerInterfaceWrapper) DeleteReaction

func (siw *ServerInterfaceWrapper) DeleteReaction(w http.ResponseWriter, r *http.Request)

DeleteReaction operation middleware

func (*ServerInterfaceWrapper) DeleteTask

func (siw *ServerInterfaceWrapper) DeleteTask(w http.ResponseWriter, r *http.Request)

DeleteTask operation middleware

func (*ServerInterfaceWrapper) DeleteTicket

func (siw *ServerInterfaceWrapper) DeleteTicket(w http.ResponseWriter, r *http.Request)

DeleteTicket operation middleware

func (*ServerInterfaceWrapper) DeleteTimeline

func (siw *ServerInterfaceWrapper) DeleteTimeline(w http.ResponseWriter, r *http.Request)

DeleteTimeline operation middleware

func (*ServerInterfaceWrapper) DeleteType

func (siw *ServerInterfaceWrapper) DeleteType(w http.ResponseWriter, r *http.Request)

DeleteType operation middleware

func (*ServerInterfaceWrapper) DeleteUser

func (siw *ServerInterfaceWrapper) DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser operation middleware

func (*ServerInterfaceWrapper) DeleteWebhook

func (siw *ServerInterfaceWrapper) DeleteWebhook(w http.ResponseWriter, r *http.Request)

DeleteWebhook operation middleware

func (*ServerInterfaceWrapper) DownloadFile

func (siw *ServerInterfaceWrapper) DownloadFile(w http.ResponseWriter, r *http.Request)

DownloadFile operation middleware

func (*ServerInterfaceWrapper) GetComment

func (siw *ServerInterfaceWrapper) GetComment(w http.ResponseWriter, r *http.Request)

GetComment operation middleware

func (*ServerInterfaceWrapper) GetConfig

func (siw *ServerInterfaceWrapper) GetConfig(w http.ResponseWriter, r *http.Request)

GetConfig operation middleware

func (*ServerInterfaceWrapper) GetDashboardCounts

func (siw *ServerInterfaceWrapper) GetDashboardCounts(w http.ResponseWriter, r *http.Request)

GetDashboardCounts operation middleware

func (*ServerInterfaceWrapper) GetFile

GetFile operation middleware

func (*ServerInterfaceWrapper) GetGroup

func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)

GetGroup operation middleware

GetLink operation middleware

func (*ServerInterfaceWrapper) GetReaction

func (siw *ServerInterfaceWrapper) GetReaction(w http.ResponseWriter, r *http.Request)

GetReaction operation middleware

func (*ServerInterfaceWrapper) GetSettings

func (siw *ServerInterfaceWrapper) GetSettings(w http.ResponseWriter, r *http.Request)

GetSettings operation middleware

func (*ServerInterfaceWrapper) GetSidebar

func (siw *ServerInterfaceWrapper) GetSidebar(w http.ResponseWriter, r *http.Request)

GetSidebar operation middleware

func (*ServerInterfaceWrapper) GetTask

GetTask operation middleware

func (*ServerInterfaceWrapper) GetTicket

func (siw *ServerInterfaceWrapper) GetTicket(w http.ResponseWriter, r *http.Request)

GetTicket operation middleware

func (*ServerInterfaceWrapper) GetTimeline

func (siw *ServerInterfaceWrapper) GetTimeline(w http.ResponseWriter, r *http.Request)

GetTimeline operation middleware

func (*ServerInterfaceWrapper) GetType

GetType operation middleware

func (*ServerInterfaceWrapper) GetUser

GetUser operation middleware

func (*ServerInterfaceWrapper) GetWebhook

func (siw *ServerInterfaceWrapper) GetWebhook(w http.ResponseWriter, r *http.Request)

GetWebhook operation middleware

func (*ServerInterfaceWrapper) ListChildGroups

func (siw *ServerInterfaceWrapper) ListChildGroups(w http.ResponseWriter, r *http.Request)

ListChildGroups operation middleware

func (*ServerInterfaceWrapper) ListComments

func (siw *ServerInterfaceWrapper) ListComments(w http.ResponseWriter, r *http.Request)

ListComments operation middleware

func (*ServerInterfaceWrapper) ListFiles

func (siw *ServerInterfaceWrapper) ListFiles(w http.ResponseWriter, r *http.Request)

ListFiles operation middleware

func (*ServerInterfaceWrapper) ListGroupUsers

func (siw *ServerInterfaceWrapper) ListGroupUsers(w http.ResponseWriter, r *http.Request)

ListGroupUsers operation middleware

func (*ServerInterfaceWrapper) ListGroups

func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)

ListGroups operation middleware

func (siw *ServerInterfaceWrapper) ListLinks(w http.ResponseWriter, r *http.Request)

ListLinks operation middleware

func (*ServerInterfaceWrapper) ListParentGroups

func (siw *ServerInterfaceWrapper) ListParentGroups(w http.ResponseWriter, r *http.Request)

ListParentGroups operation middleware

func (*ServerInterfaceWrapper) ListParentPermissions

func (siw *ServerInterfaceWrapper) ListParentPermissions(w http.ResponseWriter, r *http.Request)

ListParentPermissions operation middleware

func (*ServerInterfaceWrapper) ListReactions

func (siw *ServerInterfaceWrapper) ListReactions(w http.ResponseWriter, r *http.Request)

ListReactions operation middleware

func (*ServerInterfaceWrapper) ListTasks

func (siw *ServerInterfaceWrapper) ListTasks(w http.ResponseWriter, r *http.Request)

ListTasks operation middleware

func (*ServerInterfaceWrapper) ListTickets

func (siw *ServerInterfaceWrapper) ListTickets(w http.ResponseWriter, r *http.Request)

ListTickets operation middleware

func (*ServerInterfaceWrapper) ListTimeline

func (siw *ServerInterfaceWrapper) ListTimeline(w http.ResponseWriter, r *http.Request)

ListTimeline operation middleware

func (*ServerInterfaceWrapper) ListTypes

func (siw *ServerInterfaceWrapper) ListTypes(w http.ResponseWriter, r *http.Request)

ListTypes operation middleware

func (*ServerInterfaceWrapper) ListUserGroups

func (siw *ServerInterfaceWrapper) ListUserGroups(w http.ResponseWriter, r *http.Request)

ListUserGroups operation middleware

func (*ServerInterfaceWrapper) ListUserPermissions

func (siw *ServerInterfaceWrapper) ListUserPermissions(w http.ResponseWriter, r *http.Request)

ListUserPermissions operation middleware

func (*ServerInterfaceWrapper) ListUsers

func (siw *ServerInterfaceWrapper) ListUsers(w http.ResponseWriter, r *http.Request)

ListUsers operation middleware

func (*ServerInterfaceWrapper) ListWebhooks

func (siw *ServerInterfaceWrapper) ListWebhooks(w http.ResponseWriter, r *http.Request)

ListWebhooks operation middleware

func (*ServerInterfaceWrapper) RemoveGroupParent

func (siw *ServerInterfaceWrapper) RemoveGroupParent(w http.ResponseWriter, r *http.Request)

RemoveGroupParent operation middleware

func (*ServerInterfaceWrapper) RemoveUserGroup

func (siw *ServerInterfaceWrapper) RemoveUserGroup(w http.ResponseWriter, r *http.Request)

RemoveUserGroup operation middleware

func (*ServerInterfaceWrapper) SearchTickets

func (siw *ServerInterfaceWrapper) SearchTickets(w http.ResponseWriter, r *http.Request)

SearchTickets operation middleware

func (*ServerInterfaceWrapper) UpdateComment

func (siw *ServerInterfaceWrapper) UpdateComment(w http.ResponseWriter, r *http.Request)

UpdateComment operation middleware

func (*ServerInterfaceWrapper) UpdateGroup

func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)

UpdateGroup operation middleware

func (siw *ServerInterfaceWrapper) UpdateLink(w http.ResponseWriter, r *http.Request)

UpdateLink operation middleware

func (*ServerInterfaceWrapper) UpdateReaction

func (siw *ServerInterfaceWrapper) UpdateReaction(w http.ResponseWriter, r *http.Request)

UpdateReaction operation middleware

func (*ServerInterfaceWrapper) UpdateSettings

func (siw *ServerInterfaceWrapper) UpdateSettings(w http.ResponseWriter, r *http.Request)

UpdateSettings operation middleware

func (*ServerInterfaceWrapper) UpdateTask

func (siw *ServerInterfaceWrapper) UpdateTask(w http.ResponseWriter, r *http.Request)

UpdateTask operation middleware

func (*ServerInterfaceWrapper) UpdateTicket

func (siw *ServerInterfaceWrapper) UpdateTicket(w http.ResponseWriter, r *http.Request)

UpdateTicket operation middleware

func (*ServerInterfaceWrapper) UpdateTimeline

func (siw *ServerInterfaceWrapper) UpdateTimeline(w http.ResponseWriter, r *http.Request)

UpdateTimeline operation middleware

func (*ServerInterfaceWrapper) UpdateType

func (siw *ServerInterfaceWrapper) UpdateType(w http.ResponseWriter, r *http.Request)

UpdateType operation middleware

func (*ServerInterfaceWrapper) UpdateUser

func (siw *ServerInterfaceWrapper) UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser operation middleware

func (*ServerInterfaceWrapper) UpdateWebhook

func (siw *ServerInterfaceWrapper) UpdateWebhook(w http.ResponseWriter, r *http.Request)

UpdateWebhook operation middleware

type Settings

type Settings struct {
	Meta SettingsMeta `json:"meta"`
	Smtp SettingsSmtp `json:"smtp"`
}

Settings defines model for Settings.

type SettingsMeta

type SettingsMeta struct {
	AppName               string        `json:"app_name"`
	AppUrl                string        `json:"app_url"`
	ResetPasswordTemplate EmailTemplate `json:"reset_password_template"`
	SenderAddress         string        `json:"sender_address"`
	SenderName            string        `json:"sender_name"`
}

SettingsMeta defines model for SettingsMeta.

type SettingsSmtp

type SettingsSmtp struct {
	AuthMethod string `json:"auth_method"`
	Enabled    bool   `json:"enabled"`
	Host       string `json:"host"`
	LocalName  string `json:"local_name"`
	Password   string `json:"password"`
	Port       int    `json:"port"`
	Tls        bool   `json:"tls"`
	Username   string `json:"username"`
}

SettingsSmtp defines model for SettingsSmtp.

type Sidebar struct {
	Count    int     `json:"count"`
	Icon     *string `json:"icon,omitempty"`
	Id       string  `json:"id"`
	Plural   string  `json:"plural"`
	Singular string  `json:"singular"`
}

Sidebar defines model for Sidebar.

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictServerInterface

type StrictServerInterface interface {
	// List all comments
	// (GET /comments)
	ListComments(ctx context.Context, request ListCommentsRequestObject) (ListCommentsResponseObject, error)
	// Create a new comment
	// (POST /comments)
	CreateComment(ctx context.Context, request CreateCommentRequestObject) (CreateCommentResponseObject, error)
	// Delete a comment by ID
	// (DELETE /comments/{id})
	DeleteComment(ctx context.Context, request DeleteCommentRequestObject) (DeleteCommentResponseObject, error)
	// Get a single comment by ID
	// (GET /comments/{id})
	GetComment(ctx context.Context, request GetCommentRequestObject) (GetCommentResponseObject, error)
	// Update a comment by ID
	// (PATCH /comments/{id})
	UpdateComment(ctx context.Context, request UpdateCommentRequestObject) (UpdateCommentResponseObject, error)
	// Get the configuration
	// (GET /config)
	GetConfig(ctx context.Context, request GetConfigRequestObject) (GetConfigResponseObject, error)
	// Get dashboard summary counts
	// (GET /dashboard_counts)
	GetDashboardCounts(ctx context.Context, request GetDashboardCountsRequestObject) (GetDashboardCountsResponseObject, error)
	// List all files
	// (GET /files)
	ListFiles(ctx context.Context, request ListFilesRequestObject) (ListFilesResponseObject, error)
	// Create a new file
	// (POST /files)
	CreateFile(ctx context.Context, request CreateFileRequestObject) (CreateFileResponseObject, error)
	// Delete a file by ID
	// (DELETE /files/{id})
	DeleteFile(ctx context.Context, request DeleteFileRequestObject) (DeleteFileResponseObject, error)
	// Get a single file by ID
	// (GET /files/{id})
	GetFile(ctx context.Context, request GetFileRequestObject) (GetFileResponseObject, error)
	// Download a file by ID
	// (GET /files/{id}/download)
	DownloadFile(ctx context.Context, request DownloadFileRequestObject) (DownloadFileResponseObject, error)
	// List all groups
	// (GET /groups)
	ListGroups(ctx context.Context, request ListGroupsRequestObject) (ListGroupsResponseObject, error)
	// Create a new group
	// (POST /groups)
	CreateGroup(ctx context.Context, request CreateGroupRequestObject) (CreateGroupResponseObject, error)
	// Delete a group by ID
	// (DELETE /groups/{id})
	DeleteGroup(ctx context.Context, request DeleteGroupRequestObject) (DeleteGroupResponseObject, error)
	// Get a single group by ID
	// (GET /groups/{id})
	GetGroup(ctx context.Context, request GetGroupRequestObject) (GetGroupResponseObject, error)
	// Update a group by ID
	// (PATCH /groups/{id})
	UpdateGroup(ctx context.Context, request UpdateGroupRequestObject) (UpdateGroupResponseObject, error)
	// List all child groups for a group
	// (GET /groups/{id}/children)
	ListChildGroups(ctx context.Context, request ListChildGroupsRequestObject) (ListChildGroupsResponseObject, error)
	// Remove a parent group from another group
	// (DELETE /groups/{id}/groups/{parentGroupId})
	RemoveGroupParent(ctx context.Context, request RemoveGroupParentRequestObject) (RemoveGroupParentResponseObject, error)
	// List all parent groups for a group
	// (GET /groups/{id}/parents)
	ListParentGroups(ctx context.Context, request ListParentGroupsRequestObject) (ListParentGroupsResponseObject, error)
	// Add a parent group to another group
	// (POST /groups/{id}/parents)
	AddGroupParent(ctx context.Context, request AddGroupParentRequestObject) (AddGroupParentResponseObject, error)
	// List all permissions for a group
	// (GET /groups/{id}/permissions)
	ListParentPermissions(ctx context.Context, request ListParentPermissionsRequestObject) (ListParentPermissionsResponseObject, error)
	// List all users for a group
	// (GET /groups/{id}/users)
	ListGroupUsers(ctx context.Context, request ListGroupUsersRequestObject) (ListGroupUsersResponseObject, error)
	// List all links
	// (GET /links)
	ListLinks(ctx context.Context, request ListLinksRequestObject) (ListLinksResponseObject, error)
	// Create a new link
	// (POST /links)
	CreateLink(ctx context.Context, request CreateLinkRequestObject) (CreateLinkResponseObject, error)
	// Delete a link by ID
	// (DELETE /links/{id})
	DeleteLink(ctx context.Context, request DeleteLinkRequestObject) (DeleteLinkResponseObject, error)
	// Get a single link by ID
	// (GET /links/{id})
	GetLink(ctx context.Context, request GetLinkRequestObject) (GetLinkResponseObject, error)
	// Update a link by ID
	// (PATCH /links/{id})
	UpdateLink(ctx context.Context, request UpdateLinkRequestObject) (UpdateLinkResponseObject, error)
	// List all reactions
	// (GET /reactions)
	ListReactions(ctx context.Context, request ListReactionsRequestObject) (ListReactionsResponseObject, error)
	// Create a new reaction
	// (POST /reactions)
	CreateReaction(ctx context.Context, request CreateReactionRequestObject) (CreateReactionResponseObject, error)
	// Delete a reaction by ID
	// (DELETE /reactions/{id})
	DeleteReaction(ctx context.Context, request DeleteReactionRequestObject) (DeleteReactionResponseObject, error)
	// Get a single reaction by ID
	// (GET /reactions/{id})
	GetReaction(ctx context.Context, request GetReactionRequestObject) (GetReactionResponseObject, error)
	// Update a reaction by ID
	// (PATCH /reactions/{id})
	UpdateReaction(ctx context.Context, request UpdateReactionRequestObject) (UpdateReactionResponseObject, error)
	// Get system settings
	// (GET /settings)
	GetSettings(ctx context.Context, request GetSettingsRequestObject) (GetSettingsResponseObject, error)
	// Update system settings
	// (POST /settings)
	UpdateSettings(ctx context.Context, request UpdateSettingsRequestObject) (UpdateSettingsResponseObject, error)
	// Get sidebar data
	// (GET /sidebar)
	GetSidebar(ctx context.Context, request GetSidebarRequestObject) (GetSidebarResponseObject, error)
	// List all tasks
	// (GET /tasks)
	ListTasks(ctx context.Context, request ListTasksRequestObject) (ListTasksResponseObject, error)
	// Create a new task
	// (POST /tasks)
	CreateTask(ctx context.Context, request CreateTaskRequestObject) (CreateTaskResponseObject, error)
	// Delete a task by ID
	// (DELETE /tasks/{id})
	DeleteTask(ctx context.Context, request DeleteTaskRequestObject) (DeleteTaskResponseObject, error)
	// Get a single task by ID
	// (GET /tasks/{id})
	GetTask(ctx context.Context, request GetTaskRequestObject) (GetTaskResponseObject, error)
	// Update a task by ID
	// (PATCH /tasks/{id})
	UpdateTask(ctx context.Context, request UpdateTaskRequestObject) (UpdateTaskResponseObject, error)
	// Search tickets with full join data
	// (GET /ticket_search)
	SearchTickets(ctx context.Context, request SearchTicketsRequestObject) (SearchTicketsResponseObject, error)
	// List all tickets
	// (GET /tickets)
	ListTickets(ctx context.Context, request ListTicketsRequestObject) (ListTicketsResponseObject, error)
	// Create a new ticket
	// (POST /tickets)
	CreateTicket(ctx context.Context, request CreateTicketRequestObject) (CreateTicketResponseObject, error)
	// Delete a ticket by ID
	// (DELETE /tickets/{id})
	DeleteTicket(ctx context.Context, request DeleteTicketRequestObject) (DeleteTicketResponseObject, error)
	// Get a single ticket by ID
	// (GET /tickets/{id})
	GetTicket(ctx context.Context, request GetTicketRequestObject) (GetTicketResponseObject, error)
	// Update a ticket by ID
	// (PATCH /tickets/{id})
	UpdateTicket(ctx context.Context, request UpdateTicketRequestObject) (UpdateTicketResponseObject, error)
	// List all timeline items
	// (GET /timeline)
	ListTimeline(ctx context.Context, request ListTimelineRequestObject) (ListTimelineResponseObject, error)
	// Create a new timeline item
	// (POST /timeline)
	CreateTimeline(ctx context.Context, request CreateTimelineRequestObject) (CreateTimelineResponseObject, error)
	// Delete a timeline item by ID
	// (DELETE /timeline/{id})
	DeleteTimeline(ctx context.Context, request DeleteTimelineRequestObject) (DeleteTimelineResponseObject, error)
	// Get a single timeline item by ID
	// (GET /timeline/{id})
	GetTimeline(ctx context.Context, request GetTimelineRequestObject) (GetTimelineResponseObject, error)
	// Update a timeline item by ID
	// (PATCH /timeline/{id})
	UpdateTimeline(ctx context.Context, request UpdateTimelineRequestObject) (UpdateTimelineResponseObject, error)
	// List all types
	// (GET /types)
	ListTypes(ctx context.Context, request ListTypesRequestObject) (ListTypesResponseObject, error)
	// Create a new type
	// (POST /types)
	CreateType(ctx context.Context, request CreateTypeRequestObject) (CreateTypeResponseObject, error)
	// Delete a type by ID
	// (DELETE /types/{id})
	DeleteType(ctx context.Context, request DeleteTypeRequestObject) (DeleteTypeResponseObject, error)
	// Get a single type by ID
	// (GET /types/{id})
	GetType(ctx context.Context, request GetTypeRequestObject) (GetTypeResponseObject, error)
	// Update a type by ID
	// (PATCH /types/{id})
	UpdateType(ctx context.Context, request UpdateTypeRequestObject) (UpdateTypeResponseObject, error)
	// List all users
	// (GET /users)
	ListUsers(ctx context.Context, request ListUsersRequestObject) (ListUsersResponseObject, error)
	// Create a new user
	// (POST /users)
	CreateUser(ctx context.Context, request CreateUserRequestObject) (CreateUserResponseObject, error)
	// Delete a user by ID
	// (DELETE /users/{id})
	DeleteUser(ctx context.Context, request DeleteUserRequestObject) (DeleteUserResponseObject, error)
	// Get a single user by ID
	// (GET /users/{id})
	GetUser(ctx context.Context, request GetUserRequestObject) (GetUserResponseObject, error)
	// Update a user by ID
	// (PATCH /users/{id})
	UpdateUser(ctx context.Context, request UpdateUserRequestObject) (UpdateUserResponseObject, error)
	// List all groups for a user
	// (GET /users/{id}/groups)
	ListUserGroups(ctx context.Context, request ListUserGroupsRequestObject) (ListUserGroupsResponseObject, error)
	// Add a group to a user
	// (POST /users/{id}/groups)
	AddUserGroup(ctx context.Context, request AddUserGroupRequestObject) (AddUserGroupResponseObject, error)
	// Remove a group from a user
	// (DELETE /users/{id}/groups/{groupId})
	RemoveUserGroup(ctx context.Context, request RemoveUserGroupRequestObject) (RemoveUserGroupResponseObject, error)
	// List all permissions for a user
	// (GET /users/{id}/permissions)
	ListUserPermissions(ctx context.Context, request ListUserPermissionsRequestObject) (ListUserPermissionsResponseObject, error)
	// List all webhooks
	// (GET /webhooks)
	ListWebhooks(ctx context.Context, request ListWebhooksRequestObject) (ListWebhooksResponseObject, error)
	// Create a new webhook
	// (POST /webhooks)
	CreateWebhook(ctx context.Context, request CreateWebhookRequestObject) (CreateWebhookResponseObject, error)
	// Delete a webhook by ID
	// (DELETE /webhooks/{id})
	DeleteWebhook(ctx context.Context, request DeleteWebhookRequestObject) (DeleteWebhookResponseObject, error)
	// Get a single webhook by ID
	// (GET /webhooks/{id})
	GetWebhook(ctx context.Context, request GetWebhookRequestObject) (GetWebhookResponseObject, error)
	// Update a webhook by ID
	// (PATCH /webhooks/{id})
	UpdateWebhook(ctx context.Context, request UpdateWebhookRequestObject) (UpdateWebhookResponseObject, error)
}

StrictServerInterface represents all server handlers.

type Table

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

Table defines model for Table.

type Task

type Task struct {
	Created time.Time `json:"created"`
	Id      string    `json:"id"`
	Name    string    `json:"name"`
	Open    bool      `json:"open"`
	Owner   *string   `json:"owner,omitempty"`
	Ticket  string    `json:"ticket"`
	Updated time.Time `json:"updated"`
}

Task defines model for Task.

type TaskUpdate

type TaskUpdate struct {
	Name  *string `json:"name,omitempty"`
	Open  *bool   `json:"open,omitempty"`
	Owner *string `json:"owner,omitempty"`
}

TaskUpdate defines model for TaskUpdate.

type Ticket

type Ticket struct {
	Created     time.Time              `json:"created"`
	Description string                 `json:"description"`
	Id          string                 `json:"id"`
	Name        string                 `json:"name"`
	Open        bool                   `json:"open"`
	Owner       *string                `json:"owner,omitempty"`
	Resolution  *string                `json:"resolution,omitempty"`
	Schema      map[string]interface{} `json:"schema"`
	State       map[string]interface{} `json:"state"`
	Type        string                 `json:"type"`
	Updated     time.Time              `json:"updated"`
}

Ticket defines model for Ticket.

type TicketSearch

type TicketSearch struct {
	Created     time.Time              `json:"created"`
	Description string                 `json:"description"`
	Id          string                 `json:"id"`
	Name        string                 `json:"name"`
	Open        bool                   `json:"open"`
	OwnerName   string                 `json:"owner_name"`
	State       map[string]interface{} `json:"state"`
	Type        string                 `json:"type"`
}

TicketSearch defines model for TicketSearch.

type TicketUpdate

type TicketUpdate struct {
	Description *string                 `json:"description,omitempty"`
	Name        *string                 `json:"name,omitempty"`
	Open        *bool                   `json:"open,omitempty"`
	Owner       *string                 `json:"owner,omitempty"`
	Resolution  *string                 `json:"resolution,omitempty"`
	Schema      *map[string]interface{} `json:"schema,omitempty"`
	State       *map[string]interface{} `json:"state,omitempty"`
	Type        *string                 `json:"type,omitempty"`
}

TicketUpdate defines model for TicketUpdate.

type TimelineEntry

type TimelineEntry struct {
	Created time.Time `json:"created"`
	Id      string    `json:"id"`
	Message string    `json:"message"`
	Ticket  string    `json:"ticket"`
	Time    time.Time `json:"time"`
	Updated time.Time `json:"updated"`
}

TimelineEntry defines model for TimelineEntry.

type TimelineEntryUpdate

type TimelineEntryUpdate struct {
	Message *string    `json:"message,omitempty"`
	Time    *time.Time `json:"time,omitempty"`
}

TimelineEntryUpdate defines model for TimelineEntryUpdate.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type Type

type Type struct {
	Created  time.Time              `json:"created"`
	Icon     *string                `json:"icon,omitempty"`
	Id       string                 `json:"id"`
	Plural   string                 `json:"plural"`
	Schema   map[string]interface{} `json:"schema"`
	Singular string                 `json:"singular"`
	Updated  time.Time              `json:"updated"`
}

Type defines model for Type.

type TypeUpdate

type TypeUpdate struct {
	Icon     *string                 `json:"icon,omitempty"`
	Plural   *string                 `json:"plural,omitempty"`
	Schema   *map[string]interface{} `json:"schema,omitempty"`
	Singular *string                 `json:"singular,omitempty"`
}

TypeUpdate defines model for TypeUpdate.

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) AddGroupParent

func (_ Unimplemented) AddGroupParent(w http.ResponseWriter, r *http.Request, id string)

Add a parent group to another group (POST /groups/{id}/parents)

func (Unimplemented) AddUserGroup

func (_ Unimplemented) AddUserGroup(w http.ResponseWriter, r *http.Request, id string)

Add a group to a user (POST /users/{id}/groups)

func (Unimplemented) CreateComment

func (_ Unimplemented) CreateComment(w http.ResponseWriter, r *http.Request)

Create a new comment (POST /comments)

func (Unimplemented) CreateFile

func (_ Unimplemented) CreateFile(w http.ResponseWriter, r *http.Request)

Create a new file (POST /files)

func (Unimplemented) CreateGroup

func (_ Unimplemented) CreateGroup(w http.ResponseWriter, r *http.Request)

Create a new group (POST /groups)

func (_ Unimplemented) CreateLink(w http.ResponseWriter, r *http.Request)

Create a new link (POST /links)

func (Unimplemented) CreateReaction

func (_ Unimplemented) CreateReaction(w http.ResponseWriter, r *http.Request)

Create a new reaction (POST /reactions)

func (Unimplemented) CreateTask

func (_ Unimplemented) CreateTask(w http.ResponseWriter, r *http.Request)

Create a new task (POST /tasks)

func (Unimplemented) CreateTicket

func (_ Unimplemented) CreateTicket(w http.ResponseWriter, r *http.Request)

Create a new ticket (POST /tickets)

func (Unimplemented) CreateTimeline

func (_ Unimplemented) CreateTimeline(w http.ResponseWriter, r *http.Request)

Create a new timeline item (POST /timeline)

func (Unimplemented) CreateType

func (_ Unimplemented) CreateType(w http.ResponseWriter, r *http.Request)

Create a new type (POST /types)

func (Unimplemented) CreateUser

func (_ Unimplemented) CreateUser(w http.ResponseWriter, r *http.Request)

Create a new user (POST /users)

func (Unimplemented) CreateWebhook

func (_ Unimplemented) CreateWebhook(w http.ResponseWriter, r *http.Request)

Create a new webhook (POST /webhooks)

func (Unimplemented) DeleteComment

func (_ Unimplemented) DeleteComment(w http.ResponseWriter, r *http.Request, id string)

Delete a comment by ID (DELETE /comments/{id})

func (Unimplemented) DeleteFile

func (_ Unimplemented) DeleteFile(w http.ResponseWriter, r *http.Request, id string)

Delete a file by ID (DELETE /files/{id})

func (Unimplemented) DeleteGroup

func (_ Unimplemented) DeleteGroup(w http.ResponseWriter, r *http.Request, id string)

Delete a group by ID (DELETE /groups/{id})

func (_ Unimplemented) DeleteLink(w http.ResponseWriter, r *http.Request, id string)

Delete a link by ID (DELETE /links/{id})

func (Unimplemented) DeleteReaction

func (_ Unimplemented) DeleteReaction(w http.ResponseWriter, r *http.Request, id string)

Delete a reaction by ID (DELETE /reactions/{id})

func (Unimplemented) DeleteTask

func (_ Unimplemented) DeleteTask(w http.ResponseWriter, r *http.Request, id string)

Delete a task by ID (DELETE /tasks/{id})

func (Unimplemented) DeleteTicket

func (_ Unimplemented) DeleteTicket(w http.ResponseWriter, r *http.Request, id string)

Delete a ticket by ID (DELETE /tickets/{id})

func (Unimplemented) DeleteTimeline

func (_ Unimplemented) DeleteTimeline(w http.ResponseWriter, r *http.Request, id string)

Delete a timeline item by ID (DELETE /timeline/{id})

func (Unimplemented) DeleteType

func (_ Unimplemented) DeleteType(w http.ResponseWriter, r *http.Request, id string)

Delete a type by ID (DELETE /types/{id})

func (Unimplemented) DeleteUser

func (_ Unimplemented) DeleteUser(w http.ResponseWriter, r *http.Request, id string)

Delete a user by ID (DELETE /users/{id})

func (Unimplemented) DeleteWebhook

func (_ Unimplemented) DeleteWebhook(w http.ResponseWriter, r *http.Request, id string)

Delete a webhook by ID (DELETE /webhooks/{id})

func (Unimplemented) DownloadFile

func (_ Unimplemented) DownloadFile(w http.ResponseWriter, r *http.Request, id string)

Download a file by ID (GET /files/{id}/download)

func (Unimplemented) GetComment

func (_ Unimplemented) GetComment(w http.ResponseWriter, r *http.Request, id string)

Get a single comment by ID (GET /comments/{id})

func (Unimplemented) GetConfig

func (_ Unimplemented) GetConfig(w http.ResponseWriter, r *http.Request)

Get the configuration (GET /config)

func (Unimplemented) GetDashboardCounts

func (_ Unimplemented) GetDashboardCounts(w http.ResponseWriter, r *http.Request)

Get dashboard summary counts (GET /dashboard_counts)

func (Unimplemented) GetFile

func (_ Unimplemented) GetFile(w http.ResponseWriter, r *http.Request, id string)

Get a single file by ID (GET /files/{id})

func (Unimplemented) GetGroup

func (_ Unimplemented) GetGroup(w http.ResponseWriter, r *http.Request, id string)

Get a single group by ID (GET /groups/{id})

func (_ Unimplemented) GetLink(w http.ResponseWriter, r *http.Request, id string)

Get a single link by ID (GET /links/{id})

func (Unimplemented) GetReaction

func (_ Unimplemented) GetReaction(w http.ResponseWriter, r *http.Request, id string)

Get a single reaction by ID (GET /reactions/{id})

func (Unimplemented) GetSettings

func (_ Unimplemented) GetSettings(w http.ResponseWriter, r *http.Request)

Get system settings (GET /settings)

func (Unimplemented) GetSidebar

func (_ Unimplemented) GetSidebar(w http.ResponseWriter, r *http.Request)

Get sidebar data (GET /sidebar)

func (Unimplemented) GetTask

func (_ Unimplemented) GetTask(w http.ResponseWriter, r *http.Request, id string)

Get a single task by ID (GET /tasks/{id})

func (Unimplemented) GetTicket

func (_ Unimplemented) GetTicket(w http.ResponseWriter, r *http.Request, id string)

Get a single ticket by ID (GET /tickets/{id})

func (Unimplemented) GetTimeline

func (_ Unimplemented) GetTimeline(w http.ResponseWriter, r *http.Request, id string)

Get a single timeline item by ID (GET /timeline/{id})

func (Unimplemented) GetType

func (_ Unimplemented) GetType(w http.ResponseWriter, r *http.Request, id string)

Get a single type by ID (GET /types/{id})

func (Unimplemented) GetUser

func (_ Unimplemented) GetUser(w http.ResponseWriter, r *http.Request, id string)

Get a single user by ID (GET /users/{id})

func (Unimplemented) GetWebhook

func (_ Unimplemented) GetWebhook(w http.ResponseWriter, r *http.Request, id string)

Get a single webhook by ID (GET /webhooks/{id})

func (Unimplemented) ListChildGroups

func (_ Unimplemented) ListChildGroups(w http.ResponseWriter, r *http.Request, id string)

List all child groups for a group (GET /groups/{id}/children)

func (Unimplemented) ListComments

func (_ Unimplemented) ListComments(w http.ResponseWriter, r *http.Request, params ListCommentsParams)

List all comments (GET /comments)

func (Unimplemented) ListFiles

func (_ Unimplemented) ListFiles(w http.ResponseWriter, r *http.Request, params ListFilesParams)

List all files (GET /files)

func (Unimplemented) ListGroupUsers

func (_ Unimplemented) ListGroupUsers(w http.ResponseWriter, r *http.Request, id string)

List all users for a group (GET /groups/{id}/users)

func (Unimplemented) ListGroups

func (_ Unimplemented) ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)

List all groups (GET /groups)

func (_ Unimplemented) ListLinks(w http.ResponseWriter, r *http.Request, params ListLinksParams)

List all links (GET /links)

func (Unimplemented) ListParentGroups

func (_ Unimplemented) ListParentGroups(w http.ResponseWriter, r *http.Request, id string)

List all parent groups for a group (GET /groups/{id}/parents)

func (Unimplemented) ListParentPermissions

func (_ Unimplemented) ListParentPermissions(w http.ResponseWriter, r *http.Request, id string)

List all permissions for a group (GET /groups/{id}/permissions)

func (Unimplemented) ListReactions

func (_ Unimplemented) ListReactions(w http.ResponseWriter, r *http.Request, params ListReactionsParams)

List all reactions (GET /reactions)

func (Unimplemented) ListTasks

func (_ Unimplemented) ListTasks(w http.ResponseWriter, r *http.Request, params ListTasksParams)

List all tasks (GET /tasks)

func (Unimplemented) ListTickets

func (_ Unimplemented) ListTickets(w http.ResponseWriter, r *http.Request, params ListTicketsParams)

List all tickets (GET /tickets)

func (Unimplemented) ListTimeline

func (_ Unimplemented) ListTimeline(w http.ResponseWriter, r *http.Request, params ListTimelineParams)

List all timeline items (GET /timeline)

func (Unimplemented) ListTypes

func (_ Unimplemented) ListTypes(w http.ResponseWriter, r *http.Request, params ListTypesParams)

List all types (GET /types)

func (Unimplemented) ListUserGroups

func (_ Unimplemented) ListUserGroups(w http.ResponseWriter, r *http.Request, id string)

List all groups for a user (GET /users/{id}/groups)

func (Unimplemented) ListUserPermissions

func (_ Unimplemented) ListUserPermissions(w http.ResponseWriter, r *http.Request, id string)

List all permissions for a user (GET /users/{id}/permissions)

func (Unimplemented) ListUsers

func (_ Unimplemented) ListUsers(w http.ResponseWriter, r *http.Request, params ListUsersParams)

List all users (GET /users)

func (Unimplemented) ListWebhooks

func (_ Unimplemented) ListWebhooks(w http.ResponseWriter, r *http.Request, params ListWebhooksParams)

List all webhooks (GET /webhooks)

func (Unimplemented) RemoveGroupParent

func (_ Unimplemented) RemoveGroupParent(w http.ResponseWriter, r *http.Request, id string, parentGroupId string)

Remove a parent group from another group (DELETE /groups/{id}/groups/{parentGroupId})

func (Unimplemented) RemoveUserGroup

func (_ Unimplemented) RemoveUserGroup(w http.ResponseWriter, r *http.Request, id string, groupId string)

Remove a group from a user (DELETE /users/{id}/groups/{groupId})

func (Unimplemented) SearchTickets

func (_ Unimplemented) SearchTickets(w http.ResponseWriter, r *http.Request, params SearchTicketsParams)

Search tickets with full join data (GET /ticket_search)

func (Unimplemented) UpdateComment

func (_ Unimplemented) UpdateComment(w http.ResponseWriter, r *http.Request, id string)

Update a comment by ID (PATCH /comments/{id})

func (Unimplemented) UpdateGroup

func (_ Unimplemented) UpdateGroup(w http.ResponseWriter, r *http.Request, id string)

Update a group by ID (PATCH /groups/{id})

func (_ Unimplemented) UpdateLink(w http.ResponseWriter, r *http.Request, id string)

Update a link by ID (PATCH /links/{id})

func (Unimplemented) UpdateReaction

func (_ Unimplemented) UpdateReaction(w http.ResponseWriter, r *http.Request, id string)

Update a reaction by ID (PATCH /reactions/{id})

func (Unimplemented) UpdateSettings

func (_ Unimplemented) UpdateSettings(w http.ResponseWriter, r *http.Request)

Update system settings (POST /settings)

func (Unimplemented) UpdateTask

func (_ Unimplemented) UpdateTask(w http.ResponseWriter, r *http.Request, id string)

Update a task by ID (PATCH /tasks/{id})

func (Unimplemented) UpdateTicket

func (_ Unimplemented) UpdateTicket(w http.ResponseWriter, r *http.Request, id string)

Update a ticket by ID (PATCH /tickets/{id})

func (Unimplemented) UpdateTimeline

func (_ Unimplemented) UpdateTimeline(w http.ResponseWriter, r *http.Request, id string)

Update a timeline item by ID (PATCH /timeline/{id})

func (Unimplemented) UpdateType

func (_ Unimplemented) UpdateType(w http.ResponseWriter, r *http.Request, id string)

Update a type by ID (PATCH /types/{id})

func (Unimplemented) UpdateUser

func (_ Unimplemented) UpdateUser(w http.ResponseWriter, r *http.Request, id string)

Update a user by ID (PATCH /users/{id})

func (Unimplemented) UpdateWebhook

func (_ Unimplemented) UpdateWebhook(w http.ResponseWriter, r *http.Request, id string)

Update a webhook by ID (PATCH /webhooks/{id})

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type UpdateComment200JSONResponse

type UpdateComment200JSONResponse Comment

func (UpdateComment200JSONResponse) VisitUpdateCommentResponse

func (response UpdateComment200JSONResponse) VisitUpdateCommentResponse(w http.ResponseWriter) error

type UpdateCommentJSONRequestBody

type UpdateCommentJSONRequestBody = CommentUpdate

UpdateCommentJSONRequestBody defines body for UpdateComment for application/json ContentType.

type UpdateCommentRequestObject

type UpdateCommentRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateCommentJSONRequestBody
}

type UpdateCommentResponseObject

type UpdateCommentResponseObject interface {
	VisitUpdateCommentResponse(w http.ResponseWriter) error
}

type UpdateGroup200JSONResponse

type UpdateGroup200JSONResponse Group

func (UpdateGroup200JSONResponse) VisitUpdateGroupResponse

func (response UpdateGroup200JSONResponse) VisitUpdateGroupResponse(w http.ResponseWriter) error

type UpdateGroupJSONRequestBody

type UpdateGroupJSONRequestBody = GroupUpdate

UpdateGroupJSONRequestBody defines body for UpdateGroup for application/json ContentType.

type UpdateGroupRequestObject

type UpdateGroupRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateGroupJSONRequestBody
}

type UpdateGroupResponseObject

type UpdateGroupResponseObject interface {
	VisitUpdateGroupResponse(w http.ResponseWriter) error
}

type UpdateLink200JSONResponse

type UpdateLink200JSONResponse Link

func (UpdateLink200JSONResponse) VisitUpdateLinkResponse

func (response UpdateLink200JSONResponse) VisitUpdateLinkResponse(w http.ResponseWriter) error

type UpdateLinkJSONRequestBody

type UpdateLinkJSONRequestBody = LinkUpdate

UpdateLinkJSONRequestBody defines body for UpdateLink for application/json ContentType.

type UpdateLinkRequestObject

type UpdateLinkRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateLinkJSONRequestBody
}

type UpdateLinkResponseObject

type UpdateLinkResponseObject interface {
	VisitUpdateLinkResponse(w http.ResponseWriter) error
}

type UpdateReaction200JSONResponse

type UpdateReaction200JSONResponse Reaction

func (UpdateReaction200JSONResponse) VisitUpdateReactionResponse

func (response UpdateReaction200JSONResponse) VisitUpdateReactionResponse(w http.ResponseWriter) error

type UpdateReactionJSONRequestBody

type UpdateReactionJSONRequestBody = ReactionUpdate

UpdateReactionJSONRequestBody defines body for UpdateReaction for application/json ContentType.

type UpdateReactionRequestObject

type UpdateReactionRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateReactionJSONRequestBody
}

type UpdateReactionResponseObject

type UpdateReactionResponseObject interface {
	VisitUpdateReactionResponse(w http.ResponseWriter) error
}

type UpdateSettings200JSONResponse

type UpdateSettings200JSONResponse Settings

func (UpdateSettings200JSONResponse) VisitUpdateSettingsResponse

func (response UpdateSettings200JSONResponse) VisitUpdateSettingsResponse(w http.ResponseWriter) error

type UpdateSettingsJSONRequestBody

type UpdateSettingsJSONRequestBody = Settings

UpdateSettingsJSONRequestBody defines body for UpdateSettings for application/json ContentType.

type UpdateSettingsRequestObject

type UpdateSettingsRequestObject struct {
	Body *UpdateSettingsJSONRequestBody
}

type UpdateSettingsResponseObject

type UpdateSettingsResponseObject interface {
	VisitUpdateSettingsResponse(w http.ResponseWriter) error
}

type UpdateTask200JSONResponse

type UpdateTask200JSONResponse Task

func (UpdateTask200JSONResponse) VisitUpdateTaskResponse

func (response UpdateTask200JSONResponse) VisitUpdateTaskResponse(w http.ResponseWriter) error

type UpdateTaskJSONRequestBody

type UpdateTaskJSONRequestBody = TaskUpdate

UpdateTaskJSONRequestBody defines body for UpdateTask for application/json ContentType.

type UpdateTaskRequestObject

type UpdateTaskRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateTaskJSONRequestBody
}

type UpdateTaskResponseObject

type UpdateTaskResponseObject interface {
	VisitUpdateTaskResponse(w http.ResponseWriter) error
}

type UpdateTicket200JSONResponse

type UpdateTicket200JSONResponse Ticket

func (UpdateTicket200JSONResponse) VisitUpdateTicketResponse

func (response UpdateTicket200JSONResponse) VisitUpdateTicketResponse(w http.ResponseWriter) error

type UpdateTicketJSONRequestBody

type UpdateTicketJSONRequestBody = TicketUpdate

UpdateTicketJSONRequestBody defines body for UpdateTicket for application/json ContentType.

type UpdateTicketRequestObject

type UpdateTicketRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateTicketJSONRequestBody
}

type UpdateTicketResponseObject

type UpdateTicketResponseObject interface {
	VisitUpdateTicketResponse(w http.ResponseWriter) error
}

type UpdateTimeline200JSONResponse

type UpdateTimeline200JSONResponse TimelineEntry

func (UpdateTimeline200JSONResponse) VisitUpdateTimelineResponse

func (response UpdateTimeline200JSONResponse) VisitUpdateTimelineResponse(w http.ResponseWriter) error

type UpdateTimelineJSONRequestBody

type UpdateTimelineJSONRequestBody = TimelineEntryUpdate

UpdateTimelineJSONRequestBody defines body for UpdateTimeline for application/json ContentType.

type UpdateTimelineRequestObject

type UpdateTimelineRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateTimelineJSONRequestBody
}

type UpdateTimelineResponseObject

type UpdateTimelineResponseObject interface {
	VisitUpdateTimelineResponse(w http.ResponseWriter) error
}

type UpdateType200JSONResponse

type UpdateType200JSONResponse Type

func (UpdateType200JSONResponse) VisitUpdateTypeResponse

func (response UpdateType200JSONResponse) VisitUpdateTypeResponse(w http.ResponseWriter) error

type UpdateTypeJSONRequestBody

type UpdateTypeJSONRequestBody = TypeUpdate

UpdateTypeJSONRequestBody defines body for UpdateType for application/json ContentType.

type UpdateTypeRequestObject

type UpdateTypeRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateTypeJSONRequestBody
}

type UpdateTypeResponseObject

type UpdateTypeResponseObject interface {
	VisitUpdateTypeResponse(w http.ResponseWriter) error
}

type UpdateUser200JSONResponse

type UpdateUser200JSONResponse User

func (UpdateUser200JSONResponse) VisitUpdateUserResponse

func (response UpdateUser200JSONResponse) VisitUpdateUserResponse(w http.ResponseWriter) error

type UpdateUserJSONRequestBody

type UpdateUserJSONRequestBody = UserUpdate

UpdateUserJSONRequestBody defines body for UpdateUser for application/json ContentType.

type UpdateUserRequestObject

type UpdateUserRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateUserJSONRequestBody
}

type UpdateUserResponseObject

type UpdateUserResponseObject interface {
	VisitUpdateUserResponse(w http.ResponseWriter) error
}

type UpdateWebhook200JSONResponse

type UpdateWebhook200JSONResponse Webhook

func (UpdateWebhook200JSONResponse) VisitUpdateWebhookResponse

func (response UpdateWebhook200JSONResponse) VisitUpdateWebhookResponse(w http.ResponseWriter) error

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody = WebhookUpdate

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookRequestObject

type UpdateWebhookRequestObject struct {
	Id   string `json:"id"`
	Body *UpdateWebhookJSONRequestBody
}

type UpdateWebhookResponseObject

type UpdateWebhookResponseObject interface {
	VisitUpdateWebhookResponse(w http.ResponseWriter) error
}

type User

type User struct {
	Active                 bool       `json:"active"`
	Avatar                 *string    `json:"avatar,omitempty"`
	Created                time.Time  `json:"created"`
	Email                  *string    `json:"email,omitempty"`
	Id                     string     `json:"id"`
	LastResetSentAt        *time.Time `json:"lastResetSentAt,omitempty"`
	LastVerificationSentAt *time.Time `json:"lastVerificationSentAt,omitempty"`
	Name                   *string    `json:"name,omitempty"`
	Updated                time.Time  `json:"updated"`
	Username               string     `json:"username"`
}

User defines model for User.

type UserGroup

type UserGroup struct {
	Created     time.Time `json:"created"`
	Id          string    `json:"id"`
	Name        string    `json:"name"`
	Permissions []string  `json:"permissions"`
	Type        string    `json:"type"`
	Updated     time.Time `json:"updated"`
}

UserGroup defines model for UserGroup.

type UserUpdate

type UserUpdate struct {
	Active          *bool   `json:"active,omitempty"`
	Avatar          *string `json:"avatar,omitempty"`
	Email           *string `json:"email,omitempty"`
	Name            *string `json:"name,omitempty"`
	Password        *string `json:"password,omitempty"`
	PasswordConfirm *string `json:"passwordConfirm,omitempty"`
	Username        *string `json:"username,omitempty"`
}

UserUpdate defines model for UserUpdate.

type Webhook

type Webhook struct {
	Collection  string    `json:"collection"`
	Created     time.Time `json:"created"`
	Destination string    `json:"destination"`
	Id          string    `json:"id"`
	Name        string    `json:"name"`
	Updated     time.Time `json:"updated"`
}

Webhook defines model for Webhook.

type WebhookUpdate

type WebhookUpdate struct {
	Collection  *string `json:"collection,omitempty"`
	Destination *string `json:"destination,omitempty"`
	Name        *string `json:"name,omitempty"`
}

WebhookUpdate defines model for WebhookUpdate.

Jump to

Keyboard shortcuts

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