Documentation ¶
Index ¶
- Constants
- type AbortWorkItemReq
- type AbortWorkItemReqBody
- type AbortWorkItemReqBuilder
- func (builder *AbortWorkItemReqBuilder) Build() *AbortWorkItemReq
- func (builder *AbortWorkItemReqBuilder) IsAborted(isAborted bool) *AbortWorkItemReqBuilder
- func (builder *AbortWorkItemReqBuilder) ProjectKey(projectKey string) *AbortWorkItemReqBuilder
- func (builder *AbortWorkItemReqBuilder) Reason(reason string) *AbortWorkItemReqBuilder
- func (builder *AbortWorkItemReqBuilder) WorkItemID(workItemID int64) *AbortWorkItemReqBuilder
- func (builder *AbortWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *AbortWorkItemReqBuilder
- type AbortWorkItemResp
- type Checker
- type CompInfo
- type CompositiveSearchReq
- type CompositiveSearchReqBody
- type CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) Build() *CompositiveSearchReq
- func (builder *CompositiveSearchReqBuilder) PageNum(pageNum int64) *CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) PageSize(pageSize int64) *CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) ProjectKeys(projectKeys []string) *CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) Query(query string) *CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) QuerySubType(querySubType []string) *CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) QueryType(queryType string) *CompositiveSearchReqBuilder
- func (builder *CompositiveSearchReqBuilder) SimpleNames(simpleNames []string) *CompositiveSearchReqBuilder
- type CompositiveSearchResp
- type Connection
- type CreateWorkItemRelationData
- type CreateWorkItemRelationReq
- type CreateWorkItemRelationReqBody
- type CreateWorkItemRelationReqBuilder
- func (builder *CreateWorkItemRelationReqBuilder) Build() *CreateWorkItemRelationReq
- func (builder *CreateWorkItemRelationReqBuilder) Name(name string) *CreateWorkItemRelationReqBuilder
- func (builder *CreateWorkItemRelationReqBuilder) ProjectKey(projectKey string) *CreateWorkItemRelationReqBuilder
- func (builder *CreateWorkItemRelationReqBuilder) RelationDetails(relationDetails []*RelationDetail) *CreateWorkItemRelationReqBuilder
- func (builder *CreateWorkItemRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkItemRelationReqBuilder
- type CreateWorkItemRelationResp
- type CreateWorkItemReq
- type CreateWorkItemReqBody
- type CreateWorkItemReqBuilder
- func (builder *CreateWorkItemReqBuilder) Build() *CreateWorkItemReq
- func (builder *CreateWorkItemReqBuilder) FieldValuePairs(fieldValuePairs []*field.FieldValuePair) *CreateWorkItemReqBuilder
- func (builder *CreateWorkItemReqBuilder) Name(name string) *CreateWorkItemReqBuilder
- func (builder *CreateWorkItemReqBuilder) ProjectKey(projectKey string) *CreateWorkItemReqBuilder
- func (builder *CreateWorkItemReqBuilder) TemplateID(templateID int64) *CreateWorkItemReqBuilder
- func (builder *CreateWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkItemReqBuilder
- type CreateWorkItemResp
- type CreateWorkingHourRecord
- type CreateWorkingHourRecordReq
- type CreateWorkingHourRecordReqBody
- type CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) Build() *CreateWorkingHourRecordReq
- func (builder *CreateWorkingHourRecordReqBuilder) IncludeHolidays(includeHolidays bool) *CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) ProjectKey(projectKey string) *CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) WorkBeginDate(workBeginDate int64) *CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) WorkEndDate(workEndDate int64) *CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) WorkItemID(workItemID int64) *CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkingHourRecordReqBuilder
- func (builder *CreateWorkingHourRecordReqBuilder) WorkingHourRecords(workingHourRecords []*CreateWorkingHourRecord) *CreateWorkingHourRecordReqBuilder
- type CreateWorkingHourRecordResp
- type DefaultValue
- type DeleteWorkItemRelationReq
- type DeleteWorkItemRelationReqBody
- type DeleteWorkItemRelationReqBuilder
- func (builder *DeleteWorkItemRelationReqBuilder) Build() *DeleteWorkItemRelationReq
- func (builder *DeleteWorkItemRelationReqBuilder) ProjectKey(projectKey string) *DeleteWorkItemRelationReqBuilder
- func (builder *DeleteWorkItemRelationReqBuilder) RelationID(relationID string) *DeleteWorkItemRelationReqBuilder
- type DeleteWorkItemRelationResp
- type DeleteWorkItemReq
- type DeleteWorkItemReqBuilder
- func (builder *DeleteWorkItemReqBuilder) Build() *DeleteWorkItemReq
- func (builder *DeleteWorkItemReqBuilder) ProjectKey(projectKey string) *DeleteWorkItemReqBuilder
- func (builder *DeleteWorkItemReqBuilder) WorkItemID(workItemID int64) *DeleteWorkItemReqBuilder
- func (builder *DeleteWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *DeleteWorkItemReqBuilder
- type DeleteWorkItemResp
- type DeleteWorkingHourRecordReq
- type DeleteWorkingHourRecordReqBody
- type DeleteWorkingHourRecordReqBuilder
- func (builder *DeleteWorkingHourRecordReqBuilder) Build() *DeleteWorkingHourRecordReq
- func (builder *DeleteWorkingHourRecordReqBuilder) ProjectKey(projectKey string) *DeleteWorkingHourRecordReqBuilder
- func (builder *DeleteWorkingHourRecordReqBuilder) WorkItemID(workItemID int64) *DeleteWorkingHourRecordReqBuilder
- func (builder *DeleteWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *DeleteWorkingHourRecordReqBuilder
- func (builder *DeleteWorkingHourRecordReqBuilder) WorkingHourRecordIDs(workingHourRecordIDs []int64) *DeleteWorkingHourRecordReqBuilder
- type DeleteWorkingHourRecordResp
- type Expand
- type FieldConf
- type FieldDeliverableItem
- type FieldDetail
- type FilterAcrossProjectReq
- type FilterAcrossProjectReqBody
- type FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) Build() *FilterAcrossProjectReq
- func (builder *FilterAcrossProjectReqBuilder) Businesses(businesses []string) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) CreatedAt(createdAt *TimeInterval) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) Expand(expand *Expand) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) PageNum(pageNum int64) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) PageSize(pageSize int64) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) Priorities(priorities []string) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) ProjectKeys(projectKeys []string) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) SearchUser(searchUser *SearchUser) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) SimpleNames(simpleNames []string) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) Tags(tags []string) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) TemplateIDs(templateIDs []int64) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) TenantGroupID(tenantGroupID int64) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) UpdatedAt(updatedAt *TimeInterval) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) WorkItemIDs(workItemIDs []int64) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) WorkItemName(workItemName string) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) WorkItemStatus(workItemStatus []*WorkItemStatus) *FilterAcrossProjectReqBuilder
- func (builder *FilterAcrossProjectReqBuilder) WorkItemTypeKey(workItemTypeKey string) *FilterAcrossProjectReqBuilder
- type FilterAcrossProjectResp
- type FilterReq
- type FilterReqBody
- type FilterReqBuilder
- func (builder *FilterReqBuilder) Build() *FilterReq
- func (builder *FilterReqBuilder) Businesses(businesses []string) *FilterReqBuilder
- func (builder *FilterReqBuilder) CreatedAt(createdAt *TimeInterval) *FilterReqBuilder
- func (builder *FilterReqBuilder) Expand(expand *Expand) *FilterReqBuilder
- func (builder *FilterReqBuilder) PageNum(pageNum int64) *FilterReqBuilder
- func (builder *FilterReqBuilder) PageSize(pageSize int64) *FilterReqBuilder
- func (builder *FilterReqBuilder) Priorities(priorities []string) *FilterReqBuilder
- func (builder *FilterReqBuilder) ProjectKey(projectKey string) *FilterReqBuilder
- func (builder *FilterReqBuilder) SearchID(searchID string) *FilterReqBuilder
- func (builder *FilterReqBuilder) SubStages(subStages []string) *FilterReqBuilder
- func (builder *FilterReqBuilder) Tags(tags []string) *FilterReqBuilder
- func (builder *FilterReqBuilder) UpdatedAt(updatedAt *TimeInterval) *FilterReqBuilder
- func (builder *FilterReqBuilder) UserKeys(userKeys []string) *FilterReqBuilder
- func (builder *FilterReqBuilder) WorkItemIDs(workItemIDs []int64) *FilterReqBuilder
- func (builder *FilterReqBuilder) WorkItemName(workItemName string) *FilterReqBuilder
- func (builder *FilterReqBuilder) WorkItemStatus(workItemStatus []*WorkItemStatus) *FilterReqBuilder
- func (builder *FilterReqBuilder) WorkItemTypeKeys(workItemTypeKeys []string) *FilterReqBuilder
- type FilterResp
- type GetMetaReq
- type GetMetaReqBuilder
- type GetMetaResp
- type GetWorkItemManHourRecordsReq
- type GetWorkItemManHourRecordsReqBody
- type GetWorkItemManHourRecordsReqBuilder
- func (builder *GetWorkItemManHourRecordsReqBuilder) Build() *GetWorkItemManHourRecordsReq
- func (builder *GetWorkItemManHourRecordsReqBuilder) PageNum(pageNum int64) *GetWorkItemManHourRecordsReqBuilder
- func (builder *GetWorkItemManHourRecordsReqBuilder) PageSize(pageSize int64) *GetWorkItemManHourRecordsReqBuilder
- func (builder *GetWorkItemManHourRecordsReqBuilder) ProjectKey(projectKey string) *GetWorkItemManHourRecordsReqBuilder
- func (builder *GetWorkItemManHourRecordsReqBuilder) WorkItemID(workItemID int64) *GetWorkItemManHourRecordsReqBuilder
- func (builder *GetWorkItemManHourRecordsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetWorkItemManHourRecordsReqBuilder
- type GetWorkItemManHourRecordsResp
- type GetWorkItemTypeInfoByKeyReq
- type GetWorkItemTypeInfoByKeyReqBuilder
- func (builder *GetWorkItemTypeInfoByKeyReqBuilder) Build() *GetWorkItemTypeInfoByKeyReq
- func (builder *GetWorkItemTypeInfoByKeyReqBuilder) ProjectKey(projectKey string) *GetWorkItemTypeInfoByKeyReqBuilder
- func (builder *GetWorkItemTypeInfoByKeyReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetWorkItemTypeInfoByKeyReqBuilder
- type GetWorkItemTypeInfoByKeyResp
- type InstanceDeliverableItem
- type ManHourRecord
- type MultiText
- type MultiTextDetail
- type NodeBasicInfo
- type NodeOperateReq
- type NodeOperateReqBody
- type NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) Action(action string) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) Build() *NodeOperateReq
- func (builder *NodeOperateReqBuilder) Fields(fields []*field.FieldValuePair) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) NodeID(nodeID string) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) NodeOwners(nodeOwners []string) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) NodeSchedule(nodeSchedule *Schedule) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) ProjectKey(projectKey string) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) RoleAssignee(roleAssignee []*user.RoleOwner) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) RollbackReason(rollbackReason string) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) Schedules(schedules []*Schedule) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) WorkItemID(workItemID int64) *NodeOperateReqBuilder
- func (builder *NodeOperateReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeOperateReqBuilder
- type NodeOperateResp
- type NodeStateChangeReq
- type NodeStateChangeReqBody
- type NodeStateChangeReqBuilder
- func (builder *NodeStateChangeReqBuilder) Build() *NodeStateChangeReq
- func (builder *NodeStateChangeReqBuilder) Fields(fields []*field.FieldValuePair) *NodeStateChangeReqBuilder
- func (builder *NodeStateChangeReqBuilder) ProjectKey(projectKey string) *NodeStateChangeReqBuilder
- func (builder *NodeStateChangeReqBuilder) RoleOwners(roleOwners []*user.RoleOwner) *NodeStateChangeReqBuilder
- func (builder *NodeStateChangeReqBuilder) TransitionID(transitionID int64) *NodeStateChangeReqBuilder
- func (builder *NodeStateChangeReqBuilder) WorkItemID(workItemID int64) *NodeStateChangeReqBuilder
- func (builder *NodeStateChangeReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeStateChangeReqBuilder
- type NodeStateChangeResp
- type NodeTask
- type NodeUpdateReq
- type NodeUpdateReqBody
- type NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) Build() *NodeUpdateReq
- func (builder *NodeUpdateReqBuilder) Fields(fields []*field.FieldValuePair) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) NodeID(nodeID string) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) NodeOwners(nodeOwners []string) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) NodeSchedule(nodeSchedule *Schedule) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) ProjectKey(projectKey string) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) RoleAssignee(roleAssignee []*user.RoleOwner) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) Schedules(schedules []*Schedule) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) WorkItemID(workItemID int64) *NodeUpdateReqBuilder
- func (builder *NodeUpdateReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeUpdateReqBuilder
- type NodeUpdateResp
- type NodesConnections
- type OptionConf
- type QueryWorkItemDetailReq
- type QueryWorkItemDetailReqBody
- type QueryWorkItemDetailReqBuilder
- func (builder *QueryWorkItemDetailReqBuilder) Build() *QueryWorkItemDetailReq
- func (builder *QueryWorkItemDetailReqBuilder) Expand(expand *Expand) *QueryWorkItemDetailReqBuilder
- func (builder *QueryWorkItemDetailReqBuilder) Fields(fields []string) *QueryWorkItemDetailReqBuilder
- func (builder *QueryWorkItemDetailReqBuilder) ProjectKey(projectKey string) *QueryWorkItemDetailReqBuilder
- func (builder *QueryWorkItemDetailReqBuilder) WorkItemIDs(workItemIDs []int64) *QueryWorkItemDetailReqBuilder
- func (builder *QueryWorkItemDetailReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryWorkItemDetailReqBuilder
- type QueryWorkItemDetailResp
- type QueryWorkItemRelationReq
- type QueryWorkItemRelationReqBuilder
- type QueryWorkItemRelationResp
- type QueryWorkflowReq
- type QueryWorkflowReqBody
- type QueryWorkflowReqBuilder
- func (builder *QueryWorkflowReqBuilder) Build() *QueryWorkflowReq
- func (builder *QueryWorkflowReqBuilder) Expand(expand *Expand) *QueryWorkflowReqBuilder
- func (builder *QueryWorkflowReqBuilder) Fields(fields []string) *QueryWorkflowReqBuilder
- func (builder *QueryWorkflowReqBuilder) FlowType(flowType int64) *QueryWorkflowReqBuilder
- func (builder *QueryWorkflowReqBuilder) ProjectKey(projectKey string) *QueryWorkflowReqBuilder
- func (builder *QueryWorkflowReqBuilder) WorkItemID(workItemID int64) *QueryWorkflowReqBuilder
- func (builder *QueryWorkflowReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryWorkflowReqBuilder
- type QueryWorkflowResp
- type RelationDetail
- type RelationFieldDetail
- type Schedule
- type SearchByParamsReq
- type SearchByParamsReqBody
- type SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) Build() *SearchByParamsReq
- func (builder *SearchByParamsReqBuilder) Expand(expand *Expand) *SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) Fields(fields []string) *SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) PageNum(pageNum int64) *SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) PageSize(pageSize int64) *SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) ProjectKey(projectKey string) *SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) SearchGroup(searchGroup *SearchGroup) *SearchByParamsReqBuilder
- func (builder *SearchByParamsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *SearchByParamsReqBuilder
- type SearchByParamsResp
- type SearchByRelationReq
- type SearchByRelationReqBody
- type SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) Build() *SearchByRelationReq
- func (builder *SearchByRelationReqBuilder) Expand(expand *Expand) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) PageNum(pageNum int64) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) PageSize(pageSize int64) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) ProjectKey(projectKey string) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) RelationKey(relationKey string) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) RelationType(relationType int32) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) RelationWorkItemTypeKey(relationWorkItemTypeKey string) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) WorkItemID(workItemID int64) *SearchByRelationReqBuilder
- func (builder *SearchByRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *SearchByRelationReqBuilder
- type SearchByRelationResp
- type SearchGroup
- type SearchParam
- type SearchUser
- type StateFlowNode
- type StateTime
- type SubTask
- type SubTaskParentInfo
- type TimeInterval
- type UnionDeliverable
- type UpdateMultiSignalReq
- type UpdateMultiSignalReqBody
- type UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) Build() *UpdateMultiSignalReq
- func (builder *UpdateMultiSignalReqBuilder) Details(details []*field.MultiSignalDetail) *UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) FieldAlias(fieldAlias string) *UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) FieldKey(fieldKey string) *UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) ProjectKey(projectKey string) *UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) UpdateType(updateType string) *UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) WorkItemID(workItemID int64) *UpdateMultiSignalReqBuilder
- func (builder *UpdateMultiSignalReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateMultiSignalReqBuilder
- type UpdateMultiSignalResp
- type UpdateWorkItemRelationReq
- type UpdateWorkItemRelationReqBody
- type UpdateWorkItemRelationReqBuilder
- func (builder *UpdateWorkItemRelationReqBuilder) Build() *UpdateWorkItemRelationReq
- func (builder *UpdateWorkItemRelationReqBuilder) Name(name string) *UpdateWorkItemRelationReqBuilder
- func (builder *UpdateWorkItemRelationReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemRelationReqBuilder
- func (builder *UpdateWorkItemRelationReqBuilder) RelationDetails(relationDetails []*RelationDetail) *UpdateWorkItemRelationReqBuilder
- func (builder *UpdateWorkItemRelationReqBuilder) RelationID(relationID string) *UpdateWorkItemRelationReqBuilder
- func (builder *UpdateWorkItemRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemRelationReqBuilder
- type UpdateWorkItemRelationResp
- type UpdateWorkItemReq
- type UpdateWorkItemReqBody
- type UpdateWorkItemReqBuilder
- func (builder *UpdateWorkItemReqBuilder) Build() *UpdateWorkItemReq
- func (builder *UpdateWorkItemReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemReqBuilder
- func (builder *UpdateWorkItemReqBuilder) UpdateFields(updateFields []*field.FieldValuePair) *UpdateWorkItemReqBuilder
- func (builder *UpdateWorkItemReqBuilder) WorkItemID(workItemID int64) *UpdateWorkItemReqBuilder
- func (builder *UpdateWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemReqBuilder
- type UpdateWorkItemResp
- type UpdateWorkItemTypeInfoReq
- type UpdateWorkItemTypeInfoReqBody
- type UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeFieldKey(actualWorkTimeFieldKey string) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeSwitch(actualWorkTimeSwitch bool) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) BelongRoleKeys(belongRoleKeys []string) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) Build() *UpdateWorkItemTypeInfoReq
- func (builder *UpdateWorkItemTypeInfoReqBuilder) Description(description string) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) EnableSchedule(enableSchedule bool) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) EstimatePointFieldKey(estimatePointFieldKey string) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) IsDisabled(isDisabled bool) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) IsPinned(isPinned bool) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) ScheduleFieldKey(scheduleFieldKey string) *UpdateWorkItemTypeInfoReqBuilder
- func (builder *UpdateWorkItemTypeInfoReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemTypeInfoReqBuilder
- type UpdateWorkItemTypeInfoResp
- type UpdateWorkingHourRecord
- type UpdateWorkingHourRecordReq
- type UpdateWorkingHourRecordReqBody
- type UpdateWorkingHourRecordReqBuilder
- func (builder *UpdateWorkingHourRecordReqBuilder) Build() *UpdateWorkingHourRecordReq
- func (builder *UpdateWorkingHourRecordReqBuilder) ProjectKey(projectKey string) *UpdateWorkingHourRecordReqBuilder
- func (builder *UpdateWorkingHourRecordReqBuilder) WorkItemID(workItemID int64) *UpdateWorkingHourRecordReqBuilder
- func (builder *UpdateWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkingHourRecordReqBuilder
- func (builder *UpdateWorkingHourRecordReqBuilder) WorkingHourRecords(workingHourRecords []*UpdateWorkingHourRecord) *UpdateWorkingHourRecordReqBuilder
- type UpdateWorkingHourRecordResp
- type WBSParentWorkItem
- type WBSWorkItem
- type WbsViewReq
- type WbsViewReqBody
- type WbsViewReqBuilder
- func (builder *WbsViewReqBuilder) Build() *WbsViewReq
- func (builder *WbsViewReqBuilder) Expand(expand *Expand) *WbsViewReqBuilder
- func (builder *WbsViewReqBuilder) ProjectKey(projectKey string) *WbsViewReqBuilder
- func (builder *WbsViewReqBuilder) WorkItemID(workItemID int64) *WbsViewReqBuilder
- func (builder *WbsViewReqBuilder) WorkItemTypeKey(workItemTypeKey string) *WbsViewReqBuilder
- type WbsViewResp
- type WbsViewResponse
- type WorkItemInfo
- type WorkItemKeyType
- type WorkItemRelation
- type WorkItemService
- func (a *WorkItemService) AbortWorkItem(ctx context.Context, req *AbortWorkItemReq, options ...core.RequestOptionFunc) (*AbortWorkItemResp, error)
- func (a *WorkItemService) CompositiveSearch(ctx context.Context, req *CompositiveSearchReq, ...) (*CompositiveSearchResp, error)
- func (a *WorkItemService) CreateWorkItem(ctx context.Context, req *CreateWorkItemReq, options ...core.RequestOptionFunc) (*CreateWorkItemResp, error)
- func (a *WorkItemService) CreateWorkItemRelation(ctx context.Context, req *CreateWorkItemRelationReq, ...) (*CreateWorkItemRelationResp, error)
- func (a *WorkItemService) CreateWorkingHourRecord(ctx context.Context, req *CreateWorkingHourRecordReq, ...) (*CreateWorkingHourRecordResp, error)
- func (a *WorkItemService) DeleteWorkItem(ctx context.Context, req *DeleteWorkItemReq, options ...core.RequestOptionFunc) (*DeleteWorkItemResp, error)
- func (a *WorkItemService) DeleteWorkItemRelation(ctx context.Context, req *DeleteWorkItemRelationReq, ...) (*DeleteWorkItemRelationResp, error)
- func (a *WorkItemService) DeleteWorkingHourRecord(ctx context.Context, req *DeleteWorkingHourRecordReq, ...) (*DeleteWorkingHourRecordResp, error)
- func (a *WorkItemService) Filter(ctx context.Context, req *FilterReq, options ...core.RequestOptionFunc) (*FilterResp, error)
- func (a *WorkItemService) FilterAcrossProject(ctx context.Context, req *FilterAcrossProjectReq, ...) (*FilterAcrossProjectResp, error)
- func (a *WorkItemService) GetMeta(ctx context.Context, req *GetMetaReq, options ...core.RequestOptionFunc) (*GetMetaResp, error)
- func (a *WorkItemService) GetWorkItemManHourRecords(ctx context.Context, req *GetWorkItemManHourRecordsReq, ...) (*GetWorkItemManHourRecordsResp, error)
- func (a *WorkItemService) GetWorkItemTypeInfoByKey(ctx context.Context, req *GetWorkItemTypeInfoByKeyReq, ...) (*GetWorkItemTypeInfoByKeyResp, error)
- func (a *WorkItemService) NodeOperate(ctx context.Context, req *NodeOperateReq, options ...core.RequestOptionFunc) (*NodeOperateResp, error)
- func (a *WorkItemService) NodeStateChange(ctx context.Context, req *NodeStateChangeReq, ...) (*NodeStateChangeResp, error)
- func (a *WorkItemService) NodeUpdate(ctx context.Context, req *NodeUpdateReq, options ...core.RequestOptionFunc) (*NodeUpdateResp, error)
- func (a *WorkItemService) QueryWorkItemDetail(ctx context.Context, req *QueryWorkItemDetailReq, ...) (*QueryWorkItemDetailResp, error)
- func (a *WorkItemService) QueryWorkItemRelation(ctx context.Context, req *QueryWorkItemRelationReq, ...) (*QueryWorkItemRelationResp, error)
- func (a *WorkItemService) QueryWorkflow(ctx context.Context, req *QueryWorkflowReq, options ...core.RequestOptionFunc) (*QueryWorkflowResp, error)
- func (a *WorkItemService) SearchByParams(ctx context.Context, req *SearchByParamsReq, options ...core.RequestOptionFunc) (*SearchByParamsResp, error)
- func (a *WorkItemService) SearchByRelation(ctx context.Context, req *SearchByRelationReq, ...) (*SearchByRelationResp, error)
- func (a *WorkItemService) UpdateMultiSignal(ctx context.Context, req *UpdateMultiSignalReq, ...) (*UpdateMultiSignalResp, error)
- func (a *WorkItemService) UpdateWorkItem(ctx context.Context, req *UpdateWorkItemReq, options ...core.RequestOptionFunc) (*UpdateWorkItemResp, error)
- func (a *WorkItemService) UpdateWorkItemRelation(ctx context.Context, req *UpdateWorkItemRelationReq, ...) (*UpdateWorkItemRelationResp, error)
- func (a *WorkItemService) UpdateWorkItemTypeInfo(ctx context.Context, req *UpdateWorkItemTypeInfoReq, ...) (*UpdateWorkItemTypeInfoResp, error)
- func (a *WorkItemService) UpdateWorkingHourRecord(ctx context.Context, req *UpdateWorkingHourRecordReq, ...) (*UpdateWorkingHourRecordResp, error)
- func (a *WorkItemService) WbsView(ctx context.Context, req *WbsViewReq, options ...core.RequestOptionFunc) (*WbsViewResp, error)
- type WorkItemStatus
- type WorkItemTypeInfo
- type WorkflowNode
Constants ¶
View Source
const APIPathAbortWorkItem = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/abort"
View Source
const APIPathCompositiveSearch = "/open_api/compositive_search"
View Source
const APIPathCreateWorkItem = "/open_api/:project_key/work_item/create"
View Source
const APIPathCreateWorkItemRelation = "/open_api/work_item/relation/create"
View Source
const APIPathCreateWorkingHourRecord = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/work_hour_record"
View Source
const APIPathDeleteWorkItem = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id"
View Source
const APIPathDeleteWorkItemRelation = "/open_api/work_item/relation/delete"
View Source
const APIPathDeleteWorkingHourRecord = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/work_hour_record"
View Source
const APIPathFilter = "/open_api/:project_key/work_item/filter"
View Source
const APIPathFilterAcrossProject = "/open_api/work_items/filter_across_project"
View Source
const APIPathGetMeta = "/open_api/:project_key/work_item/:work_item_type_key/meta"
View Source
const APIPathGetWorkItemManHourRecords = "/open_api/work_item/man_hour/records"
View Source
const APIPathGetWorkItemTypeInfoByKey = "/open_api/:project_key/work_item/type/:work_item_type_key"
View Source
const APIPathNodeOperate = "/open_api/:project_key/workflow/:work_item_type_key/:work_item_id/node/:node_id/operate"
View Source
const APIPathNodeStateChange = "/open_api/:project_key/workflow/:work_item_type_key/:work_item_id/node/state_change"
View Source
const APIPathNodeUpdate = "/open_api/:project_key/workflow/:work_item_type_key/:work_item_id/node/:node_id"
View Source
const APIPathQueryWorkItemDetail = "/open_api/:project_key/work_item/:work_item_type_key/query"
View Source
const APIPathQueryWorkItemRelation = "/open_api/:project_key/work_item/relation"
View Source
const APIPathQueryWorkflow = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/workflow/query"
View Source
const APIPathSearchByParams = "/open_api/:project_key/work_item/:work_item_type_key/search/params"
View Source
const APIPathSearchByRelation = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/search_by_relation"
View Source
const APIPathUpdateMultiSignal = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/update/multi_signal"
View Source
const APIPathUpdateWorkItem = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id"
View Source
const APIPathUpdateWorkItemRelation = "/open_api/work_item/relation/update"
View Source
const APIPathUpdateWorkItemTypeInfo = "/open_api/:project_key/work_item/type/:work_item_type_key"
View Source
const APIPathUpdateWorkingHourRecord = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/work_hour_record"
View Source
const APIPathWbsView = "/open_api/:project_key/work_item/:work_item_type_key/:work_item_id/wbs_view"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortWorkItemReq ¶
type AbortWorkItemReq struct {
// contains filtered or unexported fields
}
type AbortWorkItemReqBody ¶
type AbortWorkItemReqBuilder ¶
type AbortWorkItemReqBuilder struct {
// contains filtered or unexported fields
}
func NewAbortWorkItemReqBuilder ¶
func NewAbortWorkItemReqBuilder() *AbortWorkItemReqBuilder
func (*AbortWorkItemReqBuilder) Build ¶
func (builder *AbortWorkItemReqBuilder) Build() *AbortWorkItemReq
func (*AbortWorkItemReqBuilder) IsAborted ¶
func (builder *AbortWorkItemReqBuilder) IsAborted(isAborted bool) *AbortWorkItemReqBuilder
func (*AbortWorkItemReqBuilder) ProjectKey ¶
func (builder *AbortWorkItemReqBuilder) ProjectKey(projectKey string) *AbortWorkItemReqBuilder
func (*AbortWorkItemReqBuilder) Reason ¶
func (builder *AbortWorkItemReqBuilder) Reason(reason string) *AbortWorkItemReqBuilder
func (*AbortWorkItemReqBuilder) WorkItemID ¶
func (builder *AbortWorkItemReqBuilder) WorkItemID(workItemID int64) *AbortWorkItemReqBuilder
func (*AbortWorkItemReqBuilder) WorkItemTypeKey ¶
func (builder *AbortWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *AbortWorkItemReqBuilder
type CompInfo ¶
type CompInfo struct { ID string `json:"ID"` Name string `json:"name"` WorkItemTypeKey string `json:"WorkItemTypeKey"` ProjectKey string `json:"ProjectKey"` CreatedBy string `json:"CreatedBy"` CreatedAt int64 `json:"CreatedAt"` SearchHit []string `json:"SearchHit"` ViewScopeKey string `json:"ViewScopeKey"` ProjectKeys []string `json:"ProjectKeys"` }
type CompositiveSearchReq ¶
type CompositiveSearchReq struct {
// contains filtered or unexported fields
}
type CompositiveSearchReqBody ¶
type CompositiveSearchReqBody struct { ProjectKeys []string `json:"project_keys"` QueryType string `json:"query_type"` Query string `json:"query"` QuerySubType []string `json:"query_sub_type"` PageSize int64 `json:"page_size"` PageNum int64 `json:"page_num"` SimpleNames []string `json:"simple_names"` }
type CompositiveSearchReqBuilder ¶
type CompositiveSearchReqBuilder struct {
// contains filtered or unexported fields
}
func NewCompositiveSearchReqBuilder ¶
func NewCompositiveSearchReqBuilder() *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) Build ¶
func (builder *CompositiveSearchReqBuilder) Build() *CompositiveSearchReq
func (*CompositiveSearchReqBuilder) PageNum ¶
func (builder *CompositiveSearchReqBuilder) PageNum(pageNum int64) *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) PageSize ¶
func (builder *CompositiveSearchReqBuilder) PageSize(pageSize int64) *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) ProjectKeys ¶
func (builder *CompositiveSearchReqBuilder) ProjectKeys(projectKeys []string) *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) Query ¶
func (builder *CompositiveSearchReqBuilder) Query(query string) *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) QuerySubType ¶
func (builder *CompositiveSearchReqBuilder) QuerySubType(querySubType []string) *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) QueryType ¶
func (builder *CompositiveSearchReqBuilder) QueryType(queryType string) *CompositiveSearchReqBuilder
func (*CompositiveSearchReqBuilder) SimpleNames ¶
func (builder *CompositiveSearchReqBuilder) SimpleNames(simpleNames []string) *CompositiveSearchReqBuilder
type CompositiveSearchResp ¶
type Connection ¶
type CreateWorkItemRelationData ¶
type CreateWorkItemRelationData struct {
RelationID string `json:"relation_id"`
}
type CreateWorkItemRelationReq ¶
type CreateWorkItemRelationReq struct {
// contains filtered or unexported fields
}
type CreateWorkItemRelationReqBody ¶
type CreateWorkItemRelationReqBody struct { ProjectKey string `json:"project_key"` WorkItemTypeKey string `json:"work_item_type_key"` Name string `json:"name"` RelationDetails []*RelationDetail `json:"relation_details"` }
type CreateWorkItemRelationReqBuilder ¶
type CreateWorkItemRelationReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateWorkItemRelationReqBuilder ¶
func NewCreateWorkItemRelationReqBuilder() *CreateWorkItemRelationReqBuilder
func (*CreateWorkItemRelationReqBuilder) Build ¶
func (builder *CreateWorkItemRelationReqBuilder) Build() *CreateWorkItemRelationReq
func (*CreateWorkItemRelationReqBuilder) Name ¶
func (builder *CreateWorkItemRelationReqBuilder) Name(name string) *CreateWorkItemRelationReqBuilder
func (*CreateWorkItemRelationReqBuilder) ProjectKey ¶
func (builder *CreateWorkItemRelationReqBuilder) ProjectKey(projectKey string) *CreateWorkItemRelationReqBuilder
func (*CreateWorkItemRelationReqBuilder) RelationDetails ¶
func (builder *CreateWorkItemRelationReqBuilder) RelationDetails(relationDetails []*RelationDetail) *CreateWorkItemRelationReqBuilder
func (*CreateWorkItemRelationReqBuilder) WorkItemTypeKey ¶
func (builder *CreateWorkItemRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkItemRelationReqBuilder
type CreateWorkItemRelationResp ¶
type CreateWorkItemRelationResp struct { *core.APIResp `json:"-"` core.CodeError Data *CreateWorkItemRelationData `json:"data"` }
type CreateWorkItemReq ¶
type CreateWorkItemReq struct {
// contains filtered or unexported fields
}
type CreateWorkItemReqBody ¶
type CreateWorkItemReqBody struct { WorkItemTypeKey string `json:"work_item_type_key"` FieldValuePairs []*field.FieldValuePair `json:"field_value_pairs"` TemplateID int64 `json:"template_id"` Name string `json:"name"` }
type CreateWorkItemReqBuilder ¶
type CreateWorkItemReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateWorkItemReqBuilder ¶
func NewCreateWorkItemReqBuilder() *CreateWorkItemReqBuilder
func (*CreateWorkItemReqBuilder) Build ¶
func (builder *CreateWorkItemReqBuilder) Build() *CreateWorkItemReq
func (*CreateWorkItemReqBuilder) FieldValuePairs ¶
func (builder *CreateWorkItemReqBuilder) FieldValuePairs(fieldValuePairs []*field.FieldValuePair) *CreateWorkItemReqBuilder
func (*CreateWorkItemReqBuilder) Name ¶
func (builder *CreateWorkItemReqBuilder) Name(name string) *CreateWorkItemReqBuilder
func (*CreateWorkItemReqBuilder) ProjectKey ¶
func (builder *CreateWorkItemReqBuilder) ProjectKey(projectKey string) *CreateWorkItemReqBuilder
func (*CreateWorkItemReqBuilder) TemplateID ¶
func (builder *CreateWorkItemReqBuilder) TemplateID(templateID int64) *CreateWorkItemReqBuilder
func (*CreateWorkItemReqBuilder) WorkItemTypeKey ¶
func (builder *CreateWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkItemReqBuilder
type CreateWorkItemResp ¶
type CreateWorkingHourRecord ¶
type CreateWorkingHourRecordReq ¶
type CreateWorkingHourRecordReq struct {
// contains filtered or unexported fields
}
type CreateWorkingHourRecordReqBody ¶
type CreateWorkingHourRecordReqBody struct { WorkBeginDate int64 `json:"work_begin_date"` WorkEndDate int64 `json:"work_end_date"` IncludeHolidays bool `json:"include_holidays"` WorkingHourRecords []*CreateWorkingHourRecord `json:"working_hour_records"` }
type CreateWorkingHourRecordReqBuilder ¶
type CreateWorkingHourRecordReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateWorkingHourRecordReqBuilder ¶
func NewCreateWorkingHourRecordReqBuilder() *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) Build ¶
func (builder *CreateWorkingHourRecordReqBuilder) Build() *CreateWorkingHourRecordReq
func (*CreateWorkingHourRecordReqBuilder) IncludeHolidays ¶
func (builder *CreateWorkingHourRecordReqBuilder) IncludeHolidays(includeHolidays bool) *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) ProjectKey ¶
func (builder *CreateWorkingHourRecordReqBuilder) ProjectKey(projectKey string) *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) WorkBeginDate ¶
func (builder *CreateWorkingHourRecordReqBuilder) WorkBeginDate(workBeginDate int64) *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) WorkEndDate ¶
func (builder *CreateWorkingHourRecordReqBuilder) WorkEndDate(workEndDate int64) *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) WorkItemID ¶
func (builder *CreateWorkingHourRecordReqBuilder) WorkItemID(workItemID int64) *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) WorkItemTypeKey ¶
func (builder *CreateWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *CreateWorkingHourRecordReqBuilder
func (*CreateWorkingHourRecordReqBuilder) WorkingHourRecords ¶
func (builder *CreateWorkingHourRecordReqBuilder) WorkingHourRecords(workingHourRecords []*CreateWorkingHourRecord) *CreateWorkingHourRecordReqBuilder
type CreateWorkingHourRecordResp ¶
type CreateWorkingHourRecordResp struct { *core.APIResp `json:"-"` core.CodeError Data []*ManHourRecord `json:"data"` }
type DefaultValue ¶
type DefaultValue struct { DefaultAppear int32 `json:"default_appear"` Value interface{} `json:"value"` }
type DeleteWorkItemRelationReq ¶
type DeleteWorkItemRelationReq struct {
// contains filtered or unexported fields
}
type DeleteWorkItemRelationReqBuilder ¶
type DeleteWorkItemRelationReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteWorkItemRelationReqBuilder ¶
func NewDeleteWorkItemRelationReqBuilder() *DeleteWorkItemRelationReqBuilder
func (*DeleteWorkItemRelationReqBuilder) Build ¶
func (builder *DeleteWorkItemRelationReqBuilder) Build() *DeleteWorkItemRelationReq
func (*DeleteWorkItemRelationReqBuilder) ProjectKey ¶
func (builder *DeleteWorkItemRelationReqBuilder) ProjectKey(projectKey string) *DeleteWorkItemRelationReqBuilder
func (*DeleteWorkItemRelationReqBuilder) RelationID ¶
func (builder *DeleteWorkItemRelationReqBuilder) RelationID(relationID string) *DeleteWorkItemRelationReqBuilder
type DeleteWorkItemReq ¶
type DeleteWorkItemReq struct {
// contains filtered or unexported fields
}
type DeleteWorkItemReqBuilder ¶
type DeleteWorkItemReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteWorkItemReqBuilder ¶
func NewDeleteWorkItemReqBuilder() *DeleteWorkItemReqBuilder
func (*DeleteWorkItemReqBuilder) Build ¶
func (builder *DeleteWorkItemReqBuilder) Build() *DeleteWorkItemReq
func (*DeleteWorkItemReqBuilder) ProjectKey ¶
func (builder *DeleteWorkItemReqBuilder) ProjectKey(projectKey string) *DeleteWorkItemReqBuilder
func (*DeleteWorkItemReqBuilder) WorkItemID ¶
func (builder *DeleteWorkItemReqBuilder) WorkItemID(workItemID int64) *DeleteWorkItemReqBuilder
func (*DeleteWorkItemReqBuilder) WorkItemTypeKey ¶
func (builder *DeleteWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *DeleteWorkItemReqBuilder
type DeleteWorkItemResp ¶
type DeleteWorkingHourRecordReq ¶
type DeleteWorkingHourRecordReq struct {
// contains filtered or unexported fields
}
type DeleteWorkingHourRecordReqBody ¶
type DeleteWorkingHourRecordReqBody struct {
WorkingHourRecordIDs []int64 `json:"working_hour_record_ids"`
}
type DeleteWorkingHourRecordReqBuilder ¶
type DeleteWorkingHourRecordReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteWorkingHourRecordReqBuilder ¶
func NewDeleteWorkingHourRecordReqBuilder() *DeleteWorkingHourRecordReqBuilder
func (*DeleteWorkingHourRecordReqBuilder) Build ¶
func (builder *DeleteWorkingHourRecordReqBuilder) Build() *DeleteWorkingHourRecordReq
func (*DeleteWorkingHourRecordReqBuilder) ProjectKey ¶
func (builder *DeleteWorkingHourRecordReqBuilder) ProjectKey(projectKey string) *DeleteWorkingHourRecordReqBuilder
func (*DeleteWorkingHourRecordReqBuilder) WorkItemID ¶
func (builder *DeleteWorkingHourRecordReqBuilder) WorkItemID(workItemID int64) *DeleteWorkingHourRecordReqBuilder
func (*DeleteWorkingHourRecordReqBuilder) WorkItemTypeKey ¶
func (builder *DeleteWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *DeleteWorkingHourRecordReqBuilder
func (*DeleteWorkingHourRecordReqBuilder) WorkingHourRecordIDs ¶
func (builder *DeleteWorkingHourRecordReqBuilder) WorkingHourRecordIDs(workingHourRecordIDs []int64) *DeleteWorkingHourRecordReqBuilder
type Expand ¶
type Expand struct { NeedWorkflow bool `json:"need_workflow"` RelationFieldsDetail bool `json:"relation_fields_detail"` NeedMultiText bool `json:"need_multi_text"` NeedUserDetail bool `json:"need_user_detail"` NeedSubTaskParent bool `json:"need_sub_task_parent"` NeedUnionDeliverable bool `json:"need_union_deliverable"` }
type FieldConf ¶
type FieldConf struct { IsRequired int32 `json:"is_required"` IsVisibility int32 `json:"is_visibility"` RoleAssign []*user.RoleAssign `json:"role_assign"` FieldName string `json:"field_name"` FieldKey string `json:"field_key"` FieldAlias string `json:"field_alias"` FieldTypeKey string `json:"field_type_key"` DefaultValue *DefaultValue `json:"default_value"` Options []*OptionConf `json:"options"` CompoundFields []*FieldConf `json:"compound_fields"` IsValidity int32 `json:"is_validity"` Label string `json:"label"` }
type FieldDeliverableItem ¶ added in v1.0.8
type FieldDeliverableItem struct { FieldInfo field.FieldValuePair `json:"field_info"` Placeholder string `json:"placeholder"` Remark string `json:"remark"` Status int64 `json:"status"` }
type FieldDetail ¶
type FilterAcrossProjectReq ¶
type FilterAcrossProjectReq struct {
// contains filtered or unexported fields
}
type FilterAcrossProjectReqBody ¶
type FilterAcrossProjectReqBody struct { ProjectKeys []string `json:"project_keys"` SearchUser *SearchUser `json:"search_user"` WorkItemTypeKey string `json:"work_item_type_key"` CreatedAt *TimeInterval `json:"created_at"` UpdatedAt *TimeInterval `json:"updated_at"` WorkItemStatus []*WorkItemStatus `json:"work_item_status"` WorkItemName string `json:"work_item_name"` PageNum int64 `json:"page_num"` PageSize int64 `json:"page_size"` TenantGroupID int64 `json:"tenant_group_id"` WorkItemIDs []int64 `json:"work_item_ids"` Businesses []string `json:"businesses"` Priorities []string `json:"priorities"` Tags []string `json:"tags"` SimpleNames []string `json:"simple_names"` TemplateIDs []int64 `json:"template_ids"` Expand *Expand `json:"expand"` }
type FilterAcrossProjectReqBuilder ¶
type FilterAcrossProjectReqBuilder struct {
// contains filtered or unexported fields
}
func NewFilterAcrossProjectReqBuilder ¶
func NewFilterAcrossProjectReqBuilder() *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) Build ¶
func (builder *FilterAcrossProjectReqBuilder) Build() *FilterAcrossProjectReq
func (*FilterAcrossProjectReqBuilder) Businesses ¶
func (builder *FilterAcrossProjectReqBuilder) Businesses(businesses []string) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) CreatedAt ¶
func (builder *FilterAcrossProjectReqBuilder) CreatedAt(createdAt *TimeInterval) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) Expand ¶
func (builder *FilterAcrossProjectReqBuilder) Expand(expand *Expand) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) PageNum ¶
func (builder *FilterAcrossProjectReqBuilder) PageNum(pageNum int64) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) PageSize ¶
func (builder *FilterAcrossProjectReqBuilder) PageSize(pageSize int64) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) Priorities ¶
func (builder *FilterAcrossProjectReqBuilder) Priorities(priorities []string) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) ProjectKeys ¶
func (builder *FilterAcrossProjectReqBuilder) ProjectKeys(projectKeys []string) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) SearchUser ¶
func (builder *FilterAcrossProjectReqBuilder) SearchUser(searchUser *SearchUser) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) SimpleNames ¶
func (builder *FilterAcrossProjectReqBuilder) SimpleNames(simpleNames []string) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) Tags ¶
func (builder *FilterAcrossProjectReqBuilder) Tags(tags []string) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) TemplateIDs ¶
func (builder *FilterAcrossProjectReqBuilder) TemplateIDs(templateIDs []int64) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) TenantGroupID ¶
func (builder *FilterAcrossProjectReqBuilder) TenantGroupID(tenantGroupID int64) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) UpdatedAt ¶
func (builder *FilterAcrossProjectReqBuilder) UpdatedAt(updatedAt *TimeInterval) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) WorkItemIDs ¶
func (builder *FilterAcrossProjectReqBuilder) WorkItemIDs(workItemIDs []int64) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) WorkItemName ¶
func (builder *FilterAcrossProjectReqBuilder) WorkItemName(workItemName string) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) WorkItemStatus ¶
func (builder *FilterAcrossProjectReqBuilder) WorkItemStatus(workItemStatus []*WorkItemStatus) *FilterAcrossProjectReqBuilder
func (*FilterAcrossProjectReqBuilder) WorkItemTypeKey ¶
func (builder *FilterAcrossProjectReqBuilder) WorkItemTypeKey(workItemTypeKey string) *FilterAcrossProjectReqBuilder
type FilterAcrossProjectResp ¶
type FilterAcrossProjectResp struct { *core.APIResp `json:"-"` core.CodeError Data []*WorkItemInfo `json:"data"` Pagination *common.Pagination `json:"pagination"` }
type FilterReqBody ¶
type FilterReqBody struct { WorkItemName string `json:"work_item_name"` UserKeys []string `json:"user_keys"` WorkItemIDs []int64 `json:"work_item_ids"` WorkItemTypeKeys []string `json:"work_item_type_keys"` CreatedAt *TimeInterval `json:"created_at"` UpdatedAt *TimeInterval `json:"updated_at"` SubStages []string `json:"sub_stages"` Businesses []string `json:"businesses"` Priorities []string `json:"priorities"` Tags []string `json:"tags"` PageNum int64 `json:"page_num"` PageSize int64 `json:"page_size"` WorkItemStatus []*WorkItemStatus `json:"work_item_status"` SearchID string `json:"search_id"` Expand *Expand `json:"expand"` }
type FilterReqBuilder ¶
type FilterReqBuilder struct {
// contains filtered or unexported fields
}
func NewFilterReqBuilder ¶
func NewFilterReqBuilder() *FilterReqBuilder
func (*FilterReqBuilder) Build ¶
func (builder *FilterReqBuilder) Build() *FilterReq
func (*FilterReqBuilder) Businesses ¶
func (builder *FilterReqBuilder) Businesses(businesses []string) *FilterReqBuilder
func (*FilterReqBuilder) CreatedAt ¶
func (builder *FilterReqBuilder) CreatedAt(createdAt *TimeInterval) *FilterReqBuilder
func (*FilterReqBuilder) Expand ¶
func (builder *FilterReqBuilder) Expand(expand *Expand) *FilterReqBuilder
func (*FilterReqBuilder) PageNum ¶
func (builder *FilterReqBuilder) PageNum(pageNum int64) *FilterReqBuilder
func (*FilterReqBuilder) PageSize ¶
func (builder *FilterReqBuilder) PageSize(pageSize int64) *FilterReqBuilder
func (*FilterReqBuilder) Priorities ¶
func (builder *FilterReqBuilder) Priorities(priorities []string) *FilterReqBuilder
func (*FilterReqBuilder) ProjectKey ¶
func (builder *FilterReqBuilder) ProjectKey(projectKey string) *FilterReqBuilder
func (*FilterReqBuilder) SearchID ¶ added in v1.0.5
func (builder *FilterReqBuilder) SearchID(searchID string) *FilterReqBuilder
func (*FilterReqBuilder) SubStages ¶
func (builder *FilterReqBuilder) SubStages(subStages []string) *FilterReqBuilder
func (*FilterReqBuilder) Tags ¶
func (builder *FilterReqBuilder) Tags(tags []string) *FilterReqBuilder
func (*FilterReqBuilder) UpdatedAt ¶
func (builder *FilterReqBuilder) UpdatedAt(updatedAt *TimeInterval) *FilterReqBuilder
func (*FilterReqBuilder) UserKeys ¶
func (builder *FilterReqBuilder) UserKeys(userKeys []string) *FilterReqBuilder
func (*FilterReqBuilder) WorkItemIDs ¶
func (builder *FilterReqBuilder) WorkItemIDs(workItemIDs []int64) *FilterReqBuilder
func (*FilterReqBuilder) WorkItemName ¶
func (builder *FilterReqBuilder) WorkItemName(workItemName string) *FilterReqBuilder
func (*FilterReqBuilder) WorkItemStatus ¶
func (builder *FilterReqBuilder) WorkItemStatus(workItemStatus []*WorkItemStatus) *FilterReqBuilder
func (*FilterReqBuilder) WorkItemTypeKeys ¶
func (builder *FilterReqBuilder) WorkItemTypeKeys(workItemTypeKeys []string) *FilterReqBuilder
type FilterResp ¶
type FilterResp struct { *core.APIResp `json:"-"` core.CodeError Data []*WorkItemInfo `json:"data"` Pagination *common.Pagination `json:"pagination"` }
type GetMetaReq ¶
type GetMetaReq struct {
// contains filtered or unexported fields
}
type GetMetaReqBuilder ¶
type GetMetaReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetMetaReqBuilder ¶
func NewGetMetaReqBuilder() *GetMetaReqBuilder
func (*GetMetaReqBuilder) Build ¶
func (builder *GetMetaReqBuilder) Build() *GetMetaReq
func (*GetMetaReqBuilder) ProjectKey ¶
func (builder *GetMetaReqBuilder) ProjectKey(projectKey string) *GetMetaReqBuilder
func (*GetMetaReqBuilder) WorkItemTypeKey ¶
func (builder *GetMetaReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetMetaReqBuilder
type GetMetaResp ¶
type GetWorkItemManHourRecordsReq ¶
type GetWorkItemManHourRecordsReq struct {
// contains filtered or unexported fields
}
type GetWorkItemManHourRecordsReqBuilder ¶
type GetWorkItemManHourRecordsReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetWorkItemManHourRecordsReqBuilder ¶
func NewGetWorkItemManHourRecordsReqBuilder() *GetWorkItemManHourRecordsReqBuilder
func (*GetWorkItemManHourRecordsReqBuilder) Build ¶
func (builder *GetWorkItemManHourRecordsReqBuilder) Build() *GetWorkItemManHourRecordsReq
func (*GetWorkItemManHourRecordsReqBuilder) PageNum ¶
func (builder *GetWorkItemManHourRecordsReqBuilder) PageNum(pageNum int64) *GetWorkItemManHourRecordsReqBuilder
func (*GetWorkItemManHourRecordsReqBuilder) PageSize ¶
func (builder *GetWorkItemManHourRecordsReqBuilder) PageSize(pageSize int64) *GetWorkItemManHourRecordsReqBuilder
func (*GetWorkItemManHourRecordsReqBuilder) ProjectKey ¶
func (builder *GetWorkItemManHourRecordsReqBuilder) ProjectKey(projectKey string) *GetWorkItemManHourRecordsReqBuilder
func (*GetWorkItemManHourRecordsReqBuilder) WorkItemID ¶
func (builder *GetWorkItemManHourRecordsReqBuilder) WorkItemID(workItemID int64) *GetWorkItemManHourRecordsReqBuilder
func (*GetWorkItemManHourRecordsReqBuilder) WorkItemTypeKey ¶
func (builder *GetWorkItemManHourRecordsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetWorkItemManHourRecordsReqBuilder
type GetWorkItemManHourRecordsResp ¶
type GetWorkItemManHourRecordsResp struct { *core.APIResp `json:"-"` core.CodeError Data []*ManHourRecord `json:"data"` Pagination *common.Pagination `json:"pagination"` }
type GetWorkItemTypeInfoByKeyReq ¶
type GetWorkItemTypeInfoByKeyReq struct {
// contains filtered or unexported fields
}
type GetWorkItemTypeInfoByKeyReqBuilder ¶
type GetWorkItemTypeInfoByKeyReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetWorkItemTypeInfoByKeyReqBuilder ¶
func NewGetWorkItemTypeInfoByKeyReqBuilder() *GetWorkItemTypeInfoByKeyReqBuilder
func (*GetWorkItemTypeInfoByKeyReqBuilder) Build ¶
func (builder *GetWorkItemTypeInfoByKeyReqBuilder) Build() *GetWorkItemTypeInfoByKeyReq
func (*GetWorkItemTypeInfoByKeyReqBuilder) ProjectKey ¶
func (builder *GetWorkItemTypeInfoByKeyReqBuilder) ProjectKey(projectKey string) *GetWorkItemTypeInfoByKeyReqBuilder
func (*GetWorkItemTypeInfoByKeyReqBuilder) WorkItemTypeKey ¶
func (builder *GetWorkItemTypeInfoByKeyReqBuilder) WorkItemTypeKey(workItemTypeKey string) *GetWorkItemTypeInfoByKeyReqBuilder
type GetWorkItemTypeInfoByKeyResp ¶
type GetWorkItemTypeInfoByKeyResp struct { *core.APIResp `json:"-"` core.CodeError Data *WorkItemTypeInfo `json:"data"` }
type InstanceDeliverableItem ¶ added in v1.0.8
type InstanceDeliverableItem struct { Name string `json:"name"` WorkItemID int64 `json:"work_item_id"` Deletable bool `json:"deletable"` MustComplete bool `json:"must_complete"` StateKey string `json:"state_key"` StateName string `json:"state_name"` Owners []string `json:"owners"` Remark string `json:"remark"` }
type ManHourRecord ¶
type ManHourRecord struct { ID int64 `json:"id"` RelatedWorkItemID int64 `json:"related_work_item_id"` RelatedWorkItemTypeKey string `json:"related_work_item_type_key"` RelatedWorkItemName string `json:"related_work_item_name"` ResourceType string `json:"resource_type"` ResourceID string `json:"resource_id"` WorkDescription string `json:"work_description"` WorkTime float64 `json:"work_time"` WorkUserKey string `json:"work_user_key"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` ResourceName string `json:"resource_name"` WorkDate int64 `json:"work_date"` }
type MultiText ¶
type MultiText struct { FieldKey string `json:"field_key"` FieldValue *MultiTextDetail `json:"field_value"` }
type MultiTextDetail ¶
type NodeBasicInfo ¶
type NodeOperateReq ¶
type NodeOperateReq struct {
// contains filtered or unexported fields
}
type NodeOperateReqBody ¶
type NodeOperateReqBody struct { Action string `json:"action"` RollbackReason string `json:"rollback_reason"` NodeOwners []string `json:"node_owners"` NodeSchedule *Schedule `json:"node_schedule"` Schedules []*Schedule `json:"schedules"` Fields []*field.FieldValuePair `json:"fields"` RoleAssignee []*user.RoleOwner `json:"role_assignee"` }
type NodeOperateReqBuilder ¶
type NodeOperateReqBuilder struct {
// contains filtered or unexported fields
}
func NewNodeOperateReqBuilder ¶
func NewNodeOperateReqBuilder() *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) Action ¶
func (builder *NodeOperateReqBuilder) Action(action string) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) Build ¶
func (builder *NodeOperateReqBuilder) Build() *NodeOperateReq
func (*NodeOperateReqBuilder) Fields ¶
func (builder *NodeOperateReqBuilder) Fields(fields []*field.FieldValuePair) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) NodeID ¶
func (builder *NodeOperateReqBuilder) NodeID(nodeID string) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) NodeOwners ¶
func (builder *NodeOperateReqBuilder) NodeOwners(nodeOwners []string) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) NodeSchedule ¶
func (builder *NodeOperateReqBuilder) NodeSchedule(nodeSchedule *Schedule) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) ProjectKey ¶
func (builder *NodeOperateReqBuilder) ProjectKey(projectKey string) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) RoleAssignee ¶
func (builder *NodeOperateReqBuilder) RoleAssignee(roleAssignee []*user.RoleOwner) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) RollbackReason ¶
func (builder *NodeOperateReqBuilder) RollbackReason(rollbackReason string) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) Schedules ¶
func (builder *NodeOperateReqBuilder) Schedules(schedules []*Schedule) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) WorkItemID ¶
func (builder *NodeOperateReqBuilder) WorkItemID(workItemID int64) *NodeOperateReqBuilder
func (*NodeOperateReqBuilder) WorkItemTypeKey ¶
func (builder *NodeOperateReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeOperateReqBuilder
type NodeStateChangeReq ¶
type NodeStateChangeReq struct {
// contains filtered or unexported fields
}
type NodeStateChangeReqBody ¶
type NodeStateChangeReqBody struct { TransitionID int64 `json:"transition_id"` RoleOwners []*user.RoleOwner `json:"role_owners"` Fields []*field.FieldValuePair `json:"fields"` }
type NodeStateChangeReqBuilder ¶
type NodeStateChangeReqBuilder struct {
// contains filtered or unexported fields
}
func NewNodeStateChangeReqBuilder ¶
func NewNodeStateChangeReqBuilder() *NodeStateChangeReqBuilder
func (*NodeStateChangeReqBuilder) Build ¶
func (builder *NodeStateChangeReqBuilder) Build() *NodeStateChangeReq
func (*NodeStateChangeReqBuilder) Fields ¶
func (builder *NodeStateChangeReqBuilder) Fields(fields []*field.FieldValuePair) *NodeStateChangeReqBuilder
func (*NodeStateChangeReqBuilder) ProjectKey ¶
func (builder *NodeStateChangeReqBuilder) ProjectKey(projectKey string) *NodeStateChangeReqBuilder
func (*NodeStateChangeReqBuilder) RoleOwners ¶
func (builder *NodeStateChangeReqBuilder) RoleOwners(roleOwners []*user.RoleOwner) *NodeStateChangeReqBuilder
func (*NodeStateChangeReqBuilder) TransitionID ¶
func (builder *NodeStateChangeReqBuilder) TransitionID(transitionID int64) *NodeStateChangeReqBuilder
func (*NodeStateChangeReqBuilder) WorkItemID ¶
func (builder *NodeStateChangeReqBuilder) WorkItemID(workItemID int64) *NodeStateChangeReqBuilder
func (*NodeStateChangeReqBuilder) WorkItemTypeKey ¶
func (builder *NodeStateChangeReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeStateChangeReqBuilder
type NodeStateChangeResp ¶
type NodeUpdateReq ¶
type NodeUpdateReq struct {
// contains filtered or unexported fields
}
type NodeUpdateReqBody ¶
type NodeUpdateReqBuilder ¶
type NodeUpdateReqBuilder struct {
// contains filtered or unexported fields
}
func NewNodeUpdateReqBuilder ¶
func NewNodeUpdateReqBuilder() *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) Build ¶
func (builder *NodeUpdateReqBuilder) Build() *NodeUpdateReq
func (*NodeUpdateReqBuilder) Fields ¶
func (builder *NodeUpdateReqBuilder) Fields(fields []*field.FieldValuePair) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) NodeID ¶
func (builder *NodeUpdateReqBuilder) NodeID(nodeID string) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) NodeOwners ¶
func (builder *NodeUpdateReqBuilder) NodeOwners(nodeOwners []string) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) NodeSchedule ¶
func (builder *NodeUpdateReqBuilder) NodeSchedule(nodeSchedule *Schedule) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) ProjectKey ¶
func (builder *NodeUpdateReqBuilder) ProjectKey(projectKey string) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) RoleAssignee ¶
func (builder *NodeUpdateReqBuilder) RoleAssignee(roleAssignee []*user.RoleOwner) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) Schedules ¶
func (builder *NodeUpdateReqBuilder) Schedules(schedules []*Schedule) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) WorkItemID ¶
func (builder *NodeUpdateReqBuilder) WorkItemID(workItemID int64) *NodeUpdateReqBuilder
func (*NodeUpdateReqBuilder) WorkItemTypeKey ¶
func (builder *NodeUpdateReqBuilder) WorkItemTypeKey(workItemTypeKey string) *NodeUpdateReqBuilder
type NodesConnections ¶
type NodesConnections struct { WorkflowNodes []*WorkflowNode `json:"workflow_nodes"` Connections []*Connection `json:"connections"` StateFlowNodes []*StateFlowNode `json:"state_flow_nodes"` UserDetails []*common.UserDetail `json:"user_details"` }
type OptionConf ¶
type OptionConf struct { Label string `json:"label"` Value string `json:"value"` IsDisabled int32 `json:"is_disabled"` IsVisibility int32 `json:"is_visibility"` Children []*OptionConf `json:"children"` }
type QueryWorkItemDetailReq ¶
type QueryWorkItemDetailReq struct {
// contains filtered or unexported fields
}
type QueryWorkItemDetailReqBuilder ¶
type QueryWorkItemDetailReqBuilder struct {
// contains filtered or unexported fields
}
func NewQueryWorkItemDetailReqBuilder ¶
func NewQueryWorkItemDetailReqBuilder() *QueryWorkItemDetailReqBuilder
func (*QueryWorkItemDetailReqBuilder) Build ¶
func (builder *QueryWorkItemDetailReqBuilder) Build() *QueryWorkItemDetailReq
func (*QueryWorkItemDetailReqBuilder) Expand ¶
func (builder *QueryWorkItemDetailReqBuilder) Expand(expand *Expand) *QueryWorkItemDetailReqBuilder
func (*QueryWorkItemDetailReqBuilder) Fields ¶
func (builder *QueryWorkItemDetailReqBuilder) Fields(fields []string) *QueryWorkItemDetailReqBuilder
func (*QueryWorkItemDetailReqBuilder) ProjectKey ¶
func (builder *QueryWorkItemDetailReqBuilder) ProjectKey(projectKey string) *QueryWorkItemDetailReqBuilder
func (*QueryWorkItemDetailReqBuilder) WorkItemIDs ¶
func (builder *QueryWorkItemDetailReqBuilder) WorkItemIDs(workItemIDs []int64) *QueryWorkItemDetailReqBuilder
func (*QueryWorkItemDetailReqBuilder) WorkItemTypeKey ¶
func (builder *QueryWorkItemDetailReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryWorkItemDetailReqBuilder
type QueryWorkItemDetailResp ¶
type QueryWorkItemDetailResp struct { *core.APIResp `json:"-"` core.CodeError Data []*WorkItemInfo `json:"data"` }
type QueryWorkItemRelationReq ¶
type QueryWorkItemRelationReq struct {
// contains filtered or unexported fields
}
type QueryWorkItemRelationReqBuilder ¶
type QueryWorkItemRelationReqBuilder struct {
// contains filtered or unexported fields
}
func NewQueryWorkItemRelationReqBuilder ¶
func NewQueryWorkItemRelationReqBuilder() *QueryWorkItemRelationReqBuilder
func (*QueryWorkItemRelationReqBuilder) Build ¶
func (builder *QueryWorkItemRelationReqBuilder) Build() *QueryWorkItemRelationReq
func (*QueryWorkItemRelationReqBuilder) ProjectKey ¶
func (builder *QueryWorkItemRelationReqBuilder) ProjectKey(projectKey string) *QueryWorkItemRelationReqBuilder
type QueryWorkItemRelationResp ¶
type QueryWorkItemRelationResp struct { *core.APIResp `json:"-"` core.CodeError Data []*WorkItemRelation `json:"data"` }
type QueryWorkflowReq ¶
type QueryWorkflowReq struct {
// contains filtered or unexported fields
}
type QueryWorkflowReqBody ¶
type QueryWorkflowReqBuilder ¶
type QueryWorkflowReqBuilder struct {
// contains filtered or unexported fields
}
func NewQueryWorkflowReqBuilder ¶
func NewQueryWorkflowReqBuilder() *QueryWorkflowReqBuilder
func (*QueryWorkflowReqBuilder) Build ¶
func (builder *QueryWorkflowReqBuilder) Build() *QueryWorkflowReq
func (*QueryWorkflowReqBuilder) Expand ¶
func (builder *QueryWorkflowReqBuilder) Expand(expand *Expand) *QueryWorkflowReqBuilder
func (*QueryWorkflowReqBuilder) Fields ¶
func (builder *QueryWorkflowReqBuilder) Fields(fields []string) *QueryWorkflowReqBuilder
func (*QueryWorkflowReqBuilder) FlowType ¶
func (builder *QueryWorkflowReqBuilder) FlowType(flowType int64) *QueryWorkflowReqBuilder
func (*QueryWorkflowReqBuilder) ProjectKey ¶
func (builder *QueryWorkflowReqBuilder) ProjectKey(projectKey string) *QueryWorkflowReqBuilder
func (*QueryWorkflowReqBuilder) WorkItemID ¶
func (builder *QueryWorkflowReqBuilder) WorkItemID(workItemID int64) *QueryWorkflowReqBuilder
func (*QueryWorkflowReqBuilder) WorkItemTypeKey ¶
func (builder *QueryWorkflowReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryWorkflowReqBuilder
type QueryWorkflowResp ¶
type QueryWorkflowResp struct { *core.APIResp `json:"-"` core.CodeError Data *NodesConnections `json:"data"` }
type RelationDetail ¶
type RelationFieldDetail ¶
type RelationFieldDetail struct { FieldKey string `json:"field_key"` Detail []*FieldDetail `json:"detail"` }
type Schedule ¶
type Schedule struct { Points *float64 `json:"points,omitempty"` EstimateStartDate *int64 `json:"estimate_start_date,omitempty"` EstimateEndDate *int64 `json:"estimate_end_date,omitempty"` Owners []string `json:"owners"` ActualWorkTime *float64 `json:"actual_work_time,omitempty"` IsAuto *bool `json:"is_auto,omitempty"` }
type SearchByParamsReq ¶
type SearchByParamsReq struct {
// contains filtered or unexported fields
}
type SearchByParamsReqBody ¶
type SearchByParamsReqBody struct { SearchGroup *SearchGroup `json:"search_group"` PageNum int64 `json:"page_num"` PageSize int64 `json:"page_size"` Fields []string `json:"fields"` Expand *Expand `json:"expand"` }
type SearchByParamsReqBuilder ¶
type SearchByParamsReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchByParamsReqBuilder ¶
func NewSearchByParamsReqBuilder() *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) Build ¶
func (builder *SearchByParamsReqBuilder) Build() *SearchByParamsReq
func (*SearchByParamsReqBuilder) Expand ¶
func (builder *SearchByParamsReqBuilder) Expand(expand *Expand) *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) Fields ¶
func (builder *SearchByParamsReqBuilder) Fields(fields []string) *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) PageNum ¶
func (builder *SearchByParamsReqBuilder) PageNum(pageNum int64) *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) PageSize ¶
func (builder *SearchByParamsReqBuilder) PageSize(pageSize int64) *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) ProjectKey ¶
func (builder *SearchByParamsReqBuilder) ProjectKey(projectKey string) *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) SearchGroup ¶
func (builder *SearchByParamsReqBuilder) SearchGroup(searchGroup *SearchGroup) *SearchByParamsReqBuilder
func (*SearchByParamsReqBuilder) WorkItemTypeKey ¶
func (builder *SearchByParamsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *SearchByParamsReqBuilder
type SearchByParamsResp ¶
type SearchByParamsResp struct { *core.APIResp `json:"-"` core.CodeError Data []*WorkItemInfo `json:"data"` Pagination *common.Pagination `json:"pagination"` }
type SearchByRelationReq ¶
type SearchByRelationReq struct {
// contains filtered or unexported fields
}
type SearchByRelationReqBody ¶
type SearchByRelationReqBuilder ¶
type SearchByRelationReqBuilder struct {
// contains filtered or unexported fields
}
func NewSearchByRelationReqBuilder ¶
func NewSearchByRelationReqBuilder() *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) Build ¶
func (builder *SearchByRelationReqBuilder) Build() *SearchByRelationReq
func (*SearchByRelationReqBuilder) Expand ¶
func (builder *SearchByRelationReqBuilder) Expand(expand *Expand) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) PageNum ¶
func (builder *SearchByRelationReqBuilder) PageNum(pageNum int64) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) PageSize ¶
func (builder *SearchByRelationReqBuilder) PageSize(pageSize int64) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) ProjectKey ¶
func (builder *SearchByRelationReqBuilder) ProjectKey(projectKey string) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) RelationKey ¶
func (builder *SearchByRelationReqBuilder) RelationKey(relationKey string) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) RelationType ¶
func (builder *SearchByRelationReqBuilder) RelationType(relationType int32) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) RelationWorkItemTypeKey ¶
func (builder *SearchByRelationReqBuilder) RelationWorkItemTypeKey(relationWorkItemTypeKey string) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) WorkItemID ¶
func (builder *SearchByRelationReqBuilder) WorkItemID(workItemID int64) *SearchByRelationReqBuilder
func (*SearchByRelationReqBuilder) WorkItemTypeKey ¶
func (builder *SearchByRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *SearchByRelationReqBuilder
type SearchByRelationResp ¶
type SearchByRelationResp struct { *core.APIResp `json:"-"` core.CodeError Data []*WorkItemInfo `json:"data"` Pagination *common.Pagination `json:"pagination"` }
type SearchGroup ¶
type SearchGroup struct { SearchParams []*SearchParam `json:"search_params"` Conjunction string `json:"conjunction"` SearchGroups []*SearchGroup `json:"search_groups"` }
type SearchParam ¶
type SearchUser ¶
type StateFlowNode ¶
type StateFlowNode struct { ID string `json:"id"` Name string `json:"name"` RoleOwners []*user.RoleOwner `json:"role_owners"` Status int32 `json:"status"` ActualBeginTime string `json:"actual_begin_time"` ActualFinishTime string `json:"actual_finish_time"` Fields []*field.FieldValuePair `json:"fields"` }
type SubTask ¶
type SubTask struct { ID string `json:"id"` Name string `json:"name"` Schedules []*Schedule `json:"schedules"` Order float64 `json:"order"` Details string `json:"details"` Passed bool `json:"passed"` Owners []string `json:"owners"` Note string `json:"note"` ActualBeginTime string `json:"actual_begin_time"` ActualFinishTime string `json:"actual_finish_time"` Assignee []string `json:"assignee"` RoleAssignee []*user.RoleOwner `json:"role_assignee"` Deliverable []*field.FieldValuePair `json:"deliverable"` }
type SubTaskParentInfo ¶
type TimeInterval ¶
type UnionDeliverable ¶ added in v1.0.8
type UnionDeliverable struct { FieldDeliverables []FieldDeliverableItem `json:"field_deliverables"` InstanceDeliverables []InstanceDeliverableItem `json:"instance_deliverables"` }
type UpdateMultiSignalReq ¶
type UpdateMultiSignalReq struct {
// contains filtered or unexported fields
}
type UpdateMultiSignalReqBody ¶
type UpdateMultiSignalReqBody struct { FieldKey string `json:"field_key"` FieldAlias string `json:"field_alias"` Details []*field.MultiSignalDetail `json:"details"` UpdateType string `json:"update_type"` }
type UpdateMultiSignalReqBuilder ¶
type UpdateMultiSignalReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateMultiSignalReqBuilder ¶
func NewUpdateMultiSignalReqBuilder() *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) Build ¶
func (builder *UpdateMultiSignalReqBuilder) Build() *UpdateMultiSignalReq
func (*UpdateMultiSignalReqBuilder) Details ¶
func (builder *UpdateMultiSignalReqBuilder) Details(details []*field.MultiSignalDetail) *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) FieldAlias ¶
func (builder *UpdateMultiSignalReqBuilder) FieldAlias(fieldAlias string) *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) FieldKey ¶
func (builder *UpdateMultiSignalReqBuilder) FieldKey(fieldKey string) *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) ProjectKey ¶
func (builder *UpdateMultiSignalReqBuilder) ProjectKey(projectKey string) *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) UpdateType ¶
func (builder *UpdateMultiSignalReqBuilder) UpdateType(updateType string) *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) WorkItemID ¶
func (builder *UpdateMultiSignalReqBuilder) WorkItemID(workItemID int64) *UpdateMultiSignalReqBuilder
func (*UpdateMultiSignalReqBuilder) WorkItemTypeKey ¶
func (builder *UpdateMultiSignalReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateMultiSignalReqBuilder
type UpdateMultiSignalResp ¶
type UpdateWorkItemRelationReq ¶
type UpdateWorkItemRelationReq struct {
// contains filtered or unexported fields
}
type UpdateWorkItemRelationReqBody ¶
type UpdateWorkItemRelationReqBody struct { RelationID string `json:"relation_id"` ProjectKey string `json:"project_key"` WorkItemTypeKey string `json:"work_item_type_key"` Name string `json:"name"` RelationDetails []*RelationDetail `json:"relation_details"` }
type UpdateWorkItemRelationReqBuilder ¶
type UpdateWorkItemRelationReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateWorkItemRelationReqBuilder ¶
func NewUpdateWorkItemRelationReqBuilder() *UpdateWorkItemRelationReqBuilder
func (*UpdateWorkItemRelationReqBuilder) Build ¶
func (builder *UpdateWorkItemRelationReqBuilder) Build() *UpdateWorkItemRelationReq
func (*UpdateWorkItemRelationReqBuilder) Name ¶
func (builder *UpdateWorkItemRelationReqBuilder) Name(name string) *UpdateWorkItemRelationReqBuilder
func (*UpdateWorkItemRelationReqBuilder) ProjectKey ¶
func (builder *UpdateWorkItemRelationReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemRelationReqBuilder
func (*UpdateWorkItemRelationReqBuilder) RelationDetails ¶
func (builder *UpdateWorkItemRelationReqBuilder) RelationDetails(relationDetails []*RelationDetail) *UpdateWorkItemRelationReqBuilder
func (*UpdateWorkItemRelationReqBuilder) RelationID ¶
func (builder *UpdateWorkItemRelationReqBuilder) RelationID(relationID string) *UpdateWorkItemRelationReqBuilder
func (*UpdateWorkItemRelationReqBuilder) WorkItemTypeKey ¶
func (builder *UpdateWorkItemRelationReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemRelationReqBuilder
type UpdateWorkItemReq ¶
type UpdateWorkItemReq struct {
// contains filtered or unexported fields
}
type UpdateWorkItemReqBody ¶
type UpdateWorkItemReqBody struct {
UpdateFields []*field.FieldValuePair `json:"update_fields"`
}
type UpdateWorkItemReqBuilder ¶
type UpdateWorkItemReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateWorkItemReqBuilder ¶
func NewUpdateWorkItemReqBuilder() *UpdateWorkItemReqBuilder
func (*UpdateWorkItemReqBuilder) Build ¶
func (builder *UpdateWorkItemReqBuilder) Build() *UpdateWorkItemReq
func (*UpdateWorkItemReqBuilder) ProjectKey ¶
func (builder *UpdateWorkItemReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemReqBuilder
func (*UpdateWorkItemReqBuilder) UpdateFields ¶
func (builder *UpdateWorkItemReqBuilder) UpdateFields(updateFields []*field.FieldValuePair) *UpdateWorkItemReqBuilder
func (*UpdateWorkItemReqBuilder) WorkItemID ¶
func (builder *UpdateWorkItemReqBuilder) WorkItemID(workItemID int64) *UpdateWorkItemReqBuilder
func (*UpdateWorkItemReqBuilder) WorkItemTypeKey ¶
func (builder *UpdateWorkItemReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemReqBuilder
type UpdateWorkItemResp ¶
type UpdateWorkItemTypeInfoReq ¶
type UpdateWorkItemTypeInfoReq struct {
// contains filtered or unexported fields
}
type UpdateWorkItemTypeInfoReqBody ¶
type UpdateWorkItemTypeInfoReqBody struct { Description string `json:"description"` IsDisabled *bool `json:"is_disabled,omitempty"` IsPinned *bool `json:"is_pinned,omitempty"` EnableSchedule *bool `json:"enable_schedule,omitempty"` ScheduleFieldKey string `json:"schedule_field_key"` EstimatePointFieldKey string `json:"estimate_point_field_key"` ActualWorkTimeFieldKey string `json:"actual_work_time_field_key"` BelongRoleKeys []string `json:"belong_role_keys"` ActualWorkTimeSwitch *bool `json:"actual_work_time_switch,omitempty"` }
type UpdateWorkItemTypeInfoReqBuilder ¶
type UpdateWorkItemTypeInfoReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateWorkItemTypeInfoReqBuilder ¶
func NewUpdateWorkItemTypeInfoReqBuilder() *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeFieldKey ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeFieldKey(actualWorkTimeFieldKey string) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeSwitch ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) ActualWorkTimeSwitch(actualWorkTimeSwitch bool) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) BelongRoleKeys ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) BelongRoleKeys(belongRoleKeys []string) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) Build ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) Build() *UpdateWorkItemTypeInfoReq
func (*UpdateWorkItemTypeInfoReqBuilder) Description ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) Description(description string) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) EnableSchedule ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) EnableSchedule(enableSchedule bool) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) EstimatePointFieldKey ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) EstimatePointFieldKey(estimatePointFieldKey string) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) IsDisabled ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) IsDisabled(isDisabled bool) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) IsPinned ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) IsPinned(isPinned bool) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) ProjectKey ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) ProjectKey(projectKey string) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) ScheduleFieldKey ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) ScheduleFieldKey(scheduleFieldKey string) *UpdateWorkItemTypeInfoReqBuilder
func (*UpdateWorkItemTypeInfoReqBuilder) WorkItemTypeKey ¶
func (builder *UpdateWorkItemTypeInfoReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkItemTypeInfoReqBuilder
type UpdateWorkingHourRecord ¶
type UpdateWorkingHourRecordReq ¶
type UpdateWorkingHourRecordReq struct {
// contains filtered or unexported fields
}
type UpdateWorkingHourRecordReqBody ¶
type UpdateWorkingHourRecordReqBody struct {
WorkingHourRecords []*UpdateWorkingHourRecord `json:"working_hour_records"`
}
type UpdateWorkingHourRecordReqBuilder ¶
type UpdateWorkingHourRecordReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateWorkingHourRecordReqBuilder ¶
func NewUpdateWorkingHourRecordReqBuilder() *UpdateWorkingHourRecordReqBuilder
func (*UpdateWorkingHourRecordReqBuilder) Build ¶
func (builder *UpdateWorkingHourRecordReqBuilder) Build() *UpdateWorkingHourRecordReq
func (*UpdateWorkingHourRecordReqBuilder) ProjectKey ¶
func (builder *UpdateWorkingHourRecordReqBuilder) ProjectKey(projectKey string) *UpdateWorkingHourRecordReqBuilder
func (*UpdateWorkingHourRecordReqBuilder) WorkItemID ¶
func (builder *UpdateWorkingHourRecordReqBuilder) WorkItemID(workItemID int64) *UpdateWorkingHourRecordReqBuilder
func (*UpdateWorkingHourRecordReqBuilder) WorkItemTypeKey ¶
func (builder *UpdateWorkingHourRecordReqBuilder) WorkItemTypeKey(workItemTypeKey string) *UpdateWorkingHourRecordReqBuilder
func (*UpdateWorkingHourRecordReqBuilder) WorkingHourRecords ¶
func (builder *UpdateWorkingHourRecordReqBuilder) WorkingHourRecords(workingHourRecords []*UpdateWorkingHourRecord) *UpdateWorkingHourRecordReqBuilder
type WBSParentWorkItem ¶
type WBSParentWorkItem struct { IsTop bool `json:"is_top"` WorkItemID int64 `json:"work_item_id"` WorkItemTypeKey string `json:"work_item_type_key"` Name string `json:"name"` TemplateID string `json:"template_id"` TemplateKey string `json:"template_key"` TemplateName string `json:"template_name"` TemplateVersion int64 `json:"template_version"` RelationNodeID string `json:"relation_node_id"` RelationNodeName string `json:"relation_node_name"` RelationNodeTags []string `json:"relation_node_tags"` RelationNodeUUID string `json:"relation_node_uuid"` }
type WBSWorkItem ¶
type WBSWorkItem struct { NodeUUID string `json:"node_uuid"` WorkItemID int64 `json:"work_item_id"` Type string `json:"type"` WbsStatus string `json:"wbs_status"` WbsStatusMap map[string]string `json:"wbs_status_map"` SubWorkItem []*WBSWorkItem `json:"sub_work_item"` Name string `json:"name"` Deliverable []*field.FieldValuePair `json:"deliverable"` Schedule *Schedule `json:"schedule"` Schedules []*Schedule `json:"schedules"` Points float64 `json:"points"` RoleOwners []*user.RoleOwner `json:"role_owners"` WorkItemTypeKey string `json:"work_item_type_key"` Milestone bool `json:"milestone"` UnionDeliverable UnionDeliverable `json:"union_deliverable"` }
type WbsViewReq ¶
type WbsViewReq struct {
// contains filtered or unexported fields
}
type WbsViewReqBody ¶
type WbsViewReqBody struct {
Expand *Expand `json:"expand"`
}
type WbsViewReqBuilder ¶
type WbsViewReqBuilder struct {
// contains filtered or unexported fields
}
func NewWbsViewReqBuilder ¶
func NewWbsViewReqBuilder() *WbsViewReqBuilder
func (*WbsViewReqBuilder) Build ¶
func (builder *WbsViewReqBuilder) Build() *WbsViewReq
func (*WbsViewReqBuilder) Expand ¶
func (builder *WbsViewReqBuilder) Expand(expand *Expand) *WbsViewReqBuilder
func (*WbsViewReqBuilder) ProjectKey ¶
func (builder *WbsViewReqBuilder) ProjectKey(projectKey string) *WbsViewReqBuilder
func (*WbsViewReqBuilder) WorkItemID ¶
func (builder *WbsViewReqBuilder) WorkItemID(workItemID int64) *WbsViewReqBuilder
func (*WbsViewReqBuilder) WorkItemTypeKey ¶
func (builder *WbsViewReqBuilder) WorkItemTypeKey(workItemTypeKey string) *WbsViewReqBuilder
type WbsViewResp ¶
type WbsViewResp struct { *core.APIResp `json:"-"` core.CodeError Data *WbsViewResponse `json:"data"` }
type WbsViewResponse ¶
type WbsViewResponse struct { TemplateKey string `json:"template_key"` RelatedSubWorkItems []*WBSWorkItem `json:"related_sub_work_items"` TemplateVersion int64 `json:"template_version"` TemplateName string `json:"template_name"` TemplateID string `json:"template_id"` RelatedParentWorkItem *WBSParentWorkItem `json:"related_parent_work_item"` UserDetails []*common.UserDetail `json:"user_details"` }
type WorkItemInfo ¶
type WorkItemInfo struct { ID int64 `json:"id"` Name string `json:"name"` WorkItemTypeKey string `json:"work_item_type_key"` ProjectKey string `json:"project_key"` TemplateType string `json:"template_type"` Pattern string `json:"pattern"` SubStage string `json:"sub_stage"` CurrentNodes []*NodeBasicInfo `json:"current_nodes"` CreatedBy string `json:"created_by"` UpdatedBy string `json:"updated_by"` CreatedAt int64 `json:"created_at"` UpdatedAt int64 `json:"updated_at"` Fields []*field.FieldValuePair `json:"fields"` WorkItemStatus *WorkItemStatus `json:"work_item_status"` DeletedBy string `json:"deleted_by"` DeletedAt int64 `json:"deleted_at"` SimpleName string `json:"simple_name"` TemplateID int64 `json:"template_id"` WorkflowInfos *NodesConnections `json:"workflow_infos"` StateTimes []*StateTime `json:"state_times"` MultiTexts []*MultiText `json:"multi_texts"` CompoundFieldExtra []*field.FieldValuePair `json:"compound_field_extra"` RelationFieldsDetail []*RelationFieldDetail `json:"relation_fields_detail"` UserDetails []*common.UserDetail `json:"user_details"` SubTaskParentInfo *SubTaskParentInfo `json:"sub_task_parent_info"` }
type WorkItemKeyType ¶
type WorkItemRelation ¶
type WorkItemRelation struct { ID string `json:"id"` Name string `json:"name"` Disabled bool `json:"disabled"` WorkItemTypeKey string `json:"work_item_type_key"` WorkItemTypeName string `json:"work_item_type_name"` RelationDetails []*RelationDetail `json:"relation_details"` RelationType int64 `json:"relation_type"` }
type WorkItemService ¶
type WorkItemService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(config *core.Config) *WorkItemService
func (*WorkItemService) AbortWorkItem ¶
func (a *WorkItemService) AbortWorkItem(ctx context.Context, req *AbortWorkItemReq, options ...core.RequestOptionFunc) (*AbortWorkItemResp, error)
终止/恢复工作项
func (*WorkItemService) CompositiveSearch ¶
func (a *WorkItemService) CompositiveSearch(ctx context.Context, req *CompositiveSearchReq, options ...core.RequestOptionFunc) (*CompositiveSearchResp, error)
获取指定的工作项列表(全文搜索)
func (*WorkItemService) CreateWorkItem ¶
func (a *WorkItemService) CreateWorkItem(ctx context.Context, req *CreateWorkItemReq, options ...core.RequestOptionFunc) (*CreateWorkItemResp, error)
创建工作项
func (*WorkItemService) CreateWorkItemRelation ¶
func (a *WorkItemService) CreateWorkItemRelation(ctx context.Context, req *CreateWorkItemRelationReq, options ...core.RequestOptionFunc) (*CreateWorkItemRelationResp, error)
创建工作项关系
func (*WorkItemService) CreateWorkingHourRecord ¶
func (a *WorkItemService) CreateWorkingHourRecord(ctx context.Context, req *CreateWorkingHourRecordReq, options ...core.RequestOptionFunc) (*CreateWorkingHourRecordResp, error)
创建实际工时
func (*WorkItemService) DeleteWorkItem ¶
func (a *WorkItemService) DeleteWorkItem(ctx context.Context, req *DeleteWorkItemReq, options ...core.RequestOptionFunc) (*DeleteWorkItemResp, error)
删除工作项
func (*WorkItemService) DeleteWorkItemRelation ¶
func (a *WorkItemService) DeleteWorkItemRelation(ctx context.Context, req *DeleteWorkItemRelationReq, options ...core.RequestOptionFunc) (*DeleteWorkItemRelationResp, error)
删除工作项关系
func (*WorkItemService) DeleteWorkingHourRecord ¶
func (a *WorkItemService) DeleteWorkingHourRecord(ctx context.Context, req *DeleteWorkingHourRecordReq, options ...core.RequestOptionFunc) (*DeleteWorkingHourRecordResp, error)
删除实际工时
func (*WorkItemService) Filter ¶
func (a *WorkItemService) Filter(ctx context.Context, req *FilterReq, options ...core.RequestOptionFunc) (*FilterResp, error)
获取指定的工作项列表(非跨空间)
func (*WorkItemService) FilterAcrossProject ¶
func (a *WorkItemService) FilterAcrossProject(ctx context.Context, req *FilterAcrossProjectReq, options ...core.RequestOptionFunc) (*FilterAcrossProjectResp, error)
获取指定的工作项列表(跨空间)
func (*WorkItemService) GetMeta ¶
func (a *WorkItemService) GetMeta(ctx context.Context, req *GetMetaReq, options ...core.RequestOptionFunc) (*GetMetaResp, error)
获取创建工作项元数据
func (*WorkItemService) GetWorkItemManHourRecords ¶
func (a *WorkItemService) GetWorkItemManHourRecords(ctx context.Context, req *GetWorkItemManHourRecordsReq, options ...core.RequestOptionFunc) (*GetWorkItemManHourRecordsResp, error)
获取工作项的工时记录列表
func (*WorkItemService) GetWorkItemTypeInfoByKey ¶
func (a *WorkItemService) GetWorkItemTypeInfoByKey(ctx context.Context, req *GetWorkItemTypeInfoByKeyReq, options ...core.RequestOptionFunc) (*GetWorkItemTypeInfoByKeyResp, error)
获取工作项基础信息配置
func (*WorkItemService) NodeOperate ¶
func (a *WorkItemService) NodeOperate(ctx context.Context, req *NodeOperateReq, options ...core.RequestOptionFunc) (*NodeOperateResp, error)
节点完成/回滚
func (*WorkItemService) NodeStateChange ¶
func (a *WorkItemService) NodeStateChange(ctx context.Context, req *NodeStateChangeReq, options ...core.RequestOptionFunc) (*NodeStateChangeResp, error)
状态流转
func (*WorkItemService) NodeUpdate ¶
func (a *WorkItemService) NodeUpdate(ctx context.Context, req *NodeUpdateReq, options ...core.RequestOptionFunc) (*NodeUpdateResp, error)
更新节点/排期
func (*WorkItemService) QueryWorkItemDetail ¶
func (a *WorkItemService) QueryWorkItemDetail(ctx context.Context, req *QueryWorkItemDetailReq, options ...core.RequestOptionFunc) (*QueryWorkItemDetailResp, error)
获取工作项详情
func (*WorkItemService) QueryWorkItemRelation ¶
func (a *WorkItemService) QueryWorkItemRelation(ctx context.Context, req *QueryWorkItemRelationReq, options ...core.RequestOptionFunc) (*QueryWorkItemRelationResp, error)
获取工作项关系列表
func (*WorkItemService) QueryWorkflow ¶
func (a *WorkItemService) QueryWorkflow(ctx context.Context, req *QueryWorkflowReq, options ...core.RequestOptionFunc) (*QueryWorkflowResp, error)
获取工作流详情
func (*WorkItemService) SearchByParams ¶
func (a *WorkItemService) SearchByParams(ctx context.Context, req *SearchByParamsReq, options ...core.RequestOptionFunc) (*SearchByParamsResp, error)
获取指定的工作项列表(单空间 | 复杂传参)
func (*WorkItemService) SearchByRelation ¶
func (a *WorkItemService) SearchByRelation(ctx context.Context, req *SearchByRelationReq, options ...core.RequestOptionFunc) (*SearchByRelationResp, error)
获取指定的关联工作项列表(单空间)
func (*WorkItemService) UpdateMultiSignal ¶
func (a *WorkItemService) UpdateMultiSignal(ctx context.Context, req *UpdateMultiSignalReq, options ...core.RequestOptionFunc) (*UpdateMultiSignalResp, error)
更新多值系统外信号
func (*WorkItemService) UpdateWorkItem ¶
func (a *WorkItemService) UpdateWorkItem(ctx context.Context, req *UpdateWorkItemReq, options ...core.RequestOptionFunc) (*UpdateWorkItemResp, error)
更新工作项
func (*WorkItemService) UpdateWorkItemRelation ¶
func (a *WorkItemService) UpdateWorkItemRelation(ctx context.Context, req *UpdateWorkItemRelationReq, options ...core.RequestOptionFunc) (*UpdateWorkItemRelationResp, error)
更新工作项关系
func (*WorkItemService) UpdateWorkItemTypeInfo ¶
func (a *WorkItemService) UpdateWorkItemTypeInfo(ctx context.Context, req *UpdateWorkItemTypeInfoReq, options ...core.RequestOptionFunc) (*UpdateWorkItemTypeInfoResp, error)
更新工作项基础信息配置
func (*WorkItemService) UpdateWorkingHourRecord ¶
func (a *WorkItemService) UpdateWorkingHourRecord(ctx context.Context, req *UpdateWorkingHourRecordReq, options ...core.RequestOptionFunc) (*UpdateWorkingHourRecordResp, error)
更新实际工时
func (*WorkItemService) WbsView ¶
func (a *WorkItemService) WbsView(ctx context.Context, req *WbsViewReq, options ...core.RequestOptionFunc) (*WbsViewResp, error)
获取工作流详情(wbs)
type WorkItemStatus ¶
type WorkItemTypeInfo ¶
type WorkItemTypeInfo struct { TypeKey string `json:"type_key"` Name string `json:"name"` FlowMode string `json:"flow_mode"` APIName string `json:"api_name"` Description string `json:"description"` IsDisabled bool `json:"is_disabled"` IsPinned bool `json:"is_pinned"` EnableSchedule bool `json:"enable_schedule"` ScheduleFieldKey string `json:"schedule_field_key"` ScheduleFieldName string `json:"schedule_field_name"` EstimatePointFieldKey string `json:"estimate_point_field_key"` EstimatePointFieldName string `json:"estimate_point_field_name"` ActualWorkTimeFieldKey string `json:"actual_work_time_field_key"` ActualWorkTimeFieldName string `json:"actual_work_time_field_name"` BelongRoles []*role_conf.SimpleRoleConf `json:"belong_roles"` }
type WorkflowNode ¶
type WorkflowNode struct { ID string `json:"id"` StateKey string `json:"state_key"` Name string `json:"name"` Status int32 `json:"status"` Fields []*field.FieldValuePair `json:"fields"` Owners []string `json:"owners"` NodeSchedule *Schedule `json:"node_schedule"` Schedules []*Schedule `json:"schedules"` SubTasks []*SubTask `json:"sub_tasks"` ActualBeginTime string `json:"actual_begin_time"` ActualFinishTime string `json:"actual_finish_time"` RoleAssignee []*user.RoleOwner `json:"role_assignee"` DifferentSchedule bool `json:"different_schedule"` SubStatus []*Checker `json:"sub_status"` Milestone bool `json:"milestone"` Participants []string `json:"participants"` }
Click to show internal directories.
Click to hide internal directories.