Versions in this module Expand all Collapse all v0 v0.0.19 Jun 25, 2025 v0.0.18 May 11, 2025 v0.0.17 Apr 27, 2025 v0.0.16 Apr 21, 2025 v0.0.15 Apr 20, 2025 Changes in this version type FilterGroups + Filters []Filter v0.0.14 Apr 19, 2025 v0.0.13 Apr 19, 2025 v0.0.12 Jan 28, 2025 v0.0.11 Jan 23, 2025 v0.0.10 Jan 16, 2025 v0.0.9 Jan 16, 2025 Changes in this version + type CreateTicketJSONBodyAssociationsTypesAssociationCategory string type Filter + HighValue *string + Values *[]string + type FilterGroups = []struct type SearchTicketsJSONBody + FilterGroups *FilterGroups v0.0.8 Jan 12, 2025 v0.0.7 Jan 10, 2025 Changes in this version + const Oauth2Scopes + func GetSwagger() (swagger *openapi3.T, err error) + func NewCreateTicketRequest(server string, body CreateTicketJSONRequestBody) (*http.Request, error) + func NewCreateTicketRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error) + func NewDeleteTicketByIdRequest(server string, ticketId string) (*http.Request, error) + func NewGetTicketByIdRequest(server string, ticketId string, params *GetTicketByIdParams) (*http.Request, error) + func NewGetTicketsRequest(server string, params *GetTicketsParams) (*http.Request, error) + func NewSearchTicketsRequest(server string, params *SearchTicketsParams, body SearchTicketsJSONRequestBody) (*http.Request, error) + func NewSearchTicketsRequestWithBody(server string, params *SearchTicketsParams, contentType string, body io.Reader) (*http.Request, error) + func NewUpdateTicketRequest(server string, ticketId string, body UpdateTicketJSONRequestBody) (*http.Request, error) + func NewUpdateTicketRequestWithBody(server string, ticketId string, contentType string, body io.Reader) (*http.Request, error) + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + func RegisterHandlers(router EchoRouter, si ServerInterface) + func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL string) + type Archived = bool + type AssociationResponse struct + Id *string + Type *string + type Associations = []string + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + Server string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) CreateTicket(ctx context.Context, body CreateTicketJSONRequestBody, ...) (*http.Response, error) + func (c *Client) CreateTicketWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + func (c *Client) DeleteTicketById(ctx context.Context, ticketId string, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) GetTicketById(ctx context.Context, ticketId string, params *GetTicketByIdParams, ...) (*http.Response, error) + func (c *Client) GetTickets(ctx context.Context, params *GetTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + func (c *Client) SearchTickets(ctx context.Context, params *SearchTicketsParams, ...) (*http.Response, error) + func (c *Client) SearchTicketsWithBody(ctx context.Context, params *SearchTicketsParams, contentType string, ...) (*http.Response, error) + func (c *Client) UpdateTicket(ctx context.Context, ticketId string, body UpdateTicketJSONRequestBody, ...) (*http.Response, error) + func (c *Client) UpdateTicketWithBody(ctx context.Context, ticketId string, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientInterface interface + CreateTicket func(ctx context.Context, body CreateTicketJSONRequestBody, ...) (*http.Response, error) + CreateTicketWithBody func(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error) + DeleteTicketById func(ctx context.Context, ticketId string, reqEditors ...RequestEditorFn) (*http.Response, error) + GetTicketById func(ctx context.Context, ticketId string, params *GetTicketByIdParams, ...) (*http.Response, error) + GetTickets func(ctx context.Context, params *GetTicketsParams, reqEditors ...RequestEditorFn) (*http.Response, error) + SearchTickets func(ctx context.Context, params *SearchTicketsParams, ...) (*http.Response, error) + SearchTicketsWithBody func(ctx context.Context, params *SearchTicketsParams, contentType string, ...) (*http.Response, error) + UpdateTicket func(ctx context.Context, ticketId string, body UpdateTicketJSONRequestBody, ...) (*http.Response, error) + UpdateTicketWithBody func(ctx context.Context, ticketId string, contentType string, body io.Reader, ...) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) CreateTicketWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTicketResponse, error) + func (c *ClientWithResponses) CreateTicketWithResponse(ctx context.Context, body CreateTicketJSONRequestBody, ...) (*CreateTicketResponse, error) + func (c *ClientWithResponses) DeleteTicketByIdWithResponse(ctx context.Context, ticketId string, reqEditors ...RequestEditorFn) (*DeleteTicketByIdResponse, error) + func (c *ClientWithResponses) GetTicketByIdWithResponse(ctx context.Context, ticketId string, params *GetTicketByIdParams, ...) (*GetTicketByIdResponse, error) + func (c *ClientWithResponses) GetTicketsWithResponse(ctx context.Context, params *GetTicketsParams, reqEditors ...RequestEditorFn) (*GetTicketsResponse, error) + func (c *ClientWithResponses) SearchTicketsWithBodyWithResponse(ctx context.Context, params *SearchTicketsParams, contentType string, ...) (*SearchTicketsResponse, error) + func (c *ClientWithResponses) SearchTicketsWithResponse(ctx context.Context, params *SearchTicketsParams, ...) (*SearchTicketsResponse, error) + func (c *ClientWithResponses) UpdateTicketWithBodyWithResponse(ctx context.Context, ticketId string, contentType string, body io.Reader, ...) (*UpdateTicketResponse, error) + func (c *ClientWithResponses) UpdateTicketWithResponse(ctx context.Context, ticketId string, body UpdateTicketJSONRequestBody, ...) (*UpdateTicketResponse, error) + type ClientWithResponsesInterface interface + CreateTicketWithBodyWithResponse func(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTicketResponse, error) + CreateTicketWithResponse func(ctx context.Context, body CreateTicketJSONRequestBody, ...) (*CreateTicketResponse, error) + DeleteTicketByIdWithResponse func(ctx context.Context, ticketId string, reqEditors ...RequestEditorFn) (*DeleteTicketByIdResponse, error) + GetTicketByIdWithResponse func(ctx context.Context, ticketId string, params *GetTicketByIdParams, ...) (*GetTicketByIdResponse, error) + GetTicketsWithResponse func(ctx context.Context, params *GetTicketsParams, reqEditors ...RequestEditorFn) (*GetTicketsResponse, error) + SearchTicketsWithBodyWithResponse func(ctx context.Context, params *SearchTicketsParams, contentType string, ...) (*SearchTicketsResponse, error) + SearchTicketsWithResponse func(ctx context.Context, params *SearchTicketsParams, ...) (*SearchTicketsResponse, error) + UpdateTicketWithBodyWithResponse func(ctx context.Context, ticketId string, contentType string, body io.Reader, ...) (*UpdateTicketResponse, error) + UpdateTicketWithResponse func(ctx context.Context, ticketId string, body UpdateTicketJSONRequestBody, ...) (*UpdateTicketResponse, error) + type CreateTicketJSONBody struct + Associations ... + ObjectWriteTraceId *string + Properties map[string]string + type CreateTicketJSONBodyAssociationsAssociationCategory string + const HUBSPOTDEFINED + const INTEGRATORDEFINED + const Search + const USERDEFINED + type CreateTicketJSONRequestBody CreateTicketJSONBody + type CreateTicketResponse struct + Body []byte + HTTPResponse *http.Response + JSON201 ... + func ParseCreateTicketResponse(rsp *http.Response) (*CreateTicketResponse, error) + func (r CreateTicketResponse) Status() string + func (r CreateTicketResponse) StatusCode() int + type DeleteTicketByIdResponse struct + Body []byte + HTTPResponse *http.Response + func ParseDeleteTicketByIdResponse(rsp *http.Response) (*DeleteTicketByIdResponse, error) + func (r DeleteTicketByIdResponse) Status() string + func (r DeleteTicketByIdResponse) StatusCode() int + type EchoRouter interface + CONNECT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + DELETE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + GET func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + HEAD func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + OPTIONS func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PATCH func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + POST func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + PUT func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + TRACE func(path string, h echo.HandlerFunc, m ...echo.MiddlewareFunc) *echo.Route + type Filter struct + Operator *FilterOperator + PropertyName *string + Value *string + type FilterOperator string + const CONTAINSTOKEN + const EQ + const GT + const GTE + const HASPROPERTY + const LT + const LTE + const NEQ + const NOTCONTAINSTOKEN + const NOTHASPROPERTY + type Filters struct + Filters *[]Filter + type GetTicketByIdParams struct + Archived *Archived + Associations *Associations + IdProperty *string + Properties *Properties + PropertiesWithHistory *PropertiesWithHistory + type GetTicketByIdResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *TicketResponse + func ParseGetTicketByIdResponse(rsp *http.Response) (*GetTicketByIdResponse, error) + func (r GetTicketByIdResponse) Status() string + func (r GetTicketByIdResponse) StatusCode() int + type GetTicketsParams struct + After *string + Archived *Archived + Associations *Associations + Limit *int + Properties *Properties + PropertiesWithHistory *PropertiesWithHistory + type GetTicketsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *TicketsResponse + func ParseGetTicketsResponse(rsp *http.Response) (*GetTicketsResponse, error) + func (r GetTicketsResponse) Status() string + func (r GetTicketsResponse) StatusCode() int + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type ObjectAssociationsResponse struct + Paging Paging + Results *[]AssociationResponse + type Paging struct + Next PagingNext + type PagingNext struct + After string + Link string + type Properties = []string + type PropertiesWithHistory = []string + type PropertyHistory struct + SourceId string + SourceLabel string + SourceType string + Timestamp time.Time + UpdatedByUserId int + Value string + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type SearchTicketsJSONBody struct + After *string + Limit *int + Properties *[]string + Query *string + Schema *Filters + Sorts *[]string + type SearchTicketsJSONRequestBody SearchTicketsJSONBody + type SearchTicketsParams struct + Hapikey string + type SearchTicketsResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 *TicketsResponse + func ParseSearchTicketsResponse(rsp *http.Response) (*SearchTicketsResponse, error) + func (r SearchTicketsResponse) Status() string + func (r SearchTicketsResponse) StatusCode() int + type ServerInterface interface + CreateTicket func(ctx echo.Context) error + DeleteTicketById func(ctx echo.Context, ticketId string) error + GetTicketById func(ctx echo.Context, ticketId string, params GetTicketByIdParams) error + GetTickets func(ctx echo.Context, params GetTicketsParams) error + SearchTickets func(ctx echo.Context, params SearchTicketsParams) error + UpdateTicket func(ctx echo.Context, ticketId string) error + type ServerInterfaceWrapper struct + Handler ServerInterface + func (w *ServerInterfaceWrapper) CreateTicket(ctx echo.Context) error + func (w *ServerInterfaceWrapper) DeleteTicketById(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetTicketById(ctx echo.Context) error + func (w *ServerInterfaceWrapper) GetTickets(ctx echo.Context) error + func (w *ServerInterfaceWrapper) SearchTickets(ctx echo.Context) error + func (w *ServerInterfaceWrapper) UpdateTicket(ctx echo.Context) error + type TicketResponse struct + Archived bool + ArchivedAt time.Time + Associations map[string]ObjectAssociationsResponse + CreatedAt time.Time + Id string + Properties map[string]string + PropertiesWithHistory map[string][]PropertyHistory + UpdatedAt time.Time + type TicketsResponse struct + Paging Paging + Results []TicketResponse + type UpdateTicketJSONBody struct + ObjectWriteTraceId *string + Properties map[string]string + type UpdateTicketJSONRequestBody UpdateTicketJSONBody + type UpdateTicketResponse struct + Body []byte + HTTPResponse *http.Response + JSON200 ... + func ParseUpdateTicketResponse(rsp *http.Response) (*UpdateTicketResponse, error) + func (r UpdateTicketResponse) Status() string + func (r UpdateTicketResponse) StatusCode() int