api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRolesForBearerAuth

func GetRolesForBearerAuth(operation string) []string

GetRolesForBearerAuth returns the required roles for the given operation.

This is useful for authorization scenarios where you need to know which roles are required for an operation.

Example:

requiredRoles := GetRolesForBearerAuth(AddPetOperation)

Returns nil if the operation has no role requirements or if the operation is unknown.

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type Attachment

type Attachment struct {
	ID          OptString `json:"id"`
	DownloadURL OptString `json:"download_url"`
	FileName    OptString `json:"file_name"`
	FileSize    OptInt64  `json:"file_size"`
	ContentType OptString `json:"content_type"`
}

Ref: #/components/schemas/Attachment

func (*Attachment) Decode

func (s *Attachment) Decode(d *jx.Decoder) error

Decode decodes Attachment from json.

func (*Attachment) Encode

func (s *Attachment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Attachment) GetContentType

func (s *Attachment) GetContentType() OptString

GetContentType returns the value of ContentType.

func (*Attachment) GetDownloadURL

func (s *Attachment) GetDownloadURL() OptString

GetDownloadURL returns the value of DownloadURL.

func (*Attachment) GetFileName

func (s *Attachment) GetFileName() OptString

GetFileName returns the value of FileName.

func (*Attachment) GetFileSize

func (s *Attachment) GetFileSize() OptInt64

GetFileSize returns the value of FileSize.

func (*Attachment) GetID

func (s *Attachment) GetID() OptString

GetID returns the value of ID.

func (*Attachment) MarshalJSON

func (s *Attachment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Attachment) SetContentType

func (s *Attachment) SetContentType(val OptString)

SetContentType sets the value of ContentType.

func (*Attachment) SetDownloadURL

func (s *Attachment) SetDownloadURL(val OptString)

SetDownloadURL sets the value of DownloadURL.

func (*Attachment) SetFileName

func (s *Attachment) SetFileName(val OptString)

SetFileName sets the value of FileName.

func (*Attachment) SetFileSize

func (s *Attachment) SetFileSize(val OptInt64)

SetFileSize sets the value of FileSize.

func (*Attachment) SetID

func (s *Attachment) SetID(val OptString)

SetID sets the value of ID.

func (*Attachment) UnmarshalJSON

func (s *Attachment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type BearerAuth

type BearerAuth struct {
	Token string
	Roles []string
}

func (*BearerAuth) GetRoles

func (s *BearerAuth) GetRoles() []string

GetRoles returns the value of Roles.

func (*BearerAuth) GetToken

func (s *BearerAuth) GetToken() string

GetToken returns the value of Token.

func (*BearerAuth) SetRoles

func (s *BearerAuth) SetRoles(val []string)

SetRoles sets the value of Roles.

func (*BearerAuth) SetToken

func (s *BearerAuth) SetToken(val string)

SetToken sets the value of Token.

type Category

type Category struct {
	ID        OptString   `json:"id"`
	Name      OptString   `json:"name"`
	ParentID  OptString   `json:"parent_id"`
	ProjectID OptString   `json:"project_id"`
	CreatedAt OptDateTime `json:"created_at"`
}

Ref: #/components/schemas/Category

func (*Category) Decode

func (s *Category) Decode(d *jx.Decoder) error

Decode decodes Category from json.

func (*Category) Encode

func (s *Category) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Category) GetCreatedAt

func (s *Category) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Category) GetID

func (s *Category) GetID() OptString

GetID returns the value of ID.

func (*Category) GetName

func (s *Category) GetName() OptString

GetName returns the value of Name.

func (*Category) GetParentID

func (s *Category) GetParentID() OptString

GetParentID returns the value of ParentID.

func (*Category) GetProjectID

func (s *Category) GetProjectID() OptString

GetProjectID returns the value of ProjectID.

func (*Category) MarshalJSON

func (s *Category) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Category) SetCreatedAt

func (s *Category) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Category) SetID

func (s *Category) SetID(val OptString)

SetID sets the value of ID.

func (*Category) SetName

func (s *Category) SetName(val OptString)

SetName sets the value of Name.

func (*Category) SetParentID

func (s *Category) SetParentID(val OptString)

SetParentID sets the value of ParentID.

func (*Category) SetProjectID

func (s *Category) SetProjectID(val OptString)

SetProjectID sets the value of ProjectID.

func (*Category) UnmarshalJSON

func (s *Category) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, sec SecuritySource, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) CreateFeatureComment

func (c *Client) CreateFeatureComment(ctx context.Context, request *CommentCreateRequest, params CreateFeatureCommentParams) (*CommentResponse, error)

CreateFeatureComment invokes createFeatureComment operation.

Create a new comment on a feature.

POST /features/{feature_id}/comments

func (*Client) CreateFeatureRequirement

func (c *Client) CreateFeatureRequirement(ctx context.Context, request *RequirementCreateRequest, params CreateFeatureRequirementParams) (*RequirementResponse, error)

CreateFeatureRequirement invokes createFeatureRequirement operation.

Create a new requirement for a feature.

POST /features/{feature_id}/requirements

func (*Client) CreateIdeaComment

func (c *Client) CreateIdeaComment(ctx context.Context, request *CommentCreateRequest, params CreateIdeaCommentParams) (*CommentResponse, error)

CreateIdeaComment invokes createIdeaComment operation.

Create a new internal comment on an idea.

POST /ideas/{idea_id}/comments

func (*Client) CreateProductGoal

func (c *Client) CreateProductGoal(ctx context.Context, request *GoalCreateRequest, params CreateProductGoalParams) (*GoalResponse, error)

CreateProductGoal invokes createProductGoal operation.

Create a new goal in a product.

POST /products/{product_id}/goals

func (*Client) CreateProductInitiative

func (c *Client) CreateProductInitiative(ctx context.Context, request *InitiativeCreateRequest, params CreateProductInitiativeParams) (*InitiativeResponse, error)

CreateProductInitiative invokes createProductInitiative operation.

Create a new initiative in a product.

POST /products/{product_id}/initiatives

func (*Client) CreateProductStrategicModel

func (c *Client) CreateProductStrategicModel(ctx context.Context, request *StrategicModelCreateRequest, params CreateProductStrategicModelParams) (*StrategicModelResponse, error)

CreateProductStrategicModel invokes createProductStrategicModel operation.

Create a new strategic model in a product.

POST /products/{product_id}/strategy_models

func (*Client) CreateReleaseEpic

func (c *Client) CreateReleaseEpic(ctx context.Context, request *EpicCreateRequest, params CreateReleaseEpicParams) (*EpicResponse, error)

CreateReleaseEpic invokes createReleaseEpic operation.

Create a new epic in a release.

POST /releases/{release_id}/epics

func (*Client) CreateReleaseFeature

func (c *Client) CreateReleaseFeature(ctx context.Context, request *FeatureCreateRequest, params CreateReleaseFeatureParams) (*FeatureResponse, error)

CreateReleaseFeature invokes createReleaseFeature operation.

Create a new feature in a release.

POST /releases/{release_id}/features

func (*Client) DeleteComment

func (c *Client) DeleteComment(ctx context.Context, params DeleteCommentParams) error

DeleteComment invokes deleteComment operation.

Delete a comment.

DELETE /comments/{comment_id}

func (*Client) DeleteRequirement

func (c *Client) DeleteRequirement(ctx context.Context, params DeleteRequirementParams) error

DeleteRequirement invokes deleteRequirement operation.

Delete a requirement.

DELETE /requirements/{requirement_id}

func (*Client) GetComment

func (c *Client) GetComment(ctx context.Context, params GetCommentParams) (GetCommentRes, error)

GetComment invokes getComment operation.

Get a specific comment by ID.

GET /comments/{comment_id}

func (*Client) GetCurrentUser

func (c *Client) GetCurrentUser(ctx context.Context) (*UserResponse, error)

GetCurrentUser invokes getCurrentUser operation.

Get the currently authenticated user.

GET /me

func (*Client) GetEpic

func (c *Client) GetEpic(ctx context.Context, params GetEpicParams) (GetEpicRes, error)

GetEpic invokes getEpic operation.

Get a specific epic by ID or reference number.

GET /epics/{epic_id}

func (*Client) GetFeature

func (c *Client) GetFeature(ctx context.Context, params GetFeatureParams) (GetFeatureRes, error)

GetFeature invokes getFeature operation.

Get a specific feature by ID or reference number.

GET /features/{feature_id}

func (*Client) GetGoal

func (c *Client) GetGoal(ctx context.Context, params GetGoalParams) (GetGoalRes, error)

GetGoal invokes getGoal operation.

Get a specific goal by ID or reference number.

GET /goals/{goal_id}

func (*Client) GetIdea

func (c *Client) GetIdea(ctx context.Context, params GetIdeaParams) (*IdeaResponse, error)

GetIdea invokes getIdea operation.

Get a specific idea by ID.

GET /ideas/{idea_id}

func (*Client) GetInitiative

func (c *Client) GetInitiative(ctx context.Context, params GetInitiativeParams) (GetInitiativeRes, error)

GetInitiative invokes getInitiative operation.

Get a specific initiative by ID or reference number.

GET /initiatives/{initiative_id}

func (*Client) GetProduct

func (c *Client) GetProduct(ctx context.Context, params GetProductParams) (*ProductResponse, error)

GetProduct invokes getProduct operation.

Get a specific product by ID.

GET /products/{product_id}

func (*Client) GetRelease

func (c *Client) GetRelease(ctx context.Context, params GetReleaseParams) (*ReleaseResponse, error)

GetRelease invokes getRelease operation.

Get a specific release by ID.

GET /releases/{release_id}

func (*Client) GetRequirement

func (c *Client) GetRequirement(ctx context.Context, params GetRequirementParams) (GetRequirementRes, error)

GetRequirement invokes getRequirement operation.

Get a specific requirement by ID or reference number.

GET /requirements/{requirement_id}

func (*Client) GetStrategicModel

func (c *Client) GetStrategicModel(ctx context.Context, params GetStrategicModelParams) (GetStrategicModelRes, error)

GetStrategicModel invokes getStrategicModel operation.

Get a specific strategic model by ID or reference number.

GET /strategy_models/{strategy_model_id}

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, params GetUserParams) (*UserResponse, error)

GetUser invokes getUser operation.

Get a specific user by ID.

GET /users/{user_id}

func (*Client) ListEpicComments

func (c *Client) ListEpicComments(ctx context.Context, params ListEpicCommentsParams) (*CommentsResponse, error)

ListEpicComments invokes listEpicComments operation.

Get all comments on an epic.

GET /epics/{epic_id}/comments

func (*Client) ListEpics

func (c *Client) ListEpics(ctx context.Context, params ListEpicsParams) (*EpicsResponse, error)

ListEpics invokes listEpics operation.

Get all epics with optional filtering.

GET /epics

func (*Client) ListFeatureComments

func (c *Client) ListFeatureComments(ctx context.Context, params ListFeatureCommentsParams) (*CommentsResponse, error)

ListFeatureComments invokes listFeatureComments operation.

Get all comments on a feature.

GET /features/{feature_id}/comments

func (*Client) ListFeatureRequirements

func (c *Client) ListFeatureRequirements(ctx context.Context, params ListFeatureRequirementsParams) (*RequirementsResponse, error)

ListFeatureRequirements invokes listFeatureRequirements operation.

Get all requirements for a feature.

GET /features/{feature_id}/requirements

func (*Client) ListFeatures

func (c *Client) ListFeatures(ctx context.Context, params ListFeaturesParams) (*FeaturesResponse, error)

ListFeatures invokes listFeatures operation.

Get all features with optional filtering.

GET /features

func (*Client) ListGoalComments

func (c *Client) ListGoalComments(ctx context.Context, params ListGoalCommentsParams) (*CommentsResponse, error)

ListGoalComments invokes listGoalComments operation.

Get all comments on a goal.

GET /goals/{goal_id}/comments

func (*Client) ListGoals

func (c *Client) ListGoals(ctx context.Context, params ListGoalsParams) (*GoalsResponse, error)

ListGoals invokes listGoals operation.

Get all goals with optional filtering.

GET /goals

func (*Client) ListIdeaComments

func (c *Client) ListIdeaComments(ctx context.Context, params ListIdeaCommentsParams) (*CommentsResponse, error)

ListIdeaComments invokes listIdeaComments operation.

Get all comments on an idea.

GET /ideas/{idea_id}/comments

func (*Client) ListIdeas

func (c *Client) ListIdeas(ctx context.Context, params ListIdeasParams) (*IdeasResponse, error)

ListIdeas invokes listIdeas operation.

Get all ideas with optional filtering.

GET /ideas

func (*Client) ListInitiativeComments

func (c *Client) ListInitiativeComments(ctx context.Context, params ListInitiativeCommentsParams) (*CommentsResponse, error)

ListInitiativeComments invokes listInitiativeComments operation.

Get all comments on an initiative.

GET /initiatives/{initiative_id}/comments

func (*Client) ListInitiatives

func (c *Client) ListInitiatives(ctx context.Context, params ListInitiativesParams) (*InitiativesResponse, error)

ListInitiatives invokes listInitiatives operation.

Get all initiatives with optional filtering.

GET /initiatives

func (*Client) ListProductComments

func (c *Client) ListProductComments(ctx context.Context, params ListProductCommentsParams) (*CommentsResponse, error)

ListProductComments invokes listProductComments operation.

Get all comments in a product.

GET /products/{product_id}/comments

func (*Client) ListProductEpics

func (c *Client) ListProductEpics(ctx context.Context, params ListProductEpicsParams) (*EpicsResponse, error)

ListProductEpics invokes listProductEpics operation.

Get all epics for a product.

GET /products/{product_id}/epics

func (*Client) ListProductGoals

func (c *Client) ListProductGoals(ctx context.Context, params ListProductGoalsParams) (*GoalsResponse, error)

ListProductGoals invokes listProductGoals operation.

Get all goals for a product.

GET /products/{product_id}/goals

func (*Client) ListProductInitiatives

func (c *Client) ListProductInitiatives(ctx context.Context, params ListProductInitiativesParams) (*InitiativesResponse, error)

ListProductInitiatives invokes listProductInitiatives operation.

Get all initiatives for a product.

GET /products/{product_id}/initiatives

func (*Client) ListProductReleases

func (c *Client) ListProductReleases(ctx context.Context, params ListProductReleasesParams) (*ReleasesResponse, error)

ListProductReleases invokes listProductReleases operation.

Get all releases for a product.

GET /products/{product_id}/releases

func (*Client) ListProductStrategicModels

func (c *Client) ListProductStrategicModels(ctx context.Context, params ListProductStrategicModelsParams) (*StrategicModelsResponse, error)

ListProductStrategicModels invokes listProductStrategicModels operation.

Get all strategic models for a product.

GET /products/{product_id}/strategy_models

func (*Client) ListProductWorkflows

func (c *Client) ListProductWorkflows(ctx context.Context, params ListProductWorkflowsParams) (*WorkflowsResponse, error)

ListProductWorkflows invokes listProductWorkflows operation.

Get all workflows and their statuses for a product.

GET /products/{product_id}/workflows

func (*Client) ListProducts

func (c *Client) ListProducts(ctx context.Context, params ListProductsParams) (*ProductsResponse, error)

ListProducts invokes listProducts operation.

Get all products (workspaces).

GET /products

func (*Client) ListReleaseComments

func (c *Client) ListReleaseComments(ctx context.Context, params ListReleaseCommentsParams) (*CommentsResponse, error)

ListReleaseComments invokes listReleaseComments operation.

Get all comments on a release.

GET /releases/{release_id}/comments

func (*Client) ListReleaseFeatures

func (c *Client) ListReleaseFeatures(ctx context.Context, params ListReleaseFeaturesParams) (*FeaturesResponse, error)

ListReleaseFeatures invokes listReleaseFeatures operation.

Get all features for a specific release.

GET /releases/{release_id}/features

func (*Client) ListStrategicModels

func (c *Client) ListStrategicModels(ctx context.Context, params ListStrategicModelsParams) (*StrategicModelsResponse, error)

ListStrategicModels invokes listStrategicModels operation.

Get all strategic models (canvases) with optional filtering.

GET /strategy_models

func (*Client) ListUsers

func (c *Client) ListUsers(ctx context.Context, params ListUsersParams) (*UsersResponse, error)

ListUsers invokes listUsers operation.

Get all users in the account.

GET /users

func (*Client) UpdateComment

func (c *Client) UpdateComment(ctx context.Context, request *CommentUpdateRequest, params UpdateCommentParams) (*CommentResponse, error)

UpdateComment invokes updateComment operation.

Update an existing comment.

PUT /comments/{comment_id}

func (*Client) UpdateEpic

func (c *Client) UpdateEpic(ctx context.Context, request *EpicUpdateRequest, params UpdateEpicParams) (*EpicResponse, error)

UpdateEpic invokes updateEpic operation.

Update an existing epic.

PUT /epics/{epic_id}

func (*Client) UpdateFeature

func (c *Client) UpdateFeature(ctx context.Context, request *FeatureUpdateRequest, params UpdateFeatureParams) (*FeatureResponse, error)

UpdateFeature invokes updateFeature operation.

Update an existing feature.

PUT /features/{feature_id}

func (*Client) UpdateGoal

func (c *Client) UpdateGoal(ctx context.Context, request *GoalUpdateRequest, params UpdateGoalParams) (*GoalResponse, error)

UpdateGoal invokes updateGoal operation.

Update an existing goal.

PUT /goals/{goal_id}

func (*Client) UpdateInitiative

func (c *Client) UpdateInitiative(ctx context.Context, request *InitiativeUpdateRequest, params UpdateInitiativeParams) (*InitiativeResponse, error)

UpdateInitiative invokes updateInitiative operation.

Update an existing initiative.

PUT /initiatives/{initiative_id}

func (*Client) UpdateRelease

func (c *Client) UpdateRelease(ctx context.Context, request *ReleaseUpdateRequest, params UpdateReleaseParams) (*ReleaseResponse, error)

UpdateRelease invokes updateRelease operation.

Update an existing release.

PUT /releases/{release_id}

func (*Client) UpdateRequirement

func (c *Client) UpdateRequirement(ctx context.Context, request *RequirementUpdateRequest, params UpdateRequirementParams) (*RequirementResponse, error)

UpdateRequirement invokes updateRequirement operation.

Update an existing requirement.

PUT /requirements/{requirement_id}

func (*Client) UpdateStrategicModel

UpdateStrategicModel invokes updateStrategicModel operation.

Update an existing strategic model.

PUT /strategy_models/{strategy_model_id}

func (*Client) UpdateStrategicModelComponent

UpdateStrategicModelComponent invokes updateStrategicModelComponent operation.

Update a component (block) within a strategic model.

PUT /strategy_models/{strategy_model_id}/components/{component_id}

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type Comment

type Comment struct {
	ID string `json:"id"`
	// Comment text content.
	Body        string       `json:"body"`
	CreatedAt   time.Time    `json:"created_at"`
	UpdatedAt   time.Time    `json:"updated_at"`
	User        OptUser      `json:"user"`
	Attachments []Attachment `json:"attachments"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource    OptString      `json:"resource"`
	Commentable OptCommentable `json:"commentable"`
}

Ref: #/components/schemas/Comment

func (*Comment) Decode

func (s *Comment) Decode(d *jx.Decoder) error

Decode decodes Comment from json.

func (*Comment) Encode

func (s *Comment) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Comment) GetAttachments

func (s *Comment) GetAttachments() []Attachment

GetAttachments returns the value of Attachments.

func (*Comment) GetBody

func (s *Comment) GetBody() string

GetBody returns the value of Body.

func (*Comment) GetCommentable

func (s *Comment) GetCommentable() OptCommentable

GetCommentable returns the value of Commentable.

func (*Comment) GetCreatedAt

func (s *Comment) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Comment) GetID

func (s *Comment) GetID() string

GetID returns the value of ID.

func (*Comment) GetResource

func (s *Comment) GetResource() OptString

GetResource returns the value of Resource.

func (*Comment) GetURL

func (s *Comment) GetURL() OptString

GetURL returns the value of URL.

func (*Comment) GetUpdatedAt

func (s *Comment) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Comment) GetUser

func (s *Comment) GetUser() OptUser

GetUser returns the value of User.

func (*Comment) MarshalJSON

func (s *Comment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Comment) SetAttachments

func (s *Comment) SetAttachments(val []Attachment)

SetAttachments sets the value of Attachments.

func (*Comment) SetBody

func (s *Comment) SetBody(val string)

SetBody sets the value of Body.

func (*Comment) SetCommentable

func (s *Comment) SetCommentable(val OptCommentable)

SetCommentable sets the value of Commentable.

func (*Comment) SetCreatedAt

func (s *Comment) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Comment) SetID

func (s *Comment) SetID(val string)

SetID sets the value of ID.

func (*Comment) SetResource

func (s *Comment) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Comment) SetURL

func (s *Comment) SetURL(val OptString)

SetURL sets the value of URL.

func (*Comment) SetUpdatedAt

func (s *Comment) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Comment) SetUser

func (s *Comment) SetUser(val OptUser)

SetUser sets the value of User.

func (*Comment) UnmarshalJSON

func (s *Comment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Comment) Validate

func (s *Comment) Validate() error

type CommentCreate

type CommentCreate struct {
	// Comment text content.
	Body string `json:"body"`
}

Ref: #/components/schemas/CommentCreate

func (*CommentCreate) Decode

func (s *CommentCreate) Decode(d *jx.Decoder) error

Decode decodes CommentCreate from json.

func (*CommentCreate) Encode

func (s *CommentCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentCreate) GetBody

func (s *CommentCreate) GetBody() string

GetBody returns the value of Body.

func (*CommentCreate) MarshalJSON

func (s *CommentCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentCreate) SetBody

func (s *CommentCreate) SetBody(val string)

SetBody sets the value of Body.

func (*CommentCreate) UnmarshalJSON

func (s *CommentCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommentCreateRequest

type CommentCreateRequest struct {
	Comment CommentCreate `json:"comment"`
}

Ref: #/components/schemas/CommentCreateRequest

func (*CommentCreateRequest) Decode

func (s *CommentCreateRequest) Decode(d *jx.Decoder) error

Decode decodes CommentCreateRequest from json.

func (*CommentCreateRequest) Encode

func (s *CommentCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentCreateRequest) GetComment

func (s *CommentCreateRequest) GetComment() CommentCreate

GetComment returns the value of Comment.

func (*CommentCreateRequest) MarshalJSON

func (s *CommentCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentCreateRequest) SetComment

func (s *CommentCreateRequest) SetComment(val CommentCreate)

SetComment sets the value of Comment.

func (*CommentCreateRequest) UnmarshalJSON

func (s *CommentCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommentMeta

type CommentMeta struct {
	ID        OptString   `json:"id"`
	Body      OptString   `json:"body"`
	CreatedAt OptDateTime `json:"created_at"`
	URL       OptString   `json:"url"`
	Resource  OptString   `json:"resource"`
	User      OptUser     `json:"user"`
}

Ref: #/components/schemas/CommentMeta

func (*CommentMeta) Decode

func (s *CommentMeta) Decode(d *jx.Decoder) error

Decode decodes CommentMeta from json.

func (*CommentMeta) Encode

func (s *CommentMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentMeta) GetBody

func (s *CommentMeta) GetBody() OptString

GetBody returns the value of Body.

func (*CommentMeta) GetCreatedAt

func (s *CommentMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*CommentMeta) GetID

func (s *CommentMeta) GetID() OptString

GetID returns the value of ID.

func (*CommentMeta) GetResource

func (s *CommentMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*CommentMeta) GetURL

func (s *CommentMeta) GetURL() OptString

GetURL returns the value of URL.

func (*CommentMeta) GetUser

func (s *CommentMeta) GetUser() OptUser

GetUser returns the value of User.

func (*CommentMeta) MarshalJSON

func (s *CommentMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentMeta) SetBody

func (s *CommentMeta) SetBody(val OptString)

SetBody sets the value of Body.

func (*CommentMeta) SetCreatedAt

func (s *CommentMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*CommentMeta) SetID

func (s *CommentMeta) SetID(val OptString)

SetID sets the value of ID.

func (*CommentMeta) SetResource

func (s *CommentMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*CommentMeta) SetURL

func (s *CommentMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*CommentMeta) SetUser

func (s *CommentMeta) SetUser(val OptUser)

SetUser sets the value of User.

func (*CommentMeta) UnmarshalJSON

func (s *CommentMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CommentMeta) Validate

func (s *CommentMeta) Validate() error

type CommentResponse

type CommentResponse struct {
	Comment OptComment `json:"comment"`
}

Ref: #/components/schemas/CommentResponse

func (*CommentResponse) Decode

func (s *CommentResponse) Decode(d *jx.Decoder) error

Decode decodes CommentResponse from json.

func (*CommentResponse) Encode

func (s *CommentResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentResponse) GetComment

func (s *CommentResponse) GetComment() OptComment

GetComment returns the value of Comment.

func (*CommentResponse) MarshalJSON

func (s *CommentResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentResponse) SetComment

func (s *CommentResponse) SetComment(val OptComment)

SetComment sets the value of Comment.

func (*CommentResponse) UnmarshalJSON

func (s *CommentResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CommentResponse) Validate

func (s *CommentResponse) Validate() error

type CommentUpdate

type CommentUpdate struct {
	// Updated comment text content.
	Body OptString `json:"body"`
}

Ref: #/components/schemas/CommentUpdate

func (*CommentUpdate) Decode

func (s *CommentUpdate) Decode(d *jx.Decoder) error

Decode decodes CommentUpdate from json.

func (*CommentUpdate) Encode

func (s *CommentUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentUpdate) GetBody

func (s *CommentUpdate) GetBody() OptString

GetBody returns the value of Body.

func (*CommentUpdate) MarshalJSON

func (s *CommentUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentUpdate) SetBody

func (s *CommentUpdate) SetBody(val OptString)

SetBody sets the value of Body.

func (*CommentUpdate) UnmarshalJSON

func (s *CommentUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommentUpdateRequest

type CommentUpdateRequest struct {
	Comment CommentUpdate `json:"comment"`
}

Ref: #/components/schemas/CommentUpdateRequest

func (*CommentUpdateRequest) Decode

func (s *CommentUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes CommentUpdateRequest from json.

func (*CommentUpdateRequest) Encode

func (s *CommentUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentUpdateRequest) GetComment

func (s *CommentUpdateRequest) GetComment() CommentUpdate

GetComment returns the value of Comment.

func (*CommentUpdateRequest) MarshalJSON

func (s *CommentUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentUpdateRequest) SetComment

func (s *CommentUpdateRequest) SetComment(val CommentUpdate)

SetComment sets the value of Comment.

func (*CommentUpdateRequest) UnmarshalJSON

func (s *CommentUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Commentable

type Commentable struct {
	// Type of commentable (Feature, Idea, Release, etc.).
	Type      OptString `json:"type"`
	ID        OptString `json:"id"`
	ProductID OptString `json:"product_id"`
	URL       OptString `json:"url"`
	Resource  OptString `json:"resource"`
}

The object that was commented on. Ref: #/components/schemas/Commentable

func (*Commentable) Decode

func (s *Commentable) Decode(d *jx.Decoder) error

Decode decodes Commentable from json.

func (*Commentable) Encode

func (s *Commentable) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Commentable) GetID

func (s *Commentable) GetID() OptString

GetID returns the value of ID.

func (*Commentable) GetProductID

func (s *Commentable) GetProductID() OptString

GetProductID returns the value of ProductID.

func (*Commentable) GetResource

func (s *Commentable) GetResource() OptString

GetResource returns the value of Resource.

func (*Commentable) GetType

func (s *Commentable) GetType() OptString

GetType returns the value of Type.

func (*Commentable) GetURL

func (s *Commentable) GetURL() OptString

GetURL returns the value of URL.

func (*Commentable) MarshalJSON

func (s *Commentable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Commentable) SetID

func (s *Commentable) SetID(val OptString)

SetID sets the value of ID.

func (*Commentable) SetProductID

func (s *Commentable) SetProductID(val OptString)

SetProductID sets the value of ProductID.

func (*Commentable) SetResource

func (s *Commentable) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Commentable) SetType

func (s *Commentable) SetType(val OptString)

SetType sets the value of Type.

func (*Commentable) SetURL

func (s *Commentable) SetURL(val OptString)

SetURL sets the value of URL.

func (*Commentable) UnmarshalJSON

func (s *Commentable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommentsResponse

type CommentsResponse struct {
	Comments   []CommentMeta `json:"comments"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/CommentsResponse

func (*CommentsResponse) Decode

func (s *CommentsResponse) Decode(d *jx.Decoder) error

Decode decodes CommentsResponse from json.

func (*CommentsResponse) Encode

func (s *CommentsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommentsResponse) GetComments

func (s *CommentsResponse) GetComments() []CommentMeta

GetComments returns the value of Comments.

func (*CommentsResponse) GetPagination

func (s *CommentsResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*CommentsResponse) MarshalJSON

func (s *CommentsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommentsResponse) SetComments

func (s *CommentsResponse) SetComments(val []CommentMeta)

SetComments sets the value of Comments.

func (*CommentsResponse) SetPagination

func (s *CommentsResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*CommentsResponse) UnmarshalJSON

func (s *CommentsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CommentsResponse) Validate

func (s *CommentsResponse) Validate() error

type CreateFeatureCommentParams

type CreateFeatureCommentParams struct {
	// Feature ID or reference number.
	FeatureID string
}

CreateFeatureCommentParams is parameters of createFeatureComment operation.

type CreateFeatureRequirementParams

type CreateFeatureRequirementParams struct {
	// Feature ID or reference number.
	FeatureID string
}

CreateFeatureRequirementParams is parameters of createFeatureRequirement operation.

type CreateIdeaCommentParams

type CreateIdeaCommentParams struct {
	// Idea ID or reference number.
	IdeaID string
}

CreateIdeaCommentParams is parameters of createIdeaComment operation.

type CreateProductGoalParams

type CreateProductGoalParams struct {
	// Product ID or reference prefix.
	ProductID string
}

CreateProductGoalParams is parameters of createProductGoal operation.

type CreateProductInitiativeParams

type CreateProductInitiativeParams struct {
	// Product ID or reference prefix.
	ProductID string
}

CreateProductInitiativeParams is parameters of createProductInitiative operation.

type CreateProductStrategicModelParams

type CreateProductStrategicModelParams struct {
	// Product ID or reference prefix.
	ProductID string
}

CreateProductStrategicModelParams is parameters of createProductStrategicModel operation.

type CreateReleaseEpicParams

type CreateReleaseEpicParams struct {
	// Release ID or reference number.
	ReleaseID string
}

CreateReleaseEpicParams is parameters of createReleaseEpic operation.

type CreateReleaseFeatureParams

type CreateReleaseFeatureParams struct {
	// Release ID or reference number.
	ReleaseID string
}

CreateReleaseFeatureParams is parameters of createReleaseFeature operation.

type CustomField

type CustomField struct {
	Key   OptString `json:"key"`
	Name  OptString `json:"name"`
	Value jx.Raw    `json:"value"`
	Type  OptString `json:"type"`
}

Ref: #/components/schemas/CustomField

func (*CustomField) Decode

func (s *CustomField) Decode(d *jx.Decoder) error

Decode decodes CustomField from json.

func (*CustomField) Encode

func (s *CustomField) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CustomField) GetKey

func (s *CustomField) GetKey() OptString

GetKey returns the value of Key.

func (*CustomField) GetName

func (s *CustomField) GetName() OptString

GetName returns the value of Name.

func (*CustomField) GetType

func (s *CustomField) GetType() OptString

GetType returns the value of Type.

func (*CustomField) GetValue

