Versions in this module Expand all Collapse all v1 v1.19.0 Feb 11, 2026 v1.18.0 Dec 1, 2025 v1.17.0 Nov 25, 2025 Changes in this version + func WithServerURL(ctx context.Context, u *url.URL) context.Context + type Client struct + func NewClient(serverURL string, opts ...ClientOption) (*Client, error) + func (c *Client) CreateIntegrationItems(ctx context.Context, request *CreateIntegrationItemsReq) (*CreateIntegrationItemsOK, error) + type ClientOption interface + func WithClient(client ht.Client) ClientOption + type ComprehensiveItem struct + Active bool + Assignee OptUser + Category OptComprehensiveItemCategory + Configuration OptConfiguration + CustomFields OptComprehensiveItemCustomFields + Description OptString + ExternalId OptNilString + ID string + Labels []string + Metadata OptComprehensiveItemMetadata + Name string + Owner OptUser + Priority int + Score OptFloat64 + Status OptComprehensiveItemStatus + Tags []string + Watchers []User + func (a ComprehensiveItem) Equal(b ComprehensiveItem, depth int) bool + func (a ComprehensiveItem) Hash() uint64 + func (s *ComprehensiveItem) Decode(d *jx.Decoder) error + func (s *ComprehensiveItem) Encode(e *jx.Encoder) + func (s *ComprehensiveItem) GetActive() bool + func (s *ComprehensiveItem) GetAssignee() OptUser + func (s *ComprehensiveItem) GetCategory() OptComprehensiveItemCategory + func (s *ComprehensiveItem) GetConfiguration() OptConfiguration + func (s *ComprehensiveItem) GetCustomFields() OptComprehensiveItemCustomFields + func (s *ComprehensiveItem) GetDescription() OptString + func (s *ComprehensiveItem) GetExternalId() OptNilString + func (s *ComprehensiveItem) GetID() string + func (s *ComprehensiveItem) GetLabels() []string + func (s *ComprehensiveItem) GetMetadata() OptComprehensiveItemMetadata + func (s *ComprehensiveItem) GetName() string + func (s *ComprehensiveItem) GetOwner() OptUser + func (s *ComprehensiveItem) GetPriority() int + func (s *ComprehensiveItem) GetScore() OptFloat64 + func (s *ComprehensiveItem) GetStatus() OptComprehensiveItemStatus + func (s *ComprehensiveItem) GetTags() []string + func (s *ComprehensiveItem) GetWatchers() []User + func (s *ComprehensiveItem) MarshalJSON() ([]byte, error) + func (s *ComprehensiveItem) SetActive(val bool) + func (s *ComprehensiveItem) SetAssignee(val OptUser) + func (s *ComprehensiveItem) SetCategory(val OptComprehensiveItemCategory) + func (s *ComprehensiveItem) SetConfiguration(val OptConfiguration) + func (s *ComprehensiveItem) SetCustomFields(val OptComprehensiveItemCustomFields) + func (s *ComprehensiveItem) SetDescription(val OptString) + func (s *ComprehensiveItem) SetExternalId(val OptNilString) + func (s *ComprehensiveItem) SetID(val string) + func (s *ComprehensiveItem) SetLabels(val []string) + func (s *ComprehensiveItem) SetMetadata(val OptComprehensiveItemMetadata) + func (s *ComprehensiveItem) SetName(val string) + func (s *ComprehensiveItem) SetOwner(val OptUser) + func (s *ComprehensiveItem) SetPriority(val int) + func (s *ComprehensiveItem) SetScore(val OptFloat64) + func (s *ComprehensiveItem) SetStatus(val OptComprehensiveItemStatus) + func (s *ComprehensiveItem) SetTags(val []string) + func (s *ComprehensiveItem) SetWatchers(val []User) + func (s *ComprehensiveItem) UnmarshalJSON(data []byte) error + func (s *ComprehensiveItem) Validate() error + type ComprehensiveItemCategory string + const ComprehensiveItemCategoryBug + const ComprehensiveItemCategoryFeature + const ComprehensiveItemCategoryTask + func (ComprehensiveItemCategory) AllValues() []ComprehensiveItemCategory + func (s *ComprehensiveItemCategory) Decode(d *jx.Decoder) error + func (s *ComprehensiveItemCategory) UnmarshalJSON(data []byte) error + func (s *ComprehensiveItemCategory) UnmarshalText(data []byte) error + func (s ComprehensiveItemCategory) Encode(e *jx.Encoder) + func (s ComprehensiveItemCategory) MarshalJSON() ([]byte, error) + func (s ComprehensiveItemCategory) MarshalText() ([]byte, error) + func (s ComprehensiveItemCategory) Validate() error + type ComprehensiveItemCustomFields map[string]string + func (s *ComprehensiveItemCustomFields) Decode(d *jx.Decoder) error + func (s *ComprehensiveItemCustomFields) UnmarshalJSON(data []byte) error + func (s ComprehensiveItemCustomFields) Encode(e *jx.Encoder) + func (s ComprehensiveItemCustomFields) MarshalJSON() ([]byte, error) + type ComprehensiveItemMetadata map[string]string + func (s *ComprehensiveItemMetadata) Decode(d *jx.Decoder) error + func (s *ComprehensiveItemMetadata) UnmarshalJSON(data []byte) error + func (s ComprehensiveItemMetadata) Encode(e *jx.Encoder) + func (s ComprehensiveItemMetadata) MarshalJSON() ([]byte, error) + type ComprehensiveItemStatus string + const ComprehensiveItemStatusArchived + const ComprehensiveItemStatusDraft + const ComprehensiveItemStatusPublished + func (ComprehensiveItemStatus) AllValues() []ComprehensiveItemStatus + func (s *ComprehensiveItemStatus) Decode(d *jx.Decoder) error + func (s *ComprehensiveItemStatus) UnmarshalJSON(data []byte) error + func (s *ComprehensiveItemStatus) UnmarshalText(data []byte) error + func (s ComprehensiveItemStatus) Encode(e *jx.Encoder) + func (s ComprehensiveItemStatus) MarshalJSON() ([]byte, error) + func (s ComprehensiveItemStatus) MarshalText() ([]byte, error) + func (s ComprehensiveItemStatus) Validate() error + type Configuration struct + Features []Feature + Settings OptConfigurationSettings + Version OptString + func (a Configuration) Equal(b Configuration, depth int) bool + func (a Configuration) Hash() uint64 + func (s *Configuration) Decode(d *jx.Decoder) error + func (s *Configuration) Encode(e *jx.Encoder) + func (s *Configuration) GetFeatures() []Feature + func (s *Configuration) GetSettings() OptConfigurationSettings + func (s *Configuration) GetVersion() OptString + func (s *Configuration) MarshalJSON() ([]byte, error) + func (s *Configuration) SetFeatures(val []Feature) + func (s *Configuration) SetSettings(val OptConfigurationSettings) + func (s *Configuration) SetVersion(val OptString) + func (s *Configuration) UnmarshalJSON(data []byte) error + type ConfigurationSettings map[string]string + func (s *ConfigurationSettings) Decode(d *jx.Decoder) error + func (s *ConfigurationSettings) UnmarshalJSON(data []byte) error + func (s ConfigurationSettings) Encode(e *jx.Encoder) + func (s ConfigurationSettings) MarshalJSON() ([]byte, error) + type CreateIntegrationItemsOK struct + Created OptInt + func (s *CreateIntegrationItemsOK) Decode(d *jx.Decoder) error + func (s *CreateIntegrationItemsOK) Encode(e *jx.Encoder) + func (s *CreateIntegrationItemsOK) GetCreated() OptInt + func (s *CreateIntegrationItemsOK) MarshalJSON() ([]byte, error) + func (s *CreateIntegrationItemsOK) SetCreated(val OptInt) + func (s *CreateIntegrationItemsOK) UnmarshalJSON(data []byte) error + type CreateIntegrationItemsReq struct + Items []ComprehensiveItem + func (s *CreateIntegrationItemsReq) Decode(d *jx.Decoder) error + func (s *CreateIntegrationItemsReq) Encode(e *jx.Encoder) + func (s *CreateIntegrationItemsReq) GetItems() []ComprehensiveItem + func (s *CreateIntegrationItemsReq) MarshalJSON() ([]byte, error) + func (s *CreateIntegrationItemsReq) SetItems(val []ComprehensiveItem) + func (s *CreateIntegrationItemsReq) UnmarshalJSON(data []byte) error + func (s *CreateIntegrationItemsReq) Validate() error + type ErrorHandler = ogenerrors.ErrorHandler + type Feature struct + Enabled OptBool + Name OptString + Parameters OptFeatureParameters + func (a Feature) Equal(b Feature, depth int) bool + func (a Feature) Hash() uint64 + func (s *Feature) Decode(d *jx.Decoder) error + func (s *Feature) Encode(e *jx.Encoder) + func (s *Feature) GetEnabled() OptBool + func (s *Feature) GetName() OptString + func (s *Feature) GetParameters() OptFeatureParameters + func (s *Feature) MarshalJSON() ([]byte, error) + func (s *Feature) SetEnabled(val OptBool) + func (s *Feature) SetName(val OptString) + func (s *Feature) SetParameters(val OptFeatureParameters) + func (s *Feature) UnmarshalJSON(data []byte) error + type FeatureParameters map[string]string + func (s *FeatureParameters) Decode(d *jx.Decoder) error + func (s *FeatureParameters) UnmarshalJSON(data []byte) error + func (s FeatureParameters) Encode(e *jx.Encoder) + func (s FeatureParameters) MarshalJSON() ([]byte, error) + type Handler interface + CreateIntegrationItems func(ctx context.Context, req *CreateIntegrationItemsReq) (*CreateIntegrationItemsOK, error) + type Invoker interface + CreateIntegrationItems func(ctx context.Context, request *CreateIntegrationItemsReq) (*CreateIntegrationItemsOK, error) + type Labeler struct + func LabelerFromContext(ctx context.Context) (*Labeler, bool) + func (l *Labeler) Add(attrs ...attribute.KeyValue) + func (l *Labeler) AttributeSet() attribute.Set + type Middleware = middleware.Middleware + type OperationName = string + const CreateIntegrationItemsOperation + type OptBool struct + Set bool + Value bool + func NewOptBool(v bool) OptBool + func (o *OptBool) Decode(d *jx.Decoder) error + func (o *OptBool) Reset() + func (o *OptBool) SetTo(v bool) + func (o OptBool) Encode(e *jx.Encoder) + func (o OptBool) Get() (v bool, ok bool) + func (o OptBool) IsSet() bool + func (o OptBool) Or(d bool) bool + func (s *OptBool) UnmarshalJSON(data []byte) error + func (s OptBool) MarshalJSON() ([]byte, error) + type OptComprehensiveItemCategory struct + Set bool + Value ComprehensiveItemCategory + func NewOptComprehensiveItemCategory(v ComprehensiveItemCategory) OptComprehensiveItemCategory + func (o *OptComprehensiveItemCategory) Decode(d *jx.Decoder) error + func (o *OptComprehensiveItemCategory) Reset() + func (o *OptComprehensiveItemCategory) SetTo(v ComprehensiveItemCategory) + func (o OptComprehensiveItemCategory) Encode(e *jx.Encoder) + func (o OptComprehensiveItemCategory) Get() (v ComprehensiveItemCategory, ok bool) + func (o OptComprehensiveItemCategory) IsSet() bool + func (o OptComprehensiveItemCategory) Or(d ComprehensiveItemCategory) ComprehensiveItemCategory + func (s *OptComprehensiveItemCategory) UnmarshalJSON(data []byte) error + func (s OptComprehensiveItemCategory) MarshalJSON() ([]byte, error) + type OptComprehensiveItemCustomFields struct + Set bool + Value ComprehensiveItemCustomFields + func NewOptComprehensiveItemCustomFields(v ComprehensiveItemCustomFields) OptComprehensiveItemCustomFields + func (o *OptComprehensiveItemCustomFields) Decode(d *jx.Decoder) error + func (o *OptComprehensiveItemCustomFields) Reset() + func (o *OptComprehensiveItemCustomFields) SetTo(v ComprehensiveItemCustomFields) + func (o OptComprehensiveItemCustomFields) Encode(e *jx.Encoder) + func (o OptComprehensiveItemCustomFields) Get() (v ComprehensiveItemCustomFields, ok bool) + func (o OptComprehensiveItemCustomFields) IsSet() bool + func (o OptComprehensiveItemCustomFields) Or(d ComprehensiveItemCustomFields) ComprehensiveItemCustomFields + func (s *OptComprehensiveItemCustomFields) UnmarshalJSON(data []byte) error + func (s OptComprehensiveItemCustomFields) MarshalJSON() ([]byte, error) + type OptComprehensiveItemMetadata struct + Set bool + Value ComprehensiveItemMetadata + func NewOptComprehensiveItemMetadata(v ComprehensiveItemMetadata) OptComprehensiveItemMetadata + func (o *OptComprehensiveItemMetadata) Decode(d *jx.Decoder) error + func (o *OptComprehensiveItemMetadata) Reset() + func (o *OptComprehensiveItemMetadata) SetTo(v ComprehensiveItemMetadata) + func (o OptComprehensiveItemMetadata) Encode(e *jx.Encoder) + func (o OptComprehensiveItemMetadata) Get() (v ComprehensiveItemMetadata, ok bool) + func (o OptComprehensiveItemMetadata) IsSet() bool + func (o OptComprehensiveItemMetadata) Or(d ComprehensiveItemMetadata) ComprehensiveItemMetadata + func (s *OptComprehensiveItemMetadata) UnmarshalJSON(data []byte) error + func (s OptComprehensiveItemMetadata) MarshalJSON() ([]byte, error) + type OptComprehensiveItemStatus struct + Set bool + Value ComprehensiveItemStatus + func NewOptComprehensiveItemStatus(v ComprehensiveItemStatus) OptComprehensiveItemStatus + func (o *OptComprehensiveItemStatus) Decode(d *jx.Decoder) error + func (o *OptComprehensiveItemStatus) Reset() + func (o *OptComprehensiveItemStatus) SetTo(v ComprehensiveItemStatus) + func (o OptComprehensiveItemStatus) Encode(e *jx.Encoder) + func (o OptComprehensiveItemStatus) Get() (v ComprehensiveItemStatus, ok bool) + func (o OptComprehensiveItemStatus) IsSet() bool + func (o OptComprehensiveItemStatus) Or(d ComprehensiveItemStatus) ComprehensiveItemStatus + func (s *OptComprehensiveItemStatus) UnmarshalJSON(data []byte) error + func (s OptComprehensiveItemStatus) MarshalJSON() ([]byte, error) + type OptConfiguration struct + Set bool + Value Configuration + func NewOptConfiguration(v Configuration) OptConfiguration + func (o *OptConfiguration) Decode(d *jx.Decoder) error + func (o *OptConfiguration) Reset() + func (o *OptConfiguration) SetTo(v Configuration) + func (o OptConfiguration) Encode(e *jx.Encoder) + func (o OptConfiguration) Get() (v Configuration, ok bool) + func (o OptConfiguration) IsSet() bool + func (o OptConfiguration) Or(d Configuration) Configuration + func (s *OptConfiguration) UnmarshalJSON(data []byte) error + func (s OptConfiguration) MarshalJSON() ([]byte, error) + type OptConfigurationSettings struct + Set bool + Value ConfigurationSettings + func NewOptConfigurationSettings(v ConfigurationSettings) OptConfigurationSettings + func (o *OptConfigurationSettings) Decode(d *jx.Decoder) error + func (o *OptConfigurationSettings) Reset() + func (o *OptConfigurationSettings) SetTo(v ConfigurationSettings) + func (o OptConfigurationSettings) Encode(e *jx.Encoder) + func (o OptConfigurationSettings) Get() (v ConfigurationSettings, ok bool) + func (o OptConfigurationSettings) IsSet() bool + func (o OptConfigurationSettings) Or(d ConfigurationSettings) ConfigurationSettings + func (s *OptConfigurationSettings) UnmarshalJSON(data []byte) error + func (s OptConfigurationSettings) MarshalJSON() ([]byte, error) + type OptFeatureParameters struct + Set bool + Value FeatureParameters + func NewOptFeatureParameters(v FeatureParameters) OptFeatureParameters + func (o *OptFeatureParameters) Decode(d *jx.Decoder) error + func (o *OptFeatureParameters) Reset() + func (o *OptFeatureParameters) SetTo(v FeatureParameters) + func (o OptFeatureParameters) Encode(e *jx.Encoder) + func (o OptFeatureParameters) Get() (v FeatureParameters, ok bool) + func (o OptFeatureParameters) IsSet() bool + func (o OptFeatureParameters) Or(d FeatureParameters) FeatureParameters + func (s *OptFeatureParameters) UnmarshalJSON(data []byte) error + func (s OptFeatureParameters) MarshalJSON() ([]byte, error) + type OptFloat64 struct + Set bool + Value float64 + func NewOptFloat64(v float64) OptFloat64 + func (o *OptFloat64) Decode(d *jx.Decoder) error + func (o *OptFloat64) Reset() + func (o *OptFloat64) SetTo(v float64) + func (o OptFloat64) Encode(e *jx.Encoder) + func (o OptFloat64) Get() (v float64, ok bool) + func (o OptFloat64) IsSet() bool + func (o OptFloat64) Or(d float64) float64 + func (s *OptFloat64) UnmarshalJSON(data []byte) error + func (s OptFloat64) MarshalJSON() ([]byte, error) + type OptInt struct + Set bool + Value int + func NewOptInt(v int) OptInt + func (o *OptInt) Decode(d *jx.Decoder) error + func (o *OptInt) Reset() + func (o *OptInt) SetTo(v int) + func (o OptInt) Encode(e *jx.Encoder) + func (o OptInt) Get() (v int, ok bool) + func (o OptInt) IsSet() bool + func (o OptInt) Or(d int) int + func (s *OptInt) UnmarshalJSON(data []byte) error + func (s OptInt) MarshalJSON() ([]byte, error) + type OptNilString struct + Null bool + Set bool + Value string + func NewOptNilString(v string) OptNilString + func (o *OptNilString) Decode(d *jx.Decoder) error + func (o *OptNilString) Reset() + func (o *OptNilString) SetTo(v string) + func (o *OptNilString) SetToNull() + func (o OptNilString) Encode(e *jx.Encoder) + func (o OptNilString) Get() (v string, ok bool) + func (o OptNilString) IsNull() bool + func (o OptNilString) IsSet() bool + func (o OptNilString) Or(d string) string + func (s *OptNilString) UnmarshalJSON(data []byte) error + func (s OptNilString) MarshalJSON() ([]byte, error) + type OptString struct + Set bool + Value string + func NewOptString(v string) OptString + func (o *OptString) Decode(d *jx.Decoder) error + func (o *OptString) Reset() + func (o *OptString) SetTo(v string) + func (o OptString) Encode(e *jx.Encoder) + func (o OptString) Get() (v string, ok bool) + func (o OptString) IsSet() bool + func (o OptString) Or(d string) string + func (s *OptString) UnmarshalJSON(data []byte) error + func (s OptString) MarshalJSON() ([]byte, error) + type OptUser struct + Set bool + Value User + func NewOptUser(v User) OptUser + func (o *OptUser) Decode(d *jx.Decoder) error + func (o *OptUser) Reset() + func (o *OptUser) SetTo(v User) + func (o OptUser) Encode(e *jx.Encoder) + func (o OptUser) Get() (v User, ok bool) + func (o OptUser) IsSet() bool + func (o OptUser) Or(d User) User + func (s *OptUser) UnmarshalJSON(data []byte) error + func (s OptUser) MarshalJSON() ([]byte, error) + type Option interface + func WithAttributes(attributes ...attribute.KeyValue) Option + func WithMeterProvider(provider metric.MeterProvider) Option + func WithTracerProvider(provider trace.TracerProvider) Option + type Route struct + func (r Route) Args() []string + func (r Route) Name() string + func (r Route) OperationID() string + func (r Route) PathPattern() string + func (r Route) Summary() string + type Server struct + func NewServer(h Handler, opts ...ServerOption) (*Server, error) + func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool) + func (s *Server) FindRoute(method, path string) (Route, bool) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + type ServerOption interface + func WithErrorHandler(h ErrorHandler) ServerOption + func WithMaxMultipartMemory(max int64) ServerOption + func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption + func WithMiddleware(m ...Middleware) ServerOption + func WithNotFound(notFound http.HandlerFunc) ServerOption + func WithPathPrefix(prefix string) ServerOption + type UnimplementedHandler struct + func (UnimplementedHandler) CreateIntegrationItems(ctx context.Context, req *CreateIntegrationItemsReq) (r *CreateIntegrationItemsOK, _ error) + type User struct + Email OptString + FullName OptString + Username string + Verified OptBool + func (a User) Equal(b User, depth int) bool + func (a User) Hash() uint64 + func (s *User) Decode(d *jx.Decoder) error + func (s *User) Encode(e *jx.Encoder) + func (s *User) GetEmail() OptString + func (s *User) GetFullName() OptString + func (s *User) GetUsername() string + func (s *User) GetVerified() OptBool + func (s *User) MarshalJSON() ([]byte, error) + func (s *User) SetEmail(val OptString) + func (s *User) SetFullName(val OptString) + func (s *User) SetUsername(val string) + func (s *User) SetVerified(val OptBool) + func (s *User) UnmarshalJSON(data []byte) error