Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func GetRolesForBearerAuth(operation string) []string
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type Attachment
- func (s *Attachment) Decode(d *jx.Decoder) error
- func (s *Attachment) Encode(e *jx.Encoder)
- func (s *Attachment) GetContentType() OptString
- func (s *Attachment) GetDownloadURL() OptString
- func (s *Attachment) GetFileName() OptString
- func (s *Attachment) GetFileSize() OptInt64
- func (s *Attachment) GetID() OptString
- func (s *Attachment) MarshalJSON() ([]byte, error)
- func (s *Attachment) SetContentType(val OptString)
- func (s *Attachment) SetDownloadURL(val OptString)
- func (s *Attachment) SetFileName(val OptString)
- func (s *Attachment) SetFileSize(val OptInt64)
- func (s *Attachment) SetID(val OptString)
- func (s *Attachment) UnmarshalJSON(data []byte) error
- type BearerAuth
- type Category
- func (s *Category) Decode(d *jx.Decoder) error
- func (s *Category) Encode(e *jx.Encoder)
- func (s *Category) GetCreatedAt() OptDateTime
- func (s *Category) GetID() OptString
- func (s *Category) GetName() OptString
- func (s *Category) GetParentID() OptString
- func (s *Category) GetProjectID() OptString
- func (s *Category) MarshalJSON() ([]byte, error)
- func (s *Category) SetCreatedAt(val OptDateTime)
- func (s *Category) SetID(val OptString)
- func (s *Category) SetName(val OptString)
- func (s *Category) SetParentID(val OptString)
- func (s *Category) SetProjectID(val OptString)
- func (s *Category) UnmarshalJSON(data []byte) error
- type Client
- func (c *Client) CreateFeatureComment(ctx context.Context, request *CommentCreateRequest, ...) (*CommentResponse, error)
- func (c *Client) CreateFeatureRequirement(ctx context.Context, request *RequirementCreateRequest, ...) (*RequirementResponse, error)
- func (c *Client) CreateIdeaComment(ctx context.Context, request *CommentCreateRequest, ...) (*CommentResponse, error)
- func (c *Client) CreateProductGoal(ctx context.Context, request *GoalCreateRequest, ...) (*GoalResponse, error)
- func (c *Client) CreateProductInitiative(ctx context.Context, request *InitiativeCreateRequest, ...) (*InitiativeResponse, error)
- func (c *Client) CreateProductStrategicModel(ctx context.Context, request *StrategicModelCreateRequest, ...) (*StrategicModelResponse, error)
- func (c *Client) CreateReleaseEpic(ctx context.Context, request *EpicCreateRequest, ...) (*EpicResponse, error)
- func (c *Client) CreateReleaseFeature(ctx context.Context, request *FeatureCreateRequest, ...) (*FeatureResponse, error)
- func (c *Client) DeleteComment(ctx context.Context, params DeleteCommentParams) error
- func (c *Client) DeleteRequirement(ctx context.Context, params DeleteRequirementParams) error
- func (c *Client) GetComment(ctx context.Context, params GetCommentParams) (GetCommentRes, error)
- func (c *Client) GetCurrentUser(ctx context.Context) (*UserResponse, error)
- func (c *Client) GetEpic(ctx context.Context, params GetEpicParams) (GetEpicRes, error)
- func (c *Client) GetFeature(ctx context.Context, params GetFeatureParams) (GetFeatureRes, error)
- func (c *Client) GetGoal(ctx context.Context, params GetGoalParams) (GetGoalRes, error)
- func (c *Client) GetIdea(ctx context.Context, params GetIdeaParams) (*IdeaResponse, error)
- func (c *Client) GetInitiative(ctx context.Context, params GetInitiativeParams) (GetInitiativeRes, error)
- func (c *Client) GetProduct(ctx context.Context, params GetProductParams) (*ProductResponse, error)
- func (c *Client) GetRelease(ctx context.Context, params GetReleaseParams) (*ReleaseResponse, error)
- func (c *Client) GetRequirement(ctx context.Context, params GetRequirementParams) (GetRequirementRes, error)
- func (c *Client) GetStrategicModel(ctx context.Context, params GetStrategicModelParams) (GetStrategicModelRes, error)
- func (c *Client) GetUser(ctx context.Context, params GetUserParams) (*UserResponse, error)
- func (c *Client) ListEpicComments(ctx context.Context, params ListEpicCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListEpics(ctx context.Context, params ListEpicsParams) (*EpicsResponse, error)
- func (c *Client) ListFeatureComments(ctx context.Context, params ListFeatureCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListFeatureRequirements(ctx context.Context, params ListFeatureRequirementsParams) (*RequirementsResponse, error)
- func (c *Client) ListFeatures(ctx context.Context, params ListFeaturesParams) (*FeaturesResponse, error)
- func (c *Client) ListGoalComments(ctx context.Context, params ListGoalCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListGoals(ctx context.Context, params ListGoalsParams) (*GoalsResponse, error)
- func (c *Client) ListIdeaComments(ctx context.Context, params ListIdeaCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListIdeas(ctx context.Context, params ListIdeasParams) (*IdeasResponse, error)
- func (c *Client) ListInitiativeComments(ctx context.Context, params ListInitiativeCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListInitiatives(ctx context.Context, params ListInitiativesParams) (*InitiativesResponse, error)
- func (c *Client) ListProductComments(ctx context.Context, params ListProductCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListProductEpics(ctx context.Context, params ListProductEpicsParams) (*EpicsResponse, error)
- func (c *Client) ListProductGoals(ctx context.Context, params ListProductGoalsParams) (*GoalsResponse, error)
- func (c *Client) ListProductInitiatives(ctx context.Context, params ListProductInitiativesParams) (*InitiativesResponse, error)
- func (c *Client) ListProductReleases(ctx context.Context, params ListProductReleasesParams) (*ReleasesResponse, error)
- func (c *Client) ListProductStrategicModels(ctx context.Context, params ListProductStrategicModelsParams) (*StrategicModelsResponse, error)
- func (c *Client) ListProductWorkflows(ctx context.Context, params ListProductWorkflowsParams) (*WorkflowsResponse, error)
- func (c *Client) ListProducts(ctx context.Context, params ListProductsParams) (*ProductsResponse, error)
- func (c *Client) ListReleaseComments(ctx context.Context, params ListReleaseCommentsParams) (*CommentsResponse, error)
- func (c *Client) ListReleaseFeatures(ctx context.Context, params ListReleaseFeaturesParams) (*FeaturesResponse, error)
- func (c *Client) ListStrategicModels(ctx context.Context, params ListStrategicModelsParams) (*StrategicModelsResponse, error)
- func (c *Client) ListUsers(ctx context.Context, params ListUsersParams) (*UsersResponse, error)
- func (c *Client) UpdateComment(ctx context.Context, request *CommentUpdateRequest, params UpdateCommentParams) (*CommentResponse, error)
- func (c *Client) UpdateEpic(ctx context.Context, request *EpicUpdateRequest, params UpdateEpicParams) (*EpicResponse, error)
- func (c *Client) UpdateFeature(ctx context.Context, request *FeatureUpdateRequest, params UpdateFeatureParams) (*FeatureResponse, error)
- func (c *Client) UpdateGoal(ctx context.Context, request *GoalUpdateRequest, params UpdateGoalParams) (*GoalResponse, error)
- func (c *Client) UpdateInitiative(ctx context.Context, request *InitiativeUpdateRequest, ...) (*InitiativeResponse, error)
- func (c *Client) UpdateRelease(ctx context.Context, request *ReleaseUpdateRequest, params UpdateReleaseParams) (*ReleaseResponse, error)
- func (c *Client) UpdateRequirement(ctx context.Context, request *RequirementUpdateRequest, ...) (*RequirementResponse, error)
- func (c *Client) UpdateStrategicModel(ctx context.Context, request *StrategicModelUpdateRequest, ...) (*StrategicModelResponse, error)
- func (c *Client) UpdateStrategicModelComponent(ctx context.Context, request *StrategicModelComponentUpdateRequest, ...) (*StrategicModelComponentResponse, error)
- type ClientOption
- type Comment
- func (s *Comment) Decode(d *jx.Decoder) error
- func (s *Comment) Encode(e *jx.Encoder)
- func (s *Comment) GetAttachments() []Attachment
- func (s *Comment) GetBody() string
- func (s *Comment) GetCommentable() OptCommentable
- func (s *Comment) GetCreatedAt() time.Time
- func (s *Comment) GetID() string
- func (s *Comment) GetResource() OptString
- func (s *Comment) GetURL() OptString
- func (s *Comment) GetUpdatedAt() time.Time
- func (s *Comment) GetUser() OptUser
- func (s *Comment) MarshalJSON() ([]byte, error)
- func (s *Comment) SetAttachments(val []Attachment)
- func (s *Comment) SetBody(val string)
- func (s *Comment) SetCommentable(val OptCommentable)
- func (s *Comment) SetCreatedAt(val time.Time)
- func (s *Comment) SetID(val string)
- func (s *Comment) SetResource(val OptString)
- func (s *Comment) SetURL(val OptString)
- func (s *Comment) SetUpdatedAt(val time.Time)
- func (s *Comment) SetUser(val OptUser)
- func (s *Comment) UnmarshalJSON(data []byte) error
- func (s *Comment) Validate() error
- type CommentCreate
- type CommentCreateRequest
- func (s *CommentCreateRequest) Decode(d *jx.Decoder) error
- func (s *CommentCreateRequest) Encode(e *jx.Encoder)
- func (s *CommentCreateRequest) GetComment() CommentCreate
- func (s *CommentCreateRequest) MarshalJSON() ([]byte, error)
- func (s *CommentCreateRequest) SetComment(val CommentCreate)
- func (s *CommentCreateRequest) UnmarshalJSON(data []byte) error
- type CommentMeta
- func (s *CommentMeta) Decode(d *jx.Decoder) error
- func (s *CommentMeta) Encode(e *jx.Encoder)
- func (s *CommentMeta) GetBody() OptString
- func (s *CommentMeta) GetCreatedAt() OptDateTime
- func (s *CommentMeta) GetID() OptString
- func (s *CommentMeta) GetResource() OptString
- func (s *CommentMeta) GetURL() OptString
- func (s *CommentMeta) GetUser() OptUser
- func (s *CommentMeta) MarshalJSON() ([]byte, error)
- func (s *CommentMeta) SetBody(val OptString)
- func (s *CommentMeta) SetCreatedAt(val OptDateTime)
- func (s *CommentMeta) SetID(val OptString)
- func (s *CommentMeta) SetResource(val OptString)
- func (s *CommentMeta) SetURL(val OptString)
- func (s *CommentMeta) SetUser(val OptUser)
- func (s *CommentMeta) UnmarshalJSON(data []byte) error
- func (s *CommentMeta) Validate() error
- type CommentResponse
- func (s *CommentResponse) Decode(d *jx.Decoder) error
- func (s *CommentResponse) Encode(e *jx.Encoder)
- func (s *CommentResponse) GetComment() OptComment
- func (s *CommentResponse) MarshalJSON() ([]byte, error)
- func (s *CommentResponse) SetComment(val OptComment)
- func (s *CommentResponse) UnmarshalJSON(data []byte) error
- func (s *CommentResponse) Validate() error
- type CommentUpdate
- type CommentUpdateRequest
- func (s *CommentUpdateRequest) Decode(d *jx.Decoder) error
- func (s *CommentUpdateRequest) Encode(e *jx.Encoder)
- func (s *CommentUpdateRequest) GetComment() CommentUpdate
- func (s *CommentUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *CommentUpdateRequest) SetComment(val CommentUpdate)
- func (s *CommentUpdateRequest) UnmarshalJSON(data []byte) error
- type Commentable
- func (s *Commentable) Decode(d *jx.Decoder) error
- func (s *Commentable) Encode(e *jx.Encoder)
- func (s *Commentable) GetID() OptString
- func (s *Commentable) GetProductID() OptString
- func (s *Commentable) GetResource() OptString
- func (s *Commentable) GetType() OptString
- func (s *Commentable) GetURL() OptString
- func (s *Commentable) MarshalJSON() ([]byte, error)
- func (s *Commentable) SetID(val OptString)
- func (s *Commentable) SetProductID(val OptString)
- func (s *Commentable) SetResource(val OptString)
- func (s *Commentable) SetType(val OptString)
- func (s *Commentable) SetURL(val OptString)
- func (s *Commentable) UnmarshalJSON(data []byte) error
- type CommentsResponse
- func (s *CommentsResponse) Decode(d *jx.Decoder) error
- func (s *CommentsResponse) Encode(e *jx.Encoder)
- func (s *CommentsResponse) GetComments() []CommentMeta
- func (s *CommentsResponse) GetPagination() OptPagination
- func (s *CommentsResponse) MarshalJSON() ([]byte, error)
- func (s *CommentsResponse) SetComments(val []CommentMeta)
- func (s *CommentsResponse) SetPagination(val OptPagination)
- func (s *CommentsResponse) UnmarshalJSON(data []byte) error
- func (s *CommentsResponse) Validate() error
- type CreateFeatureCommentParams
- type CreateFeatureRequirementParams
- type CreateIdeaCommentParams
- type CreateProductGoalParams
- type CreateProductInitiativeParams
- type CreateProductStrategicModelParams
- type CreateReleaseEpicParams
- type CreateReleaseFeatureParams
- type CustomField
- func (s *CustomField) Decode(d *jx.Decoder) error
- func (s *CustomField) Encode(e *jx.Encoder)
- func (s *CustomField) GetKey() OptString
- func (s *CustomField) GetName() OptString
- func (s *CustomField) GetType() OptString
- func (s *CustomField) GetValue() jx.Raw
- func (s *CustomField) MarshalJSON() ([]byte, error)
- func (s *CustomField) SetKey(val OptString)
- func (s *CustomField) SetName(val OptString)
- func (s *CustomField) SetType(val OptString)
- func (s *CustomField) SetValue(val jx.Raw)
- func (s *CustomField) UnmarshalJSON(data []byte) error
- type DeleteCommentNoContent
- type DeleteCommentParams
- type DeleteRequirementNoContent
- type DeleteRequirementParams
- type Epic
- func (s *Epic) Decode(d *jx.Decoder) error
- func (s *Epic) Encode(e *jx.Encoder)
- func (s *Epic) GetColor() OptString
- func (s *Epic) GetCommentsCount() OptInt64
- func (s *Epic) GetCreatedAt() time.Time
- func (s *Epic) GetDescription() OptString
- func (s *Epic) GetDueDate() OptDate
- func (s *Epic) GetID() string
- func (s *Epic) GetInitiative() OptInitiativeMeta
- func (s *Epic) GetName() string
- func (s *Epic) GetPosition() OptInt64
- func (s *Epic) GetProgress() OptFloat32
- func (s *Epic) GetProgressSource() OptString
- func (s *Epic) GetReferenceNum() string
- func (s *Epic) GetRelease() OptRelease
- func (s *Epic) GetResource() OptString
- func (s *Epic) GetStartDate() OptDate
- func (s *Epic) GetTags() []string
- func (s *Epic) GetURL() OptString
- func (s *Epic) GetUpdatedAt() OptDateTime
- func (s *Epic) GetWorkflowStatus() OptWorkflowStatus
- func (s *Epic) MarshalJSON() ([]byte, error)
- func (s *Epic) SetColor(val OptString)
- func (s *Epic) SetCommentsCount(val OptInt64)
- func (s *Epic) SetCreatedAt(val time.Time)
- func (s *Epic) SetDescription(val OptString)
- func (s *Epic) SetDueDate(val OptDate)
- func (s *Epic) SetID(val string)
- func (s *Epic) SetInitiative(val OptInitiativeMeta)
- func (s *Epic) SetName(val string)
- func (s *Epic) SetPosition(val OptInt64)
- func (s *Epic) SetProgress(val OptFloat32)
- func (s *Epic) SetProgressSource(val OptString)
- func (s *Epic) SetReferenceNum(val string)
- func (s *Epic) SetRelease(val OptRelease)
- func (s *Epic) SetResource(val OptString)
- func (s *Epic) SetStartDate(val OptDate)
- func (s *Epic) SetTags(val []string)
- func (s *Epic) SetURL(val OptString)
- func (s *Epic) SetUpdatedAt(val OptDateTime)
- func (s *Epic) SetWorkflowStatus(val OptWorkflowStatus)
- func (s *Epic) UnmarshalJSON(data []byte) error
- func (s *Epic) Validate() error
- type EpicCreate
- func (s *EpicCreate) Decode(d *jx.Decoder) error
- func (s *EpicCreate) Encode(e *jx.Encoder)
- func (s *EpicCreate) GetColor() OptString
- func (s *EpicCreate) GetDescription() OptString
- func (s *EpicCreate) GetDueDate() OptDate
- func (s *EpicCreate) GetInitiative() OptString
- func (s *EpicCreate) GetName() string
- func (s *EpicCreate) GetStartDate() OptDate
- func (s *EpicCreate) GetWorkflowStatus() OptString
- func (s *EpicCreate) MarshalJSON() ([]byte, error)
- func (s *EpicCreate) SetColor(val OptString)
- func (s *EpicCreate) SetDescription(val OptString)
- func (s *EpicCreate) SetDueDate(val OptDate)
- func (s *EpicCreate) SetInitiative(val OptString)
- func (s *EpicCreate) SetName(val string)
- func (s *EpicCreate) SetStartDate(val OptDate)
- func (s *EpicCreate) SetWorkflowStatus(val OptString)
- func (s *EpicCreate) UnmarshalJSON(data []byte) error
- type EpicCreateRequest
- func (s *EpicCreateRequest) Decode(d *jx.Decoder) error
- func (s *EpicCreateRequest) Encode(e *jx.Encoder)
- func (s *EpicCreateRequest) GetEpic() EpicCreate
- func (s *EpicCreateRequest) MarshalJSON() ([]byte, error)
- func (s *EpicCreateRequest) SetEpic(val EpicCreate)
- func (s *EpicCreateRequest) UnmarshalJSON(data []byte) error
- type EpicMeta
- func (s *EpicMeta) Decode(d *jx.Decoder) error
- func (s *EpicMeta) Encode(e *jx.Encoder)
- func (s *EpicMeta) GetCreatedAt() OptDateTime
- func (s *EpicMeta) GetID() OptString
- func (s *EpicMeta) GetName() OptString
- func (s *EpicMeta) GetReferenceNum() OptString
- func (s *EpicMeta) GetResource() OptString
- func (s *EpicMeta) GetURL() OptString
- func (s *EpicMeta) MarshalJSON() ([]byte, error)
- func (s *EpicMeta) SetCreatedAt(val OptDateTime)
- func (s *EpicMeta) SetID(val OptString)
- func (s *EpicMeta) SetName(val OptString)
- func (s *EpicMeta) SetReferenceNum(val OptString)
- func (s *EpicMeta) SetResource(val OptString)
- func (s *EpicMeta) SetURL(val OptString)
- func (s *EpicMeta) UnmarshalJSON(data []byte) error
- type EpicResponse
- func (s *EpicResponse) Decode(d *jx.Decoder) error
- func (s *EpicResponse) Encode(e *jx.Encoder)
- func (s *EpicResponse) GetEpic() OptEpic
- func (s *EpicResponse) MarshalJSON() ([]byte, error)
- func (s *EpicResponse) SetEpic(val OptEpic)
- func (s *EpicResponse) UnmarshalJSON(data []byte) error
- func (s *EpicResponse) Validate() error
- type EpicUpdate
- func (s *EpicUpdate) Decode(d *jx.Decoder) error
- func (s *EpicUpdate) Encode(e *jx.Encoder)
- func (s *EpicUpdate) GetColor() OptString
- func (s *EpicUpdate) GetDescription() OptString
- func (s *EpicUpdate) GetDueDate() OptDate
- func (s *EpicUpdate) GetInitiative() OptString
- func (s *EpicUpdate) GetName() OptString
- func (s *EpicUpdate) GetProgress() OptFloat32
- func (s *EpicUpdate) GetStartDate() OptDate
- func (s *EpicUpdate) GetWorkflowStatus() OptString
- func (s *EpicUpdate) MarshalJSON() ([]byte, error)
- func (s *EpicUpdate) SetColor(val OptString)
- func (s *EpicUpdate) SetDescription(val OptString)
- func (s *EpicUpdate) SetDueDate(val OptDate)
- func (s *EpicUpdate) SetInitiative(val OptString)
- func (s *EpicUpdate) SetName(val OptString)
- func (s *EpicUpdate) SetProgress(val OptFloat32)
- func (s *EpicUpdate) SetStartDate(val OptDate)
- func (s *EpicUpdate) SetWorkflowStatus(val OptString)
- func (s *EpicUpdate) UnmarshalJSON(data []byte) error
- func (s *EpicUpdate) Validate() error
- type EpicUpdateRequest
- func (s *EpicUpdateRequest) Decode(d *jx.Decoder) error
- func (s *EpicUpdateRequest) Encode(e *jx.Encoder)
- func (s *EpicUpdateRequest) GetEpic() EpicUpdate
- func (s *EpicUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *EpicUpdateRequest) SetEpic(val EpicUpdate)
- func (s *EpicUpdateRequest) UnmarshalJSON(data []byte) error
- func (s *EpicUpdateRequest) Validate() error
- type EpicsResponse
- func (s *EpicsResponse) Decode(d *jx.Decoder) error
- func (s *EpicsResponse) Encode(e *jx.Encoder)
- func (s *EpicsResponse) GetEpics() []EpicMeta
- func (s *EpicsResponse) GetPagination() OptPagination
- func (s *EpicsResponse) MarshalJSON() ([]byte, error)
- func (s *EpicsResponse) SetEpics(val []EpicMeta)
- func (s *EpicsResponse) SetPagination(val OptPagination)
- func (s *EpicsResponse) UnmarshalJSON(data []byte) error
- type ErrorHandler
- type Feature
- func (s *Feature) Decode(d *jx.Decoder) error
- func (s *Feature) Encode(e *jx.Encoder)
- func (s *Feature) GetAssignedToUser() OptUser
- func (s *Feature) GetCommentsCount() OptInt64
- func (s *Feature) GetCreatedAt() time.Time
- func (s *Feature) GetCustomFields() []CustomField
- func (s *Feature) GetDescription() OptString
- func (s *Feature) GetDueDate() OptDate
- func (s *Feature) GetID() string
- func (s *Feature) GetIntegrationFields() []IntegrationField
- func (s *Feature) GetName() string
- func (s *Feature) GetProductID() OptString
- func (s *Feature) GetProgressSource() OptString
- func (s *Feature) GetReferenceNum() string
- func (s *Feature) GetRelease() OptRelease
- func (s *Feature) GetResource() OptString
- func (s *Feature) GetStartDate() OptDate
- func (s *Feature) GetTags() []string
- func (s *Feature) GetURL() OptString
- func (s *Feature) GetUpdatedAt() OptDateTime
- func (s *Feature) GetUseRequirementsEstimates() OptBool
- func (s *Feature) GetWorkUnits() OptInt64
- func (s *Feature) GetWorkflowStatus() OptWorkflowStatus
- func (s *Feature) MarshalJSON() ([]byte, error)
- func (s *Feature) SetAssignedToUser(val OptUser)
- func (s *Feature) SetCommentsCount(val OptInt64)
- func (s *Feature) SetCreatedAt(val time.Time)
- func (s *Feature) SetCustomFields(val []CustomField)
- func (s *Feature) SetDescription(val OptString)
- func (s *Feature) SetDueDate(val OptDate)
- func (s *Feature) SetID(val string)
- func (s *Feature) SetIntegrationFields(val []IntegrationField)
- func (s *Feature) SetName(val string)
- func (s *Feature) SetProductID(val OptString)
- func (s *Feature) SetProgressSource(val OptString)
- func (s *Feature) SetReferenceNum(val string)
- func (s *Feature) SetRelease(val OptRelease)
- func (s *Feature) SetResource(val OptString)
- func (s *Feature) SetStartDate(val OptDate)
- func (s *Feature) SetTags(val []string)
- func (s *Feature) SetURL(val OptString)
- func (s *Feature) SetUpdatedAt(val OptDateTime)
- func (s *Feature) SetUseRequirementsEstimates(val OptBool)
- func (s *Feature) SetWorkUnits(val OptInt64)
- func (s *Feature) SetWorkflowStatus(val OptWorkflowStatus)
- func (s *Feature) UnmarshalJSON(data []byte) error
- func (s *Feature) Validate() error
- type FeatureCreate
- func (s *FeatureCreate) Decode(d *jx.Decoder) error
- func (s *FeatureCreate) Encode(e *jx.Encoder)
- func (s *FeatureCreate) GetAssignedToUser() OptString
- func (s *FeatureCreate) GetDescription() OptString
- func (s *FeatureCreate) GetDueDate() OptDate
- func (s *FeatureCreate) GetInitiative() OptString
- func (s *FeatureCreate) GetName() string
- func (s *FeatureCreate) GetOriginalEstimateText() OptString
- func (s *FeatureCreate) GetStartDate() OptDate
- func (s *FeatureCreate) GetTags() OptString
- func (s *FeatureCreate) GetWorkflowStatus() OptString
- func (s *FeatureCreate) MarshalJSON() ([]byte, error)
- func (s *FeatureCreate) SetAssignedToUser(val OptString)
- func (s *FeatureCreate) SetDescription(val OptString)
- func (s *FeatureCreate) SetDueDate(val OptDate)
- func (s *FeatureCreate) SetInitiative(val OptString)
- func (s *FeatureCreate) SetName(val string)
- func (s *FeatureCreate) SetOriginalEstimateText(val OptString)
- func (s *FeatureCreate) SetStartDate(val OptDate)
- func (s *FeatureCreate) SetTags(val OptString)
- func (s *FeatureCreate) SetWorkflowStatus(val OptString)
- func (s *FeatureCreate) UnmarshalJSON(data []byte) error
- type FeatureCreateRequest
- func (s *FeatureCreateRequest) Decode(d *jx.Decoder) error
- func (s *FeatureCreateRequest) Encode(e *jx.Encoder)
- func (s *FeatureCreateRequest) GetFeature() FeatureCreate
- func (s *FeatureCreateRequest) MarshalJSON() ([]byte, error)
- func (s *FeatureCreateRequest) SetFeature(val FeatureCreate)
- func (s *FeatureCreateRequest) UnmarshalJSON(data []byte) error
- type FeatureMeta
- func (s *FeatureMeta) Decode(d *jx.Decoder) error
- func (s *FeatureMeta) Encode(e *jx.Encoder)
- func (s *FeatureMeta) GetCreatedAt() OptDateTime
- func (s *FeatureMeta) GetID() OptString
- func (s *FeatureMeta) GetName() OptString
- func (s *FeatureMeta) GetReferenceNum() OptString
- func (s *FeatureMeta) GetResource() OptString
- func (s *FeatureMeta) GetURL() OptString
- func (s *FeatureMeta) MarshalJSON() ([]byte, error)
- func (s *FeatureMeta) SetCreatedAt(val OptDateTime)
- func (s *FeatureMeta) SetID(val OptString)
- func (s *FeatureMeta) SetName(val OptString)
- func (s *FeatureMeta) SetReferenceNum(val OptString)
- func (s *FeatureMeta) SetResource(val OptString)
- func (s *FeatureMeta) SetURL(val OptString)
- func (s *FeatureMeta) UnmarshalJSON(data []byte) error
- type FeatureResponse
- func (s *FeatureResponse) Decode(d *jx.Decoder) error
- func (s *FeatureResponse) Encode(e *jx.Encoder)
- func (s *FeatureResponse) GetFeature() OptFeature
- func (s *FeatureResponse) MarshalJSON() ([]byte, error)
- func (s *FeatureResponse) SetFeature(val OptFeature)
- func (s *FeatureResponse) UnmarshalJSON(data []byte) error
- func (s *FeatureResponse) Validate() error
- type FeatureUpdate
- func (s *FeatureUpdate) Decode(d *jx.Decoder) error
- func (s *FeatureUpdate) Encode(e *jx.Encoder)
- func (s *FeatureUpdate) GetAssignedToUser() OptString
- func (s *FeatureUpdate) GetDescription() OptString
- func (s *FeatureUpdate) GetDueDate() OptDate
- func (s *FeatureUpdate) GetInitiative() OptString
- func (s *FeatureUpdate) GetName() OptString
- func (s *FeatureUpdate) GetOriginalEstimateText() OptString
- func (s *FeatureUpdate) GetRelease() OptString
- func (s *FeatureUpdate) GetReleasePhase() OptString
- func (s *FeatureUpdate) GetRemainingEstimateText() OptString
- func (s *FeatureUpdate) GetStartDate() OptDate
- func (s *FeatureUpdate) GetTags() OptString
- func (s *FeatureUpdate) GetWorkflowStatus() OptString
- func (s *FeatureUpdate) MarshalJSON() ([]byte, error)
- func (s *FeatureUpdate) SetAssignedToUser(val OptString)
- func (s *FeatureUpdate) SetDescription(val OptString)
- func (s *FeatureUpdate) SetDueDate(val OptDate)
- func (s *FeatureUpdate) SetInitiative(val OptString)
- func (s *FeatureUpdate) SetName(val OptString)
- func (s *FeatureUpdate) SetOriginalEstimateText(val OptString)
- func (s *FeatureUpdate) SetRelease(val OptString)
- func (s *FeatureUpdate) SetReleasePhase(val OptString)
- func (s *FeatureUpdate) SetRemainingEstimateText(val OptString)
- func (s *FeatureUpdate) SetStartDate(val OptDate)
- func (s *FeatureUpdate) SetTags(val OptString)
- func (s *FeatureUpdate) SetWorkflowStatus(val OptString)
- func (s *FeatureUpdate) UnmarshalJSON(data []byte) error
- type FeatureUpdateRequest
- func (s *FeatureUpdateRequest) Decode(d *jx.Decoder) error
- func (s *FeatureUpdateRequest) Encode(e *jx.Encoder)
- func (s *FeatureUpdateRequest) GetFeature() FeatureUpdate
- func (s *FeatureUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *FeatureUpdateRequest) SetFeature(val FeatureUpdate)
- func (s *FeatureUpdateRequest) UnmarshalJSON(data []byte) error
- type FeaturesResponse
- func (s *FeaturesResponse) Decode(d *jx.Decoder) error
- func (s *FeaturesResponse) Encode(e *jx.Encoder)
- func (s *FeaturesResponse) GetFeatures() []FeatureMeta
- func (s *FeaturesResponse) GetPagination() OptPagination
- func (s *FeaturesResponse) MarshalJSON() ([]byte, error)
- func (s *FeaturesResponse) SetFeatures(val []FeatureMeta)
- func (s *FeaturesResponse) SetPagination(val OptPagination)
- func (s *FeaturesResponse) UnmarshalJSON(data []byte) error
- type GetCommentNotFound
- type GetCommentParams
- type GetCommentRes
- type GetEpicNotFound
- type GetEpicParams
- type GetEpicRes
- type GetFeatureNotFound
- type GetFeatureParams
- type GetFeatureRes
- type GetGoalNotFound
- type GetGoalParams
- type GetGoalRes
- type GetIdeaParams
- type GetInitiativeNotFound
- type GetInitiativeParams
- type GetInitiativeRes
- type GetProductParams
- type GetReleaseParams
- type GetRequirementNotFound
- type GetRequirementParams
- type GetRequirementRes
- type GetStrategicModelNotFound
- type GetStrategicModelParams
- type GetStrategicModelRes
- type GetUserParams
- type Goal
- func (s *Goal) Decode(d *jx.Decoder) error
- func (s *Goal) Encode(e *jx.Encoder)
- func (s *Goal) GetCreatedAt() time.Time
- func (s *Goal) GetCustomFields() []CustomField
- func (s *Goal) GetDescription() OptString
- func (s *Goal) GetEndDate() OptDate
- func (s *Goal) GetID() string
- func (s *Goal) GetName() string
- func (s *Goal) GetProgress() OptFloat32
- func (s *Goal) GetProgressSource() OptString
- func (s *Goal) GetReferenceNum() string
- func (s *Goal) GetResource() OptString
- func (s *Goal) GetStartDate() OptDate
- func (s *Goal) GetStatus() OptString
- func (s *Goal) GetTimeFrame() OptTimeFrame
- func (s *Goal) GetURL() OptString
- func (s *Goal) GetUpdatedAt() OptDateTime
- func (s *Goal) GetWorkflowStatus() OptWorkflowStatus
- func (s *Goal) MarshalJSON() ([]byte, error)
- func (s *Goal) SetCreatedAt(val time.Time)
- func (s *Goal) SetCustomFields(val []CustomField)
- func (s *Goal) SetDescription(val OptString)
- func (s *Goal) SetEndDate(val OptDate)
- func (s *Goal) SetID(val string)
- func (s *Goal) SetName(val string)
- func (s *Goal) SetProgress(val OptFloat32)
- func (s *Goal) SetProgressSource(val OptString)
- func (s *Goal) SetReferenceNum(val string)
- func (s *Goal) SetResource(val OptString)
- func (s *Goal) SetStartDate(val OptDate)
- func (s *Goal) SetStatus(val OptString)
- func (s *Goal) SetTimeFrame(val OptTimeFrame)
- func (s *Goal) SetURL(val OptString)
- func (s *Goal) SetUpdatedAt(val OptDateTime)
- func (s *Goal) SetWorkflowStatus(val OptWorkflowStatus)
- func (s *Goal) UnmarshalJSON(data []byte) error
- func (s *Goal) Validate() error
- type GoalCreate
- func (s *GoalCreate) Decode(d *jx.Decoder) error
- func (s *GoalCreate) Encode(e *jx.Encoder)
- func (s *GoalCreate) GetDescription() OptString
- func (s *GoalCreate) GetEndDate() OptDate
- func (s *GoalCreate) GetName() string
- func (s *GoalCreate) GetStartDate() OptDate
- func (s *GoalCreate) GetWorkflowStatus() OptString
- func (s *GoalCreate) MarshalJSON() ([]byte, error)
- func (s *GoalCreate) SetDescription(val OptString)
- func (s *GoalCreate) SetEndDate(val OptDate)
- func (s *GoalCreate) SetName(val string)
- func (s *GoalCreate) SetStartDate(val OptDate)
- func (s *GoalCreate) SetWorkflowStatus(val OptString)
- func (s *GoalCreate) UnmarshalJSON(data []byte) error
- type GoalCreateRequest
- func (s *GoalCreateRequest) Decode(d *jx.Decoder) error
- func (s *GoalCreateRequest) Encode(e *jx.Encoder)
- func (s *GoalCreateRequest) GetGoal() GoalCreate
- func (s *GoalCreateRequest) MarshalJSON() ([]byte, error)
- func (s *GoalCreateRequest) SetGoal(val GoalCreate)
- func (s *GoalCreateRequest) UnmarshalJSON(data []byte) error
- type GoalMeta
- func (s *GoalMeta) Decode(d *jx.Decoder) error
- func (s *GoalMeta) Encode(e *jx.Encoder)
- func (s *GoalMeta) GetCreatedAt() OptDateTime
- func (s *GoalMeta) GetID() OptString
- func (s *GoalMeta) GetName() OptString
- func (s *GoalMeta) GetReferenceNum() OptString
- func (s *GoalMeta) GetResource() OptString
- func (s *GoalMeta) GetURL() OptString
- func (s *GoalMeta) MarshalJSON() ([]byte, error)
- func (s *GoalMeta) SetCreatedAt(val OptDateTime)
- func (s *GoalMeta) SetID(val OptString)
- func (s *GoalMeta) SetName(val OptString)
- func (s *GoalMeta) SetReferenceNum(val OptString)
- func (s *GoalMeta) SetResource(val OptString)
- func (s *GoalMeta) SetURL(val OptString)
- func (s *GoalMeta) UnmarshalJSON(data []byte) error
- type GoalResponse
- func (s *GoalResponse) Decode(d *jx.Decoder) error
- func (s *GoalResponse) Encode(e *jx.Encoder)
- func (s *GoalResponse) GetGoal() OptGoal
- func (s *GoalResponse) MarshalJSON() ([]byte, error)
- func (s *GoalResponse) SetGoal(val OptGoal)
- func (s *GoalResponse) UnmarshalJSON(data []byte) error
- func (s *GoalResponse) Validate() error
- type GoalUpdate
- func (s *GoalUpdate) Decode(d *jx.Decoder) error
- func (s *GoalUpdate) Encode(e *jx.Encoder)
- func (s *GoalUpdate) GetDescription() OptString
- func (s *GoalUpdate) GetEndDate() OptDate
- func (s *GoalUpdate) GetName() OptString
- func (s *GoalUpdate) GetProgress() OptFloat32
- func (s *GoalUpdate) GetStartDate() OptDate
- func (s *GoalUpdate) GetWorkflowStatus() OptString
- func (s *GoalUpdate) MarshalJSON() ([]byte, error)
- func (s *GoalUpdate) SetDescription(val OptString)
- func (s *GoalUpdate) SetEndDate(val OptDate)
- func (s *GoalUpdate) SetName(val OptString)
- func (s *GoalUpdate) SetProgress(val OptFloat32)
- func (s *GoalUpdate) SetStartDate(val OptDate)
- func (s *GoalUpdate) SetWorkflowStatus(val OptString)
- func (s *GoalUpdate) UnmarshalJSON(data []byte) error
- func (s *GoalUpdate) Validate() error
- type GoalUpdateRequest
- func (s *GoalUpdateRequest) Decode(d *jx.Decoder) error
- func (s *GoalUpdateRequest) Encode(e *jx.Encoder)
- func (s *GoalUpdateRequest) GetGoal() GoalUpdate
- func (s *GoalUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *GoalUpdateRequest) SetGoal(val GoalUpdate)
- func (s *GoalUpdateRequest) UnmarshalJSON(data []byte) error
- func (s *GoalUpdateRequest) Validate() error
- type GoalsResponse
- func (s *GoalsResponse) Decode(d *jx.Decoder) error
- func (s *GoalsResponse) Encode(e *jx.Encoder)
- func (s *GoalsResponse) GetGoals() []GoalMeta
- func (s *GoalsResponse) GetPagination() OptPagination
- func (s *GoalsResponse) MarshalJSON() ([]byte, error)
- func (s *GoalsResponse) SetGoals(val []GoalMeta)
- func (s *GoalsResponse) SetPagination(val OptPagination)
- func (s *GoalsResponse) UnmarshalJSON(data []byte) error
- type Handler
- type Idea
- func (s *Idea) Decode(d *jx.Decoder) error
- func (s *Idea) Encode(e *jx.Encoder)
- func (s *Idea) GetCategories() []Category
- func (s *Idea) GetCreatedAt() time.Time
- func (s *Idea) GetDescription() OptString
- func (s *Idea) GetFeature() OptIdeaFeature
- func (s *Idea) GetID() string
- func (s *Idea) GetName() string
- func (s *Idea) GetReferenceNum() string
- func (s *Idea) GetStatusChangedAt() OptDateTime
- func (s *Idea) GetUpdatedAt() time.Time
- func (s *Idea) GetVotes() OptInt
- func (s *Idea) GetWorkflowStatus() OptWorkflowStatus
- func (s *Idea) MarshalJSON() ([]byte, error)
- func (s *Idea) SetCategories(val []Category)
- func (s *Idea) SetCreatedAt(val time.Time)
- func (s *Idea) SetDescription(val OptString)
- func (s *Idea) SetFeature(val OptIdeaFeature)
- func (s *Idea) SetID(val string)
- func (s *Idea) SetName(val string)
- func (s *Idea) SetReferenceNum(val string)
- func (s *Idea) SetStatusChangedAt(val OptDateTime)
- func (s *Idea) SetUpdatedAt(val time.Time)
- func (s *Idea) SetVotes(val OptInt)
- func (s *Idea) SetWorkflowStatus(val OptWorkflowStatus)
- func (s *Idea) UnmarshalJSON(data []byte) error
- type IdeaFeature
- func (s *IdeaFeature) Decode(d *jx.Decoder) error
- func (s *IdeaFeature) Encode(e *jx.Encoder)
- func (s *IdeaFeature) GetCreatedAt() OptDateTime
- func (s *IdeaFeature) GetID() OptString
- func (s *IdeaFeature) GetName() OptString
- func (s *IdeaFeature) GetProductID() OptString
- func (s *IdeaFeature) GetReferenceNum() OptString
- func (s *IdeaFeature) GetResource() OptString
- func (s *IdeaFeature) GetURL() OptString
- func (s *IdeaFeature) MarshalJSON() ([]byte, error)
- func (s *IdeaFeature) SetCreatedAt(val OptDateTime)
- func (s *IdeaFeature) SetID(val OptString)
- func (s *IdeaFeature) SetName(val OptString)
- func (s *IdeaFeature) SetProductID(val OptString)
- func (s *IdeaFeature) SetReferenceNum(val OptString)
- func (s *IdeaFeature) SetResource(val OptString)
- func (s *IdeaFeature) SetURL(val OptString)
- func (s *IdeaFeature) UnmarshalJSON(data []byte) error
- type IdeaResponse
- type IdeasResponse
- func (s *IdeasResponse) Decode(d *jx.Decoder) error
- func (s *IdeasResponse) Encode(e *jx.Encoder)
- func (s *IdeasResponse) GetIdeas() []Idea
- func (s *IdeasResponse) GetPagination() OptPagination
- func (s *IdeasResponse) MarshalJSON() ([]byte, error)
- func (s *IdeasResponse) SetIdeas(val []Idea)
- func (s *IdeasResponse) SetPagination(val OptPagination)
- func (s *IdeasResponse) UnmarshalJSON(data []byte) error
- type Initiative
- func (s *Initiative) Decode(d *jx.Decoder) error
- func (s *Initiative) Encode(e *jx.Encoder)
- func (s *Initiative) GetColor() OptString
- func (s *Initiative) GetCreatedAt() time.Time
- func (s *Initiative) GetDescription() OptString
- func (s *Initiative) GetEffort() OptFloat64
- func (s *Initiative) GetEndDate() OptDate
- func (s *Initiative) GetEpic() OptEpicMeta
- func (s *Initiative) GetFeatures() []FeatureMeta
- func (s *Initiative) GetID() string
- func (s *Initiative) GetName() string
- func (s *Initiative) GetPosition() OptInt64
- func (s *Initiative) GetPresented() OptBool
- func (s *Initiative) GetProgress() OptFloat64
- func (s *Initiative) GetProgressSource() OptString
- func (s *Initiative) GetReferenceNum() string
- func (s *Initiative) GetResource() OptString
- func (s *Initiative) GetStartDate() OptDate
- func (s *Initiative) GetURL() OptString
- func (s *Initiative) GetUpdatedAt() OptDateTime
- func (s *Initiative) GetValue() OptFloat64
- func (s *Initiative) GetWorkflowStatus() OptWorkflowStatus
- func (s *Initiative) MarshalJSON() ([]byte, error)
- func (s *Initiative) SetColor(val OptString)
- func (s *Initiative) SetCreatedAt(val time.Time)
- func (s *Initiative) SetDescription(val OptString)
- func (s *Initiative) SetEffort(val OptFloat64)
- func (s *Initiative) SetEndDate(val OptDate)
- func (s *Initiative) SetEpic(val OptEpicMeta)
- func (s *Initiative) SetFeatures(val []FeatureMeta)
- func (s *Initiative) SetID(val string)
- func (s *Initiative) SetName(val string)
- func (s *Initiative) SetPosition(val OptInt64)
- func (s *Initiative) SetPresented(val OptBool)
- func (s *Initiative) SetProgress(val OptFloat64)
- func (s *Initiative) SetProgressSource(val OptString)
- func (s *Initiative) SetReferenceNum(val string)
- func (s *Initiative) SetResource(val OptString)
- func (s *Initiative) SetStartDate(val OptDate)
- func (s *Initiative) SetURL(val OptString)
- func (s *Initiative) SetUpdatedAt(val OptDateTime)
- func (s *Initiative) SetValue(val OptFloat64)
- func (s *Initiative) SetWorkflowStatus(val OptWorkflowStatus)
- func (s *Initiative) UnmarshalJSON(data []byte) error
- func (s *Initiative) Validate() error
- type InitiativeCreate
- func (s *InitiativeCreate) Decode(d *jx.Decoder) error
- func (s *InitiativeCreate) Encode(e *jx.Encoder)
- func (s *InitiativeCreate) GetColor() OptString
- func (s *InitiativeCreate) GetDescription() OptString
- func (s *InitiativeCreate) GetEffort() OptFloat64
- func (s *InitiativeCreate) GetEndDate() OptDate
- func (s *InitiativeCreate) GetName() string
- func (s *InitiativeCreate) GetPresented() OptBool
- func (s *InitiativeCreate) GetStartDate() OptDate
- func (s *InitiativeCreate) GetValue() OptFloat64
- func (s *InitiativeCreate) GetWorkflowStatus() OptString
- func (s *InitiativeCreate) MarshalJSON() ([]byte, error)
- func (s *InitiativeCreate) SetColor(val OptString)
- func (s *InitiativeCreate) SetDescription(val OptString)
- func (s *InitiativeCreate) SetEffort(val OptFloat64)
- func (s *InitiativeCreate) SetEndDate(val OptDate)
- func (s *InitiativeCreate) SetName(val string)
- func (s *InitiativeCreate) SetPresented(val OptBool)
- func (s *InitiativeCreate) SetStartDate(val OptDate)
- func (s *InitiativeCreate) SetValue(val OptFloat64)
- func (s *InitiativeCreate) SetWorkflowStatus(val OptString)
- func (s *InitiativeCreate) UnmarshalJSON(data []byte) error
- func (s *InitiativeCreate) Validate() error
- type InitiativeCreateRequest
- func (s *InitiativeCreateRequest) Decode(d *jx.Decoder) error
- func (s *InitiativeCreateRequest) Encode(e *jx.Encoder)
- func (s *InitiativeCreateRequest) GetInitiative() InitiativeCreate
- func (s *InitiativeCreateRequest) MarshalJSON() ([]byte, error)
- func (s *InitiativeCreateRequest) SetInitiative(val InitiativeCreate)
- func (s *InitiativeCreateRequest) UnmarshalJSON(data []byte) error
- func (s *InitiativeCreateRequest) Validate() error
- type InitiativeMeta
- func (s *InitiativeMeta) Decode(d *jx.Decoder) error
- func (s *InitiativeMeta) Encode(e *jx.Encoder)
- func (s *InitiativeMeta) GetCreatedAt() OptDateTime
- func (s *InitiativeMeta) GetID() OptString
- func (s *InitiativeMeta) GetName() OptString
- func (s *InitiativeMeta) GetReferenceNum() OptString
- func (s *InitiativeMeta) GetResource() OptString
- func (s *InitiativeMeta) GetURL() OptString
- func (s *InitiativeMeta) MarshalJSON() ([]byte, error)
- func (s *InitiativeMeta) SetCreatedAt(val OptDateTime)
- func (s *InitiativeMeta) SetID(val OptString)
- func (s *InitiativeMeta) SetName(val OptString)
- func (s *InitiativeMeta) SetReferenceNum(val OptString)
- func (s *InitiativeMeta) SetResource(val OptString)
- func (s *InitiativeMeta) SetURL(val OptString)
- func (s *InitiativeMeta) UnmarshalJSON(data []byte) error
- type InitiativeResponse
- func (s *InitiativeResponse) Decode(d *jx.Decoder) error
- func (s *InitiativeResponse) Encode(e *jx.Encoder)
- func (s *InitiativeResponse) GetInitiative() OptInitiative
- func (s *InitiativeResponse) MarshalJSON() ([]byte, error)
- func (s *InitiativeResponse) SetInitiative(val OptInitiative)
- func (s *InitiativeResponse) UnmarshalJSON(data []byte) error
- func (s *InitiativeResponse) Validate() error
- type InitiativeUpdate
- func (s *InitiativeUpdate) Decode(d *jx.Decoder) error
- func (s *InitiativeUpdate) Encode(e *jx.Encoder)
- func (s *InitiativeUpdate) GetColor() OptString
- func (s *InitiativeUpdate) GetDescription() OptString
- func (s *InitiativeUpdate) GetEffort() OptFloat64
- func (s *InitiativeUpdate) GetEndDate() OptDate
- func (s *InitiativeUpdate) GetName() OptString
- func (s *InitiativeUpdate) GetPresented() OptBool
- func (s *InitiativeUpdate) GetStartDate() OptDate
- func (s *InitiativeUpdate) GetValue() OptFloat64
- func (s *InitiativeUpdate) GetWorkflowStatus() OptString
- func (s *InitiativeUpdate) MarshalJSON() ([]byte, error)
- func (s *InitiativeUpdate) SetColor(val OptString)
- func (s *InitiativeUpdate) SetDescription(val OptString)
- func (s *InitiativeUpdate) SetEffort(val OptFloat64)
- func (s *InitiativeUpdate) SetEndDate(val OptDate)
- func (s *InitiativeUpdate) SetName(val OptString)
- func (s *InitiativeUpdate) SetPresented(val OptBool)
- func (s *InitiativeUpdate) SetStartDate(val OptDate)
- func (s *InitiativeUpdate) SetValue(val OptFloat64)
- func (s *InitiativeUpdate) SetWorkflowStatus(val OptString)
- func (s *InitiativeUpdate) UnmarshalJSON(data []byte) error
- func (s *InitiativeUpdate) Validate() error
- type InitiativeUpdateRequest
- func (s *InitiativeUpdateRequest) Decode(d *jx.Decoder) error
- func (s *InitiativeUpdateRequest) Encode(e *jx.Encoder)
- func (s *InitiativeUpdateRequest) GetInitiative() InitiativeUpdate
- func (s *InitiativeUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *InitiativeUpdateRequest) SetInitiative(val InitiativeUpdate)
- func (s *InitiativeUpdateRequest) UnmarshalJSON(data []byte) error
- func (s *InitiativeUpdateRequest) Validate() error
- type InitiativesResponse
- func (s *InitiativesResponse) Decode(d *jx.Decoder) error
- func (s *InitiativesResponse) Encode(e *jx.Encoder)
- func (s *InitiativesResponse) GetInitiatives() []InitiativeMeta
- func (s *InitiativesResponse) GetPagination() OptPagination
- func (s *InitiativesResponse) MarshalJSON() ([]byte, error)
- func (s *InitiativesResponse) SetInitiatives(val []InitiativeMeta)
- func (s *InitiativesResponse) SetPagination(val OptPagination)
- func (s *InitiativesResponse) UnmarshalJSON(data []byte) error
- type IntegrationField
- func (s *IntegrationField) Decode(d *jx.Decoder) error
- func (s *IntegrationField) Encode(e *jx.Encoder)
- func (s *IntegrationField) GetCreatedAt() OptDateTime
- func (s *IntegrationField) GetID() OptString
- func (s *IntegrationField) GetIntegrationID() OptString
- func (s *IntegrationField) GetName() OptString
- func (s *IntegrationField) GetServiceName() OptString
- func (s *IntegrationField) GetValue() OptString
- func (s *IntegrationField) MarshalJSON() ([]byte, error)
- func (s *IntegrationField) SetCreatedAt(val OptDateTime)
- func (s *IntegrationField) SetID(val OptString)
- func (s *IntegrationField) SetIntegrationID(val OptString)
- func (s *IntegrationField) SetName(val OptString)
- func (s *IntegrationField) SetServiceName(val OptString)
- func (s *IntegrationField) SetValue(val OptString)
- func (s *IntegrationField) UnmarshalJSON(data []byte) error
- type Invoker
- type Labeler
- type ListEpicCommentsParams
- type ListEpicsParams
- type ListFeatureCommentsParams
- type ListFeatureRequirementsParams
- type ListFeaturesParams
- type ListGoalCommentsParams
- type ListGoalsParams
- type ListIdeaCommentsParams
- type ListIdeasParams
- type ListIdeasSort
- type ListInitiativeCommentsParams
- type ListInitiativesParams
- type ListProductCommentsParams
- type ListProductEpicsParams
- type ListProductGoalsParams
- type ListProductInitiativesParams
- type ListProductReleasesParams
- type ListProductStrategicModelsParams
- type ListProductWorkflowsParams
- type ListProductsParams
- type ListReleaseCommentsParams
- type ListReleaseFeaturesParams
- type ListStrategicModelsParams
- type ListUsersParams
- type Middleware
- type OperationName
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptComment
- func (o *OptComment) Decode(d *jx.Decoder) error
- func (o OptComment) Encode(e *jx.Encoder)
- func (o OptComment) Get() (v Comment, ok bool)
- func (o OptComment) IsSet() bool
- func (s OptComment) MarshalJSON() ([]byte, error)
- func (o OptComment) Or(d Comment) Comment
- func (o *OptComment) Reset()
- func (o *OptComment) SetTo(v Comment)
- func (s *OptComment) UnmarshalJSON(data []byte) error
- type OptCommentable
- func (o *OptCommentable) Decode(d *jx.Decoder) error
- func (o OptCommentable) Encode(e *jx.Encoder)
- func (o OptCommentable) Get() (v Commentable, ok bool)
- func (o OptCommentable) IsSet() bool
- func (s OptCommentable) MarshalJSON() ([]byte, error)
- func (o OptCommentable) Or(d Commentable) Commentable
- func (o *OptCommentable) Reset()
- func (o *OptCommentable) SetTo(v Commentable)
- func (s *OptCommentable) UnmarshalJSON(data []byte) error
- type OptDate
- func (o *OptDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDate) Get() (v time.Time, ok bool)
- func (o OptDate) IsSet() bool
- func (s OptDate) MarshalJSON() ([]byte, error)
- func (o OptDate) Or(d time.Time) time.Time
- func (o *OptDate) Reset()
- func (o *OptDate) SetTo(v time.Time)
- func (s *OptDate) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptEpic
- func (o *OptEpic) Decode(d *jx.Decoder) error
- func (o OptEpic) Encode(e *jx.Encoder)
- func (o OptEpic) Get() (v Epic, ok bool)
- func (o OptEpic) IsSet() bool
- func (s OptEpic) MarshalJSON() ([]byte, error)
- func (o OptEpic) Or(d Epic) Epic
- func (o *OptEpic) Reset()
- func (o *OptEpic) SetTo(v Epic)
- func (s *OptEpic) UnmarshalJSON(data []byte) error
- type OptEpicMeta
- func (o *OptEpicMeta) Decode(d *jx.Decoder) error
- func (o OptEpicMeta) Encode(e *jx.Encoder)
- func (o OptEpicMeta) Get() (v EpicMeta, ok bool)
- func (o OptEpicMeta) IsSet() bool
- func (s OptEpicMeta) MarshalJSON() ([]byte, error)
- func (o OptEpicMeta) Or(d EpicMeta) EpicMeta
- func (o *OptEpicMeta) Reset()
- func (o *OptEpicMeta) SetTo(v EpicMeta)
- func (s *OptEpicMeta) UnmarshalJSON(data []byte) error
- type OptFeature
- func (o *OptFeature) Decode(d *jx.Decoder) error
- func (o OptFeature) Encode(e *jx.Encoder)
- func (o OptFeature) Get() (v Feature, ok bool)
- func (o OptFeature) IsSet() bool
- func (s OptFeature) MarshalJSON() ([]byte, error)
- func (o OptFeature) Or(d Feature) Feature
- func (o *OptFeature) Reset()
- func (o *OptFeature) SetTo(v Feature)
- func (s *OptFeature) UnmarshalJSON(data []byte) error
- type OptFeatureMeta
- func (o *OptFeatureMeta) Decode(d *jx.Decoder) error
- func (o OptFeatureMeta) Encode(e *jx.Encoder)
- func (o OptFeatureMeta) Get() (v FeatureMeta, ok bool)
- func (o OptFeatureMeta) IsSet() bool
- func (s OptFeatureMeta) MarshalJSON() ([]byte, error)
- func (o OptFeatureMeta) Or(d FeatureMeta) FeatureMeta
- func (o *OptFeatureMeta) Reset()
- func (o *OptFeatureMeta) SetTo(v FeatureMeta)
- func (s *OptFeatureMeta) UnmarshalJSON(data []byte) error
- type OptFloat32
- func (o *OptFloat32) Decode(d *jx.Decoder) error
- func (o OptFloat32) Encode(e *jx.Encoder)
- func (o OptFloat32) Get() (v float32, ok bool)
- func (o OptFloat32) IsSet() bool
- func (s OptFloat32) MarshalJSON() ([]byte, error)
- func (o OptFloat32) Or(d float32) float32
- func (o *OptFloat32) Reset()
- func (o *OptFloat32) SetTo(v float32)
- func (s *OptFloat32) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptGoal
- func (o *OptGoal) Decode(d *jx.Decoder) error
- func (o OptGoal) Encode(e *jx.Encoder)
- func (o OptGoal) Get() (v Goal, ok bool)
- func (o OptGoal) IsSet() bool
- func (s OptGoal) MarshalJSON() ([]byte, error)
- func (o OptGoal) Or(d Goal) Goal
- func (o *OptGoal) Reset()
- func (o *OptGoal) SetTo(v Goal)
- func (s *OptGoal) UnmarshalJSON(data []byte) error
- type OptIdea
- func (o *OptIdea) Decode(d *jx.Decoder) error
- func (o OptIdea) Encode(e *jx.Encoder)
- func (o OptIdea) Get() (v Idea, ok bool)
- func (o OptIdea) IsSet() bool
- func (s OptIdea) MarshalJSON() ([]byte, error)
- func (o OptIdea) Or(d Idea) Idea
- func (o *OptIdea) Reset()
- func (o *OptIdea) SetTo(v Idea)
- func (s *OptIdea) UnmarshalJSON(data []byte) error
- type OptIdeaFeature
- func (o *OptIdeaFeature) Decode(d *jx.Decoder) error
- func (o OptIdeaFeature) Encode(e *jx.Encoder)
- func (o OptIdeaFeature) Get() (v IdeaFeature, ok bool)
- func (o OptIdeaFeature) IsSet() bool
- func (s OptIdeaFeature) MarshalJSON() ([]byte, error)
- func (o OptIdeaFeature) Or(d IdeaFeature) IdeaFeature
- func (o *OptIdeaFeature) Reset()
- func (o *OptIdeaFeature) SetTo(v IdeaFeature)
- func (s *OptIdeaFeature) UnmarshalJSON(data []byte) error
- type OptInitiative
- func (o *OptInitiative) Decode(d *jx.Decoder) error
- func (o OptInitiative) Encode(e *jx.Encoder)
- func (o OptInitiative) Get() (v Initiative, ok bool)
- func (o OptInitiative) IsSet() bool
- func (s OptInitiative) MarshalJSON() ([]byte, error)
- func (o OptInitiative) Or(d Initiative) Initiative
- func (o *OptInitiative) Reset()
- func (o *OptInitiative) SetTo(v Initiative)
- func (s *OptInitiative) UnmarshalJSON(data []byte) error
- type OptInitiativeMeta
- func (o *OptInitiativeMeta) Decode(d *jx.Decoder) error
- func (o OptInitiativeMeta) Encode(e *jx.Encoder)
- func (o OptInitiativeMeta) Get() (v InitiativeMeta, ok bool)
- func (o OptInitiativeMeta) IsSet() bool
- func (s OptInitiativeMeta) MarshalJSON() ([]byte, error)
- func (o OptInitiativeMeta) Or(d InitiativeMeta) InitiativeMeta
- func (o *OptInitiativeMeta) Reset()
- func (o *OptInitiativeMeta) SetTo(v InitiativeMeta)
- func (s *OptInitiativeMeta) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt32
- type OptInt64
- func (o *OptInt64) Decode(d *jx.Decoder) error
- func (o OptInt64) Encode(e *jx.Encoder)
- func (o OptInt64) Get() (v int64, ok bool)
- func (o OptInt64) IsSet() bool
- func (s OptInt64) MarshalJSON() ([]byte, error)
- func (o OptInt64) Or(d int64) int64
- func (o *OptInt64) Reset()
- func (o *OptInt64) SetTo(v int64)
- func (s *OptInt64) UnmarshalJSON(data []byte) error
- type OptListIdeasSort
- type OptPagination
- func (o *OptPagination) Decode(d *jx.Decoder) error
- func (o OptPagination) Encode(e *jx.Encoder)
- func (o OptPagination) Get() (v Pagination, ok bool)
- func (o OptPagination) IsSet() bool
- func (s OptPagination) MarshalJSON() ([]byte, error)
- func (o OptPagination) Or(d Pagination) Pagination
- func (o *OptPagination) Reset()
- func (o *OptPagination) SetTo(v Pagination)
- func (s *OptPagination) UnmarshalJSON(data []byte) error
- type OptProduct
- func (o *OptProduct) Decode(d *jx.Decoder) error
- func (o OptProduct) Encode(e *jx.Encoder)
- func (o OptProduct) Get() (v Product, ok bool)
- func (o OptProduct) IsSet() bool
- func (s OptProduct) MarshalJSON() ([]byte, error)
- func (o OptProduct) Or(d Product) Product
- func (o *OptProduct) Reset()
- func (o *OptProduct) SetTo(v Product)
- func (s *OptProduct) UnmarshalJSON(data []byte) error
- type OptProductMeta
- func (o *OptProductMeta) Decode(d *jx.Decoder) error
- func (o OptProductMeta) Encode(e *jx.Encoder)
- func (o OptProductMeta) Get() (v ProductMeta, ok bool)
- func (o OptProductMeta) IsSet() bool
- func (s OptProductMeta) MarshalJSON() ([]byte, error)
- func (o OptProductMeta) Or(d ProductMeta) ProductMeta
- func (o *OptProductMeta) Reset()
- func (o *OptProductMeta) SetTo(v ProductMeta)
- func (s *OptProductMeta) UnmarshalJSON(data []byte) error
- type OptRelease
- func (o *OptRelease) Decode(d *jx.Decoder) error
- func (o OptRelease) Encode(e *jx.Encoder)
- func (o OptRelease) Get() (v Release, ok bool)
- func (o OptRelease) IsSet() bool
- func (s OptRelease) MarshalJSON() ([]byte, error)
- func (o OptRelease) Or(d Release) Release
- func (o *OptRelease) Reset()
- func (o *OptRelease) SetTo(v Release)
- func (s *OptRelease) UnmarshalJSON(data []byte) error
- type OptRequirement
- func (o *OptRequirement) Decode(d *jx.Decoder) error
- func (o OptRequirement) Encode(e *jx.Encoder)
- func (o OptRequirement) Get() (v Requirement, ok bool)
- func (o OptRequirement) IsSet() bool
- func (s OptRequirement) MarshalJSON() ([]byte, error)
- func (o OptRequirement) Or(d Requirement) Requirement
- func (o *OptRequirement) Reset()
- func (o *OptRequirement) SetTo(v Requirement)
- func (s *OptRequirement) UnmarshalJSON(data []byte) error
- type OptStrategicModel
- func (o *OptStrategicModel) Decode(d *jx.Decoder) error
- func (o OptStrategicModel) Encode(e *jx.Encoder)
- func (o OptStrategicModel) Get() (v StrategicModel, ok bool)
- func (o OptStrategicModel) IsSet() bool
- func (s OptStrategicModel) MarshalJSON() ([]byte, error)
- func (o OptStrategicModel) Or(d StrategicModel) StrategicModel
- func (o *OptStrategicModel) Reset()
- func (o *OptStrategicModel) SetTo(v StrategicModel)
- func (s *OptStrategicModel) UnmarshalJSON(data []byte) error
- type OptStrategicModelComponent
- func (o *OptStrategicModelComponent) Decode(d *jx.Decoder) error
- func (o OptStrategicModelComponent) Encode(e *jx.Encoder)
- func (o OptStrategicModelComponent) Get() (v StrategicModelComponent, ok bool)
- func (o OptStrategicModelComponent) IsSet() bool
- func (s OptStrategicModelComponent) MarshalJSON() ([]byte, error)
- func (o OptStrategicModelComponent) Or(d StrategicModelComponent) StrategicModelComponent
- func (o *OptStrategicModelComponent) Reset()
- func (o *OptStrategicModelComponent) SetTo(v StrategicModelComponent)
- func (s *OptStrategicModelComponent) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptTimeFrame
- func (o *OptTimeFrame) Decode(d *jx.Decoder) error
- func (o OptTimeFrame) Encode(e *jx.Encoder)
- func (o OptTimeFrame) Get() (v TimeFrame, ok bool)
- func (o OptTimeFrame) IsSet() bool
- func (s OptTimeFrame) MarshalJSON() ([]byte, error)
- func (o OptTimeFrame) Or(d TimeFrame) TimeFrame
- func (o *OptTimeFrame) Reset()
- func (o *OptTimeFrame) SetTo(v TimeFrame)
- func (s *OptTimeFrame) UnmarshalJSON(data []byte) error
- type OptUser
- func (o *OptUser) Decode(d *jx.Decoder) error
- func (o OptUser) Encode(e *jx.Encoder)
- func (o OptUser) Get() (v User, ok bool)
- func (o OptUser) IsSet() bool
- func (s OptUser) MarshalJSON() ([]byte, error)
- func (o OptUser) Or(d User) User
- func (o *OptUser) Reset()
- func (o *OptUser) SetTo(v User)
- func (s *OptUser) UnmarshalJSON(data []byte) error
- type OptUserRole
- func (o *OptUserRole) Decode(d *jx.Decoder) error
- func (o OptUserRole) Encode(e *jx.Encoder)
- func (o OptUserRole) Get() (v UserRole, ok bool)
- func (o OptUserRole) IsSet() bool
- func (s OptUserRole) MarshalJSON() ([]byte, error)
- func (o OptUserRole) Or(d UserRole) UserRole
- func (o *OptUserRole) Reset()
- func (o *OptUserRole) SetTo(v UserRole)
- func (s *OptUserRole) UnmarshalJSON(data []byte) error
- type OptWorkflowStatus
- func (o *OptWorkflowStatus) Decode(d *jx.Decoder) error
- func (o OptWorkflowStatus) Encode(e *jx.Encoder)
- func (o OptWorkflowStatus) Get() (v WorkflowStatus, ok bool)
- func (o OptWorkflowStatus) IsSet() bool
- func (s OptWorkflowStatus) MarshalJSON() ([]byte, error)
- func (o OptWorkflowStatus) Or(d WorkflowStatus) WorkflowStatus
- func (o *OptWorkflowStatus) Reset()
- func (o *OptWorkflowStatus) SetTo(v WorkflowStatus)
- func (s *OptWorkflowStatus) UnmarshalJSON(data []byte) error
- type Option
- type Pagination
- func (s *Pagination) Decode(d *jx.Decoder) error
- func (s *Pagination) Encode(e *jx.Encoder)
- func (s *Pagination) GetCurrentPage() OptInt64
- func (s *Pagination) GetTotalPages() OptInt64
- func (s *Pagination) GetTotalRecords() OptInt64
- func (s *Pagination) MarshalJSON() ([]byte, error)
- func (s *Pagination) SetCurrentPage(val OptInt64)
- func (s *Pagination) SetTotalPages(val OptInt64)
- func (s *Pagination) SetTotalRecords(val OptInt64)
- func (s *Pagination) UnmarshalJSON(data []byte) error
- type Product
- func (s *Product) Decode(d *jx.Decoder) error
- func (s *Product) Encode(e *jx.Encoder)
- func (s *Product) GetCreatedAt() OptDateTime
- func (s *Product) GetHasIdeas() OptBool
- func (s *Product) GetHasMasterFeatures() OptBool
- func (s *Product) GetID() OptString
- func (s *Product) GetName() OptString
- func (s *Product) GetProductLine() OptBool
- func (s *Product) GetReferencePrefix() OptString
- func (s *Product) GetResource() OptString
- func (s *Product) GetURL() OptString
- func (s *Product) GetUpdatedAt() OptDateTime
- func (s *Product) MarshalJSON() ([]byte, error)
- func (s *Product) SetCreatedAt(val OptDateTime)
- func (s *Product) SetHasIdeas(val OptBool)
- func (s *Product) SetHasMasterFeatures(val OptBool)
- func (s *Product) SetID(val OptString)
- func (s *Product) SetName(val OptString)
- func (s *Product) SetProductLine(val OptBool)
- func (s *Product) SetReferencePrefix(val OptString)
- func (s *Product) SetResource(val OptString)
- func (s *Product) SetURL(val OptString)
- func (s *Product) SetUpdatedAt(val OptDateTime)
- func (s *Product) UnmarshalJSON(data []byte) error
- type ProductMeta
- func (s *ProductMeta) Decode(d *jx.Decoder) error
- func (s *ProductMeta) Encode(e *jx.Encoder)
- func (s *ProductMeta) GetCreatedAt() OptDateTime
- func (s *ProductMeta) GetID() OptString
- func (s *ProductMeta) GetName() OptString
- func (s *ProductMeta) GetProductLine() OptBool
- func (s *ProductMeta) GetReferencePrefix() OptString
- func (s *ProductMeta) MarshalJSON() ([]byte, error)
- func (s *ProductMeta) SetCreatedAt(val OptDateTime)
- func (s *ProductMeta) SetID(val OptString)
- func (s *ProductMeta) SetName(val OptString)
- func (s *ProductMeta) SetProductLine(val OptBool)
- func (s *ProductMeta) SetReferencePrefix(val OptString)
- func (s *ProductMeta) UnmarshalJSON(data []byte) error
- type ProductResponse
- func (s *ProductResponse) Decode(d *jx.Decoder) error
- func (s *ProductResponse) Encode(e *jx.Encoder)
- func (s *ProductResponse) GetProduct() OptProduct
- func (s *ProductResponse) MarshalJSON() ([]byte, error)
- func (s *ProductResponse) SetProduct(val OptProduct)
- func (s *ProductResponse) UnmarshalJSON(data []byte) error
- type ProductsResponse
- func (s *ProductsResponse) Decode(d *jx.Decoder) error
- func (s *ProductsResponse) Encode(e *jx.Encoder)
- func (s *ProductsResponse) GetPagination() OptPagination
- func (s *ProductsResponse) GetProducts() []ProductMeta
- func (s *ProductsResponse) MarshalJSON() ([]byte, error)
- func (s *ProductsResponse) SetPagination(val OptPagination)
- func (s *ProductsResponse) SetProducts(val []ProductMeta)
- func (s *ProductsResponse) UnmarshalJSON(data []byte) error
- type Release
- func (s *Release) Decode(d *jx.Decoder) error
- func (s *Release) Encode(e *jx.Encoder)
- func (s *Release) GetExternalReleaseDate() OptDate
- func (s *Release) GetID() OptString
- func (s *Release) GetName() OptString
- func (s *Release) GetParkingLot() OptBool
- func (s *Release) GetReferenceNum() OptString
- func (s *Release) GetReleaseDate() OptDate
- func (s *Release) GetReleased() OptBool
- func (s *Release) GetResource() OptString
- func (s *Release) GetStartDate() OptDate
- func (s *Release) GetURL() OptString
- func (s *Release) MarshalJSON() ([]byte, error)
- func (s *Release) SetExternalReleaseDate(val OptDate)
- func (s *Release) SetID(val OptString)
- func (s *Release) SetName(val OptString)
- func (s *Release) SetParkingLot(val OptBool)
- func (s *Release) SetReferenceNum(val OptString)
- func (s *Release) SetReleaseDate(val OptDate)
- func (s *Release) SetReleased(val OptBool)
- func (s *Release) SetResource(val OptString)
- func (s *Release) SetStartDate(val OptDate)
- func (s *Release) SetURL(val OptString)
- func (s *Release) UnmarshalJSON(data []byte) error
- type ReleaseResponse
- func (s *ReleaseResponse) Decode(d *jx.Decoder) error
- func (s *ReleaseResponse) Encode(e *jx.Encoder)
- func (s *ReleaseResponse) GetRelease() OptRelease
- func (s *ReleaseResponse) MarshalJSON() ([]byte, error)
- func (s *ReleaseResponse) SetRelease(val OptRelease)
- func (s *ReleaseResponse) UnmarshalJSON(data []byte) error
- type ReleaseUpdate
- func (s *ReleaseUpdate) Decode(d *jx.Decoder) error
- func (s *ReleaseUpdate) Encode(e *jx.Encoder)
- func (s *ReleaseUpdate) GetDevelopmentStartedOn() OptDate
- func (s *ReleaseUpdate) GetExternalReleaseDate() OptDate
- func (s *ReleaseUpdate) GetName() OptString
- func (s *ReleaseUpdate) GetParkingLot() OptBool
- func (s *ReleaseUpdate) GetReleaseDate() OptDate
- func (s *ReleaseUpdate) GetStartDate() OptDate
- func (s *ReleaseUpdate) MarshalJSON() ([]byte, error)
- func (s *ReleaseUpdate) SetDevelopmentStartedOn(val OptDate)
- func (s *ReleaseUpdate) SetExternalReleaseDate(val OptDate)
- func (s *ReleaseUpdate) SetName(val OptString)
- func (s *ReleaseUpdate) SetParkingLot(val OptBool)
- func (s *ReleaseUpdate) SetReleaseDate(val OptDate)
- func (s *ReleaseUpdate) SetStartDate(val OptDate)
- func (s *ReleaseUpdate) UnmarshalJSON(data []byte) error
- type ReleaseUpdateRequest
- func (s *ReleaseUpdateRequest) Decode(d *jx.Decoder) error
- func (s *ReleaseUpdateRequest) Encode(e *jx.Encoder)
- func (s *ReleaseUpdateRequest) GetRelease() ReleaseUpdate
- func (s *ReleaseUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *ReleaseUpdateRequest) SetRelease(val ReleaseUpdate)
- func (s *ReleaseUpdateRequest) UnmarshalJSON(data []byte) error
- type ReleasesResponse
- func (s *ReleasesResponse) Decode(d *jx.Decoder) error
- func (s *ReleasesResponse) Encode(e *jx.Encoder)
- func (s *ReleasesResponse) GetPagination() OptPagination
- func (s *ReleasesResponse) GetReleases() []Release
- func (s *ReleasesResponse) MarshalJSON() ([]byte, error)
- func (s *ReleasesResponse) SetPagination(val OptPagination)
- func (s *ReleasesResponse) SetReleases(val []Release)
- func (s *ReleasesResponse) UnmarshalJSON(data []byte) error
- type Requirement
- func (s *Requirement) Decode(d *jx.Decoder) error
- func (s *Requirement) Encode(e *jx.Encoder)
- func (s *Requirement) GetAssignedToUser() OptUser
- func (s *Requirement) GetCreatedAt() time.Time
- func (s *Requirement) GetDescription() OptString
- func (s *Requirement) GetFeature() OptFeatureMeta
- func (s *Requirement) GetID() string
- func (s *Requirement) GetName() string
- func (s *Requirement) GetOriginalEstimate() OptFloat32
- func (s *Requirement) GetPosition() OptInt64
- func (s *Requirement) GetReferenceNum() string
- func (s *Requirement) GetRemainingEstimate() OptFloat32
- func (s *Requirement) GetResource() OptString
- func (s *Requirement) GetURL() OptString
- func (s *Requirement) GetUpdatedAt() OptDateTime
- func (s *Requirement) GetWorkDone() OptFloat32
- func (s *Requirement) GetWorkflowStatus() OptWorkflowStatus
- func (s *Requirement) MarshalJSON() ([]byte, error)
- func (s *Requirement) SetAssignedToUser(val OptUser)
- func (s *Requirement) SetCreatedAt(val time.Time)
- func (s *Requirement) SetDescription(val OptString)
- func (s *Requirement) SetFeature(val OptFeatureMeta)
- func (s *Requirement) SetID(val string)
- func (s *Requirement) SetName(val string)
- func (s *Requirement) SetOriginalEstimate(val OptFloat32)
- func (s *Requirement) SetPosition(val OptInt64)
- func (s *Requirement) SetReferenceNum(val string)
- func (s *Requirement) SetRemainingEstimate(val OptFloat32)
- func (s *Requirement) SetResource(val OptString)
- func (s *Requirement) SetURL(val OptString)
- func (s *Requirement) SetUpdatedAt(val OptDateTime)
- func (s *Requirement) SetWorkDone(val OptFloat32)
- func (s *Requirement) SetWorkflowStatus(val OptWorkflowStatus)
- func (s *Requirement) UnmarshalJSON(data []byte) error
- func (s *Requirement) Validate() error
- type RequirementCreate
- func (s *RequirementCreate) Decode(d *jx.Decoder) error
- func (s *RequirementCreate) Encode(e *jx.Encoder)
- func (s *RequirementCreate) GetAssignedToUser() OptString
- func (s *RequirementCreate) GetDescription() OptString
- func (s *RequirementCreate) GetName() string
- func (s *RequirementCreate) GetOriginalEstimate() OptFloat32
- func (s *RequirementCreate) GetWorkflowStatus() OptString
- func (s *RequirementCreate) MarshalJSON() ([]byte, error)
- func (s *RequirementCreate) SetAssignedToUser(val OptString)
- func (s *RequirementCreate) SetDescription(val OptString)
- func (s *RequirementCreate) SetName(val string)
- func (s *RequirementCreate) SetOriginalEstimate(val OptFloat32)
- func (s *RequirementCreate) SetWorkflowStatus(val OptString)
- func (s *RequirementCreate) UnmarshalJSON(data []byte) error
- func (s *RequirementCreate) Validate() error
- type RequirementCreateRequest
- func (s *RequirementCreateRequest) Decode(d *jx.Decoder) error
- func (s *RequirementCreateRequest) Encode(e *jx.Encoder)
- func (s *RequirementCreateRequest) GetRequirement() RequirementCreate
- func (s *RequirementCreateRequest) MarshalJSON() ([]byte, error)
- func (s *RequirementCreateRequest) SetRequirement(val RequirementCreate)
- func (s *RequirementCreateRequest) UnmarshalJSON(data []byte) error
- func (s *RequirementCreateRequest) Validate() error
- type RequirementMeta
- func (s *RequirementMeta) Decode(d *jx.Decoder) error
- func (s *RequirementMeta) Encode(e *jx.Encoder)
- func (s *RequirementMeta) GetCreatedAt() OptDateTime
- func (s *RequirementMeta) GetID() OptString
- func (s *RequirementMeta) GetName() OptString
- func (s *RequirementMeta) GetReferenceNum() OptString
- func (s *RequirementMeta) GetResource() OptString
- func (s *RequirementMeta) GetURL() OptString
- func (s *RequirementMeta) MarshalJSON() ([]byte, error)
- func (s *RequirementMeta) SetCreatedAt(val OptDateTime)
- func (s *RequirementMeta) SetID(val OptString)
- func (s *RequirementMeta) SetName(val OptString)
- func (s *RequirementMeta) SetReferenceNum(val OptString)
- func (s *RequirementMeta) SetResource(val OptString)
- func (s *RequirementMeta) SetURL(val OptString)
- func (s *RequirementMeta) UnmarshalJSON(data []byte) error
- type RequirementResponse
- func (s *RequirementResponse) Decode(d *jx.Decoder) error
- func (s *RequirementResponse) Encode(e *jx.Encoder)
- func (s *RequirementResponse) GetRequirement() OptRequirement
- func (s *RequirementResponse) MarshalJSON() ([]byte, error)
- func (s *RequirementResponse) SetRequirement(val OptRequirement)
- func (s *RequirementResponse) UnmarshalJSON(data []byte) error
- func (s *RequirementResponse) Validate() error
- type RequirementUpdate
- func (s *RequirementUpdate) Decode(d *jx.Decoder) error
- func (s *RequirementUpdate) Encode(e *jx.Encoder)
- func (s *RequirementUpdate) GetAssignedToUser() OptString
- func (s *RequirementUpdate) GetDescription() OptString
- func (s *RequirementUpdate) GetName() OptString
- func (s *RequirementUpdate) GetOriginalEstimate() OptFloat32
- func (s *RequirementUpdate) GetRemainingEstimate() OptFloat32
- func (s *RequirementUpdate) GetWorkDone() OptFloat32
- func (s *RequirementUpdate) GetWorkflowStatus() OptString
- func (s *RequirementUpdate) MarshalJSON() ([]byte, error)
- func (s *RequirementUpdate) SetAssignedToUser(val OptString)
- func (s *RequirementUpdate) SetDescription(val OptString)
- func (s *RequirementUpdate) SetName(val OptString)
- func (s *RequirementUpdate) SetOriginalEstimate(val OptFloat32)
- func (s *RequirementUpdate) SetRemainingEstimate(val OptFloat32)
- func (s *RequirementUpdate) SetWorkDone(val OptFloat32)
- func (s *RequirementUpdate) SetWorkflowStatus(val OptString)
- func (s *RequirementUpdate) UnmarshalJSON(data []byte) error
- func (s *RequirementUpdate) Validate() error
- type RequirementUpdateRequest
- func (s *RequirementUpdateRequest) Decode(d *jx.Decoder) error
- func (s *RequirementUpdateRequest) Encode(e *jx.Encoder)
- func (s *RequirementUpdateRequest) GetRequirement() RequirementUpdate
- func (s *RequirementUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *RequirementUpdateRequest) SetRequirement(val RequirementUpdate)
- func (s *RequirementUpdateRequest) UnmarshalJSON(data []byte) error
- func (s *RequirementUpdateRequest) Validate() error
- type RequirementsResponse
- func (s *RequirementsResponse) Decode(d *jx.Decoder) error
- func (s *RequirementsResponse) Encode(e *jx.Encoder)
- func (s *RequirementsResponse) GetPagination() OptPagination
- func (s *RequirementsResponse) GetRequirements() []RequirementMeta
- func (s *RequirementsResponse) MarshalJSON() ([]byte, error)
- func (s *RequirementsResponse) SetPagination(val OptPagination)
- func (s *RequirementsResponse) SetRequirements(val []RequirementMeta)
- func (s *RequirementsResponse) UnmarshalJSON(data []byte) error
- type Route
- type SecurityHandler
- type SecuritySource
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type StrategicModel
- func (s *StrategicModel) Decode(d *jx.Decoder) error
- func (s *StrategicModel) Encode(e *jx.Encoder)
- func (s *StrategicModel) GetComponents() []StrategicModelComponent
- func (s *StrategicModel) GetCreatedAt() time.Time
- func (s *StrategicModel) GetDescription() OptString
- func (s *StrategicModel) GetID() string
- func (s *StrategicModel) GetKind() string
- func (s *StrategicModel) GetName() string
- func (s *StrategicModel) GetProject() OptProductMeta
- func (s *StrategicModel) GetReferenceNum() string
- func (s *StrategicModel) GetResource() OptString
- func (s *StrategicModel) GetURL() OptString
- func (s *StrategicModel) GetUpdatedAt() OptDateTime
- func (s *StrategicModel) MarshalJSON() ([]byte, error)
- func (s *StrategicModel) SetComponents(val []StrategicModelComponent)
- func (s *StrategicModel) SetCreatedAt(val time.Time)
- func (s *StrategicModel) SetDescription(val OptString)
- func (s *StrategicModel) SetID(val string)
- func (s *StrategicModel) SetKind(val string)
- func (s *StrategicModel) SetName(val string)
- func (s *StrategicModel) SetProject(val OptProductMeta)
- func (s *StrategicModel) SetReferenceNum(val string)
- func (s *StrategicModel) SetResource(val OptString)
- func (s *StrategicModel) SetURL(val OptString)
- func (s *StrategicModel) SetUpdatedAt(val OptDateTime)
- func (s *StrategicModel) UnmarshalJSON(data []byte) error
- type StrategicModelComponent
- func (s *StrategicModelComponent) Decode(d *jx.Decoder) error
- func (s *StrategicModelComponent) Encode(e *jx.Encoder)
- func (s *StrategicModelComponent) GetDescription() OptString
- func (s *StrategicModelComponent) GetID() OptString
- func (s *StrategicModelComponent) GetName() OptString
- func (s *StrategicModelComponent) GetPosition() OptInt64
- func (s *StrategicModelComponent) MarshalJSON() ([]byte, error)
- func (s *StrategicModelComponent) SetDescription(val OptString)
- func (s *StrategicModelComponent) SetID(val OptString)
- func (s *StrategicModelComponent) SetName(val OptString)
- func (s *StrategicModelComponent) SetPosition(val OptInt64)
- func (s *StrategicModelComponent) UnmarshalJSON(data []byte) error
- type StrategicModelComponentResponse
- func (s *StrategicModelComponentResponse) Decode(d *jx.Decoder) error
- func (s *StrategicModelComponentResponse) Encode(e *jx.Encoder)
- func (s *StrategicModelComponentResponse) GetComponent() OptStrategicModelComponent
- func (s *StrategicModelComponentResponse) MarshalJSON() ([]byte, error)
- func (s *StrategicModelComponentResponse) SetComponent(val OptStrategicModelComponent)
- func (s *StrategicModelComponentResponse) UnmarshalJSON(data []byte) error
- type StrategicModelComponentUpdate
- func (s *StrategicModelComponentUpdate) Decode(d *jx.Decoder) error
- func (s *StrategicModelComponentUpdate) Encode(e *jx.Encoder)
- func (s *StrategicModelComponentUpdate) GetDescription() OptString
- func (s *StrategicModelComponentUpdate) MarshalJSON() ([]byte, error)
- func (s *StrategicModelComponentUpdate) SetDescription(val OptString)
- func (s *StrategicModelComponentUpdate) UnmarshalJSON(data []byte) error
- type StrategicModelComponentUpdateRequest
- func (s *StrategicModelComponentUpdateRequest) Decode(d *jx.Decoder) error
- func (s *StrategicModelComponentUpdateRequest) Encode(e *jx.Encoder)
- func (s *StrategicModelComponentUpdateRequest) GetComponent() StrategicModelComponentUpdate
- func (s *StrategicModelComponentUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *StrategicModelComponentUpdateRequest) SetComponent(val StrategicModelComponentUpdate)
- func (s *StrategicModelComponentUpdateRequest) UnmarshalJSON(data []byte) error
- type StrategicModelCreate
- func (s *StrategicModelCreate) Decode(d *jx.Decoder) error
- func (s *StrategicModelCreate) Encode(e *jx.Encoder)
- func (s *StrategicModelCreate) GetDescription() OptString
- func (s *StrategicModelCreate) GetKind() string
- func (s *StrategicModelCreate) GetName() string
- func (s *StrategicModelCreate) MarshalJSON() ([]byte, error)
- func (s *StrategicModelCreate) SetDescription(val OptString)
- func (s *StrategicModelCreate) SetKind(val string)
- func (s *StrategicModelCreate) SetName(val string)
- func (s *StrategicModelCreate) UnmarshalJSON(data []byte) error
- type StrategicModelCreateRequest
- func (s *StrategicModelCreateRequest) Decode(d *jx.Decoder) error
- func (s *StrategicModelCreateRequest) Encode(e *jx.Encoder)
- func (s *StrategicModelCreateRequest) GetStrategyModel() StrategicModelCreate
- func (s *StrategicModelCreateRequest) MarshalJSON() ([]byte, error)
- func (s *StrategicModelCreateRequest) SetStrategyModel(val StrategicModelCreate)
- func (s *StrategicModelCreateRequest) UnmarshalJSON(data []byte) error
- type StrategicModelMeta
- func (s *StrategicModelMeta) Decode(d *jx.Decoder) error
- func (s *StrategicModelMeta) Encode(e *jx.Encoder)
- func (s *StrategicModelMeta) GetCreatedAt() OptDateTime
- func (s *StrategicModelMeta) GetID() OptString
- func (s *StrategicModelMeta) GetKind() OptString
- func (s *StrategicModelMeta) GetName() OptString
- func (s *StrategicModelMeta) GetReferenceNum() OptString
- func (s *StrategicModelMeta) GetResource() OptString
- func (s *StrategicModelMeta) GetURL() OptString
- func (s *StrategicModelMeta) MarshalJSON() ([]byte, error)
- func (s *StrategicModelMeta) SetCreatedAt(val OptDateTime)
- func (s *StrategicModelMeta) SetID(val OptString)
- func (s *StrategicModelMeta) SetKind(val OptString)
- func (s *StrategicModelMeta) SetName(val OptString)
- func (s *StrategicModelMeta) SetReferenceNum(val OptString)
- func (s *StrategicModelMeta) SetResource(val OptString)
- func (s *StrategicModelMeta) SetURL(val OptString)
- func (s *StrategicModelMeta) UnmarshalJSON(data []byte) error
- type StrategicModelResponse
- func (s *StrategicModelResponse) Decode(d *jx.Decoder) error
- func (s *StrategicModelResponse) Encode(e *jx.Encoder)
- func (s *StrategicModelResponse) GetStrategyModel() OptStrategicModel
- func (s *StrategicModelResponse) MarshalJSON() ([]byte, error)
- func (s *StrategicModelResponse) SetStrategyModel(val OptStrategicModel)
- func (s *StrategicModelResponse) UnmarshalJSON(data []byte) error
- type StrategicModelUpdate
- func (s *StrategicModelUpdate) Decode(d *jx.Decoder) error
- func (s *StrategicModelUpdate) Encode(e *jx.Encoder)
- func (s *StrategicModelUpdate) GetDescription() OptString
- func (s *StrategicModelUpdate) GetName() OptString
- func (s *StrategicModelUpdate) MarshalJSON() ([]byte, error)
- func (s *StrategicModelUpdate) SetDescription(val OptString)
- func (s *StrategicModelUpdate) SetName(val OptString)
- func (s *StrategicModelUpdate) UnmarshalJSON(data []byte) error
- type StrategicModelUpdateRequest
- func (s *StrategicModelUpdateRequest) Decode(d *jx.Decoder) error
- func (s *StrategicModelUpdateRequest) Encode(e *jx.Encoder)
- func (s *StrategicModelUpdateRequest) GetStrategyModel() StrategicModelUpdate
- func (s *StrategicModelUpdateRequest) MarshalJSON() ([]byte, error)
- func (s *StrategicModelUpdateRequest) SetStrategyModel(val StrategicModelUpdate)
- func (s *StrategicModelUpdateRequest) UnmarshalJSON(data []byte) error
- type StrategicModelsResponse
- func (s *StrategicModelsResponse) Decode(d *jx.Decoder) error
- func (s *StrategicModelsResponse) Encode(e *jx.Encoder)
- func (s *StrategicModelsResponse) GetPagination() OptPagination
- func (s *StrategicModelsResponse) GetStrategyModels() []StrategicModelMeta
- func (s *StrategicModelsResponse) MarshalJSON() ([]byte, error)
- func (s *StrategicModelsResponse) SetPagination(val OptPagination)
- func (s *StrategicModelsResponse) SetStrategyModels(val []StrategicModelMeta)
- func (s *StrategicModelsResponse) UnmarshalJSON(data []byte) error
- type TimeFrame
- func (s *TimeFrame) Decode(d *jx.Decoder) error
- func (s *TimeFrame) Encode(e *jx.Encoder)
- func (s *TimeFrame) GetID() OptString
- func (s *TimeFrame) GetName() OptString
- func (s *TimeFrame) MarshalJSON() ([]byte, error)
- func (s *TimeFrame) SetID(val OptString)
- func (s *TimeFrame) SetName(val OptString)
- func (s *TimeFrame) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) CreateFeatureComment(ctx context.Context, req *CommentCreateRequest, ...) (r *CommentResponse, _ error)
- func (UnimplementedHandler) CreateFeatureRequirement(ctx context.Context, req *RequirementCreateRequest, ...) (r *RequirementResponse, _ error)
- func (UnimplementedHandler) CreateIdeaComment(ctx context.Context, req *CommentCreateRequest, params CreateIdeaCommentParams) (r *CommentResponse, _ error)
- func (UnimplementedHandler) CreateProductGoal(ctx context.Context, req *GoalCreateRequest, params CreateProductGoalParams) (r *GoalResponse, _ error)
- func (UnimplementedHandler) CreateProductInitiative(ctx context.Context, req *InitiativeCreateRequest, ...) (r *InitiativeResponse, _ error)
- func (UnimplementedHandler) CreateProductStrategicModel(ctx context.Context, req *StrategicModelCreateRequest, ...) (r *StrategicModelResponse, _ error)
- func (UnimplementedHandler) CreateReleaseEpic(ctx context.Context, req *EpicCreateRequest, params CreateReleaseEpicParams) (r *EpicResponse, _ error)
- func (UnimplementedHandler) CreateReleaseFeature(ctx context.Context, req *FeatureCreateRequest, ...) (r *FeatureResponse, _ error)
- func (UnimplementedHandler) DeleteComment(ctx context.Context, params DeleteCommentParams) error
- func (UnimplementedHandler) DeleteRequirement(ctx context.Context, params DeleteRequirementParams) error
- func (UnimplementedHandler) GetComment(ctx context.Context, params GetCommentParams) (r GetCommentRes, _ error)
- func (UnimplementedHandler) GetCurrentUser(ctx context.Context) (r *UserResponse, _ error)
- func (UnimplementedHandler) GetEpic(ctx context.Context, params GetEpicParams) (r GetEpicRes, _ error)
- func (UnimplementedHandler) GetFeature(ctx context.Context, params GetFeatureParams) (r GetFeatureRes, _ error)
- func (UnimplementedHandler) GetGoal(ctx context.Context, params GetGoalParams) (r GetGoalRes, _ error)
- func (UnimplementedHandler) GetIdea(ctx context.Context, params GetIdeaParams) (r *IdeaResponse, _ error)
- func (UnimplementedHandler) GetInitiative(ctx context.Context, params GetInitiativeParams) (r GetInitiativeRes, _ error)
- func (UnimplementedHandler) GetProduct(ctx context.Context, params GetProductParams) (r *ProductResponse, _ error)
- func (UnimplementedHandler) GetRelease(ctx context.Context, params GetReleaseParams) (r *ReleaseResponse, _ error)
- func (UnimplementedHandler) GetRequirement(ctx context.Context, params GetRequirementParams) (r GetRequirementRes, _ error)
- func (UnimplementedHandler) GetStrategicModel(ctx context.Context, params GetStrategicModelParams) (r GetStrategicModelRes, _ error)
- func (UnimplementedHandler) GetUser(ctx context.Context, params GetUserParams) (r *UserResponse, _ error)
- func (UnimplementedHandler) ListEpicComments(ctx context.Context, params ListEpicCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListEpics(ctx context.Context, params ListEpicsParams) (r *EpicsResponse, _ error)
- func (UnimplementedHandler) ListFeatureComments(ctx context.Context, params ListFeatureCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListFeatureRequirements(ctx context.Context, params ListFeatureRequirementsParams) (r *RequirementsResponse, _ error)
- func (UnimplementedHandler) ListFeatures(ctx context.Context, params ListFeaturesParams) (r *FeaturesResponse, _ error)
- func (UnimplementedHandler) ListGoalComments(ctx context.Context, params ListGoalCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListGoals(ctx context.Context, params ListGoalsParams) (r *GoalsResponse, _ error)
- func (UnimplementedHandler) ListIdeaComments(ctx context.Context, params ListIdeaCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListIdeas(ctx context.Context, params ListIdeasParams) (r *IdeasResponse, _ error)
- func (UnimplementedHandler) ListInitiativeComments(ctx context.Context, params ListInitiativeCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListInitiatives(ctx context.Context, params ListInitiativesParams) (r *InitiativesResponse, _ error)
- func (UnimplementedHandler) ListProductComments(ctx context.Context, params ListProductCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListProductEpics(ctx context.Context, params ListProductEpicsParams) (r *EpicsResponse, _ error)
- func (UnimplementedHandler) ListProductGoals(ctx context.Context, params ListProductGoalsParams) (r *GoalsResponse, _ error)
- func (UnimplementedHandler) ListProductInitiatives(ctx context.Context, params ListProductInitiativesParams) (r *InitiativesResponse, _ error)
- func (UnimplementedHandler) ListProductReleases(ctx context.Context, params ListProductReleasesParams) (r *ReleasesResponse, _ error)
- func (UnimplementedHandler) ListProductStrategicModels(ctx context.Context, params ListProductStrategicModelsParams) (r *StrategicModelsResponse, _ error)
- func (UnimplementedHandler) ListProductWorkflows(ctx context.Context, params ListProductWorkflowsParams) (r *WorkflowsResponse, _ error)
- func (UnimplementedHandler) ListProducts(ctx context.Context, params ListProductsParams) (r *ProductsResponse, _ error)
- func (UnimplementedHandler) ListReleaseComments(ctx context.Context, params ListReleaseCommentsParams) (r *CommentsResponse, _ error)
- func (UnimplementedHandler) ListReleaseFeatures(ctx context.Context, params ListReleaseFeaturesParams) (r *FeaturesResponse, _ error)
- func (UnimplementedHandler) ListStrategicModels(ctx context.Context, params ListStrategicModelsParams) (r *StrategicModelsResponse, _ error)
- func (UnimplementedHandler) ListUsers(ctx context.Context, params ListUsersParams) (r *UsersResponse, _ error)
- func (UnimplementedHandler) UpdateComment(ctx context.Context, req *CommentUpdateRequest, params UpdateCommentParams) (r *CommentResponse, _ error)
- func (UnimplementedHandler) UpdateEpic(ctx context.Context, req *EpicUpdateRequest, params UpdateEpicParams) (r *EpicResponse, _ error)
- func (UnimplementedHandler) UpdateFeature(ctx context.Context, req *FeatureUpdateRequest, params UpdateFeatureParams) (r *FeatureResponse, _ error)
- func (UnimplementedHandler) UpdateGoal(ctx context.Context, req *GoalUpdateRequest, params UpdateGoalParams) (r *GoalResponse, _ error)
- func (UnimplementedHandler) UpdateInitiative(ctx context.Context, req *InitiativeUpdateRequest, ...) (r *InitiativeResponse, _ error)
- func (UnimplementedHandler) UpdateRelease(ctx context.Context, req *ReleaseUpdateRequest, params UpdateReleaseParams) (r *ReleaseResponse, _ error)
- func (UnimplementedHandler) UpdateRequirement(ctx context.Context, req *RequirementUpdateRequest, ...) (r *RequirementResponse, _ error)
- func (UnimplementedHandler) UpdateStrategicModel(ctx context.Context, req *StrategicModelUpdateRequest, ...) (r *StrategicModelResponse, _ error)
- func (UnimplementedHandler) UpdateStrategicModelComponent(ctx context.Context, req *StrategicModelComponentUpdateRequest, ...) (r *StrategicModelComponentResponse, _ error)
- type UpdateCommentParams
- type UpdateEpicParams
- type UpdateFeatureParams
- type UpdateGoalParams
- type UpdateInitiativeParams
- type UpdateReleaseParams
- type UpdateRequirementParams
- type UpdateStrategicModelComponentParams
- type UpdateStrategicModelParams
- type User
- func (s *User) Decode(d *jx.Decoder) error
- func (s *User) Encode(e *jx.Encoder)
- func (s *User) GetCreatedAt() OptDateTime
- func (s *User) GetEmail() OptString
- func (s *User) GetFirstName() OptString
- func (s *User) GetID() OptString
- func (s *User) GetLastName() OptString
- func (s *User) GetRole() OptUserRole
- func (s *User) MarshalJSON() ([]byte, error)
- func (s *User) SetCreatedAt(val OptDateTime)
- func (s *User) SetEmail(val OptString)
- func (s *User) SetFirstName(val OptString)
- func (s *User) SetID(val OptString)
- func (s *User) SetLastName(val OptString)
- func (s *User) SetRole(val OptUserRole)
- func (s *User) UnmarshalJSON(data []byte) error
- func (s *User) Validate() error
- type UserResponse
- func (s *UserResponse) Decode(d *jx.Decoder) error
- func (s *UserResponse) Encode(e *jx.Encoder)
- func (s *UserResponse) GetUser() OptUser
- func (s *UserResponse) MarshalJSON() ([]byte, error)
- func (s *UserResponse) SetUser(val OptUser)
- func (s *UserResponse) UnmarshalJSON(data []byte) error
- func (s *UserResponse) Validate() error
- type UserRole
- func (UserRole) AllValues() []UserRole
- func (s *UserRole) Decode(d *jx.Decoder) error
- func (s UserRole) Encode(e *jx.Encoder)
- func (s UserRole) MarshalJSON() ([]byte, error)
- func (s UserRole) MarshalText() ([]byte, error)
- func (s *UserRole) UnmarshalJSON(data []byte) error
- func (s *UserRole) UnmarshalText(data []byte) error
- func (s UserRole) Validate() error
- type UsersResponse
- func (s *UsersResponse) Decode(d *jx.Decoder) error
- func (s *UsersResponse) Encode(e *jx.Encoder)
- func (s *UsersResponse) GetPagination() OptPagination
- func (s *UsersResponse) GetUsers() []User
- func (s *UsersResponse) MarshalJSON() ([]byte, error)
- func (s *UsersResponse) SetPagination(val OptPagination)
- func (s *UsersResponse) SetUsers(val []User)
- func (s *UsersResponse) UnmarshalJSON(data []byte) error
- func (s *UsersResponse) Validate() error
- type Workflow
- func (s *Workflow) Decode(d *jx.Decoder) error
- func (s *Workflow) Encode(e *jx.Encoder)
- func (s *Workflow) GetID() string
- func (s *Workflow) GetName() string
- func (s *Workflow) GetWorkflowStatuses() []WorkflowStatus
- func (s *Workflow) MarshalJSON() ([]byte, error)
- func (s *Workflow) SetID(val string)
- func (s *Workflow) SetName(val string)
- func (s *Workflow) SetWorkflowStatuses(val []WorkflowStatus)
- func (s *Workflow) UnmarshalJSON(data []byte) error
- type WorkflowStatus
- func (s *WorkflowStatus) Decode(d *jx.Decoder) error
- func (s *WorkflowStatus) Encode(e *jx.Encoder)
- func (s *WorkflowStatus) GetColor() OptString
- func (s *WorkflowStatus) GetComplete() OptBool
- func (s *WorkflowStatus) GetID() OptString
- func (s *WorkflowStatus) GetName() OptString
- func (s *WorkflowStatus) GetPosition() OptInt64
- func (s *WorkflowStatus) MarshalJSON() ([]byte, error)
- func (s *WorkflowStatus) SetColor(val OptString)
- func (s *WorkflowStatus) SetComplete(val OptBool)
- func (s *WorkflowStatus) SetID(val OptString)
- func (s *WorkflowStatus) SetName(val OptString)
- func (s *WorkflowStatus) SetPosition(val OptInt64)
- func (s *WorkflowStatus) UnmarshalJSON(data []byte) error
- type WorkflowsResponse
- func (s *WorkflowsResponse) Decode(d *jx.Decoder) error
- func (s *WorkflowsResponse) Encode(e *jx.Encoder)
- func (s *WorkflowsResponse) GetWorkflows() []Workflow
- func (s *WorkflowsResponse) MarshalJSON() ([]byte, error)
- func (s *WorkflowsResponse) SetWorkflows(val []Workflow)
- func (s *WorkflowsResponse) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRolesForBearerAuth ¶
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.
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) 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) UnmarshalJSON ¶
func (s *Attachment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BearerAuth ¶
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) GetCreatedAt ¶
func (s *Category) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*Category) GetParentID ¶
GetParentID returns the value of ParentID.
func (*Category) GetProjectID ¶
GetProjectID returns the value of ProjectID.
func (*Category) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Category) SetCreatedAt ¶
func (s *Category) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*Category) SetParentID ¶
SetParentID sets the value of ParentID.
func (*Category) SetProjectID ¶
SetProjectID sets the value of ProjectID.
func (*Category) UnmarshalJSON ¶
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 ¶
func (c *Client) UpdateStrategicModel(ctx context.Context, request *StrategicModelUpdateRequest, params UpdateStrategicModelParams) (*StrategicModelResponse, error)
UpdateStrategicModel invokes updateStrategicModel operation.
Update an existing strategic model.
PUT /strategy_models/{strategy_model_id}
func (*Client) UpdateStrategicModelComponent ¶
func (c *Client) UpdateStrategicModelComponent(ctx context.Context, request *StrategicModelComponentUpdateRequest, params UpdateStrategicModelComponentParams) (*StrategicModelComponentResponse, error)
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) GetAttachments ¶
func (s *Comment) GetAttachments() []Attachment
GetAttachments returns the value of Attachments.
func (*Comment) GetCommentable ¶
func (s *Comment) GetCommentable() OptCommentable
GetCommentable returns the value of Commentable.
func (*Comment) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Comment) GetResource ¶
GetResource returns the value of Resource.
func (*Comment) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Comment) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Comment) SetAttachments ¶
func (s *Comment) SetAttachments(val []Attachment)
SetAttachments sets the value of Attachments.
func (*Comment) SetCommentable ¶
func (s *Comment) SetCommentable(val OptCommentable)
SetCommentable sets the value of Commentable.
func (*Comment) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Comment) SetResource ¶
SetResource sets the value of Resource.
func (*Comment) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Comment) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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) 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) 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) 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) GetCommentsCount ¶
GetCommentsCount returns the value of CommentsCount.
func (*Epic) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Epic) GetDescription ¶
GetDescription returns the value of Description.
func (*Epic) GetDueDate ¶
GetDueDate returns the value of DueDate.
func (*Epic) GetInitiative ¶
func (s *Epic) GetInitiative() OptInitiativeMeta
GetInitiative returns the value of Initiative.
func (*Epic) GetPosition ¶
GetPosition returns the value of Position.
func (*Epic) GetProgress ¶
func (s *Epic) GetProgress() OptFloat32
GetProgress returns the value of Progress.
func (*Epic) GetProgressSource ¶
GetProgressSource returns the value of ProgressSource.
func (*Epic) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*Epic) GetRelease ¶
func (s *Epic) GetRelease() OptRelease
GetRelease returns the value of Release.
func (*Epic) GetResource ¶
GetResource returns the value of Resource.
func (*Epic) GetStartDate ¶
GetStartDate returns the value of StartDate.
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 ¶
MarshalJSON implements stdjson.Marshaler.
func (*Epic) SetCommentsCount ¶
SetCommentsCount sets the value of CommentsCount.
func (*Epic) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Epic) SetDescription ¶
SetDescription sets the value of Description.
func (*Epic) SetDueDate ¶
SetDueDate sets the value of DueDate.
func (*Epic) SetInitiative ¶
func (s *Epic) SetInitiative(val OptInitiativeMeta)
SetInitiative sets the value of Initiative.
func (*Epic) SetPosition ¶
SetPosition sets the value of Position.
func (*Epic) SetProgress ¶
func (s *Epic) SetProgress(val OptFloat32)
SetProgress sets the value of Progress.
func (*Epic) SetProgressSource ¶
SetProgressSource sets the value of ProgressSource.
func (*Epic) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*Epic) SetRelease ¶
func (s *Epic) SetRelease(val OptRelease)
SetRelease sets the value of Release.
func (*Epic) SetResource ¶
SetResource sets the value of Resource.
func (*Epic) SetStartDate ¶
SetStartDate sets the value of StartDate.
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetCreatedAt ¶
func (s *EpicMeta) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*EpicMeta) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*EpicMeta) GetResource ¶
GetResource returns the value of Resource.
func (*EpicMeta) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*EpicMeta) SetCreatedAt ¶
func (s *EpicMeta) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*EpicMeta) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*EpicMeta) SetResource ¶
SetResource sets the value of Resource.
func (*EpicMeta) UnmarshalJSON ¶
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 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) GetAssignedToUser ¶
GetAssignedToUser returns the value of AssignedToUser.
func (*Feature) GetCommentsCount ¶
GetCommentsCount returns the value of CommentsCount.
func (*Feature) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Feature) GetCustomFields ¶
func (s *Feature) GetCustomFields() []CustomField
GetCustomFields returns the value of CustomFields.
func (*Feature) GetDescription ¶
GetDescription returns the value of Description.
func (*Feature) GetDueDate ¶
GetDueDate returns the value of DueDate.
func (*Feature) GetIntegrationFields ¶
func (s *Feature) GetIntegrationFields() []IntegrationField
GetIntegrationFields returns the value of IntegrationFields.
func (*Feature) GetProductID ¶
GetProductID returns the value of ProductID.
func (*Feature) GetProgressSource ¶
GetProgressSource returns the value of ProgressSource.
func (*Feature) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*Feature) GetRelease ¶
func (s *Feature) GetRelease() OptRelease
GetRelease returns the value of Release.
func (*Feature) GetResource ¶
GetResource returns the value of Resource.
func (*Feature) GetStartDate ¶
GetStartDate returns the value of StartDate.
func (*Feature) GetUpdatedAt ¶
func (s *Feature) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
func (*Feature) GetUseRequirementsEstimates ¶
GetUseRequirementsEstimates returns the value of UseRequirementsEstimates.
func (*Feature) GetWorkUnits ¶
GetWorkUnits returns the value of WorkUnits.
func (*Feature) GetWorkflowStatus ¶
func (s *Feature) GetWorkflowStatus() OptWorkflowStatus
GetWorkflowStatus returns the value of WorkflowStatus.
func (*Feature) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Feature) SetAssignedToUser ¶
SetAssignedToUser sets the value of AssignedToUser.
func (*Feature) SetCommentsCount ¶
SetCommentsCount sets the value of CommentsCount.
func (*Feature) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Feature) SetCustomFields ¶
func (s *Feature) SetCustomFields(val []CustomField)
SetCustomFields sets the value of CustomFields.
func (*Feature) SetDescription ¶
SetDescription sets the value of Description.
func (*Feature) SetDueDate ¶
SetDueDate sets the value of DueDate.
func (*Feature) SetIntegrationFields ¶
func (s *Feature) SetIntegrationFields(val []IntegrationField)
SetIntegrationFields sets the value of IntegrationFields.
func (*Feature) SetProductID ¶
SetProductID sets the value of ProductID.
func (*Feature) SetProgressSource ¶
SetProgressSource sets the value of ProgressSource.
func (*Feature) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*Feature) SetRelease ¶
func (s *Feature) SetRelease(val OptRelease)
SetRelease sets the value of Release.
func (*Feature) SetResource ¶
SetResource sets the value of Resource.
func (*Feature) SetStartDate ¶
SetStartDate sets the value of StartDate.
func (*Feature) SetUpdatedAt ¶
func (s *Feature) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
func (*Feature) SetUseRequirementsEstimates ¶
SetUseRequirementsEstimates sets the value of UseRequirementsEstimates.
func (*Feature) SetWorkUnits ¶
SetWorkUnits sets the value of WorkUnits.
func (*Feature) SetWorkflowStatus ¶
func (s *Feature) SetWorkflowStatus(val OptWorkflowStatus)
SetWorkflowStatus sets the value of WorkflowStatus.
func (*Feature) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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) 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) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Goal) GetCustomFields ¶
func (s *Goal) GetCustomFields() []CustomField
GetCustomFields returns the value of CustomFields.
func (*Goal) GetDescription ¶
GetDescription returns the value of Description.
func (*Goal) GetEndDate ¶
GetEndDate returns the value of EndDate.
func (*Goal) GetProgress ¶
func (s *Goal) GetProgress() OptFloat32
GetProgress returns the value of Progress.
func (*Goal) GetProgressSource ¶
GetProgressSource returns the value of ProgressSource.
func (*Goal) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*Goal) GetResource ¶
GetResource returns the value of Resource.
func (*Goal) GetStartDate ¶
GetStartDate returns the value of StartDate.
func (*Goal) GetTimeFrame ¶
func (s *Goal) GetTimeFrame() OptTimeFrame
GetTimeFrame returns the value of TimeFrame.
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 ¶
MarshalJSON implements stdjson.Marshaler.
func (*Goal) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Goal) SetCustomFields ¶
func (s *Goal) SetCustomFields(val []CustomField)
SetCustomFields sets the value of CustomFields.
func (*Goal) SetDescription ¶
SetDescription sets the value of Description.
func (*Goal) SetEndDate ¶
SetEndDate sets the value of EndDate.
func (*Goal) SetProgress ¶
func (s *Goal) SetProgress(val OptFloat32)
SetProgress sets the value of Progress.
func (*Goal) SetProgressSource ¶
SetProgressSource sets the value of ProgressSource.
func (*Goal) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*Goal) SetResource ¶
SetResource sets the value of Resource.
func (*Goal) SetStartDate ¶
SetStartDate sets the value of StartDate.
func (*Goal) SetTimeFrame ¶
func (s *Goal) SetTimeFrame(val OptTimeFrame)
SetTimeFrame sets the value of TimeFrame.
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetCreatedAt ¶
func (s *GoalMeta) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*GoalMeta) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*GoalMeta) GetResource ¶
GetResource returns the value of Resource.
func (*GoalMeta) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*GoalMeta) SetCreatedAt ¶
func (s *GoalMeta) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*GoalMeta) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*GoalMeta) SetResource ¶
SetResource sets the value of Resource.
func (*GoalMeta) UnmarshalJSON ¶
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) GetCategories ¶
GetCategories returns the value of Categories.
func (*Idea) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (*Idea) GetDescription ¶
GetDescription returns the value of Description.
func (*Idea) GetFeature ¶
func (s *Idea) GetFeature() OptIdeaFeature
GetFeature returns the value of Feature.
func (*Idea) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*Idea) GetStatusChangedAt ¶
func (s *Idea) GetStatusChangedAt() OptDateTime
GetStatusChangedAt returns the value of StatusChangedAt.
func (*Idea) GetUpdatedAt ¶
GetUpdatedAt returns the value of UpdatedAt.
func (*Idea) GetWorkflowStatus ¶
func (s *Idea) GetWorkflowStatus() OptWorkflowStatus
GetWorkflowStatus returns the value of WorkflowStatus.
func (*Idea) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Idea) SetCategories ¶
SetCategories sets the value of Categories.
func (*Idea) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Idea) SetDescription ¶
SetDescription sets the value of Description.
func (*Idea) SetFeature ¶
func (s *Idea) SetFeature(val OptIdeaFeature)
SetFeature sets the value of Feature.
func (*Idea) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*Idea) SetStatusChangedAt ¶
func (s *Idea) SetStatusChangedAt(val OptDateTime)
SetStatusChangedAt sets the value of StatusChangedAt.
func (*Idea) SetUpdatedAt ¶
SetUpdatedAt sets the value of UpdatedAt.
func (*Idea) SetWorkflowStatus ¶
func (s *Idea) SetWorkflowStatus(val OptWorkflowStatus)
SetWorkflowStatus sets the value of WorkflowStatus.
func (*Idea) UnmarshalJSON ¶
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) 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) 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) 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) 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 ¶
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) AttributeSet ¶
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 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 ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComment ¶
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) 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 ¶
func (o OptCommentable) Or(d Commentable) Commentable
Or returns value if set, or given parameter if does not.
func (*OptCommentable) UnmarshalJSON ¶
func (s *OptCommentable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDate ¶
OptDate is optional time.Time.
func NewOptDate ¶
NewOptDate returns new OptDate with value set to v.
func (OptDate) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptDate) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
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) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEpic ¶
OptEpic is optional Epic.
func NewOptEpic ¶
NewOptEpic returns new OptEpic with value set to v.
func (OptEpic) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptEpic) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEpicMeta ¶
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) UnmarshalJSON ¶
func (s *OptEpicMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFeature ¶
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) 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 ¶
func (o OptFeatureMeta) Or(d FeatureMeta) FeatureMeta
Or returns value if set, or given parameter if does not.
func (*OptFeatureMeta) UnmarshalJSON ¶
func (s *OptFeatureMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat32 ¶
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) UnmarshalJSON ¶
func (s *OptFloat32) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
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) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGoal ¶
OptGoal is optional Goal.
func NewOptGoal ¶
NewOptGoal returns new OptGoal with value set to v.
func (OptGoal) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptGoal) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIdea ¶
OptIdea is optional Idea.
func NewOptIdea ¶
NewOptIdea returns new OptIdea with value set to v.
func (OptIdea) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptIdea) UnmarshalJSON ¶
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 ¶
func (o OptIdeaFeature) Or(d IdeaFeature) IdeaFeature
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptInitiative) Or(d Initiative) Initiative
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptInitiativeMeta) Or(d InitiativeMeta) InitiativeMeta
Or returns value if set, or given parameter if does not.
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 ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt64) UnmarshalJSON ¶
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 ¶
func (o OptListIdeasSort) Or(d ListIdeasSort) ListIdeasSort
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptPagination) Or(d Pagination) Pagination
Or returns value if set, or given parameter if does not.
func (*OptPagination) UnmarshalJSON ¶
func (s *OptPagination) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptProduct ¶
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) 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 ¶
func (o OptProductMeta) Or(d ProductMeta) ProductMeta
Or returns value if set, or given parameter if does not.
func (*OptProductMeta) UnmarshalJSON ¶
func (s *OptProductMeta) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRelease ¶
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) 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 ¶
func (o OptRequirement) Or(d Requirement) Requirement
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptStrategicModel) Or(d StrategicModel) StrategicModel
Or returns value if set, or given parameter if does not.
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 ¶
func (o *OptStrategicModelComponent) Decode(d *jx.Decoder) error
Decode decodes StrategicModelComponent from json.
func (OptStrategicModelComponent) Encode ¶
func (o OptStrategicModelComponent) Encode(e *jx.Encoder)
Encode encodes StrategicModelComponent as json.
func (OptStrategicModelComponent) Get ¶
func (o OptStrategicModelComponent) Get() (v StrategicModelComponent, ok bool)
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) Reset ¶
func (o *OptStrategicModelComponent) Reset()
Reset unsets value.
func (*OptStrategicModelComponent) SetTo ¶
func (o *OptStrategicModelComponent) SetTo(v StrategicModelComponent)
SetTo sets value to v.
func (*OptStrategicModelComponent) UnmarshalJSON ¶
func (s *OptStrategicModelComponent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTimeFrame ¶
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 ¶
func (o OptTimeFrame) Or(d TimeFrame) TimeFrame
Or returns value if set, or given parameter if does not.
func (*OptTimeFrame) UnmarshalJSON ¶
func (s *OptTimeFrame) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUser ¶
OptUser is optional User.
func NewOptUser ¶
NewOptUser returns new OptUser with value set to v.
func (OptUser) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptUser) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUserRole ¶
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) 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 ¶
func (o OptWorkflowStatus) Or(d WorkflowStatus) WorkflowStatus
Or returns value if set, or given parameter if does not.
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 ¶
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) GetCreatedAt ¶
func (s *Product) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*Product) GetHasIdeas ¶
GetHasIdeas returns the value of HasIdeas.
func (*Product) GetHasMasterFeatures ¶
GetHasMasterFeatures returns the value of HasMasterFeatures.
func (*Product) GetProductLine ¶
GetProductLine returns the value of ProductLine.
func (*Product) GetReferencePrefix ¶
GetReferencePrefix returns the value of ReferencePrefix.
func (*Product) GetResource ¶
GetResource returns the value of Resource.
func (*Product) GetUpdatedAt ¶
func (s *Product) GetUpdatedAt() OptDateTime
GetUpdatedAt returns the value of UpdatedAt.
func (*Product) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Product) SetCreatedAt ¶
func (s *Product) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*Product) SetHasIdeas ¶
SetHasIdeas sets the value of HasIdeas.
func (*Product) SetHasMasterFeatures ¶
SetHasMasterFeatures sets the value of HasMasterFeatures.
func (*Product) SetProductLine ¶
SetProductLine sets the value of ProductLine.
func (*Product) SetReferencePrefix ¶
SetReferencePrefix sets the value of ReferencePrefix.
func (*Product) SetResource ¶
SetResource sets the value of Resource.
func (*Product) SetUpdatedAt ¶
func (s *Product) SetUpdatedAt(val OptDateTime)
SetUpdatedAt sets the value of UpdatedAt.
func (*Product) UnmarshalJSON ¶
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) 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) 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) GetExternalReleaseDate ¶
GetExternalReleaseDate returns the value of ExternalReleaseDate.
func (*Release) GetParkingLot ¶
GetParkingLot returns the value of ParkingLot.
func (*Release) GetReferenceNum ¶
GetReferenceNum returns the value of ReferenceNum.
func (*Release) GetReleaseDate ¶
GetReleaseDate returns the value of ReleaseDate.
func (*Release) GetReleased ¶
GetReleased returns the value of Released.
func (*Release) GetResource ¶
GetResource returns the value of Resource.
func (*Release) GetStartDate ¶
GetStartDate returns the value of StartDate.
func (*Release) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Release) SetExternalReleaseDate ¶
SetExternalReleaseDate sets the value of ExternalReleaseDate.
func (*Release) SetParkingLot ¶
SetParkingLot sets the value of ParkingLot.
func (*Release) SetReferenceNum ¶
SetReferenceNum sets the value of ReferenceNum.
func (*Release) SetReleaseDate ¶
SetReleaseDate sets the value of ReleaseDate.
func (*Release) SetReleased ¶
SetReleased sets the value of Released.
func (*Release) SetResource ¶
SetResource sets the value of Resource.
func (*Release) SetStartDate ¶
SetStartDate sets the value of StartDate.
func (*Release) UnmarshalJSON ¶
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) 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) 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) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
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.
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 ¶
func (s *StrategicModelComponent) GetID() OptString
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 ¶
func (s *StrategicModelComponentResponse) Decode(d *jx.Decoder) error
Decode decodes StrategicModelComponentResponse from json.
func (*StrategicModelComponentResponse) Encode ¶
func (s *StrategicModelComponentResponse) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StrategicModelComponentResponse) GetComponent ¶
func (s *StrategicModelComponentResponse) GetComponent() OptStrategicModelComponent
GetComponent returns the value of Component.
func (*StrategicModelComponentResponse) MarshalJSON ¶
func (s *StrategicModelComponentResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StrategicModelComponentResponse) SetComponent ¶
func (s *StrategicModelComponentResponse) SetComponent(val OptStrategicModelComponent)
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 ¶
func (s *StrategicModelComponentUpdate) Decode(d *jx.Decoder) error
Decode decodes StrategicModelComponentUpdate from json.
func (*StrategicModelComponentUpdate) Encode ¶
func (s *StrategicModelComponentUpdate) Encode(e *jx.Encoder)
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 ¶
func (s *StrategicModelComponentUpdateRequest) Decode(d *jx.Decoder) error
Decode decodes StrategicModelComponentUpdateRequest from json.
func (*StrategicModelComponentUpdateRequest) Encode ¶
func (s *StrategicModelComponentUpdateRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StrategicModelComponentUpdateRequest) GetComponent ¶
func (s *StrategicModelComponentUpdateRequest) GetComponent() StrategicModelComponentUpdate
GetComponent returns the value of Component.
func (*StrategicModelComponentUpdateRequest) MarshalJSON ¶
func (s *StrategicModelComponentUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StrategicModelComponentUpdateRequest) SetComponent ¶
func (s *StrategicModelComponentUpdateRequest) SetComponent(val StrategicModelComponentUpdate)
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 ¶
func (s *StrategicModelCreateRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *StrategicModelUpdateRequest) Decode(d *jx.Decoder) error
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 ¶
Ref: #/components/schemas/TimeFrame
func (*TimeFrame) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TimeFrame) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) CreateFeatureComment ¶
func (UnimplementedHandler) CreateFeatureComment(ctx context.Context, req *CommentCreateRequest, params CreateFeatureCommentParams) (r *CommentResponse, _ error)
CreateFeatureComment implements createFeatureComment operation.
Create a new comment on a feature.
POST /features/{feature_id}/comments
func (UnimplementedHandler) CreateFeatureRequirement ¶
func (UnimplementedHandler) CreateFeatureRequirement(ctx context.Context, req *RequirementCreateRequest, params CreateFeatureRequirementParams) (r *RequirementResponse, _ error)
CreateFeatureRequirement implements createFeatureRequirement operation.
Create a new requirement for a feature.
POST /features/{feature_id}/requirements
func (UnimplementedHandler) CreateIdeaComment ¶
func (UnimplementedHandler) CreateIdeaComment(ctx context.Context, req *CommentCreateRequest, params CreateIdeaCommentParams) (r *CommentResponse, _ error)
CreateIdeaComment implements createIdeaComment operation.
Create a new internal comment on an idea.
POST /ideas/{idea_id}/comments
func (UnimplementedHandler) CreateProductGoal ¶
func (UnimplementedHandler) CreateProductGoal(ctx context.Context, req *GoalCreateRequest, params CreateProductGoalParams) (r *GoalResponse, _ error)
CreateProductGoal implements createProductGoal operation.
Create a new goal in a product.
POST /products/{product_id}/goals
func (UnimplementedHandler) CreateProductInitiative ¶
func (UnimplementedHandler) CreateProductInitiative(ctx context.Context, req *InitiativeCreateRequest, params CreateProductInitiativeParams) (r *InitiativeResponse, _ error)
CreateProductInitiative implements createProductInitiative operation.
Create a new initiative in a product.
POST /products/{product_id}/initiatives
func (UnimplementedHandler) CreateProductStrategicModel ¶
func (UnimplementedHandler) CreateProductStrategicModel(ctx context.Context, req *StrategicModelCreateRequest, params CreateProductStrategicModelParams) (r *StrategicModelResponse, _ error)
CreateProductStrategicModel implements createProductStrategicModel operation.
Create a new strategic model in a product.
POST /products/{product_id}/strategy_models
func (UnimplementedHandler) CreateReleaseEpic ¶
func (UnimplementedHandler) CreateReleaseEpic(ctx context.Context, req *EpicCreateRequest, params CreateReleaseEpicParams) (r *EpicResponse, _ error)
CreateReleaseEpic implements createReleaseEpic operation.
Create a new epic in a release.
POST /releases/{release_id}/epics
func (UnimplementedHandler) CreateReleaseFeature ¶
func (UnimplementedHandler) CreateReleaseFeature(ctx context.Context, req *FeatureCreateRequest, params CreateReleaseFeatureParams) (r *FeatureResponse, _ error)
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 ¶
func (UnimplementedHandler) GetComment(ctx context.Context, params GetCommentParams) (r GetCommentRes, _ error)
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 ¶
func (UnimplementedHandler) GetFeature(ctx context.Context, params GetFeatureParams) (r GetFeatureRes, _ error)
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 ¶
func (UnimplementedHandler) GetInitiative(ctx context.Context, params GetInitiativeParams) (r GetInitiativeRes, _ error)
GetInitiative implements getInitiative operation.
Get a specific initiative by ID or reference number.
GET /initiatives/{initiative_id}
func (UnimplementedHandler) GetProduct ¶
func (UnimplementedHandler) GetProduct(ctx context.Context, params GetProductParams) (r *ProductResponse, _ error)
GetProduct implements getProduct operation.
Get a specific product by ID.
GET /products/{product_id}
func (UnimplementedHandler) GetRelease ¶
func (UnimplementedHandler) GetRelease(ctx context.Context, params GetReleaseParams) (r *ReleaseResponse, _ error)
GetRelease implements getRelease operation.
Get a specific release by ID.
GET /releases/{release_id}
func (UnimplementedHandler) GetRequirement ¶
func (UnimplementedHandler) GetRequirement(ctx context.Context, params GetRequirementParams) (r GetRequirementRes, _ error)
GetRequirement implements getRequirement operation.
Get a specific requirement by ID or reference number.
GET /requirements/{requirement_id}
func (UnimplementedHandler) GetStrategicModel ¶
func (UnimplementedHandler) GetStrategicModel(ctx context.Context, params GetStrategicModelParams) (r GetStrategicModelRes, _ error)
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 ¶
func (UnimplementedHandler) ListFeatures(ctx context.Context, params ListFeaturesParams) (r *FeaturesResponse, _ error)
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 ¶
func (UnimplementedHandler) ListInitiatives(ctx context.Context, params ListInitiativesParams) (r *InitiativesResponse, _ error)
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 ¶
func (UnimplementedHandler) ListProductStrategicModels(ctx context.Context, params ListProductStrategicModelsParams) (r *StrategicModelsResponse, _ error)
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 ¶
func (UnimplementedHandler) ListProducts(ctx context.Context, params ListProductsParams) (r *ProductsResponse, _ error)
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 ¶
func (UnimplementedHandler) ListStrategicModels(ctx context.Context, params ListStrategicModelsParams) (r *StrategicModelsResponse, _ error)
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 ¶
func (UnimplementedHandler) UpdateComment(ctx context.Context, req *CommentUpdateRequest, params UpdateCommentParams) (r *CommentResponse, _ error)
UpdateComment implements updateComment operation.
Update an existing comment.
PUT /comments/{comment_id}
func (UnimplementedHandler) UpdateEpic ¶
func (UnimplementedHandler) UpdateEpic(ctx context.Context, req *EpicUpdateRequest, params UpdateEpicParams) (r *EpicResponse, _ error)
UpdateEpic implements updateEpic operation.
Update an existing epic.
PUT /epics/{epic_id}
func (UnimplementedHandler) UpdateFeature ¶
func (UnimplementedHandler) UpdateFeature(ctx context.Context, req *FeatureUpdateRequest, params UpdateFeatureParams) (r *FeatureResponse, _ error)
UpdateFeature implements updateFeature operation.
Update an existing feature.
PUT /features/{feature_id}
func (UnimplementedHandler) UpdateGoal ¶
func (UnimplementedHandler) UpdateGoal(ctx context.Context, req *GoalUpdateRequest, params UpdateGoalParams) (r *GoalResponse, _ error)
UpdateGoal implements updateGoal operation.
Update an existing goal.
PUT /goals/{goal_id}
func (UnimplementedHandler) UpdateInitiative ¶
func (UnimplementedHandler) UpdateInitiative(ctx context.Context, req *InitiativeUpdateRequest, params UpdateInitiativeParams) (r *InitiativeResponse, _ error)
UpdateInitiative implements updateInitiative operation.
Update an existing initiative.
PUT /initiatives/{initiative_id}
func (UnimplementedHandler) UpdateRelease ¶
func (UnimplementedHandler) UpdateRelease(ctx context.Context, req *ReleaseUpdateRequest, params UpdateReleaseParams) (r *ReleaseResponse, _ error)
UpdateRelease implements updateRelease operation.
Update an existing release.
PUT /releases/{release_id}
func (UnimplementedHandler) UpdateRequirement ¶
func (UnimplementedHandler) UpdateRequirement(ctx context.Context, req *RequirementUpdateRequest, params UpdateRequirementParams) (r *RequirementResponse, _ error)
UpdateRequirement implements updateRequirement operation.
Update an existing requirement.
PUT /requirements/{requirement_id}
func (UnimplementedHandler) UpdateStrategicModel ¶
func (UnimplementedHandler) UpdateStrategicModel(ctx context.Context, req *StrategicModelUpdateRequest, params UpdateStrategicModelParams) (r *StrategicModelResponse, _ error)
UpdateStrategicModel implements updateStrategicModel operation.
Update an existing strategic model.
PUT /strategy_models/{strategy_model_id}
func (UnimplementedHandler) UpdateStrategicModelComponent ¶
func (UnimplementedHandler) UpdateStrategicModelComponent(ctx context.Context, req *StrategicModelComponentUpdateRequest, params UpdateStrategicModelComponentParams) (r *StrategicModelComponentResponse, _ error)
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) GetCreatedAt ¶
func (s *User) GetCreatedAt() OptDateTime
GetCreatedAt returns the value of CreatedAt.
func (*User) GetFirstName ¶
GetFirstName returns the value of FirstName.
func (*User) GetLastName ¶
GetLastName returns the value of LastName.
func (*User) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*User) SetCreatedAt ¶
func (s *User) SetCreatedAt(val OptDateTime)
SetCreatedAt sets the value of CreatedAt.
func (*User) SetFirstName ¶
SetFirstName sets the value of FirstName.
func (*User) SetLastName ¶
SetLastName sets the value of LastName.
func (*User) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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
func (UserRole) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (UserRole) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*UserRole) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UserRole) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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) GetWorkflowStatuses ¶
func (s *Workflow) GetWorkflowStatuses() []WorkflowStatus
GetWorkflowStatuses returns the value of WorkflowStatuses.
func (*Workflow) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Workflow) SetWorkflowStatuses ¶
func (s *Workflow) SetWorkflowStatuses(val []WorkflowStatus)
SetWorkflowStatuses sets the value of WorkflowStatuses.
func (*Workflow) UnmarshalJSON ¶
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.
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go