func (s *CustomField) GetValue() jx.Raw

GetValue returns the value of Value.

func (*CustomField) MarshalJSON

func (s *CustomField) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CustomField) SetKey

func (s *CustomField) SetKey(val OptString)

SetKey sets the value of Key.

func (*CustomField) SetName

func (s *CustomField) SetName(val OptString)

SetName sets the value of Name.

func (*CustomField) SetType

func (s *CustomField) SetType(val OptString)

SetType sets the value of Type.

func (*CustomField) SetValue

func (s *CustomField) SetValue(val jx.Raw)

SetValue sets the value of Value.

func (*CustomField) UnmarshalJSON

func (s *CustomField) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DeleteCommentNoContent

type DeleteCommentNoContent struct{}

DeleteCommentNoContent is response for DeleteComment operation.

type DeleteCommentParams

type DeleteCommentParams struct {
	// Comment ID.
	CommentID string
}

DeleteCommentParams is parameters of deleteComment operation.

type DeleteRequirementNoContent

type DeleteRequirementNoContent struct{}

DeleteRequirementNoContent is response for DeleteRequirement operation.

type DeleteRequirementParams

type DeleteRequirementParams struct {
	// Requirement ID or reference number.
	RequirementID string
}

DeleteRequirementParams is parameters of deleteRequirement operation.

type Epic

type Epic struct {
	ID           string    `json:"id"`
	ReferenceNum string    `json:"reference_num"`
	Name         string    `json:"name"`
	Description  OptString `json:"description"`
	// Progress percentage (0-100).
	Progress OptFloat32 `json:"progress"`
	// Source of progress calculation.
	ProgressSource OptString   `json:"progress_source"`
	StartDate      OptDate     `json:"start_date"`
	DueDate        OptDate     `json:"due_date"`
	CreatedAt      time.Time   `json:"created_at"`
	UpdatedAt      OptDateTime `json:"updated_at"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource       OptString         `json:"resource"`
	CommentsCount  OptInt64          `json:"comments_count"`
	Position       OptInt64          `json:"position"`
	Color          OptString         `json:"color"`
	WorkflowStatus OptWorkflowStatus `json:"workflow_status"`
	Release        OptRelease        `json:"release"`
	Initiative     OptInitiativeMeta `json:"initiative"`
	Tags           []string          `json:"tags"`
}

Ref: #/components/schemas/Epic

func (*Epic) Decode

func (s *Epic) Decode(d *jx.Decoder) error

Decode decodes Epic from json.

func (*Epic) Encode

func (s *Epic) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Epic) GetColor

func (s *Epic) GetColor() OptString

GetColor returns the value of Color.

func (*Epic) GetCommentsCount

func (s *Epic) GetCommentsCount() OptInt64

GetCommentsCount returns the value of CommentsCount.

func (*Epic) GetCreatedAt

func (s *Epic) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Epic) GetDescription

func (s *Epic) GetDescription() OptString

GetDescription returns the value of Description.

func (*Epic) GetDueDate

func (s *Epic) GetDueDate() OptDate

GetDueDate returns the value of DueDate.

func (*Epic) GetID

func (s *Epic) GetID() string

GetID returns the value of ID.

func (*Epic) GetInitiative

func (s *Epic) GetInitiative() OptInitiativeMeta

GetInitiative returns the value of Initiative.

func (*Epic) GetName

func (s *Epic) GetName() string

GetName returns the value of Name.

func (*Epic) GetPosition

func (s *Epic) GetPosition() OptInt64

GetPosition returns the value of Position.

func (*Epic) GetProgress

func (s *Epic) GetProgress() OptFloat32

GetProgress returns the value of Progress.

func (*Epic) GetProgressSource

func (s *Epic) GetProgressSource() OptString

GetProgressSource returns the value of ProgressSource.

func (*Epic) GetReferenceNum

func (s *Epic) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*Epic) GetRelease

func (s *Epic) GetRelease() OptRelease

GetRelease returns the value of Release.

func (*Epic) GetResource

func (s *Epic) GetResource() OptString

GetResource returns the value of Resource.

func (*Epic) GetStartDate

func (s *Epic) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*Epic) GetTags

func (s *Epic) GetTags() []string

GetTags returns the value of Tags.

func (*Epic) GetURL

func (s *Epic) GetURL() OptString

GetURL returns the value of URL.

func (*Epic) GetUpdatedAt

func (s *Epic) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Epic) GetWorkflowStatus

func (s *Epic) GetWorkflowStatus() OptWorkflowStatus

GetWorkflowStatus returns the value of WorkflowStatus.

func (*Epic) MarshalJSON

func (s *Epic) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Epic) SetColor

func (s *Epic) SetColor(val OptString)

SetColor sets the value of Color.

func (*Epic) SetCommentsCount

func (s *Epic) SetCommentsCount(val OptInt64)

SetCommentsCount sets the value of CommentsCount.

func (*Epic) SetCreatedAt

func (s *Epic) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Epic) SetDescription

func (s *Epic) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Epic) SetDueDate

func (s *Epic) SetDueDate(val OptDate)

SetDueDate sets the value of DueDate.

func (*Epic) SetID

func (s *Epic) SetID(val string)

SetID sets the value of ID.

func (*Epic) SetInitiative

func (s *Epic) SetInitiative(val OptInitiativeMeta)

SetInitiative sets the value of Initiative.

func (*Epic) SetName

func (s *Epic) SetName(val string)

SetName sets the value of Name.

func (*Epic) SetPosition

func (s *Epic) SetPosition(val OptInt64)

SetPosition sets the value of Position.

func (*Epic) SetProgress

func (s *Epic) SetProgress(val OptFloat32)

SetProgress sets the value of Progress.

func (*Epic) SetProgressSource

func (s *Epic) SetProgressSource(val OptString)

SetProgressSource sets the value of ProgressSource.

func (*Epic) SetReferenceNum

func (s *Epic) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*Epic) SetRelease

func (s *Epic) SetRelease(val OptRelease)

SetRelease sets the value of Release.

func (*Epic) SetResource

func (s *Epic) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Epic) SetStartDate

func (s *Epic) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*Epic) SetTags

func (s *Epic) SetTags(val []string)

SetTags sets the value of Tags.

func (*Epic) SetURL

func (s *Epic) SetURL(val OptString)

SetURL sets the value of URL.

func (*Epic) SetUpdatedAt

func (s *Epic) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Epic) SetWorkflowStatus

func (s *Epic) SetWorkflowStatus(val OptWorkflowStatus)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*Epic) UnmarshalJSON

func (s *Epic) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Epic) Validate

func (s *Epic) Validate() error

type EpicCreate

type EpicCreate struct {
	// Epic name.
	Name string `json:"name"`
	// Epic description (HTML allowed).
	Description OptString `json:"description"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
	// Epic start date.
	StartDate OptDate `json:"start_date"`
	// Epic due date.
	DueDate OptDate `json:"due_date"`
	// Epic color.
	Color OptString `json:"color"`
	// Initiative ID or reference.
	Initiative OptString `json:"initiative"`
}

Ref: #/components/schemas/EpicCreate

func (*EpicCreate) Decode

func (s *EpicCreate) Decode(d *jx.Decoder) error

Decode decodes EpicCreate from json.

func (*EpicCreate) Encode

func (s *EpicCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicCreate) GetColor

func (s *EpicCreate) GetColor() OptString

GetColor returns the value of Color.

func (*EpicCreate) GetDescription

func (s *EpicCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*EpicCreate) GetDueDate

func (s *EpicCreate) GetDueDate() OptDate

GetDueDate returns the value of DueDate.

func (*EpicCreate) GetInitiative

func (s *EpicCreate) GetInitiative() OptString

GetInitiative returns the value of Initiative.

func (*EpicCreate) GetName

func (s *EpicCreate) GetName() string

GetName returns the value of Name.

func (*EpicCreate) GetStartDate

func (s *EpicCreate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*EpicCreate) GetWorkflowStatus

func (s *EpicCreate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*EpicCreate) MarshalJSON

func (s *EpicCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicCreate) SetColor

func (s *EpicCreate) SetColor(val OptString)

SetColor sets the value of Color.

func (*EpicCreate) SetDescription

func (s *EpicCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*EpicCreate) SetDueDate

func (s *EpicCreate) SetDueDate(val OptDate)

SetDueDate sets the value of DueDate.

func (*EpicCreate) SetInitiative

func (s *EpicCreate) SetInitiative(val OptString)

SetInitiative sets the value of Initiative.

func (*EpicCreate) SetName

func (s *EpicCreate) SetName(val string)

SetName sets the value of Name.

func (*EpicCreate) SetStartDate

func (s *EpicCreate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*EpicCreate) SetWorkflowStatus

func (s *EpicCreate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*EpicCreate) UnmarshalJSON

func (s *EpicCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EpicCreateRequest

type EpicCreateRequest struct {
	Epic EpicCreate `json:"epic"`
}

Ref: #/components/schemas/EpicCreateRequest

func (*EpicCreateRequest) Decode

func (s *EpicCreateRequest) Decode(d *jx.Decoder) error

Decode decodes EpicCreateRequest from json.

func (*EpicCreateRequest) Encode

func (s *EpicCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicCreateRequest) GetEpic

func (s *EpicCreateRequest) GetEpic() EpicCreate

GetEpic returns the value of Epic.

func (*EpicCreateRequest) MarshalJSON

func (s *EpicCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicCreateRequest) SetEpic

func (s *EpicCreateRequest) SetEpic(val EpicCreate)

SetEpic sets the value of Epic.

func (*EpicCreateRequest) UnmarshalJSON

func (s *EpicCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EpicMeta

type EpicMeta struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
}

Ref: #/components/schemas/EpicMeta

func (*EpicMeta) Decode

func (s *EpicMeta) Decode(d *jx.Decoder) error

Decode decodes EpicMeta from json.

func (*EpicMeta) Encode

func (s *EpicMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicMeta) GetCreatedAt

func (s *EpicMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*EpicMeta) GetID

func (s *EpicMeta) GetID() OptString

GetID returns the value of ID.

func (*EpicMeta) GetName

func (s *EpicMeta) GetName() OptString

GetName returns the value of Name.

func (*EpicMeta) GetReferenceNum

func (s *EpicMeta) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*EpicMeta) GetResource

func (s *EpicMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*EpicMeta) GetURL

func (s *EpicMeta) GetURL() OptString

GetURL returns the value of URL.

func (*EpicMeta) MarshalJSON

func (s *EpicMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicMeta) SetCreatedAt

func (s *EpicMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*EpicMeta) SetID

func (s *EpicMeta) SetID(val OptString)

SetID sets the value of ID.

func (*EpicMeta) SetName

func (s *EpicMeta) SetName(val OptString)

SetName sets the value of Name.

func (*EpicMeta) SetReferenceNum

func (s *EpicMeta) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*EpicMeta) SetResource

func (s *EpicMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*EpicMeta) SetURL

func (s *EpicMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*EpicMeta) UnmarshalJSON

func (s *EpicMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type EpicResponse

type EpicResponse struct {
	Epic OptEpic `json:"epic"`
}

Ref: #/components/schemas/EpicResponse

func (*EpicResponse) Decode

func (s *EpicResponse) Decode(d *jx.Decoder) error

Decode decodes EpicResponse from json.

func (*EpicResponse) Encode

func (s *EpicResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicResponse) GetEpic

func (s *EpicResponse) GetEpic() OptEpic

GetEpic returns the value of Epic.

func (*EpicResponse) MarshalJSON

func (s *EpicResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicResponse) SetEpic

func (s *EpicResponse) SetEpic(val OptEpic)

SetEpic sets the value of Epic.

func (*EpicResponse) UnmarshalJSON

func (s *EpicResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EpicResponse) Validate

func (s *EpicResponse) Validate() error

type EpicUpdate

type EpicUpdate struct {
	// Epic name.
	Name OptString `json:"name"`
	// Epic description (HTML allowed).
	Description OptString `json:"description"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
	StartDate      OptDate   `json:"start_date"`
	DueDate        OptDate   `json:"due_date"`
	// Progress percentage (0-100) when progress_source is manual.
	Progress OptFloat32 `json:"progress"`
	Color    OptString  `json:"color"`
	// Initiative ID or reference.
	Initiative OptString `json:"initiative"`
}

Ref: #/components/schemas/EpicUpdate

func (*EpicUpdate) Decode

func (s *EpicUpdate) Decode(d *jx.Decoder) error

Decode decodes EpicUpdate from json.

func (*EpicUpdate) Encode

func (s *EpicUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicUpdate) GetColor

func (s *EpicUpdate) GetColor() OptString

GetColor returns the value of Color.

func (*EpicUpdate) GetDescription

func (s *EpicUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*EpicUpdate) GetDueDate

func (s *EpicUpdate) GetDueDate() OptDate

GetDueDate returns the value of DueDate.

func (*EpicUpdate) GetInitiative

func (s *EpicUpdate) GetInitiative() OptString

GetInitiative returns the value of Initiative.

func (*EpicUpdate) GetName

func (s *EpicUpdate) GetName() OptString

GetName returns the value of Name.

func (*EpicUpdate) GetProgress

func (s *EpicUpdate) GetProgress() OptFloat32

GetProgress returns the value of Progress.

func (*EpicUpdate) GetStartDate

func (s *EpicUpdate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*EpicUpdate) GetWorkflowStatus

func (s *EpicUpdate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*EpicUpdate) MarshalJSON

func (s *EpicUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicUpdate) SetColor

func (s *EpicUpdate) SetColor(val OptString)

SetColor sets the value of Color.

func (*EpicUpdate) SetDescription

func (s *EpicUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*EpicUpdate) SetDueDate

func (s *EpicUpdate) SetDueDate(val OptDate)

SetDueDate sets the value of DueDate.

func (*EpicUpdate) SetInitiative

func (s *EpicUpdate) SetInitiative(val OptString)

SetInitiative sets the value of Initiative.

func (*EpicUpdate) SetName

func (s *EpicUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*EpicUpdate) SetProgress

func (s *EpicUpdate) SetProgress(val OptFloat32)

SetProgress sets the value of Progress.

func (*EpicUpdate) SetStartDate

func (s *EpicUpdate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*EpicUpdate) SetWorkflowStatus

func (s *EpicUpdate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*EpicUpdate) UnmarshalJSON

func (s *EpicUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EpicUpdate) Validate

func (s *EpicUpdate) Validate() error

type EpicUpdateRequest

type EpicUpdateRequest struct {
	Epic EpicUpdate `json:"epic"`
}

Ref: #/components/schemas/EpicUpdateRequest

func (*EpicUpdateRequest) Decode

func (s *EpicUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes EpicUpdateRequest from json.

func (*EpicUpdateRequest) Encode

func (s *EpicUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicUpdateRequest) GetEpic

func (s *EpicUpdateRequest) GetEpic() EpicUpdate

GetEpic returns the value of Epic.

func (*EpicUpdateRequest) MarshalJSON

func (s *EpicUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicUpdateRequest) SetEpic

func (s *EpicUpdateRequest) SetEpic(val EpicUpdate)

SetEpic sets the value of Epic.

func (*EpicUpdateRequest) UnmarshalJSON

func (s *EpicUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*EpicUpdateRequest) Validate

func (s *EpicUpdateRequest) Validate() error

type EpicsResponse

type EpicsResponse struct {
	Epics      []EpicMeta    `json:"epics"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/EpicsResponse

func (*EpicsResponse) Decode

func (s *EpicsResponse) Decode(d *jx.Decoder) error

Decode decodes EpicsResponse from json.

func (*EpicsResponse) Encode

func (s *EpicsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*EpicsResponse) GetEpics

func (s *EpicsResponse) GetEpics() []EpicMeta

GetEpics returns the value of Epics.

func (*EpicsResponse) GetPagination

func (s *EpicsResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*EpicsResponse) MarshalJSON

func (s *EpicsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*EpicsResponse) SetEpics

func (s *EpicsResponse) SetEpics(val []EpicMeta)

SetEpics sets the value of Epics.

func (*EpicsResponse) SetPagination

func (s *EpicsResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*EpicsResponse) UnmarshalJSON

func (s *EpicsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type Feature

type Feature struct {
	ID           string      `json:"id"`
	ReferenceNum string      `json:"reference_num"`
	Name         string      `json:"name"`
	Description  OptString   `json:"description"`
	CreatedAt    time.Time   `json:"created_at"`
	UpdatedAt    OptDateTime `json:"updated_at"`
	StartDate    OptDate     `json:"start_date"`
	DueDate      OptDate     `json:"due_date"`
	ProductID    OptString   `json:"product_id"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource                 OptString          `json:"resource"`
	CommentsCount            OptInt64           `json:"comments_count"`
	ProgressSource           OptString          `json:"progress_source"`
	WorkUnits                OptInt64           `json:"work_units"`
	UseRequirementsEstimates OptBool            `json:"use_requirements_estimates"`
	Tags                     []string           `json:"tags"`
	WorkflowStatus           OptWorkflowStatus  `json:"workflow_status"`
	Release                  OptRelease         `json:"release"`
	AssignedToUser           OptUser            `json:"assigned_to_user"`
	CustomFields             []CustomField      `json:"custom_fields"`
	IntegrationFields        []IntegrationField `json:"integration_fields"`
}

Ref: #/components/schemas/Feature

func (*Feature) Decode

func (s *Feature) Decode(d *jx.Decoder) error

Decode decodes Feature from json.

func (*Feature) Encode

func (s *Feature) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Feature) GetAssignedToUser

func (s *Feature) GetAssignedToUser() OptUser

GetAssignedToUser returns the value of AssignedToUser.

func (*Feature) GetCommentsCount

func (s *Feature) GetCommentsCount() OptInt64

GetCommentsCount returns the value of CommentsCount.

func (*Feature) GetCreatedAt

func (s *Feature) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Feature) GetCustomFields

func (s *Feature) GetCustomFields() []CustomField

GetCustomFields returns the value of CustomFields.

func (*Feature) GetDescription

func (s *Feature) GetDescription() OptString

GetDescription returns the value of Description.

func (*Feature) GetDueDate

func (s *Feature) GetDueDate() OptDate

GetDueDate returns the value of DueDate.

func (*Feature) GetID

func (s *Feature) GetID() string

GetID returns the value of ID.

func (*Feature) GetIntegrationFields

func (s *Feature) GetIntegrationFields() []IntegrationField

GetIntegrationFields returns the value of IntegrationFields.

func (*Feature) GetName

func (s *Feature) GetName() string

GetName returns the value of Name.

func (*Feature) GetProductID

func (s *Feature) GetProductID() OptString

GetProductID returns the value of ProductID.

func (*Feature) GetProgressSource

func (s *Feature) GetProgressSource() OptString

GetProgressSource returns the value of ProgressSource.

func (*Feature) GetReferenceNum

func (s *Feature) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*Feature) GetRelease

func (s *Feature) GetRelease() OptRelease

GetRelease returns the value of Release.

func (*Feature) GetResource

func (s *Feature) GetResource() OptString

GetResource returns the value of Resource.

func (*Feature) GetStartDate

func (s *Feature) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*Feature) GetTags

func (s *Feature) GetTags() []string

GetTags returns the value of Tags.

func (*Feature) GetURL

func (s *Feature) GetURL() OptString

GetURL returns the value of URL.

func (*Feature) GetUpdatedAt

func (s *Feature) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Feature) GetUseRequirementsEstimates

func (s *Feature) GetUseRequirementsEstimates() OptBool

GetUseRequirementsEstimates returns the value of UseRequirementsEstimates.

func (*Feature) GetWorkUnits

func (s *Feature) GetWorkUnits() OptInt64

GetWorkUnits returns the value of WorkUnits.

func (*Feature) GetWorkflowStatus

func (s *Feature) GetWorkflowStatus() OptWorkflowStatus

GetWorkflowStatus returns the value of WorkflowStatus.

func (*Feature) MarshalJSON

func (s *Feature) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Feature) SetAssignedToUser

func (s *Feature) SetAssignedToUser(val OptUser)

SetAssignedToUser sets the value of AssignedToUser.

func (*Feature) SetCommentsCount

func (s *Feature) SetCommentsCount(val OptInt64)

SetCommentsCount sets the value of CommentsCount.

func (*Feature) SetCreatedAt

func (s *Feature) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Feature) SetCustomFields

func (s *Feature) SetCustomFields(val []CustomField)

SetCustomFields sets the value of CustomFields.

func (*Feature) SetDescription

func (s *Feature) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Feature) SetDueDate

func (s *Feature) SetDueDate(val OptDate)

SetDueDate sets the value of DueDate.

func (*Feature) SetID

func (s *Feature) SetID(val string)

SetID sets the value of ID.

func (*Feature) SetIntegrationFields

func (s *Feature) SetIntegrationFields(val []IntegrationField)

SetIntegrationFields sets the value of IntegrationFields.

func (*Feature) SetName

func (s *Feature) SetName(val string)

SetName sets the value of Name.

func (*Feature) SetProductID

func (s *Feature) SetProductID(val OptString)

SetProductID sets the value of ProductID.

func (*Feature) SetProgressSource

func (s *Feature) SetProgressSource(val OptString)

SetProgressSource sets the value of ProgressSource.

func (*Feature) SetReferenceNum

func (s *Feature) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*Feature) SetRelease

func (s *Feature) SetRelease(val OptRelease)

SetRelease sets the value of Release.

func (*Feature) SetResource

func (s *Feature) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Feature) SetStartDate

func (s *Feature) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*Feature) SetTags

func (s *Feature) SetTags(val []string)

SetTags sets the value of Tags.

func (*Feature) SetURL

func (s *Feature) SetURL(val OptString)

SetURL sets the value of URL.

func (*Feature) SetUpdatedAt

func (s *Feature) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Feature) SetUseRequirementsEstimates

func (s *Feature) SetUseRequirementsEstimates(val OptBool)

SetUseRequirementsEstimates sets the value of UseRequirementsEstimates.

func (*Feature) SetWorkUnits

func (s *Feature) SetWorkUnits(val OptInt64)

SetWorkUnits sets the value of WorkUnits.

func (*Feature) SetWorkflowStatus

func (s *Feature) SetWorkflowStatus(val OptWorkflowStatus)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*Feature) UnmarshalJSON

func (s *Feature) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Feature) Validate

func (s *Feature) Validate() error

type FeatureCreate

type FeatureCreate struct {
	// Feature name.
	Name string `json:"name"`
	// Feature description (HTML allowed).
	Description OptString `json:"description"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
	// User email to assign.
	AssignedToUser OptString `json:"assigned_to_user"`
	// Comma-separated tags.
	Tags      OptString `json:"tags"`
	StartDate OptDate   `json:"start_date"`
	DueDate   OptDate   `json:"due_date"`
	// Effort estimate (e.g., 2d, 4h, 30min, 5p).
	OriginalEstimateText OptString `json:"original_estimate_text"`
	// Initiative ID or name.
	Initiative OptString `json:"initiative"`
}

Ref: #/components/schemas/FeatureCreate

func (*FeatureCreate) Decode

func (s *FeatureCreate) Decode(d *jx.Decoder) error

Decode decodes FeatureCreate from json.

func (*FeatureCreate) Encode

func (s *FeatureCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeatureCreate) GetAssignedToUser

func (s *FeatureCreate) GetAssignedToUser() OptString

GetAssignedToUser returns the value of AssignedToUser.

func (*FeatureCreate) GetDescription

func (s *FeatureCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*FeatureCreate) GetDueDate

func (s *FeatureCreate) GetDueDate() OptDate

GetDueDate returns the value of DueDate.

func (*FeatureCreate) GetInitiative

func (s *FeatureCreate) GetInitiative() OptString

GetInitiative returns the value of Initiative.

func (*FeatureCreate) GetName

func (s *FeatureCreate) GetName() string

GetName returns the value of Name.

func (*FeatureCreate) GetOriginalEstimateText

func (s *FeatureCreate) GetOriginalEstimateText() OptString

GetOriginalEstimateText returns the value of OriginalEstimateText.

func (*FeatureCreate) GetStartDate

func (s *FeatureCreate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*FeatureCreate) GetTags

func (s *FeatureCreate) GetTags() OptString

GetTags returns the value of Tags.

func (*FeatureCreate) GetWorkflowStatus

func (s *FeatureCreate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*FeatureCreate) MarshalJSON

func (s *FeatureCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeatureCreate) SetAssignedToUser

func (s *FeatureCreate) SetAssignedToUser(val OptString)

SetAssignedToUser sets the value of AssignedToUser.

func (*FeatureCreate) SetDescription

func (s *FeatureCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*FeatureCreate) SetDueDate

func (s *FeatureCreate) SetDueDate(val OptDate)

SetDueDate sets the value of DueDate.

func (*FeatureCreate) SetInitiative

func (s *FeatureCreate) SetInitiative(val OptString)

SetInitiative sets the value of Initiative.

func (*FeatureCreate) SetName

func (s *FeatureCreate) SetName(val string)

SetName sets the value of Name.

func (*FeatureCreate) SetOriginalEstimateText

func (s *FeatureCreate) SetOriginalEstimateText(val OptString)

SetOriginalEstimateText sets the value of OriginalEstimateText.

func (*FeatureCreate) SetStartDate

func (s *FeatureCreate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*FeatureCreate) SetTags

func (s *FeatureCreate) SetTags(val OptString)

SetTags sets the value of Tags.

func (*FeatureCreate) SetWorkflowStatus

func (s *FeatureCreate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*FeatureCreate) UnmarshalJSON

func (s *FeatureCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FeatureCreateRequest

type FeatureCreateRequest struct {
	Feature FeatureCreate `json:"feature"`
}

Ref: #/components/schemas/FeatureCreateRequest

func (*FeatureCreateRequest) Decode

func (s *FeatureCreateRequest) Decode(d *jx.Decoder) error

Decode decodes FeatureCreateRequest from json.

func (*FeatureCreateRequest) Encode

func (s *FeatureCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeatureCreateRequest) GetFeature

func (s *FeatureCreateRequest) GetFeature() FeatureCreate

GetFeature returns the value of Feature.

func (*FeatureCreateRequest) MarshalJSON

func (s *FeatureCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeatureCreateRequest) SetFeature

func (s *FeatureCreateRequest) SetFeature(val FeatureCreate)

SetFeature sets the value of Feature.

func (*FeatureCreateRequest) UnmarshalJSON

func (s *FeatureCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FeatureMeta

type FeatureMeta struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
}

Ref: #/components/schemas/FeatureMeta

func (*FeatureMeta) Decode

func (s *FeatureMeta) Decode(d *jx.Decoder) error

Decode decodes FeatureMeta from json.

func (*FeatureMeta) Encode

func (s *FeatureMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeatureMeta) GetCreatedAt

func (s *FeatureMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*FeatureMeta) GetID

func (s *FeatureMeta) GetID() OptString

GetID returns the value of ID.

func (*FeatureMeta) GetName

func (s *FeatureMeta) GetName() OptString

GetName returns the value of Name.

func (*FeatureMeta) GetReferenceNum

func (s *FeatureMeta) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*FeatureMeta) GetResource

func (s *FeatureMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*FeatureMeta) GetURL

func (s *FeatureMeta) GetURL() OptString

GetURL returns the value of URL.

func (*FeatureMeta) MarshalJSON

func (s *FeatureMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeatureMeta) SetCreatedAt

func (s *FeatureMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*FeatureMeta) SetID

func (s *FeatureMeta) SetID(val OptString)

SetID sets the value of ID.

func (*FeatureMeta) SetName

func (s *FeatureMeta) SetName(val OptString)

SetName sets the value of Name.

func (*FeatureMeta) SetReferenceNum

func (s *FeatureMeta) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*FeatureMeta) SetResource

func (s *FeatureMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*FeatureMeta) SetURL

func (s *FeatureMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*FeatureMeta) UnmarshalJSON

func (s *FeatureMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FeatureResponse

type FeatureResponse struct {
	Feature OptFeature `json:"feature"`
}

Ref: #/components/schemas/FeatureResponse

func (*FeatureResponse) Decode

func (s *FeatureResponse) Decode(d *jx.Decoder) error

Decode decodes FeatureResponse from json.

func (*FeatureResponse) Encode

func (s *FeatureResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeatureResponse) GetFeature

func (s *FeatureResponse) GetFeature() OptFeature

GetFeature returns the value of Feature.

func (*FeatureResponse) MarshalJSON

func (s *FeatureResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeatureResponse) SetFeature

func (s *FeatureResponse) SetFeature(val OptFeature)

SetFeature sets the value of Feature.

func (*FeatureResponse) UnmarshalJSON

func (s *FeatureResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*FeatureResponse) Validate

func (s *FeatureResponse) Validate() error

type FeatureUpdate

type FeatureUpdate struct {
	Name           OptString `json:"name"`
	Description    OptString `json:"description"`
	WorkflowStatus OptString `json:"workflow_status"`
	AssignedToUser OptString `json:"assigned_to_user"`
	Tags           OptString `json:"tags"`
	StartDate      OptDate   `json:"start_date"`
	DueDate        OptDate   `json:"due_date"`
	// Release ID to move feature to.
	Release               OptString `json:"release"`
	OriginalEstimateText  OptString `json:"original_estimate_text"`
	RemainingEstimateText OptString `json:"remaining_estimate_text"`
	Initiative            OptString `json:"initiative"`
	ReleasePhase          OptString `json:"release_phase"`
}

Ref: #/components/schemas/FeatureUpdate

func (*FeatureUpdate) Decode

func (s *FeatureUpdate) Decode(d *jx.Decoder) error

Decode decodes FeatureUpdate from json.

func (*FeatureUpdate) Encode

func (s *FeatureUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeatureUpdate) GetAssignedToUser

func (s *FeatureUpdate) GetAssignedToUser() OptString

GetAssignedToUser returns the value of AssignedToUser.

func (*FeatureUpdate) GetDescription

func (s *FeatureUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*FeatureUpdate) GetDueDate

func (s *FeatureUpdate) GetDueDate() OptDate

GetDueDate returns the value of DueDate.

func (*FeatureUpdate) GetInitiative

func (s *FeatureUpdate) GetInitiative() OptString

GetInitiative returns the value of Initiative.

func (*FeatureUpdate) GetName

func (s *FeatureUpdate) GetName() OptString

GetName returns the value of Name.

func (*FeatureUpdate) GetOriginalEstimateText

func (s *FeatureUpdate) GetOriginalEstimateText() OptString

GetOriginalEstimateText returns the value of OriginalEstimateText.

func (*FeatureUpdate) GetRelease

func (s *FeatureUpdate) GetRelease() OptString

GetRelease returns the value of Release.

func (*FeatureUpdate) GetReleasePhase

func (s *FeatureUpdate) GetReleasePhase() OptString

GetReleasePhase returns the value of ReleasePhase.

func (*FeatureUpdate) GetRemainingEstimateText

func (s *FeatureUpdate) GetRemainingEstimateText() OptString

GetRemainingEstimateText returns the value of RemainingEstimateText.

func (*FeatureUpdate) GetStartDate

func (s *FeatureUpdate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*FeatureUpdate) GetTags

func (s *FeatureUpdate) GetTags() OptString

GetTags returns the value of Tags.

func (*FeatureUpdate) GetWorkflowStatus

func (s *FeatureUpdate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*FeatureUpdate) MarshalJSON

func (s *FeatureUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeatureUpdate) SetAssignedToUser

func (s *FeatureUpdate) SetAssignedToUser(val OptString)

SetAssignedToUser sets the value of AssignedToUser.

func (*FeatureUpdate) SetDescription

func (s *FeatureUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*FeatureUpdate) SetDueDate

func (s *FeatureUpdate) SetDueDate(val OptDate)

SetDueDate sets the value of DueDate.

func (*FeatureUpdate) SetInitiative

func (s *FeatureUpdate) SetInitiative(val OptString)

SetInitiative sets the value of Initiative.

func (*FeatureUpdate) SetName

func (s *FeatureUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*FeatureUpdate) SetOriginalEstimateText

func (s *FeatureUpdate) SetOriginalEstimateText(val OptString)

SetOriginalEstimateText sets the value of OriginalEstimateText.

func (*FeatureUpdate) SetRelease

func (s *FeatureUpdate) SetRelease(val OptString)

SetRelease sets the value of Release.

func (*FeatureUpdate) SetReleasePhase

func (s *FeatureUpdate) SetReleasePhase(val OptString)

SetReleasePhase sets the value of ReleasePhase.

func (*FeatureUpdate) SetRemainingEstimateText

func (s *FeatureUpdate) SetRemainingEstimateText(val OptString)

SetRemainingEstimateText sets the value of RemainingEstimateText.

func (*FeatureUpdate) SetStartDate

func (s *FeatureUpdate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*FeatureUpdate) SetTags

func (s *FeatureUpdate) SetTags(val OptString)

SetTags sets the value of Tags.

func (*FeatureUpdate) SetWorkflowStatus

func (s *FeatureUpdate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*FeatureUpdate) UnmarshalJSON

func (s *FeatureUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FeatureUpdateRequest

type FeatureUpdateRequest struct {
	Feature FeatureUpdate `json:"feature"`
}

Ref: #/components/schemas/FeatureUpdateRequest

func (*FeatureUpdateRequest) Decode

func (s *FeatureUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes FeatureUpdateRequest from json.

func (*FeatureUpdateRequest) Encode

func (s *FeatureUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeatureUpdateRequest) GetFeature

func (s *FeatureUpdateRequest) GetFeature() FeatureUpdate

GetFeature returns the value of Feature.

func (*FeatureUpdateRequest) MarshalJSON

func (s *FeatureUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeatureUpdateRequest) SetFeature

func (s *FeatureUpdateRequest) SetFeature(val FeatureUpdate)

SetFeature sets the value of Feature.

func (*FeatureUpdateRequest) UnmarshalJSON

func (s *FeatureUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type FeaturesResponse

type FeaturesResponse struct {
	Features   []FeatureMeta `json:"features"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/FeaturesResponse

func (*FeaturesResponse) Decode

func (s *FeaturesResponse) Decode(d *jx.Decoder) error

Decode decodes FeaturesResponse from json.

func (*FeaturesResponse) Encode

func (s *FeaturesResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*FeaturesResponse) GetFeatures

func (s *FeaturesResponse) GetFeatures() []FeatureMeta

GetFeatures returns the value of Features.

func (*FeaturesResponse) GetPagination

func (s *FeaturesResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*FeaturesResponse) MarshalJSON

func (s *FeaturesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*FeaturesResponse) SetFeatures

func (s *FeaturesResponse) SetFeatures(val []FeatureMeta)

SetFeatures sets the value of Features.

func (*FeaturesResponse) SetPagination

func (s *FeaturesResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*FeaturesResponse) UnmarshalJSON

func (s *FeaturesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetCommentNotFound

type GetCommentNotFound struct{}

GetCommentNotFound is response for GetComment operation.

type GetCommentParams

type GetCommentParams struct {
	// Numeric ID of the comment.
	CommentID string
}

GetCommentParams is parameters of getComment operation.

type GetCommentRes

type GetCommentRes interface {
	// contains filtered or unexported methods
}

type GetEpicNotFound

type GetEpicNotFound struct{}

GetEpicNotFound is response for GetEpic operation.

type GetEpicParams

type GetEpicParams struct {
	// Epic ID or reference number.
	EpicID string
}

GetEpicParams is parameters of getEpic operation.

type GetEpicRes

type GetEpicRes interface {
	// contains filtered or unexported methods
}

type GetFeatureNotFound

type GetFeatureNotFound struct{}

GetFeatureNotFound is response for GetFeature operation.

type GetFeatureParams

type GetFeatureParams struct {
	// Numeric ID or reference number (e.g., PROD-123).
	FeatureID string
}

GetFeatureParams is parameters of getFeature operation.

type GetFeatureRes

type GetFeatureRes interface {
	// contains filtered or unexported methods
}

type GetGoalNotFound

type GetGoalNotFound struct{}

GetGoalNotFound is response for GetGoal operation.

type GetGoalParams

type GetGoalParams struct {
	// Goal ID or reference number.
	GoalID string
}

GetGoalParams is parameters of getGoal operation.

type GetGoalRes

type GetGoalRes interface {
	// contains filtered or unexported methods
}

type GetIdeaParams

type GetIdeaParams struct {
	// Idea ID or reference number.
	IdeaID string
}

GetIdeaParams is parameters of getIdea operation.

type GetInitiativeNotFound

type GetInitiativeNotFound struct{}

GetInitiativeNotFound is response for GetInitiative operation.

type GetInitiativeParams

type GetInitiativeParams struct {
	// Initiative ID or reference number.
	InitiativeID string
}

GetInitiativeParams is parameters of getInitiative operation.

type GetInitiativeRes

type GetInitiativeRes interface {
	// contains filtered or unexported methods
}

type GetProductParams

type GetProductParams struct {
	// Product ID or reference prefix.
	ProductID string
}

GetProductParams is parameters of getProduct operation.

type GetReleaseParams

type GetReleaseParams struct {
	// Release ID or reference number.
	ReleaseID string
}

GetReleaseParams is parameters of getRelease operation.

type GetRequirementNotFound

type GetRequirementNotFound struct{}

GetRequirementNotFound is response for GetRequirement operation.

type GetRequirementParams

type GetRequirementParams struct {
	// Requirement ID or reference number.
	RequirementID string
}

GetRequirementParams is parameters of getRequirement operation.

type GetRequirementRes

type GetRequirementRes interface {
	// contains filtered or unexported methods
}

type GetStrategicModelNotFound

type GetStrategicModelNotFound struct{}

GetStrategicModelNotFound is response for GetStrategicModel operation.

type GetStrategicModelParams

type GetStrategicModelParams struct {
	// Strategic model ID or reference number.
	StrategyModelID string
}

GetStrategicModelParams is parameters of getStrategicModel operation.

type GetStrategicModelRes

type GetStrategicModelRes interface {
	// contains filtered or unexported methods
}

type GetUserParams

type GetUserParams struct {
	// User ID or email.
	UserID string
}

GetUserParams is parameters of getUser operation.

type Goal

type Goal struct {
	ID           string    `json:"id"`
	ReferenceNum string    `json:"reference_num"`
	Name         string    `json:"name"`
	Description  OptString `json:"description"`
	// Progress percentage (0-100).
	Progress OptFloat32 `json:"progress"`
	// Source of progress calculation.
	ProgressSource OptString `json:"progress_source"`
	// Goal status.
	Status    OptString   `json:"status"`
	StartDate OptDate     `json:"start_date"`
	EndDate   OptDate     `json:"end_date"`
	CreatedAt time.Time   `json:"created_at"`
	UpdatedAt OptDateTime `json:"updated_at"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource       OptString         `json:"resource"`
	TimeFrame      OptTimeFrame      `json:"time_frame"`
	WorkflowStatus OptWorkflowStatus `json:"workflow_status"`
	CustomFields   []CustomField     `json:"custom_fields"`
}

Ref: #/components/schemas/Goal

func (*Goal) Decode

func (s *Goal) Decode(d *jx.Decoder) error

Decode decodes Goal from json.

func (*Goal) Encode

func (s *Goal) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Goal) GetCreatedAt

func (s *Goal) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Goal) GetCustomFields

func (s *Goal) GetCustomFields() []CustomField

GetCustomFields returns the value of CustomFields.

func (*Goal) GetDescription

func (s *Goal) GetDescription() OptString

GetDescription returns the value of Description.

func (*Goal) GetEndDate

func (s *Goal) GetEndDate() OptDate

GetEndDate returns the value of EndDate.

func (*Goal) GetID

func (s *Goal) GetID() string

GetID returns the value of ID.

func (*Goal) GetName

func (s *Goal) GetName() string

GetName returns the value of Name.

func (*Goal) GetProgress

func (s *Goal) GetProgress() OptFloat32

GetProgress returns the value of Progress.

func (*Goal) GetProgressSource

func (s *Goal) GetProgressSource() OptString

GetProgressSource returns the value of ProgressSource.

func (*Goal) GetReferenceNum

func (s *Goal) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*Goal) GetResource

func (s *Goal) GetResource() OptString

GetResource returns the value of Resource.

func (*Goal) GetStartDate

func (s *Goal) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*Goal) GetStatus

func (s *Goal) GetStatus() OptString

GetStatus returns the value of Status.

func (*Goal) GetTimeFrame

func (s *Goal) GetTimeFrame() OptTimeFrame

GetTimeFrame returns the value of TimeFrame.

func (*Goal) GetURL

func (s *Goal) GetURL() OptString

GetURL returns the value of URL.

func (*Goal) GetUpdatedAt

func (s *Goal) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Goal) GetWorkflowStatus

func (s *Goal) GetWorkflowStatus() OptWorkflowStatus

GetWorkflowStatus returns the value of WorkflowStatus.

func (*Goal) MarshalJSON

func (s *Goal) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Goal) SetCreatedAt

func (s *Goal) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Goal) SetCustomFields

func (s *Goal) SetCustomFields(val []CustomField)

SetCustomFields sets the value of CustomFields.

func (*Goal) SetDescription

func (s *Goal) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Goal) SetEndDate

func (s *Goal) SetEndDate(val OptDate)

SetEndDate sets the value of EndDate.

func (*Goal) SetID

func (s *Goal) SetID(val string)

SetID sets the value of ID.

func (*Goal) SetName

func (s *Goal) SetName(val string)

SetName sets the value of Name.

func (*Goal) SetProgress

func (s *Goal) SetProgress(val OptFloat32)

SetProgress sets the value of Progress.

func (*Goal) SetProgressSource

func (s *Goal) SetProgressSource(val OptString)

SetProgressSource sets the value of ProgressSource.

func (*Goal) SetReferenceNum

func (s *Goal) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*Goal) SetResource

func (s *Goal) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Goal) SetStartDate

func (s *Goal) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*Goal) SetStatus

func (s *Goal) SetStatus(val OptString)

SetStatus sets the value of Status.

func (*Goal) SetTimeFrame

func (s *Goal) SetTimeFrame(val OptTimeFrame)

SetTimeFrame sets the value of TimeFrame.

func (*Goal) SetURL

func (s *Goal) SetURL(val OptString)

SetURL sets the value of URL.

func (*Goal) SetUpdatedAt

func (s *Goal) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Goal) SetWorkflowStatus

func (s *Goal) SetWorkflowStatus(val OptWorkflowStatus)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*Goal) UnmarshalJSON

func (s *Goal) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Goal) Validate

func (s *Goal) Validate() error

type GoalCreate

type GoalCreate struct {
	// Goal name.
	Name string `json:"name"`
	// Goal description (HTML allowed).
	Description OptString `json:"description"`
	// Goal start date.
	StartDate OptDate `json:"start_date"`
	// Goal end date.
	EndDate OptDate `json:"end_date"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
}

Ref: #/components/schemas/GoalCreate

func (*GoalCreate) Decode

func (s *GoalCreate) Decode(d *jx.Decoder) error

Decode decodes GoalCreate from json.

func (*GoalCreate) Encode

func (s *GoalCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalCreate) GetDescription

func (s *GoalCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*GoalCreate) GetEndDate

func (s *GoalCreate) GetEndDate() OptDate

GetEndDate returns the value of EndDate.

func (*GoalCreate) GetName

func (s *GoalCreate) GetName() string

GetName returns the value of Name.

func (*GoalCreate) GetStartDate

func (s *GoalCreate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*GoalCreate) GetWorkflowStatus

func (s *GoalCreate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*GoalCreate) MarshalJSON

func (s *GoalCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalCreate) SetDescription

func (s *GoalCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*GoalCreate) SetEndDate

func (s *GoalCreate) SetEndDate(val OptDate)

SetEndDate sets the value of EndDate.

func (*GoalCreate) SetName

func (s *GoalCreate) SetName(val string)

SetName sets the value of Name.

func (*GoalCreate) SetStartDate

func (s *GoalCreate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*GoalCreate) SetWorkflowStatus

func (s *GoalCreate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*GoalCreate) UnmarshalJSON

func (s *GoalCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GoalCreateRequest

type GoalCreateRequest struct {
	Goal GoalCreate `json:"goal"`
}

Ref: #/components/schemas/GoalCreateRequest

func (*GoalCreateRequest) Decode

func (s *GoalCreateRequest) Decode(d *jx.Decoder) error

Decode decodes GoalCreateRequest from json.

func (*GoalCreateRequest) Encode

func (s *GoalCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalCreateRequest) GetGoal

func (s *GoalCreateRequest) GetGoal() GoalCreate

GetGoal returns the value of Goal.

func (*GoalCreateRequest) MarshalJSON

func (s *GoalCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalCreateRequest) SetGoal

func (s *GoalCreateRequest) SetGoal(val GoalCreate)

SetGoal sets the value of Goal.

func (*GoalCreateRequest) UnmarshalJSON

func (s *GoalCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GoalMeta

type GoalMeta struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
}

Ref: #/components/schemas/GoalMeta

func (*GoalMeta) Decode

func (s *GoalMeta) Decode(d *jx.Decoder) error

Decode decodes GoalMeta from json.

func (*GoalMeta) Encode

func (s *GoalMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalMeta) GetCreatedAt

func (s *GoalMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*GoalMeta) GetID

func (s *GoalMeta) GetID() OptString

GetID returns the value of ID.

func (*GoalMeta) GetName

func (s *GoalMeta) GetName() OptString

GetName returns the value of Name.

func (*GoalMeta) GetReferenceNum

func (s *GoalMeta) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*GoalMeta) GetResource

func (s *GoalMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*GoalMeta) GetURL

func (s *GoalMeta) GetURL() OptString

GetURL returns the value of URL.

func (*GoalMeta) MarshalJSON

func (s *GoalMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalMeta) SetCreatedAt

func (s *GoalMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*GoalMeta) SetID

func (s *GoalMeta) SetID(val OptString)

SetID sets the value of ID.

func (*GoalMeta) SetName

func (s *GoalMeta) SetName(val OptString)

SetName sets the value of Name.

func (*GoalMeta) SetReferenceNum

func (s *GoalMeta) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*GoalMeta) SetResource

func (s *GoalMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*GoalMeta) SetURL

func (s *GoalMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*GoalMeta) UnmarshalJSON

func (s *GoalMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GoalResponse

type GoalResponse struct {
	Goal OptGoal `json:"goal"`
}

Ref: #/components/schemas/GoalResponse

func (*GoalResponse) Decode

func (s *GoalResponse) Decode(d *jx.Decoder) error

Decode decodes GoalResponse from json.

func (*GoalResponse) Encode

func (s *GoalResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalResponse) GetGoal

func (s *GoalResponse) GetGoal() OptGoal

GetGoal returns the value of Goal.

func (*GoalResponse) MarshalJSON

func (s *GoalResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalResponse) SetGoal

func (s *GoalResponse) SetGoal(val OptGoal)

SetGoal sets the value of Goal.

func (*GoalResponse) UnmarshalJSON

func (s *GoalResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GoalResponse) Validate

func (s *GoalResponse) Validate() error

type GoalUpdate

type GoalUpdate struct {
	// Goal name.
	Name OptString `json:"name"`
	// Goal description (HTML allowed).
	Description OptString `json:"description"`
	// Goal start date.
	StartDate OptDate `json:"start_date"`
	// Goal end date.
	EndDate OptDate `json:"end_date"`
	// Progress percentage (0-100) when progress_source is manual.
	Progress OptFloat32 `json:"progress"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
}

Ref: #/components/schemas/GoalUpdate

func (*GoalUpdate) Decode

func (s *GoalUpdate) Decode(d *jx.Decoder) error

Decode decodes GoalUpdate from json.

func (*GoalUpdate) Encode

func (s *GoalUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalUpdate) GetDescription

func (s *GoalUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*GoalUpdate) GetEndDate

func (s *GoalUpdate) GetEndDate() OptDate

GetEndDate returns the value of EndDate.

func (*GoalUpdate) GetName

func (s *GoalUpdate) GetName() OptString

GetName returns the value of Name.

func (*GoalUpdate) GetProgress

func (s *GoalUpdate) GetProgress() OptFloat32

GetProgress returns the value of Progress.

func (*GoalUpdate) GetStartDate

func (s *GoalUpdate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*GoalUpdate) GetWorkflowStatus

func (s *GoalUpdate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*GoalUpdate) MarshalJSON

func (s *GoalUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalUpdate) SetDescription

func (s *GoalUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*GoalUpdate) SetEndDate

func (s *GoalUpdate) SetEndDate(val OptDate)

SetEndDate sets the value of EndDate.

func (*GoalUpdate) SetName

func (s *GoalUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*GoalUpdate) SetProgress

func (s *GoalUpdate) SetProgress(val OptFloat32)

SetProgress sets the value of Progress.

func (*GoalUpdate) SetStartDate

func (s *GoalUpdate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*GoalUpdate) SetWorkflowStatus

func (s *GoalUpdate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*GoalUpdate) UnmarshalJSON

func (s *GoalUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GoalUpdate) Validate

func (s *GoalUpdate) Validate() error

type GoalUpdateRequest

type GoalUpdateRequest struct {
	Goal GoalUpdate `json:"goal"`
}

Ref: #/components/schemas/GoalUpdateRequest

func (*GoalUpdateRequest) Decode

func (s *GoalUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes GoalUpdateRequest from json.

func (*GoalUpdateRequest) Encode

func (s *GoalUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalUpdateRequest) GetGoal

func (s *GoalUpdateRequest) GetGoal() GoalUpdate

GetGoal returns the value of Goal.

func (*GoalUpdateRequest) MarshalJSON

func (s *GoalUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalUpdateRequest) SetGoal

func (s *GoalUpdateRequest) SetGoal(val GoalUpdate)

SetGoal sets the value of Goal.

func (*GoalUpdateRequest) UnmarshalJSON

func (s *GoalUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GoalUpdateRequest) Validate

func (s *GoalUpdateRequest) Validate() error

type GoalsResponse

type GoalsResponse struct {
	Goals      []GoalMeta    `json:"goals"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/GoalsResponse

func (*GoalsResponse) Decode

func (s *GoalsResponse) Decode(d *jx.Decoder) error

Decode decodes GoalsResponse from json.

func (*GoalsResponse) Encode

func (s *GoalsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GoalsResponse) GetGoals

func (s *GoalsResponse) GetGoals() []GoalMeta

GetGoals returns the value of Goals.

func (*GoalsResponse) GetPagination

func (s *GoalsResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*GoalsResponse) MarshalJSON

func (s *GoalsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GoalsResponse) SetGoals

func (s *GoalsResponse) SetGoals(val []GoalMeta)

SetGoals sets the value of Goals.

func (*GoalsResponse) SetPagination

func (s *GoalsResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*GoalsResponse) UnmarshalJSON

func (s *GoalsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Handler

type Handler interface {
	// CreateFeatureComment implements createFeatureComment operation.
	//
	// Create a new comment on a feature.
	//
	// POST /features/{feature_id}/comments
	CreateFeatureComment(ctx context.Context, req *CommentCreateRequest, params CreateFeatureCommentParams) (*CommentResponse, error)
	// CreateFeatureRequirement implements createFeatureRequirement operation.
	//
	// Create a new requirement for a feature.
	//
	// POST /features/{feature_id}/requirements
	CreateFeatureRequirement(ctx context.Context, req *RequirementCreateRequest, params CreateFeatureRequirementParams) (*RequirementResponse, error)
	// CreateIdeaComment implements createIdeaComment operation.
	//
	// Create a new internal comment on an idea.
	//
	// POST /ideas/{idea_id}/comments
	CreateIdeaComment(ctx context.Context, req *CommentCreateRequest, params CreateIdeaCommentParams) (*CommentResponse, error)
	// CreateProductGoal implements createProductGoal operation.
	//
	// Create a new goal in a product.
	//
	// POST /products/{product_id}/goals
	CreateProductGoal(ctx context.Context, req *GoalCreateRequest, params CreateProductGoalParams) (*GoalResponse, error)
	// CreateProductInitiative implements createProductInitiative operation.
	//
	// Create a new initiative in a product.
	//
	// POST /products/{product_id}/initiatives
	CreateProductInitiative(ctx context.Context, req *InitiativeCreateRequest, params CreateProductInitiativeParams) (*InitiativeResponse, error)
	// CreateProductStrategicModel implements createProductStrategicModel operation.
	//
	// Create a new strategic model in a product.
	//
	// POST /products/{product_id}/strategy_models
	CreateProductStrategicModel(ctx context.Context, req *StrategicModelCreateRequest, params CreateProductStrategicModelParams) (*StrategicModelResponse, error)
	// CreateReleaseEpic implements createReleaseEpic operation.
	//
	// Create a new epic in a release.
	//
	// POST /releases/{release_id}/epics
	CreateReleaseEpic(ctx context.Context, req *EpicCreateRequest, params CreateReleaseEpicParams) (*EpicResponse, error)
	// CreateReleaseFeature implements createReleaseFeature operation.
	//
	// Create a new feature in a release.
	//
	// POST /releases/{release_id}/features
	CreateReleaseFeature(ctx context.Context, req *FeatureCreateRequest, params CreateReleaseFeatureParams) (*FeatureResponse, error)
	// DeleteComment implements deleteComment operation.
	//
	// Delete a comment.
	//
	// DELETE /comments/{comment_id}
	DeleteComment(ctx context.Context, params DeleteCommentParams) error
	// DeleteRequirement implements deleteRequirement operation.
	//
	// Delete a requirement.
	//
	// DELETE /requirements/{requirement_id}
	DeleteRequirement(ctx context.Context, params DeleteRequirementParams) error
	// GetComment implements getComment operation.
	//
	// Get a specific comment by ID.
	//
	// GET /comments/{comment_id}
	GetComment(ctx context.Context, params GetCommentParams) (GetCommentRes, error)
	// GetCurrentUser implements getCurrentUser operation.
	//
	// Get the currently authenticated user.
	//
	// GET /me
	GetCurrentUser(ctx context.Context) (*UserResponse, error)
	// GetEpic implements getEpic operation.
	//
	// Get a specific epic by ID or reference number.
	//
	// GET /epics/{epic_id}
	GetEpic(ctx context.Context, params GetEpicParams) (GetEpicRes, error)
	// GetFeature implements getFeature operation.
	//
	// Get a specific feature by ID or reference number.
	//
	// GET /features/{feature_id}
	GetFeature(ctx context.Context, params GetFeatureParams) (GetFeatureRes, error)
	// GetGoal implements getGoal operation.
	//
	// Get a specific goal by ID or reference number.
	//
	// GET /goals/{goal_id}
	GetGoal(ctx context.Context, params GetGoalParams) (GetGoalRes, error)
	// GetIdea implements getIdea operation.
	//
	// Get a specific idea by ID.
	//
	// GET /ideas/{idea_id}
	GetIdea(ctx context.Context, params GetIdeaParams) (*IdeaResponse, error)
	// GetInitiative implements getInitiative operation.
	//
	// Get a specific initiative by ID or reference number.
	//
	// GET /initiatives/{initiative_id}
	GetInitiative(ctx context.Context, params GetInitiativeParams) (GetInitiativeRes, error)
	// GetProduct implements getProduct operation.
	//
	// Get a specific product by ID.
	//
	// GET /products/{product_id}
	GetProduct(ctx context.Context, params GetProductParams) (*ProductResponse, error)
	// GetRelease implements getRelease operation.
	//
	// Get a specific release by ID.
	//
	// GET /releases/{release_id}
	GetRelease(ctx context.Context, params GetReleaseParams) (*ReleaseResponse, error)
	// GetRequirement implements getRequirement operation.
	//
	// Get a specific requirement by ID or reference number.
	//
	// GET /requirements/{requirement_id}
	GetRequirement(ctx context.Context, params GetRequirementParams) (GetRequirementRes, error)
	// GetStrategicModel implements getStrategicModel operation.
	//
	// Get a specific strategic model by ID or reference number.
	//
	// GET /strategy_models/{strategy_model_id}
	GetStrategicModel(ctx context.Context, params GetStrategicModelParams) (GetStrategicModelRes, error)
	// GetUser implements getUser operation.
	//
	// Get a specific user by ID.
	//
	// GET /users/{user_id}
	GetUser(ctx context.Context, params GetUserParams) (*UserResponse, error)
	// ListEpicComments implements listEpicComments operation.
	//
	// Get all comments on an epic.
	//
	// GET /epics/{epic_id}/comments
	ListEpicComments(ctx context.Context, params ListEpicCommentsParams) (*CommentsResponse, error)
	// ListEpics implements listEpics operation.
	//
	// Get all epics with optional filtering.
	//
	// GET /epics
	ListEpics(ctx context.Context, params ListEpicsParams) (*EpicsResponse, error)
	// ListFeatureComments implements listFeatureComments operation.
	//
	// Get all comments on a feature.
	//
	// GET /features/{feature_id}/comments
	ListFeatureComments(ctx context.Context, params ListFeatureCommentsParams) (*CommentsResponse, error)
	// ListFeatureRequirements implements listFeatureRequirements operation.
	//
	// Get all requirements for a feature.
	//
	// GET /features/{feature_id}/requirements
	ListFeatureRequirements(ctx context.Context, params ListFeatureRequirementsParams) (*RequirementsResponse, error)
	// ListFeatures implements listFeatures operation.
	//
	// Get all features with optional filtering.
	//
	// GET /features
	ListFeatures(ctx context.Context, params ListFeaturesParams) (*FeaturesResponse, error)
	// ListGoalComments implements listGoalComments operation.
	//
	// Get all comments on a goal.
	//
	// GET /goals/{goal_id}/comments
	ListGoalComments(ctx context.Context, params ListGoalCommentsParams) (*CommentsResponse, error)
	// ListGoals implements listGoals operation.
	//
	// Get all goals with optional filtering.
	//
	// GET /goals
	ListGoals(ctx context.Context, params ListGoalsParams) (*GoalsResponse, error)
	// ListIdeaComments implements listIdeaComments operation.
	//
	// Get all comments on an idea.
	//
	// GET /ideas/{idea_id}/comments
	ListIdeaComments(ctx context.Context, params ListIdeaCommentsParams) (*CommentsResponse, error)
	// ListIdeas implements listIdeas operation.
	//
	// Get all ideas with optional filtering.
	//
	// GET /ideas
	ListIdeas(ctx context.Context, params ListIdeasParams) (*IdeasResponse, error)
	// ListInitiativeComments implements listInitiativeComments operation.
	//
	// Get all comments on an initiative.
	//
	// GET /initiatives/{initiative_id}/comments
	ListInitiativeComments(ctx context.Context, params ListInitiativeCommentsParams) (*CommentsResponse, error)
	// ListInitiatives implements listInitiatives operation.
	//
	// Get all initiatives with optional filtering.
	//
	// GET /initiatives
	ListInitiatives(ctx context.Context, params ListInitiativesParams) (*InitiativesResponse, error)
	// ListProductComments implements listProductComments operation.
	//
	// Get all comments in a product.
	//
	// GET /products/{product_id}/comments
	ListProductComments(ctx context.Context, params ListProductCommentsParams) (*CommentsResponse, error)
	// ListProductEpics implements listProductEpics operation.
	//
	// Get all epics for a product.
	//
	// GET /products/{product_id}/epics
	ListProductEpics(ctx context.Context, params ListProductEpicsParams) (*EpicsResponse, error)
	// ListProductGoals implements listProductGoals operation.
	//
	// Get all goals for a product.
	//
	// GET /products/{product_id}/goals
	ListProductGoals(ctx context.Context, params ListProductGoalsParams) (*GoalsResponse, error)
	// ListProductInitiatives implements listProductInitiatives operation.
	//
	// Get all initiatives for a product.
	//
	// GET /products/{product_id}/initiatives
	ListProductInitiatives(ctx context.Context, params ListProductInitiativesParams) (*InitiativesResponse, error)
	// ListProductReleases implements listProductReleases operation.
	//
	// Get all releases for a product.
	//
	// GET /products/{product_id}/releases
	ListProductReleases(ctx context.Context, params ListProductReleasesParams) (*ReleasesResponse, error)
	// ListProductStrategicModels implements listProductStrategicModels operation.
	//
	// Get all strategic models for a product.
	//
	// GET /products/{product_id}/strategy_models
	ListProductStrategicModels(ctx context.Context, params ListProductStrategicModelsParams) (*StrategicModelsResponse, error)
	// ListProductWorkflows implements listProductWorkflows operation.
	//
	// Get all workflows and their statuses for a product.
	//
	// GET /products/{product_id}/workflows
	ListProductWorkflows(ctx context.Context, params ListProductWorkflowsParams) (*WorkflowsResponse, error)
	// ListProducts implements listProducts operation.
	//
	// Get all products (workspaces).
	//
	// GET /products
	ListProducts(ctx context.Context, params ListProductsParams) (*ProductsResponse, error)
	// ListReleaseComments implements listReleaseComments operation.
	//
	// Get all comments on a release.
	//
	// GET /releases/{release_id}/comments
	ListReleaseComments(ctx context.Context, params ListReleaseCommentsParams) (*CommentsResponse, error)
	// ListReleaseFeatures implements listReleaseFeatures operation.
	//
	// Get all features for a specific release.
	//
	// GET /releases/{release_id}/features
	ListReleaseFeatures(ctx context.Context, params ListReleaseFeaturesParams) (*FeaturesResponse, error)
	// ListStrategicModels implements listStrategicModels operation.
	//
	// Get all strategic models (canvases) with optional filtering.
	//
	// GET /strategy_models
	ListStrategicModels(ctx context.Context, params ListStrategicModelsParams) (*StrategicModelsResponse, error)
	// ListUsers implements listUsers operation.
	//
	// Get all users in the account.
	//
	// GET /users
	ListUsers(ctx context.Context, params ListUsersParams) (*UsersResponse, error)
	// UpdateComment implements updateComment operation.
	//
	// Update an existing comment.
	//
	// PUT /comments/{comment_id}
	UpdateComment(ctx context.Context, req *CommentUpdateRequest, params UpdateCommentParams) (*CommentResponse, error)
	// UpdateEpic implements updateEpic operation.
	//
	// Update an existing epic.
	//
	// PUT /epics/{epic_id}
	UpdateEpic(ctx context.Context, req *EpicUpdateRequest, params UpdateEpicParams) (*EpicResponse, error)
	// UpdateFeature implements updateFeature operation.
	//
	// Update an existing feature.
	//
	// PUT /features/{feature_id}
	UpdateFeature(ctx context.Context, req *FeatureUpdateRequest, params UpdateFeatureParams) (*FeatureResponse, error)
	// UpdateGoal implements updateGoal operation.
	//
	// Update an existing goal.
	//
	// PUT /goals/{goal_id}
	UpdateGoal(ctx context.Context, req *GoalUpdateRequest, params UpdateGoalParams) (*GoalResponse, error)
	// UpdateInitiative implements updateInitiative operation.
	//
	// Update an existing initiative.
	//
	// PUT /initiatives/{initiative_id}
	UpdateInitiative(ctx context.Context, req *InitiativeUpdateRequest, params UpdateInitiativeParams) (*InitiativeResponse, error)
	// UpdateRelease implements updateRelease operation.
	//
	// Update an existing release.
	//
	// PUT /releases/{release_id}
	UpdateRelease(ctx context.Context, req *ReleaseUpdateRequest, params UpdateReleaseParams) (*ReleaseResponse, error)
	// UpdateRequirement implements updateRequirement operation.
	//
	// Update an existing requirement.
	//
	// PUT /requirements/{requirement_id}
	UpdateRequirement(ctx context.Context, req *RequirementUpdateRequest, params UpdateRequirementParams) (*RequirementResponse, error)
	// UpdateStrategicModel implements updateStrategicModel operation.
	//
	// Update an existing strategic model.
	//
	// PUT /strategy_models/{strategy_model_id}
	UpdateStrategicModel(ctx context.Context, req *StrategicModelUpdateRequest, params UpdateStrategicModelParams) (*StrategicModelResponse, error)
	// UpdateStrategicModelComponent implements updateStrategicModelComponent operation.
	//
	// Update a component (block) within a strategic model.
	//
	// PUT /strategy_models/{strategy_model_id}/components/{component_id}
	UpdateStrategicModelComponent(ctx context.Context, req *StrategicModelComponentUpdateRequest, params UpdateStrategicModelComponentParams) (*StrategicModelComponentResponse, error)
}

Handler handles operations described by OpenAPI v3 specification.

type Idea

type Idea struct {
	ID              string            `json:"id"`
	ReferenceNum    string            `json:"reference_num"`
	Name            string            `json:"name"`
	Description     OptString         `json:"description"`
	Votes           OptInt            `json:"votes"`
	CreatedAt       time.Time         `json:"created_at"`
	UpdatedAt       time.Time         `json:"updated_at"`
	StatusChangedAt OptDateTime       `json:"status_changed_at"`
	WorkflowStatus  OptWorkflowStatus `json:"workflow_status"`
	Categories      []Category        `json:"categories"`
	Feature         OptIdeaFeature    `json:"feature"`
}

Ref: #/components/schemas/Idea

func (*Idea) Decode

func (s *Idea) Decode(d *jx.Decoder) error

Decode decodes Idea from json.

func (*Idea) Encode

func (s *Idea) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Idea) GetCategories

func (s *Idea) GetCategories() []Category

GetCategories returns the value of Categories.

func (*Idea) GetCreatedAt

func (s *Idea) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Idea) GetDescription

func (s *Idea) GetDescription() OptString

GetDescription returns the value of Description.

func (*Idea) GetFeature

func (s *Idea) GetFeature() OptIdeaFeature

GetFeature returns the value of Feature.

func (*Idea) GetID

func (s *Idea) GetID() string

GetID returns the value of ID.

func (*Idea) GetName

func (s *Idea) GetName() string

GetName returns the value of Name.

func (*Idea) GetReferenceNum

func (s *Idea) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*Idea) GetStatusChangedAt

func (s *Idea) GetStatusChangedAt() OptDateTime

GetStatusChangedAt returns the value of StatusChangedAt.

func (*Idea) GetUpdatedAt

func (s *Idea) GetUpdatedAt() time.Time

GetUpdatedAt returns the value of UpdatedAt.

func (*Idea) GetVotes

func (s *Idea) GetVotes() OptInt

GetVotes returns the value of Votes.

func (*Idea) GetWorkflowStatus

func (s *Idea) GetWorkflowStatus() OptWorkflowStatus

GetWorkflowStatus returns the value of WorkflowStatus.

func (*Idea) MarshalJSON

func (s *Idea) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Idea) SetCategories

func (s *Idea) SetCategories(val []Category)

SetCategories sets the value of Categories.

func (*Idea) SetCreatedAt

func (s *Idea) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Idea) SetDescription

func (s *Idea) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Idea) SetFeature

func (s *Idea) SetFeature(val OptIdeaFeature)

SetFeature sets the value of Feature.

func (*Idea) SetID

func (s *Idea) SetID(val string)

SetID sets the value of ID.

func (*Idea) SetName

func (s *Idea) SetName(val string)

SetName sets the value of Name.

func (*Idea) SetReferenceNum

func (s *Idea) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*Idea) SetStatusChangedAt

func (s *Idea) SetStatusChangedAt(val OptDateTime)

SetStatusChangedAt sets the value of StatusChangedAt.

func (*Idea) SetUpdatedAt

func (s *Idea) SetUpdatedAt(val time.Time)

SetUpdatedAt sets the value of UpdatedAt.

func (*Idea) SetVotes

func (s *Idea) SetVotes(val OptInt)

SetVotes sets the value of Votes.

func (*Idea) SetWorkflowStatus

func (s *Idea) SetWorkflowStatus(val OptWorkflowStatus)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*Idea) UnmarshalJSON

func (s *Idea) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type IdeaFeature

type IdeaFeature struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
	ProductID    OptString   `json:"product_id"`
}

Ref: #/components/schemas/IdeaFeature

func (*IdeaFeature) Decode

func (s *IdeaFeature) Decode(d *jx.Decoder) error

Decode decodes IdeaFeature from json.

func (*IdeaFeature) Encode

func (s *IdeaFeature) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*IdeaFeature) GetCreatedAt

func (s *IdeaFeature) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*IdeaFeature) GetID

func (s *IdeaFeature) GetID() OptString

GetID returns the value of ID.

func (*IdeaFeature) GetName

func (s *IdeaFeature) GetName() OptString

GetName returns the value of Name.

func (*IdeaFeature) GetProductID

func (s *IdeaFeature) GetProductID() OptString

GetProductID returns the value of ProductID.

func (*IdeaFeature) GetReferenceNum

func (s *IdeaFeature) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*IdeaFeature) GetResource

func (s *IdeaFeature) GetResource() OptString

GetResource returns the value of Resource.

func (*IdeaFeature) GetURL

func (s *IdeaFeature) GetURL() OptString

GetURL returns the value of URL.

func (*IdeaFeature) MarshalJSON

func (s *IdeaFeature) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*IdeaFeature) SetCreatedAt

func (s *IdeaFeature) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*IdeaFeature) SetID

func (s *IdeaFeature) SetID(val OptString)

SetID sets the value of ID.

func (*IdeaFeature) SetName

func (s *IdeaFeature) SetName(val OptString)

SetName sets the value of Name.

func (*IdeaFeature) SetProductID

func (s *IdeaFeature) SetProductID(val OptString)

SetProductID sets the value of ProductID.

func (*IdeaFeature) SetReferenceNum

func (s *IdeaFeature) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*IdeaFeature) SetResource

func (s *IdeaFeature) SetResource(val OptString)

SetResource sets the value of Resource.

func (*IdeaFeature) SetURL

func (s *IdeaFeature) SetURL(val OptString)

SetURL sets the value of URL.

func (*IdeaFeature) UnmarshalJSON

func (s *IdeaFeature) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type IdeaResponse

type IdeaResponse struct {
	Idea OptIdea `json:"idea"`
}

Ref: #/components/schemas/IdeaResponse

func (*IdeaResponse) Decode

func (s *IdeaResponse) Decode(d *jx.Decoder) error

Decode decodes IdeaResponse from json.

func (*IdeaResponse) Encode

func (s *IdeaResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*IdeaResponse) GetIdea

func (s *IdeaResponse) GetIdea() OptIdea

GetIdea returns the value of Idea.

func (*IdeaResponse) MarshalJSON

func (s *IdeaResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*IdeaResponse) SetIdea

func (s *IdeaResponse) SetIdea(val OptIdea)

SetIdea sets the value of Idea.

func (*IdeaResponse) UnmarshalJSON

func (s *IdeaResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type IdeasResponse

type IdeasResponse struct {
	Ideas      []Idea        `json:"ideas"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/IdeasResponse

func (*IdeasResponse) Decode

func (s *IdeasResponse) Decode(d *jx.Decoder) error

Decode decodes IdeasResponse from json.

func (*IdeasResponse) Encode

func (s *IdeasResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*IdeasResponse) GetIdeas

func (s *IdeasResponse) GetIdeas() []Idea

GetIdeas returns the value of Ideas.

func (*IdeasResponse) GetPagination

func (s *IdeasResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*IdeasResponse) MarshalJSON

func (s *IdeasResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*IdeasResponse) SetIdeas

func (s *IdeasResponse) SetIdeas(val []Idea)

SetIdeas sets the value of Ideas.

func (*IdeasResponse) SetPagination

func (s *IdeasResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*IdeasResponse) UnmarshalJSON

func (s *IdeasResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Initiative

type Initiative struct {
	ID             string     `json:"id"`
	ReferenceNum   string     `json:"reference_num"`
	Name           string     `json:"name"`
	Description    OptString  `json:"description"`
	Color          OptString  `json:"color"`
	Position       OptInt64   `json:"position"`
	Value          OptFloat64 `json:"value"`
	Effort         OptFloat64 `json:"effort"`
	Presented      OptBool    `json:"presented"`
	StartDate      OptDate    `json:"start_date"`
	EndDate        OptDate    `json:"end_date"`
	Progress       OptFloat64 `json:"progress"`
	ProgressSource OptString  `json:"progress_source"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource       OptString         `json:"resource"`
	CreatedAt      time.Time         `json:"created_at"`
	UpdatedAt      OptDateTime       `json:"updated_at"`
	WorkflowStatus OptWorkflowStatus `json:"workflow_status"`
	Epic           OptEpicMeta       `json:"epic"`
	Features       []FeatureMeta     `json:"features"`
}

Ref: #/components/schemas/Initiative

func (*Initiative) Decode

func (s *Initiative) Decode(d *jx.Decoder) error

Decode decodes Initiative from json.

func (*Initiative) Encode

func (s *Initiative) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Initiative) GetColor

func (s *Initiative) GetColor() OptString

GetColor returns the value of Color.

func (*Initiative) GetCreatedAt

func (s *Initiative) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Initiative) GetDescription

func (s *Initiative) GetDescription() OptString

GetDescription returns the value of Description.

func (*Initiative) GetEffort

func (s *Initiative) GetEffort() OptFloat64

GetEffort returns the value of Effort.

func (*Initiative) GetEndDate

func (s *Initiative) GetEndDate() OptDate

GetEndDate returns the value of EndDate.

func (*Initiative) GetEpic

func (s *Initiative) GetEpic() OptEpicMeta

GetEpic returns the value of Epic.

func (*Initiative) GetFeatures

func (s *Initiative) GetFeatures() []FeatureMeta

GetFeatures returns the value of Features.

func (*Initiative) GetID

func (s *Initiative) GetID() string

GetID returns the value of ID.

func (*Initiative) GetName

func (s *Initiative) GetName() string

GetName returns the value of Name.

func (*Initiative) GetPosition

func (s *Initiative) GetPosition() OptInt64

GetPosition returns the value of Position.

func (*Initiative) GetPresented

func (s *Initiative) GetPresented() OptBool

GetPresented returns the value of Presented.

func (*Initiative) GetProgress

func (s *Initiative) GetProgress() OptFloat64

GetProgress returns the value of Progress.

func (*Initiative) GetProgressSource

func (s *Initiative) GetProgressSource() OptString

GetProgressSource returns the value of ProgressSource.

func (*Initiative) GetReferenceNum

func (s *Initiative) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*Initiative) GetResource

func (s *Initiative) GetResource() OptString

GetResource returns the value of Resource.

func (*Initiative) GetStartDate

func (s *Initiative) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*Initiative) GetURL

func (s *Initiative) GetURL() OptString

GetURL returns the value of URL.

func (*Initiative) GetUpdatedAt

func (s *Initiative) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Initiative) GetValue

func (s *Initiative) GetValue() OptFloat64

GetValue returns the value of Value.

func (*Initiative) GetWorkflowStatus

func (s *Initiative) GetWorkflowStatus() OptWorkflowStatus

GetWorkflowStatus returns the value of WorkflowStatus.

func (*Initiative) MarshalJSON

func (s *Initiative) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Initiative) SetColor

func (s *Initiative) SetColor(val OptString)

SetColor sets the value of Color.

func (*Initiative) SetCreatedAt

func (s *Initiative) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Initiative) SetDescription

func (s *Initiative) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Initiative) SetEffort

func (s *Initiative) SetEffort(val OptFloat64)

SetEffort sets the value of Effort.

func (*Initiative) SetEndDate

func (s *Initiative) SetEndDate(val OptDate)

SetEndDate sets the value of EndDate.

func (*Initiative) SetEpic

func (s *Initiative) SetEpic(val OptEpicMeta)

SetEpic sets the value of Epic.

func (*Initiative) SetFeatures

func (s *Initiative) SetFeatures(val []FeatureMeta)

SetFeatures sets the value of Features.

func (*Initiative) SetID

func (s *Initiative) SetID(val string)

SetID sets the value of ID.

func (*Initiative) SetName

func (s *Initiative) SetName(val string)

SetName sets the value of Name.

func (*Initiative) SetPosition

func (s *Initiative) SetPosition(val OptInt64)

SetPosition sets the value of Position.

func (*Initiative) SetPresented

func (s *Initiative) SetPresented(val OptBool)

SetPresented sets the value of Presented.

func (*Initiative) SetProgress

func (s *Initiative) SetProgress(val OptFloat64)

SetProgress sets the value of Progress.

func (*Initiative) SetProgressSource

func (s *Initiative) SetProgressSource(val OptString)

SetProgressSource sets the value of ProgressSource.

func (*Initiative) SetReferenceNum

func (s *Initiative) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*Initiative) SetResource

func (s *Initiative) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Initiative) SetStartDate

func (s *Initiative) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*Initiative) SetURL

func (s *Initiative) SetURL(val OptString)

SetURL sets the value of URL.

func (*Initiative) SetUpdatedAt

func (s *Initiative) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Initiative) SetValue

func (s *Initiative) SetValue(val OptFloat64)

SetValue sets the value of Value.

func (*Initiative) SetWorkflowStatus

func (s *Initiative) SetWorkflowStatus(val OptWorkflowStatus)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*Initiative) UnmarshalJSON

func (s *Initiative) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Initiative) Validate

func (s *Initiative) Validate() error

type InitiativeCreate

type InitiativeCreate struct {
	// Initiative name.
	Name string `json:"name"`
	// Initiative description (HTML allowed).
	Description OptString `json:"description"`
	// Workflow status ID or name.
	WorkflowStatus OptString  `json:"workflow_status"`
	StartDate      OptDate    `json:"start_date"`
	EndDate        OptDate    `json:"end_date"`
	Value          OptFloat64 `json:"value"`
	Effort         OptFloat64 `json:"effort"`
	Color          OptString  `json:"color"`
	Presented      OptBool    `json:"presented"`
}

Ref: #/components/schemas/InitiativeCreate

func (*InitiativeCreate) Decode

func (s *InitiativeCreate) Decode(d *jx.Decoder) error

Decode decodes InitiativeCreate from json.

func (*InitiativeCreate) Encode

func (s *InitiativeCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativeCreate) GetColor

func (s *InitiativeCreate) GetColor() OptString

GetColor returns the value of Color.

func (*InitiativeCreate) GetDescription

func (s *InitiativeCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*InitiativeCreate) GetEffort

func (s *InitiativeCreate) GetEffort() OptFloat64

GetEffort returns the value of Effort.

func (*InitiativeCreate) GetEndDate

func (s *InitiativeCreate) GetEndDate() OptDate

GetEndDate returns the value of EndDate.

func (*InitiativeCreate) GetName

func (s *InitiativeCreate) GetName() string

GetName returns the value of Name.

func (*InitiativeCreate) GetPresented

func (s *InitiativeCreate) GetPresented() OptBool

GetPresented returns the value of Presented.

func (*InitiativeCreate) GetStartDate

func (s *InitiativeCreate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*InitiativeCreate) GetValue

func (s *InitiativeCreate) GetValue() OptFloat64

GetValue returns the value of Value.

func (*InitiativeCreate) GetWorkflowStatus

func (s *InitiativeCreate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*InitiativeCreate) MarshalJSON

func (s *InitiativeCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativeCreate) SetColor

func (s *InitiativeCreate) SetColor(val OptString)

SetColor sets the value of Color.

func (*InitiativeCreate) SetDescription

func (s *InitiativeCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*InitiativeCreate) SetEffort

func (s *InitiativeCreate) SetEffort(val OptFloat64)

SetEffort sets the value of Effort.

func (*InitiativeCreate) SetEndDate

func (s *InitiativeCreate) SetEndDate(val OptDate)

SetEndDate sets the value of EndDate.

func (*InitiativeCreate) SetName

func (s *InitiativeCreate) SetName(val string)

SetName sets the value of Name.

func (*InitiativeCreate) SetPresented

func (s *InitiativeCreate) SetPresented(val OptBool)

SetPresented sets the value of Presented.

func (*InitiativeCreate) SetStartDate

func (s *InitiativeCreate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*InitiativeCreate) SetValue

func (s *InitiativeCreate) SetValue(val OptFloat64)

SetValue sets the value of Value.

func (*InitiativeCreate) SetWorkflowStatus

func (s *InitiativeCreate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*InitiativeCreate) UnmarshalJSON

func (s *InitiativeCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InitiativeCreate) Validate

func (s *InitiativeCreate) Validate() error

type InitiativeCreateRequest

type InitiativeCreateRequest struct {
	Initiative InitiativeCreate `json:"initiative"`
}

Ref: #/components/schemas/InitiativeCreateRequest

func (*InitiativeCreateRequest) Decode

func (s *InitiativeCreateRequest) Decode(d *jx.Decoder) error

Decode decodes InitiativeCreateRequest from json.

func (*InitiativeCreateRequest) Encode

func (s *InitiativeCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativeCreateRequest) GetInitiative

func (s *InitiativeCreateRequest) GetInitiative() InitiativeCreate

GetInitiative returns the value of Initiative.

func (*InitiativeCreateRequest) MarshalJSON

func (s *InitiativeCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativeCreateRequest) SetInitiative

func (s *InitiativeCreateRequest) SetInitiative(val InitiativeCreate)

SetInitiative sets the value of Initiative.

func (*InitiativeCreateRequest) UnmarshalJSON

func (s *InitiativeCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InitiativeCreateRequest) Validate

func (s *InitiativeCreateRequest) Validate() error

type InitiativeMeta

type InitiativeMeta struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
}

Ref: #/components/schemas/InitiativeMeta

func (*InitiativeMeta) Decode

func (s *InitiativeMeta) Decode(d *jx.Decoder) error

Decode decodes InitiativeMeta from json.

func (*InitiativeMeta) Encode

func (s *InitiativeMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativeMeta) GetCreatedAt

func (s *InitiativeMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*InitiativeMeta) GetID

func (s *InitiativeMeta) GetID() OptString

GetID returns the value of ID.

func (*InitiativeMeta) GetName

func (s *InitiativeMeta) GetName() OptString

GetName returns the value of Name.

func (*InitiativeMeta) GetReferenceNum

func (s *InitiativeMeta) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*InitiativeMeta) GetResource

func (s *InitiativeMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*InitiativeMeta) GetURL

func (s *InitiativeMeta) GetURL() OptString

GetURL returns the value of URL.

func (*InitiativeMeta) MarshalJSON

func (s *InitiativeMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativeMeta) SetCreatedAt

func (s *InitiativeMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*InitiativeMeta) SetID

func (s *InitiativeMeta) SetID(val OptString)

SetID sets the value of ID.

func (*InitiativeMeta) SetName

func (s *InitiativeMeta) SetName(val OptString)

SetName sets the value of Name.

func (*InitiativeMeta) SetReferenceNum

func (s *InitiativeMeta) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*InitiativeMeta) SetResource

func (s *InitiativeMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*InitiativeMeta) SetURL

func (s *InitiativeMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*InitiativeMeta) UnmarshalJSON

func (s *InitiativeMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type InitiativeResponse

type InitiativeResponse struct {
	Initiative OptInitiative `json:"initiative"`
}

Ref: #/components/schemas/InitiativeResponse

func (*InitiativeResponse) Decode

func (s *InitiativeResponse) Decode(d *jx.Decoder) error

Decode decodes InitiativeResponse from json.

func (*InitiativeResponse) Encode

func (s *InitiativeResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativeResponse) GetInitiative

func (s *InitiativeResponse) GetInitiative() OptInitiative

GetInitiative returns the value of Initiative.

func (*InitiativeResponse) MarshalJSON

func (s *InitiativeResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativeResponse) SetInitiative

func (s *InitiativeResponse) SetInitiative(val OptInitiative)

SetInitiative sets the value of Initiative.

func (*InitiativeResponse) UnmarshalJSON

func (s *InitiativeResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InitiativeResponse) Validate

func (s *InitiativeResponse) Validate() error

type InitiativeUpdate

type InitiativeUpdate struct {
	Name           OptString  `json:"name"`
	Description    OptString  `json:"description"`
	WorkflowStatus OptString  `json:"workflow_status"`
	StartDate      OptDate    `json:"start_date"`
	EndDate        OptDate    `json:"end_date"`
	Value          OptFloat64 `json:"value"`
	Effort         OptFloat64 `json:"effort"`
	Color          OptString  `json:"color"`
	Presented      OptBool    `json:"presented"`
}

Ref: #/components/schemas/InitiativeUpdate

func (*InitiativeUpdate) Decode

func (s *InitiativeUpdate) Decode(d *jx.Decoder) error

Decode decodes InitiativeUpdate from json.

func (*InitiativeUpdate) Encode

func (s *InitiativeUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativeUpdate) GetColor

func (s *InitiativeUpdate) GetColor() OptString

GetColor returns the value of Color.

func (*InitiativeUpdate) GetDescription

func (s *InitiativeUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*InitiativeUpdate) GetEffort

func (s *InitiativeUpdate) GetEffort() OptFloat64

GetEffort returns the value of Effort.

func (*InitiativeUpdate) GetEndDate

func (s *InitiativeUpdate) GetEndDate() OptDate

GetEndDate returns the value of EndDate.

func (*InitiativeUpdate) GetName

func (s *InitiativeUpdate) GetName() OptString

GetName returns the value of Name.

func (*InitiativeUpdate) GetPresented

func (s *InitiativeUpdate) GetPresented() OptBool

GetPresented returns the value of Presented.

func (*InitiativeUpdate) GetStartDate

func (s *InitiativeUpdate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*InitiativeUpdate) GetValue

func (s *InitiativeUpdate) GetValue() OptFloat64

GetValue returns the value of Value.

func (*InitiativeUpdate) GetWorkflowStatus

func (s *InitiativeUpdate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*InitiativeUpdate) MarshalJSON

func (s *InitiativeUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativeUpdate) SetColor

func (s *InitiativeUpdate) SetColor(val OptString)

SetColor sets the value of Color.

func (*InitiativeUpdate) SetDescription

func (s *InitiativeUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*InitiativeUpdate) SetEffort

func (s *InitiativeUpdate) SetEffort(val OptFloat64)

SetEffort sets the value of Effort.

func (*InitiativeUpdate) SetEndDate

func (s *InitiativeUpdate) SetEndDate(val OptDate)

SetEndDate sets the value of EndDate.

func (*InitiativeUpdate) SetName

func (s *InitiativeUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*InitiativeUpdate) SetPresented

func (s *InitiativeUpdate) SetPresented(val OptBool)

SetPresented sets the value of Presented.

func (*InitiativeUpdate) SetStartDate

func (s *InitiativeUpdate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*InitiativeUpdate) SetValue

func (s *InitiativeUpdate) SetValue(val OptFloat64)

SetValue sets the value of Value.

func (*InitiativeUpdate) SetWorkflowStatus

func (s *InitiativeUpdate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*InitiativeUpdate) UnmarshalJSON

func (s *InitiativeUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InitiativeUpdate) Validate

func (s *InitiativeUpdate) Validate() error

type InitiativeUpdateRequest

type InitiativeUpdateRequest struct {
	Initiative InitiativeUpdate `json:"initiative"`
}

Ref: #/components/schemas/InitiativeUpdateRequest

func (*InitiativeUpdateRequest) Decode

func (s *InitiativeUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes InitiativeUpdateRequest from json.

func (*InitiativeUpdateRequest) Encode

func (s *InitiativeUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativeUpdateRequest) GetInitiative

func (s *InitiativeUpdateRequest) GetInitiative() InitiativeUpdate

GetInitiative returns the value of Initiative.

func (*InitiativeUpdateRequest) MarshalJSON

func (s *InitiativeUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativeUpdateRequest) SetInitiative

func (s *InitiativeUpdateRequest) SetInitiative(val InitiativeUpdate)

SetInitiative sets the value of Initiative.

func (*InitiativeUpdateRequest) UnmarshalJSON

func (s *InitiativeUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*InitiativeUpdateRequest) Validate

func (s *InitiativeUpdateRequest) Validate() error

type InitiativesResponse

type InitiativesResponse struct {
	Initiatives []InitiativeMeta `json:"initiatives"`
	Pagination  OptPagination    `json:"pagination"`
}

Ref: #/components/schemas/InitiativesResponse

func (*InitiativesResponse) Decode

func (s *InitiativesResponse) Decode(d *jx.Decoder) error

Decode decodes InitiativesResponse from json.

func (*InitiativesResponse) Encode

func (s *InitiativesResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*InitiativesResponse) GetInitiatives

func (s *InitiativesResponse) GetInitiatives() []InitiativeMeta

GetInitiatives returns the value of Initiatives.

func (*InitiativesResponse) GetPagination

func (s *InitiativesResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*InitiativesResponse) MarshalJSON

func (s *InitiativesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*InitiativesResponse) SetInitiatives

func (s *InitiativesResponse) SetInitiatives(val []InitiativeMeta)

SetInitiatives sets the value of Initiatives.

func (*InitiativesResponse) SetPagination

func (s *InitiativesResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*InitiativesResponse) UnmarshalJSON

func (s *InitiativesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type IntegrationField

type IntegrationField struct {
	ID            OptString   `json:"id"`
	Name          OptString   `json:"name"`
	Value         OptString   `json:"value"`
	IntegrationID OptString   `json:"integration_id"`
	ServiceName   OptString   `json:"service_name"`
	CreatedAt     OptDateTime `json:"created_at"`
}

Ref: #/components/schemas/IntegrationField

func (*IntegrationField) Decode

func (s *IntegrationField) Decode(d *jx.Decoder) error

Decode decodes IntegrationField from json.

func (*IntegrationField) Encode

func (s *IntegrationField) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*IntegrationField) GetCreatedAt

func (s *IntegrationField) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*IntegrationField) GetID

func (s *IntegrationField) GetID() OptString

GetID returns the value of ID.

func (*IntegrationField) GetIntegrationID

func (s *IntegrationField) GetIntegrationID() OptString

GetIntegrationID returns the value of IntegrationID.

func (*IntegrationField) GetName

func (s *IntegrationField) GetName() OptString

GetName returns the value of Name.

func (*IntegrationField) GetServiceName

func (s *IntegrationField) GetServiceName() OptString

GetServiceName returns the value of ServiceName.

func (*IntegrationField) GetValue

func (s *IntegrationField) GetValue() OptString

GetValue returns the value of Value.

func (*IntegrationField) MarshalJSON

func (s *IntegrationField) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*IntegrationField) SetCreatedAt

func (s *IntegrationField) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*IntegrationField) SetID

func (s *IntegrationField) SetID(val OptString)

SetID sets the value of ID.

func (*IntegrationField) SetIntegrationID

func (s *IntegrationField) SetIntegrationID(val OptString)

SetIntegrationID sets the value of IntegrationID.

func (*IntegrationField) SetName

func (s *IntegrationField) SetName(val OptString)

SetName sets the value of Name.

func (*IntegrationField) SetServiceName

func (s *IntegrationField) SetServiceName(val OptString)

SetServiceName sets the value of ServiceName.

func (*IntegrationField) SetValue

func (s *IntegrationField) SetValue(val OptString)

SetValue sets the value of Value.

func (*IntegrationField) UnmarshalJSON

func (s *IntegrationField) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Invoker

type Invoker interface {
	// CreateFeatureComment invokes createFeatureComment operation.
	//
	// Create a new comment on a feature.
	//
	// POST /features/{feature_id}/comments
	CreateFeatureComment(ctx context.Context, request *CommentCreateRequest, params CreateFeatureCommentParams) (*CommentResponse, error)
	// CreateFeatureRequirement invokes createFeatureRequirement operation.
	//
	// Create a new requirement for a feature.
	//
	// POST /features/{feature_id}/requirements
	CreateFeatureRequirement(ctx context.Context, request *RequirementCreateRequest, params CreateFeatureRequirementParams) (*RequirementResponse, error)
	// CreateIdeaComment invokes createIdeaComment operation.
	//
	// Create a new internal comment on an idea.
	//
	// POST /ideas/{idea_id}/comments
	CreateIdeaComment(ctx context.Context, request *CommentCreateRequest, params CreateIdeaCommentParams) (*CommentResponse, error)
	// CreateProductGoal invokes createProductGoal operation.
	//
	// Create a new goal in a product.
	//
	// POST /products/{product_id}/goals
	CreateProductGoal(ctx context.Context, request *GoalCreateRequest, params CreateProductGoalParams) (*GoalResponse, error)
	// CreateProductInitiative invokes createProductInitiative operation.
	//
	// Create a new initiative in a product.
	//
	// POST /products/{product_id}/initiatives
	CreateProductInitiative(ctx context.Context, request *InitiativeCreateRequest, params CreateProductInitiativeParams) (*InitiativeResponse, error)
	// CreateProductStrategicModel invokes createProductStrategicModel operation.
	//
	// Create a new strategic model in a product.
	//
	// POST /products/{product_id}/strategy_models
	CreateProductStrategicModel(ctx context.Context, request *StrategicModelCreateRequest, params CreateProductStrategicModelParams) (*StrategicModelResponse, error)
	// CreateReleaseEpic invokes createReleaseEpic operation.
	//
	// Create a new epic in a release.
	//
	// POST /releases/{release_id}/epics
	CreateReleaseEpic(ctx context.Context, request *EpicCreateRequest, params CreateReleaseEpicParams) (*EpicResponse, error)
	// CreateReleaseFeature invokes createReleaseFeature operation.
	//
	// Create a new feature in a release.
	//
	// POST /releases/{release_id}/features
	CreateReleaseFeature(ctx context.Context, request *FeatureCreateRequest, params CreateReleaseFeatureParams) (*FeatureResponse, error)
	// DeleteComment invokes deleteComment operation.
	//
	// Delete a comment.
	//
	// DELETE /comments/{comment_id}
	DeleteComment(ctx context.Context, params DeleteCommentParams) error
	// DeleteRequirement invokes deleteRequirement operation.
	//
	// Delete a requirement.
	//
	// DELETE /requirements/{requirement_id}
	DeleteRequirement(ctx context.Context, params DeleteRequirementParams) error
	// GetComment invokes getComment operation.
	//
	// Get a specific comment by ID.
	//
	// GET /comments/{comment_id}
	GetComment(ctx context.Context, params GetCommentParams) (GetCommentRes, error)
	// GetCurrentUser invokes getCurrentUser operation.
	//
	// Get the currently authenticated user.
	//
	// GET /me
	GetCurrentUser(ctx context.Context) (*UserResponse, error)
	// GetEpic invokes getEpic operation.
	//
	// Get a specific epic by ID or reference number.
	//
	// GET /epics/{epic_id}
	GetEpic(ctx context.Context, params GetEpicParams) (GetEpicRes, error)
	// GetFeature invokes getFeature operation.
	//
	// Get a specific feature by ID or reference number.
	//
	// GET /features/{feature_id}
	GetFeature(ctx context.Context, params GetFeatureParams) (GetFeatureRes, error)
	// GetGoal invokes getGoal operation.
	//
	// Get a specific goal by ID or reference number.
	//
	// GET /goals/{goal_id}
	GetGoal(ctx context.Context, params GetGoalParams) (GetGoalRes, error)
	// GetIdea invokes getIdea operation.
	//
	// Get a specific idea by ID.
	//
	// GET /ideas/{idea_id}
	GetIdea(ctx context.Context, params GetIdeaParams) (*IdeaResponse, error)
	// GetInitiative invokes getInitiative operation.
	//
	// Get a specific initiative by ID or reference number.
	//
	// GET /initiatives/{initiative_id}
	GetInitiative(ctx context.Context, params GetInitiativeParams) (GetInitiativeRes, error)
	// GetProduct invokes getProduct operation.
	//
	// Get a specific product by ID.
	//
	// GET /products/{product_id}
	GetProduct(ctx context.Context, params GetProductParams) (*ProductResponse, error)
	// GetRelease invokes getRelease operation.
	//
	// Get a specific release by ID.
	//
	// GET /releases/{release_id}
	GetRelease(ctx context.Context, params GetReleaseParams) (*ReleaseResponse, error)
	// GetRequirement invokes getRequirement operation.
	//
	// Get a specific requirement by ID or reference number.
	//
	// GET /requirements/{requirement_id}
	GetRequirement(ctx context.Context, params GetRequirementParams) (GetRequirementRes, error)
	// GetStrategicModel invokes getStrategicModel operation.
	//
	// Get a specific strategic model by ID or reference number.
	//
	// GET /strategy_models/{strategy_model_id}
	GetStrategicModel(ctx context.Context, params GetStrategicModelParams) (GetStrategicModelRes, error)
	// GetUser invokes getUser operation.
	//
	// Get a specific user by ID.
	//
	// GET /users/{user_id}
	GetUser(ctx context.Context, params GetUserParams) (*UserResponse, error)
	// ListEpicComments invokes listEpicComments operation.
	//
	// Get all comments on an epic.
	//
	// GET /epics/{epic_id}/comments
	ListEpicComments(ctx context.Context, params ListEpicCommentsParams) (*CommentsResponse, error)
	// ListEpics invokes listEpics operation.
	//
	// Get all epics with optional filtering.
	//
	// GET /epics
	ListEpics(ctx context.Context, params ListEpicsParams) (*EpicsResponse, error)
	// ListFeatureComments invokes listFeatureComments operation.
	//
	// Get all comments on a feature.
	//
	// GET /features/{feature_id}/comments
	ListFeatureComments(ctx context.Context, params ListFeatureCommentsParams) (*CommentsResponse, error)
	// ListFeatureRequirements invokes listFeatureRequirements operation.
	//
	// Get all requirements for a feature.
	//
	// GET /features/{feature_id}/requirements
	ListFeatureRequirements(ctx context.Context, params ListFeatureRequirementsParams) (*RequirementsResponse, error)
	// ListFeatures invokes listFeatures operation.
	//
	// Get all features with optional filtering.
	//
	// GET /features
	ListFeatures(ctx context.Context, params ListFeaturesParams) (*FeaturesResponse, error)
	// ListGoalComments invokes listGoalComments operation.
	//
	// Get all comments on a goal.
	//
	// GET /goals/{goal_id}/comments
	ListGoalComments(ctx context.Context, params ListGoalCommentsParams) (*CommentsResponse, error)
	// ListGoals invokes listGoals operation.
	//
	// Get all goals with optional filtering.
	//
	// GET /goals
	ListGoals(ctx context.Context, params ListGoalsParams) (*GoalsResponse, error)
	// ListIdeaComments invokes listIdeaComments operation.
	//
	// Get all comments on an idea.
	//
	// GET /ideas/{idea_id}/comments
	ListIdeaComments(ctx context.Context, params ListIdeaCommentsParams) (*CommentsResponse, error)
	// ListIdeas invokes listIdeas operation.
	//
	// Get all ideas with optional filtering.
	//
	// GET /ideas
	ListIdeas(ctx context.Context, params ListIdeasParams) (*IdeasResponse, error)
	// ListInitiativeComments invokes listInitiativeComments operation.
	//
	// Get all comments on an initiative.
	//
	// GET /initiatives/{initiative_id}/comments
	ListInitiativeComments(ctx context.Context, params ListInitiativeCommentsParams) (*CommentsResponse, error)
	// ListInitiatives invokes listInitiatives operation.
	//
	// Get all initiatives with optional filtering.
	//
	// GET /initiatives
	ListInitiatives(ctx context.Context, params ListInitiativesParams) (*InitiativesResponse, error)
	// ListProductComments invokes listProductComments operation.
	//
	// Get all comments in a product.
	//
	// GET /products/{product_id}/comments
	ListProductComments(ctx context.Context, params ListProductCommentsParams) (*CommentsResponse, error)
	// ListProductEpics invokes listProductEpics operation.
	//
	// Get all epics for a product.
	//
	// GET /products/{product_id}/epics
	ListProductEpics(ctx context.Context, params ListProductEpicsParams) (*EpicsResponse, error)
	// ListProductGoals invokes listProductGoals operation.
	//
	// Get all goals for a product.
	//
	// GET /products/{product_id}/goals
	ListProductGoals(ctx context.Context, params ListProductGoalsParams) (*GoalsResponse, error)
	// ListProductInitiatives invokes listProductInitiatives operation.
	//
	// Get all initiatives for a product.
	//
	// GET /products/{product_id}/initiatives
	ListProductInitiatives(ctx context.Context, params ListProductInitiativesParams) (*InitiativesResponse, error)
	// ListProductReleases invokes listProductReleases operation.
	//
	// Get all releases for a product.
	//
	// GET /products/{product_id}/releases
	ListProductReleases(ctx context.Context, params ListProductReleasesParams) (*ReleasesResponse, error)
	// ListProductStrategicModels invokes listProductStrategicModels operation.
	//
	// Get all strategic models for a product.
	//
	// GET /products/{product_id}/strategy_models
	ListProductStrategicModels(ctx context.Context, params ListProductStrategicModelsParams) (*StrategicModelsResponse, error)
	// ListProductWorkflows invokes listProductWorkflows operation.
	//
	// Get all workflows and their statuses for a product.
	//
	// GET /products/{product_id}/workflows
	ListProductWorkflows(ctx context.Context, params ListProductWorkflowsParams) (*WorkflowsResponse, error)
	// ListProducts invokes listProducts operation.
	//
	// Get all products (workspaces).
	//
	// GET /products
	ListProducts(ctx context.Context, params ListProductsParams) (*ProductsResponse, error)
	// ListReleaseComments invokes listReleaseComments operation.
	//
	// Get all comments on a release.
	//
	// GET /releases/{release_id}/comments
	ListReleaseComments(ctx context.Context, params ListReleaseCommentsParams) (*CommentsResponse, error)
	// ListReleaseFeatures invokes listReleaseFeatures operation.
	//
	// Get all features for a specific release.
	//
	// GET /releases/{release_id}/features
	ListReleaseFeatures(ctx context.Context, params ListReleaseFeaturesParams) (*FeaturesResponse, error)
	// ListStrategicModels invokes listStrategicModels operation.
	//
	// Get all strategic models (canvases) with optional filtering.
	//
	// GET /strategy_models
	ListStrategicModels(ctx context.Context, params ListStrategicModelsParams) (*StrategicModelsResponse, error)
	// ListUsers invokes listUsers operation.
	//
	// Get all users in the account.
	//
	// GET /users
	ListUsers(ctx context.Context, params ListUsersParams) (*UsersResponse, error)
	// UpdateComment invokes updateComment operation.
	//
	// Update an existing comment.
	//
	// PUT /comments/{comment_id}
	UpdateComment(ctx context.Context, request *CommentUpdateRequest, params UpdateCommentParams) (*CommentResponse, error)
	// UpdateEpic invokes updateEpic operation.
	//
	// Update an existing epic.
	//
	// PUT /epics/{epic_id}
	UpdateEpic(ctx context.Context, request *EpicUpdateRequest, params UpdateEpicParams) (*EpicResponse, error)
	// UpdateFeature invokes updateFeature operation.
	//
	// Update an existing feature.
	//
	// PUT /features/{feature_id}
	UpdateFeature(ctx context.Context, request *FeatureUpdateRequest, params UpdateFeatureParams) (*FeatureResponse, error)
	// UpdateGoal invokes updateGoal operation.
	//
	// Update an existing goal.
	//
	// PUT /goals/{goal_id}
	UpdateGoal(ctx context.Context, request *GoalUpdateRequest, params UpdateGoalParams) (*GoalResponse, error)
	// UpdateInitiative invokes updateInitiative operation.
	//
	// Update an existing initiative.
	//
	// PUT /initiatives/{initiative_id}
	UpdateInitiative(ctx context.Context, request *InitiativeUpdateRequest, params UpdateInitiativeParams) (*InitiativeResponse, error)
	// UpdateRelease invokes updateRelease operation.
	//
	// Update an existing release.
	//
	// PUT /releases/{release_id}
	UpdateRelease(ctx context.Context, request *ReleaseUpdateRequest, params UpdateReleaseParams) (*ReleaseResponse, error)
	// UpdateRequirement invokes updateRequirement operation.
	//
	// Update an existing requirement.
	//
	// PUT /requirements/{requirement_id}
	UpdateRequirement(ctx context.Context, request *RequirementUpdateRequest, params UpdateRequirementParams) (*RequirementResponse, error)
	// UpdateStrategicModel invokes updateStrategicModel operation.
	//
	// Update an existing strategic model.
	//
	// PUT /strategy_models/{strategy_model_id}
	UpdateStrategicModel(ctx context.Context, request *StrategicModelUpdateRequest, params UpdateStrategicModelParams) (*StrategicModelResponse, error)
	// UpdateStrategicModelComponent invokes updateStrategicModelComponent operation.
	//
	// Update a component (block) within a strategic model.
	//
	// PUT /strategy_models/{strategy_model_id}/components/{component_id}
	UpdateStrategicModelComponent(ctx context.Context, request *StrategicModelComponentUpdateRequest, params UpdateStrategicModelComponentParams) (*StrategicModelComponentResponse, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type Labeler

type Labeler struct {
	// contains filtered or unexported fields
}

Labeler is used to allow adding custom attributes to the server request metrics.

func LabelerFromContext

func LabelerFromContext(ctx context.Context) (*Labeler, bool)

LabelerFromContext retrieves the Labeler from the provided context, if present.

If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.

func (*Labeler) Add

func (l *Labeler) Add(attrs ...attribute.KeyValue)

Add attributes to the Labeler.

func (*Labeler) AttributeSet

func (l *Labeler) AttributeSet() attribute.Set

AttributeSet returns the attributes added to the Labeler as an attribute.Set.

type ListEpicCommentsParams

type ListEpicCommentsParams struct {
	// Epic ID or reference number.
	EpicID  string
	Page    OptInt32 `json:",omitempty,omitzero"`
	PerPage OptInt32 `json:",omitempty,omitzero"`
}

ListEpicCommentsParams is parameters of listEpicComments operation.

type ListEpicsParams

type ListEpicsParams struct {
	// Sub-string to match against epic name.
	Q OptString `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only epics updated after this time.
	UpdatedSince OptDateTime `json:",omitempty,omitzero"`
	Page         OptInt32    `json:",omitempty,omitzero"`
	PerPage      OptInt32    `json:",omitempty,omitzero"`
}

ListEpicsParams is parameters of listEpics operation.

type ListFeatureCommentsParams

type ListFeatureCommentsParams struct {
	// Feature ID or reference number.
	FeatureID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListFeatureCommentsParams is parameters of listFeatureComments operation.

type ListFeatureRequirementsParams

type ListFeatureRequirementsParams struct {
	// Feature ID or reference number.
	FeatureID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListFeatureRequirementsParams is parameters of listFeatureRequirements operation.

type ListFeaturesParams

type ListFeaturesParams struct {
	// Sub-string to match against feature name or ID.
	Q OptString `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only features updated after this time.
	UpdatedSince OptDateTime `json:",omitempty,omitzero"`
	// Filter by tag value.
	Tag OptString `json:",omitempty,omitzero"`
	// Filter by assigned user ID or email.
	AssignedToUser OptString `json:",omitempty,omitzero"`
	// Page number.
	Page OptInt32 `json:",omitempty,omitzero"`
	// Results per page.
	PerPage OptInt32 `json:",omitempty,omitzero"`
}

ListFeaturesParams is parameters of listFeatures operation.

type ListGoalCommentsParams

type ListGoalCommentsParams struct {
	// Goal ID or reference number.
	GoalID  string
	Page    OptInt32 `json:",omitempty,omitzero"`
	PerPage OptInt32 `json:",omitempty,omitzero"`
}

ListGoalCommentsParams is parameters of listGoalComments operation.

type ListGoalsParams

type ListGoalsParams struct {
	// Sub-string to match against goal name.
	Q OptString `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only goals updated after this time.
	UpdatedSince OptDateTime `json:",omitempty,omitzero"`
	Page         OptInt32    `json:",omitempty,omitzero"`
	PerPage      OptInt32    `json:",omitempty,omitzero"`
}

ListGoalsParams is parameters of listGoals operation.

type ListIdeaCommentsParams

type ListIdeaCommentsParams struct {
	// Idea ID or reference number.
	IdeaID  string
	Page    OptInt32 `json:",omitempty,omitzero"`
	PerPage OptInt32 `json:",omitempty,omitzero"`
}

ListIdeaCommentsParams is parameters of listIdeaComments operation.

type ListIdeasParams

type ListIdeasParams struct {
	// Search term to match against idea name.
	Q OptString `json:",omitempty,omitzero"`
	// When true, shows ideas marked as spam.
	Spam OptBool `json:",omitempty,omitzero"`
	// Filter by workflow status ID or name.
	WorkflowStatus OptString `json:",omitempty,omitzero"`
	// Sort order.
	Sort OptListIdeasSort `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only ideas created before this time.
	CreatedBefore OptDateTime `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only ideas created after this time.
	CreatedSince OptDateTime `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only ideas updated after this time.
	UpdatedSince OptDateTime `json:",omitempty,omitzero"`
	// Filter by tag value.
	Tag OptString `json:",omitempty,omitzero"`
	// Filter by creator user ID.
	UserID OptString `json:",omitempty,omitzero"`
	// Filter by idea user ID.
	IdeaUserID OptString `json:",omitempty,omitzero"`
	Page       OptInt32  `json:",omitempty,omitzero"`
	PerPage    OptInt32  `json:",omitempty,omitzero"`
}

ListIdeasParams is parameters of listIdeas operation.

type ListIdeasSort

type ListIdeasSort string
const (
	ListIdeasSortRecent   ListIdeasSort = "recent"
	ListIdeasSortTrending ListIdeasSort = "trending"
	ListIdeasSortPopular  ListIdeasSort = "popular"
)

func (ListIdeasSort) AllValues

func (ListIdeasSort) AllValues() []ListIdeasSort

AllValues returns all ListIdeasSort values.

func (ListIdeasSort) MarshalText

func (s ListIdeasSort) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ListIdeasSort) UnmarshalText

func (s *ListIdeasSort) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ListIdeasSort) Validate

func (s ListIdeasSort) Validate() error

type ListInitiativeCommentsParams

type ListInitiativeCommentsParams struct {
	// Initiative ID or reference number.
	InitiativeID string
	Page         OptInt32 `json:",omitempty,omitzero"`
	PerPage      OptInt32 `json:",omitempty,omitzero"`
}

ListInitiativeCommentsParams is parameters of listInitiativeComments operation.

type ListInitiativesParams

type ListInitiativesParams struct {
	// Sub-string to match against initiative name.
	Q OptString `json:",omitempty,omitzero"`
	// UTC timestamp (ISO8601). Only initiatives updated after this time.
	UpdatedSince OptDateTime `json:",omitempty,omitzero"`
	Page         OptInt32    `json:",omitempty,omitzero"`
	PerPage      OptInt32    `json:",omitempty,omitzero"`
}

ListInitiativesParams is parameters of listInitiatives operation.

type ListProductCommentsParams

type ListProductCommentsParams struct {
	// Product ID or reference prefix.
	ProductID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListProductCommentsParams is parameters of listProductComments operation.

type ListProductEpicsParams

type ListProductEpicsParams struct {
	// Product ID or reference prefix.
	ProductID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListProductEpicsParams is parameters of listProductEpics operation.

type ListProductGoalsParams

type ListProductGoalsParams struct {
	// Product ID or reference prefix.
	ProductID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListProductGoalsParams is parameters of listProductGoals operation.

type ListProductInitiativesParams

type ListProductInitiativesParams struct {
	// Product ID or reference prefix.
	ProductID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListProductInitiativesParams is parameters of listProductInitiatives operation.

type ListProductReleasesParams

type ListProductReleasesParams struct {
	// Product ID or reference prefix.
	ProductID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListProductReleasesParams is parameters of listProductReleases operation.

type ListProductStrategicModelsParams

type ListProductStrategicModelsParams struct {
	// Product ID or reference prefix.
	ProductID string
	// Filter by model kind.
	Kind    OptString `json:",omitempty,omitzero"`
	Page    OptInt32  `json:",omitempty,omitzero"`
	PerPage OptInt32  `json:",omitempty,omitzero"`
}

ListProductStrategicModelsParams is parameters of listProductStrategicModels operation.

type ListProductWorkflowsParams

type ListProductWorkflowsParams struct {
	// Product ID or reference prefix.
	ProductID string
}

ListProductWorkflowsParams is parameters of listProductWorkflows operation.

type ListProductsParams

type ListProductsParams struct {
	Page    OptInt32 `json:",omitempty,omitzero"`
	PerPage OptInt32 `json:",omitempty,omitzero"`
}

ListProductsParams is parameters of listProducts operation.

type ListReleaseCommentsParams

type ListReleaseCommentsParams struct {
	// Release ID or reference number.
	ReleaseID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListReleaseCommentsParams is parameters of listReleaseComments operation.

type ListReleaseFeaturesParams

type ListReleaseFeaturesParams struct {
	// Release ID or reference number.
	ReleaseID string
	Page      OptInt32 `json:",omitempty,omitzero"`
	PerPage   OptInt32 `json:",omitempty,omitzero"`
}

ListReleaseFeaturesParams is parameters of listReleaseFeatures operation.

type ListStrategicModelsParams

type ListStrategicModelsParams struct {
	// Filter by model kind (e.g., "Opportunity", "Lean Canvas").
	Kind    OptString `json:",omitempty,omitzero"`
	Page    OptInt32  `json:",omitempty,omitzero"`
	PerPage OptInt32  `json:",omitempty,omitzero"`
}

ListStrategicModelsParams is parameters of listStrategicModels operation.

type ListUsersParams

type ListUsersParams struct {
	Page    OptInt32 `json:",omitempty,omitzero"`
	PerPage OptInt32 `json:",omitempty,omitzero"`
}

ListUsersParams is parameters of listUsers operation.

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	CreateFeatureCommentOperation          OperationName = "CreateFeatureComment"
	CreateFeatureRequirementOperation      OperationName = "CreateFeatureRequirement"
	CreateIdeaCommentOperation             OperationName = "CreateIdeaComment"
	CreateProductGoalOperation             OperationName = "CreateProductGoal"
	CreateProductInitiativeOperation       OperationName = "CreateProductInitiative"
	CreateProductStrategicModelOperation   OperationName = "CreateProductStrategicModel"
	CreateReleaseEpicOperation             OperationName = "CreateReleaseEpic"
	CreateReleaseFeatureOperation          OperationName = "CreateReleaseFeature"
	DeleteCommentOperation                 OperationName = "DeleteComment"
	DeleteRequirementOperation             OperationName = "DeleteRequirement"
	GetCommentOperation                    OperationName = "GetComment"
	GetCurrentUserOperation                OperationName = "GetCurrentUser"
	GetEpicOperation                       OperationName = "GetEpic"
	GetFeatureOperation                    OperationName = "GetFeature"
	GetGoalOperation                       OperationName = "GetGoal"
	GetIdeaOperation                       OperationName = "GetIdea"
	GetInitiativeOperation                 OperationName = "GetInitiative"
	GetProductOperation                    OperationName = "GetProduct"
	GetReleaseOperation                    OperationName = "GetRelease"
	GetRequirementOperation                OperationName = "GetRequirement"
	GetStrategicModelOperation             OperationName = "GetStrategicModel"
	GetUserOperation                       OperationName = "GetUser"
	ListEpicCommentsOperation              OperationName = "ListEpicComments"
	ListEpicsOperation                     OperationName = "ListEpics"
	ListFeatureCommentsOperation           OperationName = "ListFeatureComments"
	ListFeatureRequirementsOperation       OperationName = "ListFeatureRequirements"
	ListFeaturesOperation                  OperationName = "ListFeatures"
	ListGoalCommentsOperation              OperationName = "ListGoalComments"
	ListGoalsOperation                     OperationName = "ListGoals"
	ListIdeaCommentsOperation              OperationName = "ListIdeaComments"
	ListIdeasOperation                     OperationName = "ListIdeas"
	ListInitiativeCommentsOperation        OperationName = "ListInitiativeComments"
	ListInitiativesOperation               OperationName = "ListInitiatives"
	ListProductCommentsOperation           OperationName = "ListProductComments"
	ListProductEpicsOperation              OperationName = "ListProductEpics"
	ListProductGoalsOperation              OperationName = "ListProductGoals"
	ListProductInitiativesOperation        OperationName = "ListProductInitiatives"
	ListProductReleasesOperation           OperationName = "ListProductReleases"
	ListProductStrategicModelsOperation    OperationName = "ListProductStrategicModels"
	ListProductWorkflowsOperation          OperationName = "ListProductWorkflows"
	ListProductsOperation                  OperationName = "ListProducts"
	ListReleaseCommentsOperation           OperationName = "ListReleaseComments"
	ListReleaseFeaturesOperation           OperationName = "ListReleaseFeatures"
	ListStrategicModelsOperation           OperationName = "ListStrategicModels"
	ListUsersOperation                     OperationName = "ListUsers"
	UpdateCommentOperation                 OperationName = "UpdateComment"
	UpdateEpicOperation                    OperationName = "UpdateEpic"
	UpdateFeatureOperation                 OperationName = "UpdateFeature"
	UpdateGoalOperation                    OperationName = "UpdateGoal"
	UpdateInitiativeOperation              OperationName = "UpdateInitiative"
	UpdateReleaseOperation                 OperationName = "UpdateRelease"
	UpdateRequirementOperation             OperationName = "UpdateRequirement"
	UpdateStrategicModelOperation          OperationName = "UpdateStrategicModel"
	UpdateStrategicModelComponentOperation OperationName = "UpdateStrategicModelComponent"
)

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptComment

type OptComment struct {
	Value Comment
	Set   bool
}

OptComment is optional Comment.

func NewOptComment

func NewOptComment(v Comment) OptComment

NewOptComment returns new OptComment with value set to v.

func (*OptComment) Decode

func (o *OptComment) Decode(d *jx.Decoder) error

Decode decodes Comment from json.

func (OptComment) Encode

func (o OptComment) Encode(e *jx.Encoder)

Encode encodes Comment as json.

func (OptComment) Get

func (o OptComment) Get() (v Comment, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptComment) IsSet

func (o OptComment) IsSet() bool

IsSet returns true if OptComment was set.

func (OptComment) MarshalJSON

func (s OptComment) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptComment) Or

func (o OptComment) Or(d Comment) Comment

Or returns value if set, or given parameter if does not.

func (*OptComment) Reset

func (o *OptComment) Reset()

Reset unsets value.

func (*OptComment) SetTo

func (o *OptComment) SetTo(v Comment)

SetTo sets value to v.

func (*OptComment) UnmarshalJSON

func (s *OptComment) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCommentable

type OptCommentable struct {
	Value Commentable
	Set   bool
}

OptCommentable is optional Commentable.

func NewOptCommentable

func NewOptCommentable(v Commentable) OptCommentable

NewOptCommentable returns new OptCommentable with value set to v.

func (*OptCommentable) Decode

func (o *OptCommentable) Decode(d *jx.Decoder) error

Decode decodes Commentable from json.

func (OptCommentable) Encode

func (o OptCommentable) Encode(e *jx.Encoder)

Encode encodes Commentable as json.

func (OptCommentable) Get

func (o OptCommentable) Get() (v Commentable, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCommentable) IsSet

func (o OptCommentable) IsSet() bool

IsSet returns true if OptCommentable was set.

func (OptCommentable) MarshalJSON

func (s OptCommentable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCommentable) Or

Or returns value if set, or given parameter if does not.

func (*OptCommentable) Reset

func (o *OptCommentable) Reset()

Reset unsets value.

func (*OptCommentable) SetTo

func (o *OptCommentable) SetTo(v Commentable)

SetTo sets value to v.

func (*OptCommentable) UnmarshalJSON

func (s *OptCommentable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDate

type OptDate struct {
	Value time.Time
	Set   bool
}

OptDate is optional time.Time.

func NewOptDate

func NewOptDate(v time.Time) OptDate

NewOptDate returns new OptDate with value set to v.

func (*OptDate) Decode

func (o *OptDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDate) Encode

func (o OptDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDate) Get

func (o OptDate) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDate) IsSet

func (o OptDate) IsSet() bool

IsSet returns true if OptDate was set.

func (OptDate) MarshalJSON

func (s OptDate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDate) Or

func (o OptDate) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptDate) Reset

func (o *OptDate) Reset()

Reset unsets value.

func (*OptDate) SetTo

func (o *OptDate) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDate) UnmarshalJSON

func (s *OptDate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptDateTime

type OptDateTime struct {
	Value time.Time
	Set   bool
}

OptDateTime is optional time.Time.

func NewOptDateTime

func NewOptDateTime(v time.Time) OptDateTime

NewOptDateTime returns new OptDateTime with value set to v.

func (*OptDateTime) Decode

func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error

Decode decodes time.Time from json.

func (OptDateTime) Encode

func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))

Encode encodes time.Time as json.

func (OptDateTime) Get

func (o OptDateTime) Get() (v time.Time, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptDateTime) IsSet

func (o OptDateTime) IsSet() bool

IsSet returns true if OptDateTime was set.

func (OptDateTime) MarshalJSON

func (s OptDateTime) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptDateTime) Or

func (o OptDateTime) Or(d time.Time) time.Time

Or returns value if set, or given parameter if does not.

func (*OptDateTime) Reset

func (o *OptDateTime) Reset()

Reset unsets value.

func (*OptDateTime) SetTo

func (o *OptDateTime) SetTo(v time.Time)

SetTo sets value to v.

func (*OptDateTime) UnmarshalJSON

func (s *OptDateTime) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEpic

type OptEpic struct {
	Value Epic
	Set   bool
}

OptEpic is optional Epic.

func NewOptEpic

func NewOptEpic(v Epic) OptEpic

NewOptEpic returns new OptEpic with value set to v.

func (*OptEpic) Decode

func (o *OptEpic) Decode(d *jx.Decoder) error

Decode decodes Epic from json.

func (OptEpic) Encode

func (o OptEpic) Encode(e *jx.Encoder)

Encode encodes Epic as json.

func (OptEpic) Get

func (o OptEpic) Get() (v Epic, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptEpic) IsSet

func (o OptEpic) IsSet() bool

IsSet returns true if OptEpic was set.

func (OptEpic) MarshalJSON

func (s OptEpic) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEpic) Or

func (o OptEpic) Or(d Epic) Epic

Or returns value if set, or given parameter if does not.

func (*OptEpic) Reset

func (o *OptEpic) Reset()

Reset unsets value.

func (*OptEpic) SetTo

func (o *OptEpic) SetTo(v Epic)

SetTo sets value to v.

func (*OptEpic) UnmarshalJSON

func (s *OptEpic) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptEpicMeta

type OptEpicMeta struct {
	Value EpicMeta
	Set   bool
}

OptEpicMeta is optional EpicMeta.

func NewOptEpicMeta

func NewOptEpicMeta(v EpicMeta) OptEpicMeta

NewOptEpicMeta returns new OptEpicMeta with value set to v.

func (*OptEpicMeta) Decode

func (o *OptEpicMeta) Decode(d *jx.Decoder) error

Decode decodes EpicMeta from json.

func (OptEpicMeta) Encode

func (o OptEpicMeta) Encode(e *jx.Encoder)

Encode encodes EpicMeta as json.

func (OptEpicMeta) Get

func (o OptEpicMeta) Get() (v EpicMeta, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptEpicMeta) IsSet

func (o OptEpicMeta) IsSet() bool

IsSet returns true if OptEpicMeta was set.

func (OptEpicMeta) MarshalJSON

func (s OptEpicMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptEpicMeta) Or

func (o OptEpicMeta) Or(d EpicMeta) EpicMeta

Or returns value if set, or given parameter if does not.

func (*OptEpicMeta) Reset

func (o *OptEpicMeta) Reset()

Reset unsets value.

func (*OptEpicMeta) SetTo

func (o *OptEpicMeta) SetTo(v EpicMeta)

SetTo sets value to v.

func (*OptEpicMeta) UnmarshalJSON

func (s *OptEpicMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFeature

type OptFeature struct {
	Value Feature
	Set   bool
}

OptFeature is optional Feature.

func NewOptFeature

func NewOptFeature(v Feature) OptFeature

NewOptFeature returns new OptFeature with value set to v.

func (*OptFeature) Decode

func (o *OptFeature) Decode(d *jx.Decoder) error

Decode decodes Feature from json.

func (OptFeature) Encode

func (o OptFeature) Encode(e *jx.Encoder)

Encode encodes Feature as json.

func (OptFeature) Get

func (o OptFeature) Get() (v Feature, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFeature) IsSet

func (o OptFeature) IsSet() bool

IsSet returns true if OptFeature was set.

func (OptFeature) MarshalJSON

func (s OptFeature) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFeature) Or

func (o OptFeature) Or(d Feature) Feature

Or returns value if set, or given parameter if does not.

func (*OptFeature) Reset

func (o *OptFeature) Reset()

Reset unsets value.

func (*OptFeature) SetTo

func (o *OptFeature) SetTo(v Feature)

SetTo sets value to v.

func (*OptFeature) UnmarshalJSON

func (s *OptFeature) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFeatureMeta

type OptFeatureMeta struct {
	Value FeatureMeta
	Set   bool
}

OptFeatureMeta is optional FeatureMeta.

func NewOptFeatureMeta

func NewOptFeatureMeta(v FeatureMeta) OptFeatureMeta

NewOptFeatureMeta returns new OptFeatureMeta with value set to v.

func (*OptFeatureMeta) Decode

func (o *OptFeatureMeta) Decode(d *jx.Decoder) error

Decode decodes FeatureMeta from json.

func (OptFeatureMeta) Encode

func (o OptFeatureMeta) Encode(e *jx.Encoder)

Encode encodes FeatureMeta as json.

func (OptFeatureMeta) Get

func (o OptFeatureMeta) Get() (v FeatureMeta, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFeatureMeta) IsSet

func (o OptFeatureMeta) IsSet() bool

IsSet returns true if OptFeatureMeta was set.

func (OptFeatureMeta) MarshalJSON

func (s OptFeatureMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFeatureMeta) Or

Or returns value if set, or given parameter if does not.

func (*OptFeatureMeta) Reset

func (o *OptFeatureMeta) Reset()

Reset unsets value.

func (*OptFeatureMeta) SetTo

func (o *OptFeatureMeta) SetTo(v FeatureMeta)

SetTo sets value to v.

func (*OptFeatureMeta) UnmarshalJSON

func (s *OptFeatureMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat32

type OptFloat32 struct {
	Value float32
	Set   bool
}

OptFloat32 is optional float32.

func NewOptFloat32

func NewOptFloat32(v float32) OptFloat32

NewOptFloat32 returns new OptFloat32 with value set to v.

func (*OptFloat32) Decode

func (o *OptFloat32) Decode(d *jx.Decoder) error

Decode decodes float32 from json.

func (OptFloat32) Encode

func (o OptFloat32) Encode(e *jx.Encoder)

Encode encodes float32 as json.

func (OptFloat32) Get

func (o OptFloat32) Get() (v float32, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat32) IsSet

func (o OptFloat32) IsSet() bool

IsSet returns true if OptFloat32 was set.

func (OptFloat32) MarshalJSON

func (s OptFloat32) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat32) Or

func (o OptFloat32) Or(d float32) float32

Or returns value if set, or given parameter if does not.

func (*OptFloat32) Reset

func (o *OptFloat32) Reset()

Reset unsets value.

func (*OptFloat32) SetTo

func (o *OptFloat32) SetTo(v float32)

SetTo sets value to v.

func (*OptFloat32) UnmarshalJSON

func (s *OptFloat32) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGoal

type OptGoal struct {
	Value Goal
	Set   bool
}

OptGoal is optional Goal.

func NewOptGoal

func NewOptGoal(v Goal) OptGoal

NewOptGoal returns new OptGoal with value set to v.

func (*OptGoal) Decode

func (o *OptGoal) Decode(d *jx.Decoder) error

Decode decodes Goal from json.

func (OptGoal) Encode

func (o OptGoal) Encode(e *jx.Encoder)

Encode encodes Goal as json.

func (OptGoal) Get

func (o OptGoal) Get() (v Goal, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptGoal) IsSet

func (o OptGoal) IsSet() bool

IsSet returns true if OptGoal was set.

func (OptGoal) MarshalJSON

func (s OptGoal) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGoal) Or

func (o OptGoal) Or(d Goal) Goal

Or returns value if set, or given parameter if does not.

func (*OptGoal) Reset

func (o *OptGoal) Reset()

Reset unsets value.

func (*OptGoal) SetTo

func (o *OptGoal) SetTo(v Goal)

SetTo sets value to v.

func (*OptGoal) UnmarshalJSON

func (s *OptGoal) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptIdea

type OptIdea struct {
	Value Idea
	Set   bool
}

OptIdea is optional Idea.

func NewOptIdea

func NewOptIdea(v Idea) OptIdea

NewOptIdea returns new OptIdea with value set to v.

func (*OptIdea) Decode

func (o *OptIdea) Decode(d *jx.Decoder) error

Decode decodes Idea from json.

func (OptIdea) Encode

func (o OptIdea) Encode(e *jx.Encoder)

Encode encodes Idea as json.

func (OptIdea) Get

func (o OptIdea) Get() (v Idea, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptIdea) IsSet

func (o OptIdea) IsSet() bool

IsSet returns true if OptIdea was set.

func (OptIdea) MarshalJSON

func (s OptIdea) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptIdea) Or

func (o OptIdea) Or(d Idea) Idea

Or returns value if set, or given parameter if does not.

func (*OptIdea) Reset

func (o *OptIdea) Reset()

Reset unsets value.

func (*OptIdea) SetTo

func (o *OptIdea) SetTo(v Idea)

SetTo sets value to v.

func (*OptIdea) UnmarshalJSON

func (s *OptIdea) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptIdeaFeature

type OptIdeaFeature struct {
	Value IdeaFeature
	Set   bool
}

OptIdeaFeature is optional IdeaFeature.

func NewOptIdeaFeature

func NewOptIdeaFeature(v IdeaFeature) OptIdeaFeature

NewOptIdeaFeature returns new OptIdeaFeature with value set to v.

func (*OptIdeaFeature) Decode

func (o *OptIdeaFeature) Decode(d *jx.Decoder) error

Decode decodes IdeaFeature from json.

func (OptIdeaFeature) Encode

func (o OptIdeaFeature) Encode(e *jx.Encoder)

Encode encodes IdeaFeature as json.

func (OptIdeaFeature) Get

func (o OptIdeaFeature) Get() (v IdeaFeature, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptIdeaFeature) IsSet

func (o OptIdeaFeature) IsSet() bool

IsSet returns true if OptIdeaFeature was set.

func (OptIdeaFeature) MarshalJSON

func (s OptIdeaFeature) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptIdeaFeature) Or

Or returns value if set, or given parameter if does not.

func (*OptIdeaFeature) Reset

func (o *OptIdeaFeature) Reset()

Reset unsets value.

func (*OptIdeaFeature) SetTo

func (o *OptIdeaFeature) SetTo(v IdeaFeature)

SetTo sets value to v.

func (*OptIdeaFeature) UnmarshalJSON

func (s *OptIdeaFeature) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInitiative

type OptInitiative struct {
	Value Initiative
	Set   bool
}

OptInitiative is optional Initiative.

func NewOptInitiative

func NewOptInitiative(v Initiative) OptInitiative

NewOptInitiative returns new OptInitiative with value set to v.

func (*OptInitiative) Decode

func (o *OptInitiative) Decode(d *jx.Decoder) error

Decode decodes Initiative from json.

func (OptInitiative) Encode

func (o OptInitiative) Encode(e *jx.Encoder)

Encode encodes Initiative as json.

func (OptInitiative) Get

func (o OptInitiative) Get() (v Initiative, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInitiative) IsSet

func (o OptInitiative) IsSet() bool

IsSet returns true if OptInitiative was set.

func (OptInitiative) MarshalJSON

func (s OptInitiative) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInitiative) Or

Or returns value if set, or given parameter if does not.

func (*OptInitiative) Reset

func (o *OptInitiative) Reset()

Reset unsets value.

func (*OptInitiative) SetTo

func (o *OptInitiative) SetTo(v Initiative)

SetTo sets value to v.

func (*OptInitiative) UnmarshalJSON

func (s *OptInitiative) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInitiativeMeta

type OptInitiativeMeta struct {
	Value InitiativeMeta
	Set   bool
}

OptInitiativeMeta is optional InitiativeMeta.

func NewOptInitiativeMeta

func NewOptInitiativeMeta(v InitiativeMeta) OptInitiativeMeta

NewOptInitiativeMeta returns new OptInitiativeMeta with value set to v.

func (*OptInitiativeMeta) Decode

func (o *OptInitiativeMeta) Decode(d *jx.Decoder) error

Decode decodes InitiativeMeta from json.

func (OptInitiativeMeta) Encode

func (o OptInitiativeMeta) Encode(e *jx.Encoder)

Encode encodes InitiativeMeta as json.

func (OptInitiativeMeta) Get

func (o OptInitiativeMeta) Get() (v InitiativeMeta, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInitiativeMeta) IsSet

func (o OptInitiativeMeta) IsSet() bool

IsSet returns true if OptInitiativeMeta was set.

func (OptInitiativeMeta) MarshalJSON

func (s OptInitiativeMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInitiativeMeta) Or

Or returns value if set, or given parameter if does not.

func (*OptInitiativeMeta) Reset

func (o *OptInitiativeMeta) Reset()

Reset unsets value.

func (*OptInitiativeMeta) SetTo

func (o *OptInitiativeMeta) SetTo(v InitiativeMeta)

SetTo sets value to v.

func (*OptInitiativeMeta) UnmarshalJSON

func (s *OptInitiativeMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt32

type OptInt32 struct {
	Value int32
	Set   bool
}

OptInt32 is optional int32.

func NewOptInt32

func NewOptInt32(v int32) OptInt32

NewOptInt32 returns new OptInt32 with value set to v.

func (OptInt32) Get

func (o OptInt32) Get() (v int32, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt32) IsSet

func (o OptInt32) IsSet() bool

IsSet returns true if OptInt32 was set.

func (OptInt32) Or

func (o OptInt32) Or(d int32) int32

Or returns value if set, or given parameter if does not.

func (*OptInt32) Reset

func (o *OptInt32) Reset()

Reset unsets value.

func (*OptInt32) SetTo

func (o *OptInt32) SetTo(v int32)

SetTo sets value to v.

type OptInt64

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (*OptInt64) Decode

func (o *OptInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (OptInt64) Encode

func (o OptInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (OptInt64) Get

func (o OptInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt64) IsSet

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) MarshalJSON

func (s OptInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt64) Or

func (o OptInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*OptInt64) Reset

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptInt64) UnmarshalJSON

func (s *OptInt64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptListIdeasSort

type OptListIdeasSort struct {
	Value ListIdeasSort
	Set   bool
}

OptListIdeasSort is optional ListIdeasSort.

func NewOptListIdeasSort

func NewOptListIdeasSort(v ListIdeasSort) OptListIdeasSort

NewOptListIdeasSort returns new OptListIdeasSort with value set to v.

func (OptListIdeasSort) Get

func (o OptListIdeasSort) Get() (v ListIdeasSort, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptListIdeasSort) IsSet

func (o OptListIdeasSort) IsSet() bool

IsSet returns true if OptListIdeasSort was set.

func (OptListIdeasSort) Or

Or returns value if set, or given parameter if does not.

func (*OptListIdeasSort) Reset

func (o *OptListIdeasSort) Reset()

Reset unsets value.

func (*OptListIdeasSort) SetTo

func (o *OptListIdeasSort) SetTo(v ListIdeasSort)

SetTo sets value to v.

type OptPagination

type OptPagination struct {
	Value Pagination
	Set   bool
}

OptPagination is optional Pagination.

func NewOptPagination

func NewOptPagination(v Pagination) OptPagination

NewOptPagination returns new OptPagination with value set to v.

func (*OptPagination) Decode

func (o *OptPagination) Decode(d *jx.Decoder) error

Decode decodes Pagination from json.

func (OptPagination) Encode

func (o OptPagination) Encode(e *jx.Encoder)

Encode encodes Pagination as json.

func (OptPagination) Get

func (o OptPagination) Get() (v Pagination, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPagination) IsSet

func (o OptPagination) IsSet() bool

IsSet returns true if OptPagination was set.

func (OptPagination) MarshalJSON

func (s OptPagination) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPagination) Or

Or returns value if set, or given parameter if does not.

func (*OptPagination) Reset

func (o *OptPagination) Reset()

Reset unsets value.

func (*OptPagination) SetTo

func (o *OptPagination) SetTo(v Pagination)

SetTo sets value to v.

func (*OptPagination) UnmarshalJSON

func (s *OptPagination) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProduct

type OptProduct struct {
	Value Product
	Set   bool
}

OptProduct is optional Product.

func NewOptProduct

func NewOptProduct(v Product) OptProduct

NewOptProduct returns new OptProduct with value set to v.

func (*OptProduct) Decode

func (o *OptProduct) Decode(d *jx.Decoder) error

Decode decodes Product from json.

func (OptProduct) Encode

func (o OptProduct) Encode(e *jx.Encoder)

Encode encodes Product as json.

func (OptProduct) Get

func (o OptProduct) Get() (v Product, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptProduct) IsSet

func (o OptProduct) IsSet() bool

IsSet returns true if OptProduct was set.

func (OptProduct) MarshalJSON

func (s OptProduct) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProduct) Or

func (o OptProduct) Or(d Product) Product

Or returns value if set, or given parameter if does not.

func (*OptProduct) Reset

func (o *OptProduct) Reset()

Reset unsets value.

func (*OptProduct) SetTo

func (o *OptProduct) SetTo(v Product)

SetTo sets value to v.

func (*OptProduct) UnmarshalJSON

func (s *OptProduct) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptProductMeta

type OptProductMeta struct {
	Value ProductMeta
	Set   bool
}

OptProductMeta is optional ProductMeta.

func NewOptProductMeta

func NewOptProductMeta(v ProductMeta) OptProductMeta

NewOptProductMeta returns new OptProductMeta with value set to v.

func (*OptProductMeta) Decode

func (o *OptProductMeta) Decode(d *jx.Decoder) error

Decode decodes ProductMeta from json.

func (OptProductMeta) Encode

func (o OptProductMeta) Encode(e *jx.Encoder)

Encode encodes ProductMeta as json.

func (OptProductMeta) Get

func (o OptProductMeta) Get() (v ProductMeta, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptProductMeta) IsSet

func (o OptProductMeta) IsSet() bool

IsSet returns true if OptProductMeta was set.

func (OptProductMeta) MarshalJSON

func (s OptProductMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptProductMeta) Or

Or returns value if set, or given parameter if does not.

func (*OptProductMeta) Reset

func (o *OptProductMeta) Reset()

Reset unsets value.

func (*OptProductMeta) SetTo

func (o *OptProductMeta) SetTo(v ProductMeta)

SetTo sets value to v.

func (*OptProductMeta) UnmarshalJSON

func (s *OptProductMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRelease

type OptRelease struct {
	Value Release
	Set   bool
}

OptRelease is optional Release.

func NewOptRelease

func NewOptRelease(v Release) OptRelease

NewOptRelease returns new OptRelease with value set to v.

func (*OptRelease) Decode

func (o *OptRelease) Decode(d *jx.Decoder) error

Decode decodes Release from json.

func (OptRelease) Encode

func (o OptRelease) Encode(e *jx.Encoder)

Encode encodes Release as json.

func (OptRelease) Get

func (o OptRelease) Get() (v Release, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRelease) IsSet

func (o OptRelease) IsSet() bool

IsSet returns true if OptRelease was set.

func (OptRelease) MarshalJSON

func (s OptRelease) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRelease) Or

func (o OptRelease) Or(d Release) Release

Or returns value if set, or given parameter if does not.

func (*OptRelease) Reset

func (o *OptRelease) Reset()

Reset unsets value.

func (*OptRelease) SetTo

func (o *OptRelease) SetTo(v Release)

SetTo sets value to v.

func (*OptRelease) UnmarshalJSON

func (s *OptRelease) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRequirement

type OptRequirement struct {
	Value Requirement
	Set   bool
}

OptRequirement is optional Requirement.

func NewOptRequirement

func NewOptRequirement(v Requirement) OptRequirement

NewOptRequirement returns new OptRequirement with value set to v.

func (*OptRequirement) Decode

func (o *OptRequirement) Decode(d *jx.Decoder) error

Decode decodes Requirement from json.

func (OptRequirement) Encode

func (o OptRequirement) Encode(e *jx.Encoder)

Encode encodes Requirement as json.

func (OptRequirement) Get

func (o OptRequirement) Get() (v Requirement, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRequirement) IsSet

func (o OptRequirement) IsSet() bool

IsSet returns true if OptRequirement was set.

func (OptRequirement) MarshalJSON

func (s OptRequirement) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRequirement) Or

Or returns value if set, or given parameter if does not.

func (*OptRequirement) Reset

func (o *OptRequirement) Reset()

Reset unsets value.

func (*OptRequirement) SetTo

func (o *OptRequirement) SetTo(v Requirement)

SetTo sets value to v.

func (*OptRequirement) UnmarshalJSON

func (s *OptRequirement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptStrategicModel

type OptStrategicModel struct {
	Value StrategicModel
	Set   bool
}

OptStrategicModel is optional StrategicModel.

func NewOptStrategicModel

func NewOptStrategicModel(v StrategicModel) OptStrategicModel

NewOptStrategicModel returns new OptStrategicModel with value set to v.

func (*OptStrategicModel) Decode

func (o *OptStrategicModel) Decode(d *jx.Decoder) error

Decode decodes StrategicModel from json.

func (OptStrategicModel) Encode

func (o OptStrategicModel) Encode(e *jx.Encoder)

Encode encodes StrategicModel as json.

func (OptStrategicModel) Get

func (o OptStrategicModel) Get() (v StrategicModel, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptStrategicModel) IsSet

func (o OptStrategicModel) IsSet() bool

IsSet returns true if OptStrategicModel was set.

func (OptStrategicModel) MarshalJSON

func (s OptStrategicModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptStrategicModel) Or

Or returns value if set, or given parameter if does not.

func (*OptStrategicModel) Reset

func (o *OptStrategicModel) Reset()

Reset unsets value.

func (*OptStrategicModel) SetTo

func (o *OptStrategicModel) SetTo(v StrategicModel)

SetTo sets value to v.

func (*OptStrategicModel) UnmarshalJSON

func (s *OptStrategicModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptStrategicModelComponent

type OptStrategicModelComponent struct {
	Value StrategicModelComponent
	Set   bool
}

OptStrategicModelComponent is optional StrategicModelComponent.

func NewOptStrategicModelComponent

func NewOptStrategicModelComponent(v StrategicModelComponent) OptStrategicModelComponent

NewOptStrategicModelComponent returns new OptStrategicModelComponent with value set to v.

func (*OptStrategicModelComponent) Decode

Decode decodes StrategicModelComponent from json.

func (OptStrategicModelComponent) Encode

func (o OptStrategicModelComponent) Encode(e *jx.Encoder)

Encode encodes StrategicModelComponent as json.

func (OptStrategicModelComponent) Get

Get returns value and boolean that denotes whether value was set.

func (OptStrategicModelComponent) IsSet

func (o OptStrategicModelComponent) IsSet() bool

IsSet returns true if OptStrategicModelComponent was set.

func (OptStrategicModelComponent) MarshalJSON

func (s OptStrategicModelComponent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptStrategicModelComponent) Or

Or returns value if set, or given parameter if does not.

func (*OptStrategicModelComponent) Reset

func (o *OptStrategicModelComponent) Reset()

Reset unsets value.

func (*OptStrategicModelComponent) SetTo

SetTo sets value to v.

func (*OptStrategicModelComponent) UnmarshalJSON

func (s *OptStrategicModelComponent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTimeFrame

type OptTimeFrame struct {
	Value TimeFrame
	Set   bool
}

OptTimeFrame is optional TimeFrame.

func NewOptTimeFrame

func NewOptTimeFrame(v TimeFrame) OptTimeFrame

NewOptTimeFrame returns new OptTimeFrame with value set to v.

func (*OptTimeFrame) Decode

func (o *OptTimeFrame) Decode(d *jx.Decoder) error

Decode decodes TimeFrame from json.

func (OptTimeFrame) Encode

func (o OptTimeFrame) Encode(e *jx.Encoder)

Encode encodes TimeFrame as json.

func (OptTimeFrame) Get

func (o OptTimeFrame) Get() (v TimeFrame, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTimeFrame) IsSet

func (o OptTimeFrame) IsSet() bool

IsSet returns true if OptTimeFrame was set.

func (OptTimeFrame) MarshalJSON

func (s OptTimeFrame) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTimeFrame) Or

Or returns value if set, or given parameter if does not.

func (*OptTimeFrame) Reset

func (o *OptTimeFrame) Reset()

Reset unsets value.

func (*OptTimeFrame) SetTo

func (o *OptTimeFrame) SetTo(v TimeFrame)

SetTo sets value to v.

func (*OptTimeFrame) UnmarshalJSON

func (s *OptTimeFrame) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUser

type OptUser struct {
	Value User
	Set   bool
}

OptUser is optional User.

func NewOptUser

func NewOptUser(v User) OptUser

NewOptUser returns new OptUser with value set to v.

func (*OptUser) Decode

func (o *OptUser) Decode(d *jx.Decoder) error

Decode decodes User from json.

func (OptUser) Encode

func (o OptUser) Encode(e *jx.Encoder)

Encode encodes User as json.

func (OptUser) Get

func (o OptUser) Get() (v User, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUser) IsSet

func (o OptUser) IsSet() bool

IsSet returns true if OptUser was set.

func (OptUser) MarshalJSON

func (s OptUser) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUser) Or

func (o OptUser) Or(d User) User

Or returns value if set, or given parameter if does not.

func (*OptUser) Reset

func (o *OptUser) Reset()

Reset unsets value.

func (*OptUser) SetTo

func (o *OptUser) SetTo(v User)

SetTo sets value to v.

func (*OptUser) UnmarshalJSON

func (s *OptUser) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptUserRole

type OptUserRole struct {
	Value UserRole
	Set   bool
}

OptUserRole is optional UserRole.

func NewOptUserRole

func NewOptUserRole(v UserRole) OptUserRole

NewOptUserRole returns new OptUserRole with value set to v.

func (*OptUserRole) Decode

func (o *OptUserRole) Decode(d *jx.Decoder) error

Decode decodes UserRole from json.

func (OptUserRole) Encode

func (o OptUserRole) Encode(e *jx.Encoder)

Encode encodes UserRole as json.

func (OptUserRole) Get

func (o OptUserRole) Get() (v UserRole, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptUserRole) IsSet

func (o OptUserRole) IsSet() bool

IsSet returns true if OptUserRole was set.

func (OptUserRole) MarshalJSON

func (s OptUserRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptUserRole) Or

func (o OptUserRole) Or(d UserRole) UserRole

Or returns value if set, or given parameter if does not.

func (*OptUserRole) Reset

func (o *OptUserRole) Reset()

Reset unsets value.

func (*OptUserRole) SetTo

func (o *OptUserRole) SetTo(v UserRole)

SetTo sets value to v.

func (*OptUserRole) UnmarshalJSON

func (s *OptUserRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptWorkflowStatus

type OptWorkflowStatus struct {
	Value WorkflowStatus
	Set   bool
}

OptWorkflowStatus is optional WorkflowStatus.

func NewOptWorkflowStatus

func NewOptWorkflowStatus(v WorkflowStatus) OptWorkflowStatus

NewOptWorkflowStatus returns new OptWorkflowStatus with value set to v.

func (*OptWorkflowStatus) Decode

func (o *OptWorkflowStatus) Decode(d *jx.Decoder) error

Decode decodes WorkflowStatus from json.

func (OptWorkflowStatus) Encode

func (o OptWorkflowStatus) Encode(e *jx.Encoder)

Encode encodes WorkflowStatus as json.

func (OptWorkflowStatus) Get

func (o OptWorkflowStatus) Get() (v WorkflowStatus, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptWorkflowStatus) IsSet

func (o OptWorkflowStatus) IsSet() bool

IsSet returns true if OptWorkflowStatus was set.

func (OptWorkflowStatus) MarshalJSON

func (s OptWorkflowStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptWorkflowStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptWorkflowStatus) Reset

func (o *OptWorkflowStatus) Reset()

Reset unsets value.

func (*OptWorkflowStatus) SetTo

func (o *OptWorkflowStatus) SetTo(v WorkflowStatus)

SetTo sets value to v.

func (*OptWorkflowStatus) UnmarshalJSON

func (s *OptWorkflowStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithAttributes

func WithAttributes(attributes ...attribute.KeyValue) Option

WithAttributes specifies default otel attributes.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type Pagination

type Pagination struct {
	TotalRecords OptInt64 `json:"total_records"`
	TotalPages   OptInt64 `json:"total_pages"`
	CurrentPage  OptInt64 `json:"current_page"`
}

Ref: #/components/schemas/Pagination

func (*Pagination) Decode

func (s *Pagination) Decode(d *jx.Decoder) error

Decode decodes Pagination from json.

func (*Pagination) Encode

func (s *Pagination) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Pagination) GetCurrentPage

func (s *Pagination) GetCurrentPage() OptInt64

GetCurrentPage returns the value of CurrentPage.

func (*Pagination) GetTotalPages

func (s *Pagination) GetTotalPages() OptInt64

GetTotalPages returns the value of TotalPages.

func (*Pagination) GetTotalRecords

func (s *Pagination) GetTotalRecords() OptInt64

GetTotalRecords returns the value of TotalRecords.

func (*Pagination) MarshalJSON

func (s *Pagination) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Pagination) SetCurrentPage

func (s *Pagination) SetCurrentPage(val OptInt64)

SetCurrentPage sets the value of CurrentPage.

func (*Pagination) SetTotalPages

func (s *Pagination) SetTotalPages(val OptInt64)

SetTotalPages sets the value of TotalPages.

func (*Pagination) SetTotalRecords

func (s *Pagination) SetTotalRecords(val OptInt64)

SetTotalRecords sets the value of TotalRecords.

func (*Pagination) UnmarshalJSON

func (s *Pagination) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Product

type Product struct {
	ID                OptString   `json:"id"`
	ReferencePrefix   OptString   `json:"reference_prefix"`
	Name              OptString   `json:"name"`
	ProductLine       OptBool     `json:"product_line"`
	CreatedAt         OptDateTime `json:"created_at"`
	UpdatedAt         OptDateTime `json:"updated_at"`
	URL               OptString   `json:"url"`
	Resource          OptString   `json:"resource"`
	HasIdeas          OptBool     `json:"has_ideas"`
	HasMasterFeatures OptBool     `json:"has_master_features"`
}

Ref: #/components/schemas/Product

func (*Product) Decode

func (s *Product) Decode(d *jx.Decoder) error

Decode decodes Product from json.

func (*Product) Encode

func (s *Product) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Product) GetCreatedAt

func (s *Product) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*Product) GetHasIdeas

func (s *Product) GetHasIdeas() OptBool

GetHasIdeas returns the value of HasIdeas.

func (*Product) GetHasMasterFeatures

func (s *Product) GetHasMasterFeatures() OptBool

GetHasMasterFeatures returns the value of HasMasterFeatures.

func (*Product) GetID

func (s *Product) GetID() OptString

GetID returns the value of ID.

func (*Product) GetName

func (s *Product) GetName() OptString

GetName returns the value of Name.

func (*Product) GetProductLine

func (s *Product) GetProductLine() OptBool

GetProductLine returns the value of ProductLine.

func (*Product) GetReferencePrefix

func (s *Product) GetReferencePrefix() OptString

GetReferencePrefix returns the value of ReferencePrefix.

func (*Product) GetResource

func (s *Product) GetResource() OptString

GetResource returns the value of Resource.

func (*Product) GetURL

func (s *Product) GetURL() OptString

GetURL returns the value of URL.

func (*Product) GetUpdatedAt

func (s *Product) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Product) MarshalJSON

func (s *Product) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Product) SetCreatedAt

func (s *Product) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*Product) SetHasIdeas

func (s *Product) SetHasIdeas(val OptBool)

SetHasIdeas sets the value of HasIdeas.

func (*Product) SetHasMasterFeatures

func (s *Product) SetHasMasterFeatures(val OptBool)

SetHasMasterFeatures sets the value of HasMasterFeatures.

func (*Product) SetID

func (s *Product) SetID(val OptString)

SetID sets the value of ID.

func (*Product) SetName

func (s *Product) SetName(val OptString)

SetName sets the value of Name.

func (*Product) SetProductLine

func (s *Product) SetProductLine(val OptBool)

SetProductLine sets the value of ProductLine.

func (*Product) SetReferencePrefix

func (s *Product) SetReferencePrefix(val OptString)

SetReferencePrefix sets the value of ReferencePrefix.

func (*Product) SetResource

func (s *Product) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Product) SetURL

func (s *Product) SetURL(val OptString)

SetURL sets the value of URL.

func (*Product) SetUpdatedAt

func (s *Product) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Product) UnmarshalJSON

func (s *Product) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProductMeta

type ProductMeta struct {
	ID              OptString   `json:"id"`
	ReferencePrefix OptString   `json:"reference_prefix"`
	Name            OptString   `json:"name"`
	ProductLine     OptBool     `json:"product_line"`
	CreatedAt       OptDateTime `json:"created_at"`
}

Ref: #/components/schemas/ProductMeta

func (*ProductMeta) Decode

func (s *ProductMeta) Decode(d *jx.Decoder) error

Decode decodes ProductMeta from json.

func (*ProductMeta) Encode

func (s *ProductMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProductMeta) GetCreatedAt

func (s *ProductMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*ProductMeta) GetID

func (s *ProductMeta) GetID() OptString

GetID returns the value of ID.

func (*ProductMeta) GetName

func (s *ProductMeta) GetName() OptString

GetName returns the value of Name.

func (*ProductMeta) GetProductLine

func (s *ProductMeta) GetProductLine() OptBool

GetProductLine returns the value of ProductLine.

func (*ProductMeta) GetReferencePrefix

func (s *ProductMeta) GetReferencePrefix() OptString

GetReferencePrefix returns the value of ReferencePrefix.

func (*ProductMeta) MarshalJSON

func (s *ProductMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProductMeta) SetCreatedAt

func (s *ProductMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*ProductMeta) SetID

func (s *ProductMeta) SetID(val OptString)

SetID sets the value of ID.

func (*ProductMeta) SetName

func (s *ProductMeta) SetName(val OptString)

SetName sets the value of Name.

func (*ProductMeta) SetProductLine

func (s *ProductMeta) SetProductLine(val OptBool)

SetProductLine sets the value of ProductLine.

func (*ProductMeta) SetReferencePrefix

func (s *ProductMeta) SetReferencePrefix(val OptString)

SetReferencePrefix sets the value of ReferencePrefix.

func (*ProductMeta) UnmarshalJSON

func (s *ProductMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProductResponse

type ProductResponse struct {
	Product OptProduct `json:"product"`
}

Ref: #/components/schemas/ProductResponse

func (*ProductResponse) Decode

func (s *ProductResponse) Decode(d *jx.Decoder) error

Decode decodes ProductResponse from json.

func (*ProductResponse) Encode

func (s *ProductResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProductResponse) GetProduct

func (s *ProductResponse) GetProduct() OptProduct

GetProduct returns the value of Product.

func (*ProductResponse) MarshalJSON

func (s *ProductResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProductResponse) SetProduct

func (s *ProductResponse) SetProduct(val OptProduct)

SetProduct sets the value of Product.

func (*ProductResponse) UnmarshalJSON

func (s *ProductResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProductsResponse

type ProductsResponse struct {
	Products   []ProductMeta `json:"products"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/ProductsResponse

func (*ProductsResponse) Decode

func (s *ProductsResponse) Decode(d *jx.Decoder) error

Decode decodes ProductsResponse from json.

func (*ProductsResponse) Encode

func (s *ProductsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProductsResponse) GetPagination

func (s *ProductsResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*ProductsResponse) GetProducts

func (s *ProductsResponse) GetProducts() []ProductMeta

GetProducts returns the value of Products.

func (*ProductsResponse) MarshalJSON

func (s *ProductsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProductsResponse) SetPagination

func (s *ProductsResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*ProductsResponse) SetProducts

func (s *ProductsResponse) SetProducts(val []ProductMeta)

SetProducts sets the value of Products.

func (*ProductsResponse) UnmarshalJSON

func (s *ProductsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Release

type Release struct {
	ID                  OptString `json:"id"`
	ReferenceNum        OptString `json:"reference_num"`
	Name                OptString `json:"name"`
	StartDate           OptDate   `json:"start_date"`
	ReleaseDate         OptDate   `json:"release_date"`
	ExternalReleaseDate OptDate   `json:"external_release_date"`
	Released            OptBool   `json:"released"`
	ParkingLot          OptBool   `json:"parking_lot"`
	URL                 OptString `json:"url"`
	Resource            OptString `json:"resource"`
}

Ref: #/components/schemas/Release

func (*Release) Decode

func (s *Release) Decode(d *jx.Decoder) error

Decode decodes Release from json.

func (*Release) Encode

func (s *Release) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Release) GetExternalReleaseDate

func (s *Release) GetExternalReleaseDate() OptDate

GetExternalReleaseDate returns the value of ExternalReleaseDate.

func (*Release) GetID

func (s *Release) GetID() OptString

GetID returns the value of ID.

func (*Release) GetName

func (s *Release) GetName() OptString

GetName returns the value of Name.

func (*Release) GetParkingLot

func (s *Release) GetParkingLot() OptBool

GetParkingLot returns the value of ParkingLot.

func (*Release) GetReferenceNum

func (s *Release) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*Release) GetReleaseDate

func (s *Release) GetReleaseDate() OptDate

GetReleaseDate returns the value of ReleaseDate.

func (*Release) GetReleased

func (s *Release) GetReleased() OptBool

GetReleased returns the value of Released.

func (*Release) GetResource

func (s *Release) GetResource() OptString

GetResource returns the value of Resource.

func (*Release) GetStartDate

func (s *Release) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*Release) GetURL

func (s *Release) GetURL() OptString

GetURL returns the value of URL.

func (*Release) MarshalJSON

func (s *Release) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Release) SetExternalReleaseDate

func (s *Release) SetExternalReleaseDate(val OptDate)

SetExternalReleaseDate sets the value of ExternalReleaseDate.

func (*Release) SetID

func (s *Release) SetID(val OptString)

SetID sets the value of ID.

func (*Release) SetName

func (s *Release) SetName(val OptString)

SetName sets the value of Name.

func (*Release) SetParkingLot

func (s *Release) SetParkingLot(val OptBool)

SetParkingLot sets the value of ParkingLot.

func (*Release) SetReferenceNum

func (s *Release) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*Release) SetReleaseDate

func (s *Release) SetReleaseDate(val OptDate)

SetReleaseDate sets the value of ReleaseDate.

func (*Release) SetReleased

func (s *Release) SetReleased(val OptBool)

SetReleased sets the value of Released.

func (*Release) SetResource

func (s *Release) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Release) SetStartDate

func (s *Release) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*Release) SetURL

func (s *Release) SetURL(val OptString)

SetURL sets the value of URL.

func (*Release) UnmarshalJSON

func (s *Release) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReleaseResponse

type ReleaseResponse struct {
	Release OptRelease `json:"release"`
}

Ref: #/components/schemas/ReleaseResponse

func (*ReleaseResponse) Decode

func (s *ReleaseResponse) Decode(d *jx.Decoder) error

Decode decodes ReleaseResponse from json.

func (*ReleaseResponse) Encode

func (s *ReleaseResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReleaseResponse) GetRelease

func (s *ReleaseResponse) GetRelease() OptRelease

GetRelease returns the value of Release.

func (*ReleaseResponse) MarshalJSON

func (s *ReleaseResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReleaseResponse) SetRelease

func (s *ReleaseResponse) SetRelease(val OptRelease)

SetRelease sets the value of Release.

func (*ReleaseResponse) UnmarshalJSON

func (s *ReleaseResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReleaseUpdate

type ReleaseUpdate struct {
	Name                 OptString `json:"name"`
	StartDate            OptDate   `json:"start_date"`
	ReleaseDate          OptDate   `json:"release_date"`
	ExternalReleaseDate  OptDate   `json:"external_release_date"`
	DevelopmentStartedOn OptDate   `json:"development_started_on"`
	ParkingLot           OptBool   `json:"parking_lot"`
}

Ref: #/components/schemas/ReleaseUpdate

func (*ReleaseUpdate) Decode

func (s *ReleaseUpdate) Decode(d *jx.Decoder) error

Decode decodes ReleaseUpdate from json.

func (*ReleaseUpdate) Encode

func (s *ReleaseUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReleaseUpdate) GetDevelopmentStartedOn

func (s *ReleaseUpdate) GetDevelopmentStartedOn() OptDate

GetDevelopmentStartedOn returns the value of DevelopmentStartedOn.

func (*ReleaseUpdate) GetExternalReleaseDate

func (s *ReleaseUpdate) GetExternalReleaseDate() OptDate

GetExternalReleaseDate returns the value of ExternalReleaseDate.

func (*ReleaseUpdate) GetName

func (s *ReleaseUpdate) GetName() OptString

GetName returns the value of Name.

func (*ReleaseUpdate) GetParkingLot

func (s *ReleaseUpdate) GetParkingLot() OptBool

GetParkingLot returns the value of ParkingLot.

func (*ReleaseUpdate) GetReleaseDate

func (s *ReleaseUpdate) GetReleaseDate() OptDate

GetReleaseDate returns the value of ReleaseDate.

func (*ReleaseUpdate) GetStartDate

func (s *ReleaseUpdate) GetStartDate() OptDate

GetStartDate returns the value of StartDate.

func (*ReleaseUpdate) MarshalJSON

func (s *ReleaseUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReleaseUpdate) SetDevelopmentStartedOn

func (s *ReleaseUpdate) SetDevelopmentStartedOn(val OptDate)

SetDevelopmentStartedOn sets the value of DevelopmentStartedOn.

func (*ReleaseUpdate) SetExternalReleaseDate

func (s *ReleaseUpdate) SetExternalReleaseDate(val OptDate)

SetExternalReleaseDate sets the value of ExternalReleaseDate.

func (*ReleaseUpdate) SetName

func (s *ReleaseUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*ReleaseUpdate) SetParkingLot

func (s *ReleaseUpdate) SetParkingLot(val OptBool)

SetParkingLot sets the value of ParkingLot.

func (*ReleaseUpdate) SetReleaseDate

func (s *ReleaseUpdate) SetReleaseDate(val OptDate)

SetReleaseDate sets the value of ReleaseDate.

func (*ReleaseUpdate) SetStartDate

func (s *ReleaseUpdate) SetStartDate(val OptDate)

SetStartDate sets the value of StartDate.

func (*ReleaseUpdate) UnmarshalJSON

func (s *ReleaseUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReleaseUpdateRequest

type ReleaseUpdateRequest struct {
	Release ReleaseUpdate `json:"release"`
}

Ref: #/components/schemas/ReleaseUpdateRequest

func (*ReleaseUpdateRequest) Decode

func (s *ReleaseUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes ReleaseUpdateRequest from json.

func (*ReleaseUpdateRequest) Encode

func (s *ReleaseUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReleaseUpdateRequest) GetRelease

func (s *ReleaseUpdateRequest) GetRelease() ReleaseUpdate

GetRelease returns the value of Release.

func (*ReleaseUpdateRequest) MarshalJSON

func (s *ReleaseUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReleaseUpdateRequest) SetRelease

func (s *ReleaseUpdateRequest) SetRelease(val ReleaseUpdate)

SetRelease sets the value of Release.

func (*ReleaseUpdateRequest) UnmarshalJSON

func (s *ReleaseUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ReleasesResponse

type ReleasesResponse struct {
	Releases   []Release     `json:"releases"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/ReleasesResponse

func (*ReleasesResponse) Decode

func (s *ReleasesResponse) Decode(d *jx.Decoder) error

Decode decodes ReleasesResponse from json.

func (*ReleasesResponse) Encode

func (s *ReleasesResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ReleasesResponse) GetPagination

func (s *ReleasesResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*ReleasesResponse) GetReleases

func (s *ReleasesResponse) GetReleases() []Release

GetReleases returns the value of Releases.

func (*ReleasesResponse) MarshalJSON

func (s *ReleasesResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ReleasesResponse) SetPagination

func (s *ReleasesResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*ReleasesResponse) SetReleases

func (s *ReleasesResponse) SetReleases(val []Release)

SetReleases sets the value of Releases.

func (*ReleasesResponse) UnmarshalJSON

func (s *ReleasesResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Requirement

type Requirement struct {
	ID                string      `json:"id"`
	ReferenceNum      string      `json:"reference_num"`
	Name              string      `json:"name"`
	Description       OptString   `json:"description"`
	Position          OptInt64    `json:"position"`
	OriginalEstimate  OptFloat32  `json:"original_estimate"`
	RemainingEstimate OptFloat32  `json:"remaining_estimate"`
	WorkDone          OptFloat32  `json:"work_done"`
	CreatedAt         time.Time   `json:"created_at"`
	UpdatedAt         OptDateTime `json:"updated_at"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource       OptString         `json:"resource"`
	WorkflowStatus OptWorkflowStatus `json:"workflow_status"`
	AssignedToUser OptUser           `json:"assigned_to_user"`
	Feature        OptFeatureMeta    `json:"feature"`
}

Ref: #/components/schemas/Requirement

func (*Requirement) Decode

func (s *Requirement) Decode(d *jx.Decoder) error

Decode decodes Requirement from json.

func (*Requirement) Encode

func (s *Requirement) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Requirement) GetAssignedToUser

func (s *Requirement) GetAssignedToUser() OptUser

GetAssignedToUser returns the value of AssignedToUser.

func (*Requirement) GetCreatedAt

func (s *Requirement) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*Requirement) GetDescription

func (s *Requirement) GetDescription() OptString

GetDescription returns the value of Description.

func (*Requirement) GetFeature

func (s *Requirement) GetFeature() OptFeatureMeta

GetFeature returns the value of Feature.

func (*Requirement) GetID

func (s *Requirement) GetID() string

GetID returns the value of ID.

func (*Requirement) GetName

func (s *Requirement) GetName() string

GetName returns the value of Name.

func (*Requirement) GetOriginalEstimate

func (s *Requirement) GetOriginalEstimate() OptFloat32

GetOriginalEstimate returns the value of OriginalEstimate.

func (*Requirement) GetPosition

func (s *Requirement) GetPosition() OptInt64

GetPosition returns the value of Position.

func (*Requirement) GetReferenceNum

func (s *Requirement) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*Requirement) GetRemainingEstimate

func (s *Requirement) GetRemainingEstimate() OptFloat32

GetRemainingEstimate returns the value of RemainingEstimate.

func (*Requirement) GetResource

func (s *Requirement) GetResource() OptString

GetResource returns the value of Resource.

func (*Requirement) GetURL

func (s *Requirement) GetURL() OptString

GetURL returns the value of URL.

func (*Requirement) GetUpdatedAt

func (s *Requirement) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*Requirement) GetWorkDone

func (s *Requirement) GetWorkDone() OptFloat32

GetWorkDone returns the value of WorkDone.

func (*Requirement) GetWorkflowStatus

func (s *Requirement) GetWorkflowStatus() OptWorkflowStatus

GetWorkflowStatus returns the value of WorkflowStatus.

func (*Requirement) MarshalJSON

func (s *Requirement) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Requirement) SetAssignedToUser

func (s *Requirement) SetAssignedToUser(val OptUser)

SetAssignedToUser sets the value of AssignedToUser.

func (*Requirement) SetCreatedAt

func (s *Requirement) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*Requirement) SetDescription

func (s *Requirement) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*Requirement) SetFeature

func (s *Requirement) SetFeature(val OptFeatureMeta)

SetFeature sets the value of Feature.

func (*Requirement) SetID

func (s *Requirement) SetID(val string)

SetID sets the value of ID.

func (*Requirement) SetName

func (s *Requirement) SetName(val string)

SetName sets the value of Name.

func (*Requirement) SetOriginalEstimate

func (s *Requirement) SetOriginalEstimate(val OptFloat32)

SetOriginalEstimate sets the value of OriginalEstimate.

func (*Requirement) SetPosition

func (s *Requirement) SetPosition(val OptInt64)

SetPosition sets the value of Position.

func (*Requirement) SetReferenceNum

func (s *Requirement) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*Requirement) SetRemainingEstimate

func (s *Requirement) SetRemainingEstimate(val OptFloat32)

SetRemainingEstimate sets the value of RemainingEstimate.

func (*Requirement) SetResource

func (s *Requirement) SetResource(val OptString)

SetResource sets the value of Resource.

func (*Requirement) SetURL

func (s *Requirement) SetURL(val OptString)

SetURL sets the value of URL.

func (*Requirement) SetUpdatedAt

func (s *Requirement) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*Requirement) SetWorkDone

func (s *Requirement) SetWorkDone(val OptFloat32)

SetWorkDone sets the value of WorkDone.

func (*Requirement) SetWorkflowStatus

func (s *Requirement) SetWorkflowStatus(val OptWorkflowStatus)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*Requirement) UnmarshalJSON

func (s *Requirement) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Requirement) Validate

func (s *Requirement) Validate() error

type RequirementCreate

type RequirementCreate struct {
	// Requirement name.
	Name string `json:"name"`
	// Requirement description (HTML allowed).
	Description OptString `json:"description"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
	// User ID or email.
	AssignedToUser OptString `json:"assigned_to_user"`
	// Original estimate in work units.
	OriginalEstimate OptFloat32 `json:"original_estimate"`
}

Ref: #/components/schemas/RequirementCreate

func (*RequirementCreate) Decode

func (s *RequirementCreate) Decode(d *jx.Decoder) error

Decode decodes RequirementCreate from json.

func (*RequirementCreate) Encode

func (s *RequirementCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementCreate) GetAssignedToUser

func (s *RequirementCreate) GetAssignedToUser() OptString

GetAssignedToUser returns the value of AssignedToUser.

func (*RequirementCreate) GetDescription

func (s *RequirementCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*RequirementCreate) GetName

func (s *RequirementCreate) GetName() string

GetName returns the value of Name.

func (*RequirementCreate) GetOriginalEstimate

func (s *RequirementCreate) GetOriginalEstimate() OptFloat32

GetOriginalEstimate returns the value of OriginalEstimate.

func (*RequirementCreate) GetWorkflowStatus

func (s *RequirementCreate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*RequirementCreate) MarshalJSON

func (s *RequirementCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementCreate) SetAssignedToUser

func (s *RequirementCreate) SetAssignedToUser(val OptString)

SetAssignedToUser sets the value of AssignedToUser.

func (*RequirementCreate) SetDescription

func (s *RequirementCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RequirementCreate) SetName

func (s *RequirementCreate) SetName(val string)

SetName sets the value of Name.

func (*RequirementCreate) SetOriginalEstimate

func (s *RequirementCreate) SetOriginalEstimate(val OptFloat32)

SetOriginalEstimate sets the value of OriginalEstimate.

func (*RequirementCreate) SetWorkflowStatus

func (s *RequirementCreate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*RequirementCreate) UnmarshalJSON

func (s *RequirementCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RequirementCreate) Validate

func (s *RequirementCreate) Validate() error

type RequirementCreateRequest

type RequirementCreateRequest struct {
	Requirement RequirementCreate `json:"requirement"`
}

Ref: #/components/schemas/RequirementCreateRequest

func (*RequirementCreateRequest) Decode

func (s *RequirementCreateRequest) Decode(d *jx.Decoder) error

Decode decodes RequirementCreateRequest from json.

func (*RequirementCreateRequest) Encode

func (s *RequirementCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementCreateRequest) GetRequirement

func (s *RequirementCreateRequest) GetRequirement() RequirementCreate

GetRequirement returns the value of Requirement.

func (*RequirementCreateRequest) MarshalJSON

func (s *RequirementCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementCreateRequest) SetRequirement

func (s *RequirementCreateRequest) SetRequirement(val RequirementCreate)

SetRequirement sets the value of Requirement.

func (*RequirementCreateRequest) UnmarshalJSON

func (s *RequirementCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RequirementCreateRequest) Validate

func (s *RequirementCreateRequest) Validate() error

type RequirementMeta

type RequirementMeta struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
}

Ref: #/components/schemas/RequirementMeta

func (*RequirementMeta) Decode

func (s *RequirementMeta) Decode(d *jx.Decoder) error

Decode decodes RequirementMeta from json.

func (*RequirementMeta) Encode

func (s *RequirementMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementMeta) GetCreatedAt

func (s *RequirementMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*RequirementMeta) GetID

func (s *RequirementMeta) GetID() OptString

GetID returns the value of ID.

func (*RequirementMeta) GetName

func (s *RequirementMeta) GetName() OptString

GetName returns the value of Name.

func (*RequirementMeta) GetReferenceNum

func (s *RequirementMeta) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*RequirementMeta) GetResource

func (s *RequirementMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*RequirementMeta) GetURL

func (s *RequirementMeta) GetURL() OptString

GetURL returns the value of URL.

func (*RequirementMeta) MarshalJSON

func (s *RequirementMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementMeta) SetCreatedAt

func (s *RequirementMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*RequirementMeta) SetID

func (s *RequirementMeta) SetID(val OptString)

SetID sets the value of ID.

func (*RequirementMeta) SetName

func (s *RequirementMeta) SetName(val OptString)

SetName sets the value of Name.

func (*RequirementMeta) SetReferenceNum

func (s *RequirementMeta) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*RequirementMeta) SetResource

func (s *RequirementMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*RequirementMeta) SetURL

func (s *RequirementMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*RequirementMeta) UnmarshalJSON

func (s *RequirementMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RequirementResponse

type RequirementResponse struct {
	Requirement OptRequirement `json:"requirement"`
}

Ref: #/components/schemas/RequirementResponse

func (*RequirementResponse) Decode

func (s *RequirementResponse) Decode(d *jx.Decoder) error

Decode decodes RequirementResponse from json.

func (*RequirementResponse) Encode

func (s *RequirementResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementResponse) GetRequirement

func (s *RequirementResponse) GetRequirement() OptRequirement

GetRequirement returns the value of Requirement.

func (*RequirementResponse) MarshalJSON

func (s *RequirementResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementResponse) SetRequirement

func (s *RequirementResponse) SetRequirement(val OptRequirement)

SetRequirement sets the value of Requirement.

func (*RequirementResponse) UnmarshalJSON

func (s *RequirementResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RequirementResponse) Validate

func (s *RequirementResponse) Validate() error

type RequirementUpdate

type RequirementUpdate struct {
	// Requirement name.
	Name OptString `json:"name"`
	// Requirement description (HTML allowed).
	Description OptString `json:"description"`
	// Workflow status ID or name.
	WorkflowStatus OptString `json:"workflow_status"`
	// User ID or email.
	AssignedToUser    OptString  `json:"assigned_to_user"`
	OriginalEstimate  OptFloat32 `json:"original_estimate"`
	RemainingEstimate OptFloat32 `json:"remaining_estimate"`
	WorkDone          OptFloat32 `json:"work_done"`
}

Ref: #/components/schemas/RequirementUpdate

func (*RequirementUpdate) Decode

func (s *RequirementUpdate) Decode(d *jx.Decoder) error

Decode decodes RequirementUpdate from json.

func (*RequirementUpdate) Encode

func (s *RequirementUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementUpdate) GetAssignedToUser

func (s *RequirementUpdate) GetAssignedToUser() OptString

GetAssignedToUser returns the value of AssignedToUser.

func (*RequirementUpdate) GetDescription

func (s *RequirementUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*RequirementUpdate) GetName

func (s *RequirementUpdate) GetName() OptString

GetName returns the value of Name.

func (*RequirementUpdate) GetOriginalEstimate

func (s *RequirementUpdate) GetOriginalEstimate() OptFloat32

GetOriginalEstimate returns the value of OriginalEstimate.

func (*RequirementUpdate) GetRemainingEstimate

func (s *RequirementUpdate) GetRemainingEstimate() OptFloat32

GetRemainingEstimate returns the value of RemainingEstimate.

func (*RequirementUpdate) GetWorkDone

func (s *RequirementUpdate) GetWorkDone() OptFloat32

GetWorkDone returns the value of WorkDone.

func (*RequirementUpdate) GetWorkflowStatus

func (s *RequirementUpdate) GetWorkflowStatus() OptString

GetWorkflowStatus returns the value of WorkflowStatus.

func (*RequirementUpdate) MarshalJSON

func (s *RequirementUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementUpdate) SetAssignedToUser

func (s *RequirementUpdate) SetAssignedToUser(val OptString)

SetAssignedToUser sets the value of AssignedToUser.

func (*RequirementUpdate) SetDescription

func (s *RequirementUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*RequirementUpdate) SetName

func (s *RequirementUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*RequirementUpdate) SetOriginalEstimate

func (s *RequirementUpdate) SetOriginalEstimate(val OptFloat32)

SetOriginalEstimate sets the value of OriginalEstimate.

func (*RequirementUpdate) SetRemainingEstimate

func (s *RequirementUpdate) SetRemainingEstimate(val OptFloat32)

SetRemainingEstimate sets the value of RemainingEstimate.

func (*RequirementUpdate) SetWorkDone

func (s *RequirementUpdate) SetWorkDone(val OptFloat32)

SetWorkDone sets the value of WorkDone.

func (*RequirementUpdate) SetWorkflowStatus

func (s *RequirementUpdate) SetWorkflowStatus(val OptString)

SetWorkflowStatus sets the value of WorkflowStatus.

func (*RequirementUpdate) UnmarshalJSON

func (s *RequirementUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RequirementUpdate) Validate

func (s *RequirementUpdate) Validate() error

type RequirementUpdateRequest

type RequirementUpdateRequest struct {
	Requirement RequirementUpdate `json:"requirement"`
}

Ref: #/components/schemas/RequirementUpdateRequest

func (*RequirementUpdateRequest) Decode

func (s *RequirementUpdateRequest) Decode(d *jx.Decoder) error

Decode decodes RequirementUpdateRequest from json.

func (*RequirementUpdateRequest) Encode

func (s *RequirementUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementUpdateRequest) GetRequirement

func (s *RequirementUpdateRequest) GetRequirement() RequirementUpdate

GetRequirement returns the value of Requirement.

func (*RequirementUpdateRequest) MarshalJSON

func (s *RequirementUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementUpdateRequest) SetRequirement

func (s *RequirementUpdateRequest) SetRequirement(val RequirementUpdate)

SetRequirement sets the value of Requirement.

func (*RequirementUpdateRequest) UnmarshalJSON

func (s *RequirementUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*RequirementUpdateRequest) Validate

func (s *RequirementUpdateRequest) Validate() error

type RequirementsResponse

type RequirementsResponse struct {
	Requirements []RequirementMeta `json:"requirements"`
	Pagination   OptPagination     `json:"pagination"`
}

Ref: #/components/schemas/RequirementsResponse

func (*RequirementsResponse) Decode

func (s *RequirementsResponse) Decode(d *jx.Decoder) error

Decode decodes RequirementsResponse from json.

func (*RequirementsResponse) Encode

func (s *RequirementsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RequirementsResponse) GetPagination

func (s *RequirementsResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*RequirementsResponse) GetRequirements

func (s *RequirementsResponse) GetRequirements() []RequirementMeta

GetRequirements returns the value of Requirements.

func (*RequirementsResponse) MarshalJSON

func (s *RequirementsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RequirementsResponse) SetPagination

func (s *RequirementsResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*RequirementsResponse) SetRequirements

func (s *RequirementsResponse) SetRequirements(val []RequirementMeta)

SetRequirements sets the value of Requirements.

func (*RequirementsResponse) UnmarshalJSON

func (s *RequirementsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationGroup

func (r Route) OperationGroup() string

OperationGroup returns the x-ogen-operation-group value.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

type SecurityHandler

type SecurityHandler interface {
	// HandleBearerAuth handles bearerAuth security.
	// Aha API key as bearer token.
	HandleBearerAuth(ctx context.Context, operationName OperationName, t BearerAuth) (context.Context, error)
}

SecurityHandler is handler for security parameters.

type SecuritySource

type SecuritySource interface {
	// BearerAuth provides bearerAuth security value.
	// Aha API key as bearer token.
	BearerAuth(ctx context.Context, operationName OperationName) (BearerAuth, error)
}

SecuritySource is provider of security values (tokens, passwords, etc.).

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.

func NewServer

func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type StrategicModel

type StrategicModel struct {
	ID           string `json:"id"`
	ReferenceNum string `json:"reference_num"`
	Name         string `json:"name"`
	// Type of canvas (e.g., Opportunity, Lean Canvas, Business Model).
	Kind        string    `json:"kind"`
	Description OptString `json:"description"`
	// Web UI URL.
	URL OptString `json:"url"`
	// API URL.
	Resource   OptString                 `json:"resource"`
	CreatedAt  time.Time                 `json:"created_at"`
	UpdatedAt  OptDateTime               `json:"updated_at"`
	Project    OptProductMeta            `json:"project"`
	Components []StrategicModelComponent `json:"components"`
}

Ref: #/components/schemas/StrategicModel

func (*StrategicModel) Decode

func (s *StrategicModel) Decode(d *jx.Decoder) error

Decode decodes StrategicModel from json.

func (*StrategicModel) Encode

func (s *StrategicModel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModel) GetComponents

func (s *StrategicModel) GetComponents() []StrategicModelComponent

GetComponents returns the value of Components.

func (*StrategicModel) GetCreatedAt

func (s *StrategicModel) GetCreatedAt() time.Time

GetCreatedAt returns the value of CreatedAt.

func (*StrategicModel) GetDescription

func (s *StrategicModel) GetDescription() OptString

GetDescription returns the value of Description.

func (*StrategicModel) GetID

func (s *StrategicModel) GetID() string

GetID returns the value of ID.

func (*StrategicModel) GetKind

func (s *StrategicModel) GetKind() string

GetKind returns the value of Kind.

func (*StrategicModel) GetName

func (s *StrategicModel) GetName() string

GetName returns the value of Name.

func (*StrategicModel) GetProject

func (s *StrategicModel) GetProject() OptProductMeta

GetProject returns the value of Project.

func (*StrategicModel) GetReferenceNum

func (s *StrategicModel) GetReferenceNum() string

GetReferenceNum returns the value of ReferenceNum.

func (*StrategicModel) GetResource

func (s *StrategicModel) GetResource() OptString

GetResource returns the value of Resource.

func (*StrategicModel) GetURL

func (s *StrategicModel) GetURL() OptString

GetURL returns the value of URL.

func (*StrategicModel) GetUpdatedAt

func (s *StrategicModel) GetUpdatedAt() OptDateTime

GetUpdatedAt returns the value of UpdatedAt.

func (*StrategicModel) MarshalJSON

func (s *StrategicModel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModel) SetComponents

func (s *StrategicModel) SetComponents(val []StrategicModelComponent)

SetComponents sets the value of Components.

func (*StrategicModel) SetCreatedAt

func (s *StrategicModel) SetCreatedAt(val time.Time)

SetCreatedAt sets the value of CreatedAt.

func (*StrategicModel) SetDescription

func (s *StrategicModel) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*StrategicModel) SetID

func (s *StrategicModel) SetID(val string)

SetID sets the value of ID.

func (*StrategicModel) SetKind

func (s *StrategicModel) SetKind(val string)

SetKind sets the value of Kind.

func (*StrategicModel) SetName

func (s *StrategicModel) SetName(val string)

SetName sets the value of Name.

func (*StrategicModel) SetProject

func (s *StrategicModel) SetProject(val OptProductMeta)

SetProject sets the value of Project.

func (*StrategicModel) SetReferenceNum

func (s *StrategicModel) SetReferenceNum(val string)

SetReferenceNum sets the value of ReferenceNum.

func (*StrategicModel) SetResource

func (s *StrategicModel) SetResource(val OptString)

SetResource sets the value of Resource.

func (*StrategicModel) SetURL

func (s *StrategicModel) SetURL(val OptString)

SetURL sets the value of URL.

func (*StrategicModel) SetUpdatedAt

func (s *StrategicModel) SetUpdatedAt(val OptDateTime)

SetUpdatedAt sets the value of UpdatedAt.

func (*StrategicModel) UnmarshalJSON

func (s *StrategicModel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelComponent

type StrategicModelComponent struct {
	ID OptString `json:"id"`
	// Block name (e.g., Users & Customers, Problems, Solutions).
	Name OptString `json:"name"`
	// Content of the block (HTML allowed).
	Description OptString `json:"description"`
	// Display order position.
	Position OptInt64 `json:"position"`
}

A component (block) within a strategic model. Ref: #/components/schemas/StrategicModelComponent

func (*StrategicModelComponent) Decode

func (s *StrategicModelComponent) Decode(d *jx.Decoder) error

Decode decodes StrategicModelComponent from json.

func (*StrategicModelComponent) Encode

func (s *StrategicModelComponent) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelComponent) GetDescription

func (s *StrategicModelComponent) GetDescription() OptString

GetDescription returns the value of Description.

func (*StrategicModelComponent) GetID

GetID returns the value of ID.

func (*StrategicModelComponent) GetName

func (s *StrategicModelComponent) GetName() OptString

GetName returns the value of Name.

func (*StrategicModelComponent) GetPosition

func (s *StrategicModelComponent) GetPosition() OptInt64

GetPosition returns the value of Position.

func (*StrategicModelComponent) MarshalJSON

func (s *StrategicModelComponent) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelComponent) SetDescription

func (s *StrategicModelComponent) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*StrategicModelComponent) SetID

func (s *StrategicModelComponent) SetID(val OptString)

SetID sets the value of ID.

func (*StrategicModelComponent) SetName

func (s *StrategicModelComponent) SetName(val OptString)

SetName sets the value of Name.

func (*StrategicModelComponent) SetPosition

func (s *StrategicModelComponent) SetPosition(val OptInt64)

SetPosition sets the value of Position.

func (*StrategicModelComponent) UnmarshalJSON

func (s *StrategicModelComponent) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelComponentResponse

type StrategicModelComponentResponse struct {
	Component OptStrategicModelComponent `json:"component"`
}

Ref: #/components/schemas/StrategicModelComponentResponse

func (*StrategicModelComponentResponse) Decode

Decode decodes StrategicModelComponentResponse from json.

func (*StrategicModelComponentResponse) Encode

Encode implements json.Marshaler.

func (*StrategicModelComponentResponse) GetComponent

GetComponent returns the value of Component.

func (*StrategicModelComponentResponse) MarshalJSON

func (s *StrategicModelComponentResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelComponentResponse) SetComponent

SetComponent sets the value of Component.

func (*StrategicModelComponentResponse) UnmarshalJSON

func (s *StrategicModelComponentResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelComponentUpdate

type StrategicModelComponentUpdate struct {
	// Content of the block (HTML allowed).
	Description OptString `json:"description"`
}

Ref: #/components/schemas/StrategicModelComponentUpdate

func (*StrategicModelComponentUpdate) Decode

Decode decodes StrategicModelComponentUpdate from json.

func (*StrategicModelComponentUpdate) Encode

Encode implements json.Marshaler.

func (*StrategicModelComponentUpdate) GetDescription

func (s *StrategicModelComponentUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*StrategicModelComponentUpdate) MarshalJSON

func (s *StrategicModelComponentUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelComponentUpdate) SetDescription

func (s *StrategicModelComponentUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*StrategicModelComponentUpdate) UnmarshalJSON

func (s *StrategicModelComponentUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelComponentUpdateRequest

type StrategicModelComponentUpdateRequest struct {
	Component StrategicModelComponentUpdate `json:"component"`
}

Ref: #/components/schemas/StrategicModelComponentUpdateRequest

func (*StrategicModelComponentUpdateRequest) Decode

Decode decodes StrategicModelComponentUpdateRequest from json.

func (*StrategicModelComponentUpdateRequest) Encode

Encode implements json.Marshaler.

func (*StrategicModelComponentUpdateRequest) GetComponent

GetComponent returns the value of Component.

func (*StrategicModelComponentUpdateRequest) MarshalJSON

func (s *StrategicModelComponentUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelComponentUpdateRequest) SetComponent

SetComponent sets the value of Component.

func (*StrategicModelComponentUpdateRequest) UnmarshalJSON

func (s *StrategicModelComponentUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelCreate

type StrategicModelCreate struct {
	// Strategic model name.
	Name string `json:"name"`
	// Type of canvas (e.g., Opportunity, Lean Canvas).
	Kind string `json:"kind"`
	// Strategic model description.
	Description OptString `json:"description"`
}

Ref: #/components/schemas/StrategicModelCreate

func (*StrategicModelCreate) Decode

func (s *StrategicModelCreate) Decode(d *jx.Decoder) error

Decode decodes StrategicModelCreate from json.

func (*StrategicModelCreate) Encode

func (s *StrategicModelCreate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelCreate) GetDescription

func (s *StrategicModelCreate) GetDescription() OptString

GetDescription returns the value of Description.

func (*StrategicModelCreate) GetKind

func (s *StrategicModelCreate) GetKind() string

GetKind returns the value of Kind.

func (*StrategicModelCreate) GetName

func (s *StrategicModelCreate) GetName() string

GetName returns the value of Name.

func (*StrategicModelCreate) MarshalJSON

func (s *StrategicModelCreate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelCreate) SetDescription

func (s *StrategicModelCreate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*StrategicModelCreate) SetKind

func (s *StrategicModelCreate) SetKind(val string)

SetKind sets the value of Kind.

func (*StrategicModelCreate) SetName

func (s *StrategicModelCreate) SetName(val string)

SetName sets the value of Name.

func (*StrategicModelCreate) UnmarshalJSON

func (s *StrategicModelCreate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelCreateRequest

type StrategicModelCreateRequest struct {
	StrategyModel StrategicModelCreate `json:"strategy_model"`
}

Ref: #/components/schemas/StrategicModelCreateRequest

func (*StrategicModelCreateRequest) Decode

Decode decodes StrategicModelCreateRequest from json.

func (*StrategicModelCreateRequest) Encode

func (s *StrategicModelCreateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelCreateRequest) GetStrategyModel

func (s *StrategicModelCreateRequest) GetStrategyModel() StrategicModelCreate

GetStrategyModel returns the value of StrategyModel.

func (*StrategicModelCreateRequest) MarshalJSON

func (s *StrategicModelCreateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelCreateRequest) SetStrategyModel

func (s *StrategicModelCreateRequest) SetStrategyModel(val StrategicModelCreate)

SetStrategyModel sets the value of StrategyModel.

func (*StrategicModelCreateRequest) UnmarshalJSON

func (s *StrategicModelCreateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelMeta

type StrategicModelMeta struct {
	ID           OptString   `json:"id"`
	ReferenceNum OptString   `json:"reference_num"`
	Name         OptString   `json:"name"`
	Kind         OptString   `json:"kind"`
	CreatedAt    OptDateTime `json:"created_at"`
	URL          OptString   `json:"url"`
	Resource     OptString   `json:"resource"`
}

Ref: #/components/schemas/StrategicModelMeta

func (*StrategicModelMeta) Decode

func (s *StrategicModelMeta) Decode(d *jx.Decoder) error

Decode decodes StrategicModelMeta from json.

func (*StrategicModelMeta) Encode

func (s *StrategicModelMeta) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelMeta) GetCreatedAt

func (s *StrategicModelMeta) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*StrategicModelMeta) GetID

func (s *StrategicModelMeta) GetID() OptString

GetID returns the value of ID.

func (*StrategicModelMeta) GetKind

func (s *StrategicModelMeta) GetKind() OptString

GetKind returns the value of Kind.

func (*StrategicModelMeta) GetName

func (s *StrategicModelMeta) GetName() OptString

GetName returns the value of Name.

func (*StrategicModelMeta) GetReferenceNum

func (s *StrategicModelMeta) GetReferenceNum() OptString

GetReferenceNum returns the value of ReferenceNum.

func (*StrategicModelMeta) GetResource

func (s *StrategicModelMeta) GetResource() OptString

GetResource returns the value of Resource.

func (*StrategicModelMeta) GetURL

func (s *StrategicModelMeta) GetURL() OptString

GetURL returns the value of URL.

func (*StrategicModelMeta) MarshalJSON

func (s *StrategicModelMeta) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelMeta) SetCreatedAt

func (s *StrategicModelMeta) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*StrategicModelMeta) SetID

func (s *StrategicModelMeta) SetID(val OptString)

SetID sets the value of ID.

func (*StrategicModelMeta) SetKind

func (s *StrategicModelMeta) SetKind(val OptString)

SetKind sets the value of Kind.

func (*StrategicModelMeta) SetName

func (s *StrategicModelMeta) SetName(val OptString)

SetName sets the value of Name.

func (*StrategicModelMeta) SetReferenceNum

func (s *StrategicModelMeta) SetReferenceNum(val OptString)

SetReferenceNum sets the value of ReferenceNum.

func (*StrategicModelMeta) SetResource

func (s *StrategicModelMeta) SetResource(val OptString)

SetResource sets the value of Resource.

func (*StrategicModelMeta) SetURL

func (s *StrategicModelMeta) SetURL(val OptString)

SetURL sets the value of URL.

func (*StrategicModelMeta) UnmarshalJSON

func (s *StrategicModelMeta) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelResponse

type StrategicModelResponse struct {
	StrategyModel OptStrategicModel `json:"strategy_model"`
}

Ref: #/components/schemas/StrategicModelResponse

func (*StrategicModelResponse) Decode

func (s *StrategicModelResponse) Decode(d *jx.Decoder) error

Decode decodes StrategicModelResponse from json.

func (*StrategicModelResponse) Encode

func (s *StrategicModelResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelResponse) GetStrategyModel

func (s *StrategicModelResponse) GetStrategyModel() OptStrategicModel

GetStrategyModel returns the value of StrategyModel.

func (*StrategicModelResponse) MarshalJSON

func (s *StrategicModelResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelResponse) SetStrategyModel

func (s *StrategicModelResponse) SetStrategyModel(val OptStrategicModel)

SetStrategyModel sets the value of StrategyModel.

func (*StrategicModelResponse) UnmarshalJSON

func (s *StrategicModelResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelUpdate

type StrategicModelUpdate struct {
	Name        OptString `json:"name"`
	Description OptString `json:"description"`
}

Ref: #/components/schemas/StrategicModelUpdate

func (*StrategicModelUpdate) Decode

func (s *StrategicModelUpdate) Decode(d *jx.Decoder) error

Decode decodes StrategicModelUpdate from json.

func (*StrategicModelUpdate) Encode

func (s *StrategicModelUpdate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelUpdate) GetDescription

func (s *StrategicModelUpdate) GetDescription() OptString

GetDescription returns the value of Description.

func (*StrategicModelUpdate) GetName

func (s *StrategicModelUpdate) GetName() OptString

GetName returns the value of Name.

func (*StrategicModelUpdate) MarshalJSON

func (s *StrategicModelUpdate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelUpdate) SetDescription

func (s *StrategicModelUpdate) SetDescription(val OptString)

SetDescription sets the value of Description.

func (*StrategicModelUpdate) SetName

func (s *StrategicModelUpdate) SetName(val OptString)

SetName sets the value of Name.

func (*StrategicModelUpdate) UnmarshalJSON

func (s *StrategicModelUpdate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelUpdateRequest

type StrategicModelUpdateRequest struct {
	StrategyModel StrategicModelUpdate `json:"strategy_model"`
}

Ref: #/components/schemas/StrategicModelUpdateRequest

func (*StrategicModelUpdateRequest) Decode

Decode decodes StrategicModelUpdateRequest from json.

func (*StrategicModelUpdateRequest) Encode

func (s *StrategicModelUpdateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelUpdateRequest) GetStrategyModel

func (s *StrategicModelUpdateRequest) GetStrategyModel() StrategicModelUpdate

GetStrategyModel returns the value of StrategyModel.

func (*StrategicModelUpdateRequest) MarshalJSON

func (s *StrategicModelUpdateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelUpdateRequest) SetStrategyModel

func (s *StrategicModelUpdateRequest) SetStrategyModel(val StrategicModelUpdate)

SetStrategyModel sets the value of StrategyModel.

func (*StrategicModelUpdateRequest) UnmarshalJSON

func (s *StrategicModelUpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StrategicModelsResponse

type StrategicModelsResponse struct {
	StrategyModels []StrategicModelMeta `json:"strategy_models"`
	Pagination     OptPagination        `json:"pagination"`
}

Ref: #/components/schemas/StrategicModelsResponse

func (*StrategicModelsResponse) Decode

func (s *StrategicModelsResponse) Decode(d *jx.Decoder) error

Decode decodes StrategicModelsResponse from json.

func (*StrategicModelsResponse) Encode

func (s *StrategicModelsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StrategicModelsResponse) GetPagination

func (s *StrategicModelsResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*StrategicModelsResponse) GetStrategyModels

func (s *StrategicModelsResponse) GetStrategyModels() []StrategicModelMeta

GetStrategyModels returns the value of StrategyModels.

func (*StrategicModelsResponse) MarshalJSON

func (s *StrategicModelsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StrategicModelsResponse) SetPagination

func (s *StrategicModelsResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*StrategicModelsResponse) SetStrategyModels

func (s *StrategicModelsResponse) SetStrategyModels(val []StrategicModelMeta)

SetStrategyModels sets the value of StrategyModels.

func (*StrategicModelsResponse) UnmarshalJSON

func (s *StrategicModelsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type TimeFrame

type TimeFrame struct {
	ID   OptString `json:"id"`
	Name OptString `json:"name"`
}

Ref: #/components/schemas/TimeFrame

func (*TimeFrame) Decode

func (s *TimeFrame) Decode(d *jx.Decoder) error

Decode decodes TimeFrame from json.

func (*TimeFrame) Encode

func (s *TimeFrame) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TimeFrame) GetID

func (s *TimeFrame) GetID() OptString

GetID returns the value of ID.

func (*TimeFrame) GetName

func (s *TimeFrame) GetName() OptString

GetName returns the value of Name.

func (*TimeFrame) MarshalJSON

func (s *TimeFrame) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TimeFrame) SetID

func (s *TimeFrame) SetID(val OptString)

SetID sets the value of ID.

func (*TimeFrame) SetName

func (s *TimeFrame) SetName(val OptString)

SetName sets the value of Name.

func (*TimeFrame) UnmarshalJSON

func (s *TimeFrame) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) CreateFeatureComment

CreateFeatureComment implements createFeatureComment operation.

Create a new comment on a feature.

POST /features/{feature_id}/comments

func (UnimplementedHandler) CreateFeatureRequirement

CreateFeatureRequirement implements createFeatureRequirement operation.

Create a new requirement for a feature.

POST /features/{feature_id}/requirements

func (UnimplementedHandler) CreateIdeaComment

CreateIdeaComment implements createIdeaComment operation.

Create a new internal comment on an idea.

POST /ideas/{idea_id}/comments

func (UnimplementedHandler) CreateProductGoal

CreateProductGoal implements createProductGoal operation.

Create a new goal in a product.

POST /products/{product_id}/goals

func (UnimplementedHandler) CreateProductInitiative

CreateProductInitiative implements createProductInitiative operation.

Create a new initiative in a product.

POST /products/{product_id}/initiatives

func (UnimplementedHandler) CreateProductStrategicModel

CreateProductStrategicModel implements createProductStrategicModel operation.

Create a new strategic model in a product.

POST /products/{product_id}/strategy_models

func (UnimplementedHandler) CreateReleaseEpic

CreateReleaseEpic implements createReleaseEpic operation.

Create a new epic in a release.

POST /releases/{release_id}/epics

func (UnimplementedHandler) CreateReleaseFeature

CreateReleaseFeature implements createReleaseFeature operation.

Create a new feature in a release.

POST /releases/{release_id}/features

func (UnimplementedHandler) DeleteComment

func (UnimplementedHandler) DeleteComment(ctx context.Context, params DeleteCommentParams) error

DeleteComment implements deleteComment operation.

Delete a comment.

DELETE /comments/{comment_id}

func (UnimplementedHandler) DeleteRequirement

func (UnimplementedHandler) DeleteRequirement(ctx context.Context, params DeleteRequirementParams) error

DeleteRequirement implements deleteRequirement operation.

Delete a requirement.

DELETE /requirements/{requirement_id}

func (UnimplementedHandler) GetComment

GetComment implements getComment operation.

Get a specific comment by ID.

GET /comments/{comment_id}

func (UnimplementedHandler) GetCurrentUser

func (UnimplementedHandler) GetCurrentUser(ctx context.Context) (r *UserResponse, _ error)

GetCurrentUser implements getCurrentUser operation.

Get the currently authenticated user.

GET /me

func (UnimplementedHandler) GetEpic

func (UnimplementedHandler) GetEpic(ctx context.Context, params GetEpicParams) (r GetEpicRes, _ error)

GetEpic implements getEpic operation.

Get a specific epic by ID or reference number.

GET /epics/{epic_id}

func (UnimplementedHandler) GetFeature

GetFeature implements getFeature operation.

Get a specific feature by ID or reference number.

GET /features/{feature_id}

func (UnimplementedHandler) GetGoal

func (UnimplementedHandler) GetGoal(ctx context.Context, params GetGoalParams) (r GetGoalRes, _ error)

GetGoal implements getGoal operation.

Get a specific goal by ID or reference number.

GET /goals/{goal_id}

func (UnimplementedHandler) GetIdea

func (UnimplementedHandler) GetIdea(ctx context.Context, params GetIdeaParams) (r *IdeaResponse, _ error)

GetIdea implements getIdea operation.

Get a specific idea by ID.

GET /ideas/{idea_id}

func (UnimplementedHandler) GetInitiative

GetInitiative implements getInitiative operation.

Get a specific initiative by ID or reference number.

GET /initiatives/{initiative_id}

func (UnimplementedHandler) GetProduct

GetProduct implements getProduct operation.

Get a specific product by ID.

GET /products/{product_id}

func (UnimplementedHandler) GetRelease

GetRelease implements getRelease operation.

Get a specific release by ID.

GET /releases/{release_id}

func (UnimplementedHandler) GetRequirement

GetRequirement implements getRequirement operation.

Get a specific requirement by ID or reference number.

GET /requirements/{requirement_id}

func (UnimplementedHandler) GetStrategicModel

GetStrategicModel implements getStrategicModel operation.

Get a specific strategic model by ID or reference number.

GET /strategy_models/{strategy_model_id}

func (UnimplementedHandler) GetUser

func (UnimplementedHandler) GetUser(ctx context.Context, params GetUserParams) (r *UserResponse, _ error)

GetUser implements getUser operation.

Get a specific user by ID.

GET /users/{user_id}

func (UnimplementedHandler) ListEpicComments

func (UnimplementedHandler) ListEpicComments(ctx context.Context, params ListEpicCommentsParams) (r *CommentsResponse, _ error)

ListEpicComments implements listEpicComments operation.

Get all comments on an epic.

GET /epics/{epic_id}/comments

func (UnimplementedHandler) ListEpics

func (UnimplementedHandler) ListEpics(ctx context.Context, params ListEpicsParams) (r *EpicsResponse, _ error)

ListEpics implements listEpics operation.

Get all epics with optional filtering.

GET /epics

func (UnimplementedHandler) ListFeatureComments

func (UnimplementedHandler) ListFeatureComments(ctx context.Context, params ListFeatureCommentsParams) (r *CommentsResponse, _ error)

ListFeatureComments implements listFeatureComments operation.

Get all comments on a feature.

GET /features/{feature_id}/comments

func (UnimplementedHandler) ListFeatureRequirements

func (UnimplementedHandler) ListFeatureRequirements(ctx context.Context, params ListFeatureRequirementsParams) (r *RequirementsResponse, _ error)

ListFeatureRequirements implements listFeatureRequirements operation.

Get all requirements for a feature.

GET /features/{feature_id}/requirements

func (UnimplementedHandler) ListFeatures

ListFeatures implements listFeatures operation.

Get all features with optional filtering.

GET /features

func (UnimplementedHandler) ListGoalComments

func (UnimplementedHandler) ListGoalComments(ctx context.Context, params ListGoalCommentsParams) (r *CommentsResponse, _ error)

ListGoalComments implements listGoalComments operation.

Get all comments on a goal.

GET /goals/{goal_id}/comments

func (UnimplementedHandler) ListGoals

func (UnimplementedHandler) ListGoals(ctx context.Context, params ListGoalsParams) (r *GoalsResponse, _ error)

ListGoals implements listGoals operation.

Get all goals with optional filtering.

GET /goals

func (UnimplementedHandler) ListIdeaComments

func (UnimplementedHandler) ListIdeaComments(ctx context.Context, params ListIdeaCommentsParams) (r *CommentsResponse, _ error)

ListIdeaComments implements listIdeaComments operation.

Get all comments on an idea.

GET /ideas/{idea_id}/comments

func (UnimplementedHandler) ListIdeas

func (UnimplementedHandler) ListIdeas(ctx context.Context, params ListIdeasParams) (r *IdeasResponse, _ error)

ListIdeas implements listIdeas operation.

Get all ideas with optional filtering.

GET /ideas

func (UnimplementedHandler) ListInitiativeComments

func (UnimplementedHandler) ListInitiativeComments(ctx context.Context, params ListInitiativeCommentsParams) (r *CommentsResponse, _ error)

ListInitiativeComments implements listInitiativeComments operation.

Get all comments on an initiative.

GET /initiatives/{initiative_id}/comments

func (UnimplementedHandler) ListInitiatives

ListInitiatives implements listInitiatives operation.

Get all initiatives with optional filtering.

GET /initiatives

func (UnimplementedHandler) ListProductComments

func (UnimplementedHandler) ListProductComments(ctx context.Context, params ListProductCommentsParams) (r *CommentsResponse, _ error)

ListProductComments implements listProductComments operation.

Get all comments in a product.

GET /products/{product_id}/comments

func (UnimplementedHandler) ListProductEpics

func (UnimplementedHandler) ListProductEpics(ctx context.Context, params ListProductEpicsParams) (r *EpicsResponse, _ error)

ListProductEpics implements listProductEpics operation.

Get all epics for a product.

GET /products/{product_id}/epics

func (UnimplementedHandler) ListProductGoals

func (UnimplementedHandler) ListProductGoals(ctx context.Context, params ListProductGoalsParams) (r *GoalsResponse, _ error)

ListProductGoals implements listProductGoals operation.

Get all goals for a product.

GET /products/{product_id}/goals

func (UnimplementedHandler) ListProductInitiatives

func (UnimplementedHandler) ListProductInitiatives(ctx context.Context, params ListProductInitiativesParams) (r *InitiativesResponse, _ error)

ListProductInitiatives implements listProductInitiatives operation.

Get all initiatives for a product.

GET /products/{product_id}/initiatives

func (UnimplementedHandler) ListProductReleases

func (UnimplementedHandler) ListProductReleases(ctx context.Context, params ListProductReleasesParams) (r *ReleasesResponse, _ error)

ListProductReleases implements listProductReleases operation.

Get all releases for a product.

GET /products/{product_id}/releases

func (UnimplementedHandler) ListProductStrategicModels

ListProductStrategicModels implements listProductStrategicModels operation.

Get all strategic models for a product.

GET /products/{product_id}/strategy_models

func (UnimplementedHandler) ListProductWorkflows

func (UnimplementedHandler) ListProductWorkflows(ctx context.Context, params ListProductWorkflowsParams) (r *WorkflowsResponse, _ error)

ListProductWorkflows implements listProductWorkflows operation.

Get all workflows and their statuses for a product.

GET /products/{product_id}/workflows

func (UnimplementedHandler) ListProducts

ListProducts implements listProducts operation.

Get all products (workspaces).

GET /products

func (UnimplementedHandler) ListReleaseComments

func (UnimplementedHandler) ListReleaseComments(ctx context.Context, params ListReleaseCommentsParams) (r *CommentsResponse, _ error)

ListReleaseComments implements listReleaseComments operation.

Get all comments on a release.

GET /releases/{release_id}/comments

func (UnimplementedHandler) ListReleaseFeatures

func (UnimplementedHandler) ListReleaseFeatures(ctx context.Context, params ListReleaseFeaturesParams) (r *FeaturesResponse, _ error)

ListReleaseFeatures implements listReleaseFeatures operation.

Get all features for a specific release.

GET /releases/{release_id}/features

func (UnimplementedHandler) ListStrategicModels

ListStrategicModels implements listStrategicModels operation.

Get all strategic models (canvases) with optional filtering.

GET /strategy_models

func (UnimplementedHandler) ListUsers

func (UnimplementedHandler) ListUsers(ctx context.Context, params ListUsersParams) (r *UsersResponse, _ error)

ListUsers implements listUsers operation.

Get all users in the account.

GET /users

func (UnimplementedHandler) UpdateComment

UpdateComment implements updateComment operation.

Update an existing comment.

PUT /comments/{comment_id}

func (UnimplementedHandler) UpdateEpic

UpdateEpic implements updateEpic operation.

Update an existing epic.

PUT /epics/{epic_id}

func (UnimplementedHandler) UpdateFeature

UpdateFeature implements updateFeature operation.

Update an existing feature.

PUT /features/{feature_id}

func (UnimplementedHandler) UpdateGoal

UpdateGoal implements updateGoal operation.

Update an existing goal.

PUT /goals/{goal_id}

func (UnimplementedHandler) UpdateInitiative

UpdateInitiative implements updateInitiative operation.

Update an existing initiative.

PUT /initiatives/{initiative_id}

func (UnimplementedHandler) UpdateRelease

UpdateRelease implements updateRelease operation.

Update an existing release.

PUT /releases/{release_id}

func (UnimplementedHandler) UpdateRequirement

UpdateRequirement implements updateRequirement operation.

Update an existing requirement.

PUT /requirements/{requirement_id}

func (UnimplementedHandler) UpdateStrategicModel

UpdateStrategicModel implements updateStrategicModel operation.

Update an existing strategic model.

PUT /strategy_models/{strategy_model_id}

func (UnimplementedHandler) UpdateStrategicModelComponent

UpdateStrategicModelComponent implements updateStrategicModelComponent operation.

Update a component (block) within a strategic model.

PUT /strategy_models/{strategy_model_id}/components/{component_id}

type UpdateCommentParams

type UpdateCommentParams struct {
	// Numeric ID of the comment.
	CommentID string
}

UpdateCommentParams is parameters of updateComment operation.

type UpdateEpicParams

type UpdateEpicParams struct {
	// Epic ID or reference number.
	EpicID string
}

UpdateEpicParams is parameters of updateEpic operation.

type UpdateFeatureParams

type UpdateFeatureParams struct {
	// Numeric ID or reference number.
	FeatureID string
}

UpdateFeatureParams is parameters of updateFeature operation.

type UpdateGoalParams

type UpdateGoalParams struct {
	// Goal ID or reference number.
	GoalID string
}

UpdateGoalParams is parameters of updateGoal operation.

type UpdateInitiativeParams

type UpdateInitiativeParams struct {
	// Initiative ID or reference number.
	InitiativeID string
}

UpdateInitiativeParams is parameters of updateInitiative operation.

type UpdateReleaseParams

type UpdateReleaseParams struct {
	// Release ID or reference number.
	ReleaseID string
}

UpdateReleaseParams is parameters of updateRelease operation.

type UpdateRequirementParams

type UpdateRequirementParams struct {
	// Requirement ID or reference number.
	RequirementID string
}

UpdateRequirementParams is parameters of updateRequirement operation.

type UpdateStrategicModelComponentParams

type UpdateStrategicModelComponentParams struct {
	// Strategic model ID or reference number.
	StrategyModelID string
	// Component ID within the strategic model.
	ComponentID string
}

UpdateStrategicModelComponentParams is parameters of updateStrategicModelComponent operation.

type UpdateStrategicModelParams

type UpdateStrategicModelParams struct {
	// Strategic model ID or reference number.
	StrategyModelID string
}

UpdateStrategicModelParams is parameters of updateStrategicModel operation.

type User

type User struct {
	ID        OptString   `json:"id"`
	FirstName OptString   `json:"first_name"`
	LastName  OptString   `json:"last_name"`
	Email     OptString   `json:"email"`
	Role      OptUserRole `json:"role"`
	CreatedAt OptDateTime `json:"created_at"`
}

Ref: #/components/schemas/User

func (*User) Decode

func (s *User) Decode(d *jx.Decoder) error

Decode decodes User from json.

func (*User) Encode

func (s *User) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*User) GetCreatedAt

func (s *User) GetCreatedAt() OptDateTime

GetCreatedAt returns the value of CreatedAt.

func (*User) GetEmail

func (s *User) GetEmail() OptString

GetEmail returns the value of Email.

func (*User) GetFirstName

func (s *User) GetFirstName() OptString

GetFirstName returns the value of FirstName.

func (*User) GetID

func (s *User) GetID() OptString

GetID returns the value of ID.

func (*User) GetLastName

func (s *User) GetLastName() OptString

GetLastName returns the value of LastName.

func (*User) GetRole

func (s *User) GetRole() OptUserRole

GetRole returns the value of Role.

func (*User) MarshalJSON

func (s *User) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*User) SetCreatedAt

func (s *User) SetCreatedAt(val OptDateTime)

SetCreatedAt sets the value of CreatedAt.

func (*User) SetEmail

func (s *User) SetEmail(val OptString)

SetEmail sets the value of Email.

func (*User) SetFirstName

func (s *User) SetFirstName(val OptString)

SetFirstName sets the value of FirstName.

func (*User) SetID

func (s *User) SetID(val OptString)

SetID sets the value of ID.

func (*User) SetLastName

func (s *User) SetLastName(val OptString)

SetLastName sets the value of LastName.

func (*User) SetRole

func (s *User) SetRole(val OptUserRole)

SetRole sets the value of Role.

func (*User) UnmarshalJSON

func (s *User) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*User) Validate

func (s *User) Validate() error

type UserResponse

type UserResponse struct {
	User OptUser `json:"user"`
}

Ref: #/components/schemas/UserResponse

func (*UserResponse) Decode

func (s *UserResponse) Decode(d *jx.Decoder) error

Decode decodes UserResponse from json.

func (*UserResponse) Encode

func (s *UserResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UserResponse) GetUser

func (s *UserResponse) GetUser() OptUser

GetUser returns the value of User.

func (*UserResponse) MarshalJSON

func (s *UserResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UserResponse) SetUser

func (s *UserResponse) SetUser(val OptUser)

SetUser sets the value of User.

func (*UserResponse) UnmarshalJSON

func (s *UserResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserResponse) Validate

func (s *UserResponse) Validate() error

type UserRole

type UserRole string
const (
	UserRoleProductOwner UserRole = "product_owner"
	UserRoleContributor  UserRole = "contributor"
	UserRoleReviewer     UserRole = "reviewer"
	UserRoleViewer       UserRole = "viewer"
	UserRoleNone         UserRole = "none"
)

func (UserRole) AllValues

func (UserRole) AllValues() []UserRole

AllValues returns all UserRole values.

func (*UserRole) Decode

func (s *UserRole) Decode(d *jx.Decoder) error

Decode decodes UserRole from json.

func (UserRole) Encode

func (s UserRole) Encode(e *jx.Encoder)

Encode encodes UserRole as json.

func (UserRole) MarshalJSON

func (s UserRole) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (UserRole) MarshalText

func (s UserRole) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*UserRole) UnmarshalJSON

func (s *UserRole) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UserRole) UnmarshalText

func (s *UserRole) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (UserRole) Validate

func (s UserRole) Validate() error

type UsersResponse

type UsersResponse struct {
	Users      []User        `json:"users"`
	Pagination OptPagination `json:"pagination"`
}

Ref: #/components/schemas/UsersResponse

func (*UsersResponse) Decode

func (s *UsersResponse) Decode(d *jx.Decoder) error

Decode decodes UsersResponse from json.

func (*UsersResponse) Encode

func (s *UsersResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*UsersResponse) GetPagination

func (s *UsersResponse) GetPagination() OptPagination

GetPagination returns the value of Pagination.

func (*UsersResponse) GetUsers

func (s *UsersResponse) GetUsers() []User

GetUsers returns the value of Users.

func (*UsersResponse) MarshalJSON

func (s *UsersResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*UsersResponse) SetPagination

func (s *UsersResponse) SetPagination(val OptPagination)

SetPagination sets the value of Pagination.

func (*UsersResponse) SetUsers

func (s *UsersResponse) SetUsers(val []User)

SetUsers sets the value of Users.

func (*UsersResponse) UnmarshalJSON

func (s *UsersResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*UsersResponse) Validate

func (s *UsersResponse) Validate() error

type Workflow

type Workflow struct {
	ID               string           `json:"id"`
	Name             string           `json:"name"`
	WorkflowStatuses []WorkflowStatus `json:"workflow_statuses"`
}

Ref: #/components/schemas/Workflow

func (*Workflow) Decode

func (s *Workflow) Decode(d *jx.Decoder) error

Decode decodes Workflow from json.

func (*Workflow) Encode

func (s *Workflow) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Workflow) GetID

func (s *Workflow) GetID() string

GetID returns the value of ID.

func (*Workflow) GetName

func (s *Workflow) GetName() string

GetName returns the value of Name.

func (*Workflow) GetWorkflowStatuses

func (s *Workflow) GetWorkflowStatuses() []WorkflowStatus

GetWorkflowStatuses returns the value of WorkflowStatuses.

func (*Workflow) MarshalJSON

func (s *Workflow) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Workflow) SetID

func (s *Workflow) SetID(val string)

SetID sets the value of ID.

func (*Workflow) SetName

func (s *Workflow) SetName(val string)

SetName sets the value of Name.

func (*Workflow) SetWorkflowStatuses

func (s *Workflow) SetWorkflowStatuses(val []WorkflowStatus)

SetWorkflowStatuses sets the value of WorkflowStatuses.

func (*Workflow) UnmarshalJSON

func (s *Workflow) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WorkflowStatus

type WorkflowStatus struct {
	ID       OptString `json:"id"`
	Name     OptString `json:"name"`
	Position OptInt64  `json:"position"`
	Complete OptBool   `json:"complete"`
	Color    OptString `json:"color"`
}

Ref: #/components/schemas/WorkflowStatus

func (*WorkflowStatus) Decode

func (s *WorkflowStatus) Decode(d *jx.Decoder) error

Decode decodes WorkflowStatus from json.

func (*WorkflowStatus) Encode

func (s *WorkflowStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkflowStatus) GetColor

func (s *WorkflowStatus) GetColor() OptString

GetColor returns the value of Color.

func (*WorkflowStatus) GetComplete

func (s *WorkflowStatus) GetComplete() OptBool

GetComplete returns the value of Complete.

func (*WorkflowStatus) GetID

func (s *WorkflowStatus) GetID() OptString

GetID returns the value of ID.

func (*WorkflowStatus) GetName

func (s *WorkflowStatus) GetName() OptString

GetName returns the value of Name.

func (*WorkflowStatus) GetPosition

func (s *WorkflowStatus) GetPosition() OptInt64

GetPosition returns the value of Position.

func (*WorkflowStatus) MarshalJSON

func (s *WorkflowStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowStatus) SetColor

func (s *WorkflowStatus) SetColor(val OptString)

SetColor sets the value of Color.

func (*WorkflowStatus) SetComplete

func (s *WorkflowStatus) SetComplete(val OptBool)

SetComplete sets the value of Complete.

func (*WorkflowStatus) SetID

func (s *WorkflowStatus) SetID(val OptString)

SetID sets the value of ID.

func (*WorkflowStatus) SetName

func (s *WorkflowStatus) SetName(val OptString)

SetName sets the value of Name.

func (*WorkflowStatus) SetPosition

func (s *WorkflowStatus) SetPosition(val OptInt64)

SetPosition sets the value of Position.

func (*WorkflowStatus) UnmarshalJSON

func (s *WorkflowStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type WorkflowsResponse

type WorkflowsResponse struct {
	Workflows []Workflow `json:"workflows"`
}

Ref: #/components/schemas/WorkflowsResponse

func (*WorkflowsResponse) Decode

func (s *WorkflowsResponse) Decode(d *jx.Decoder) error

Decode decodes WorkflowsResponse from json.

func (*WorkflowsResponse) Encode

func (s *WorkflowsResponse) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*WorkflowsResponse) GetWorkflows

func (s *WorkflowsResponse) GetWorkflows() []Workflow

GetWorkflows returns the value of Workflows.

func (*WorkflowsResponse) MarshalJSON

func (s *WorkflowsResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*WorkflowsResponse) SetWorkflows

func (s *WorkflowsResponse) SetWorkflows(val []Workflow)

SetWorkflows sets the value of Workflows.

func (*WorkflowsResponse) UnmarshalJSON

func (s *WorkflowsResponse) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

Jump to

Keyboard shortcuts

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