role_conf

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const APIPathQueryRoleConfDetails = "/open_api/:project_key/flow_roles/:work_item_type_key"

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryRoleConfDetailsReq

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

type QueryRoleConfDetailsReqBuilder

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

func NewQueryRoleConfDetailsReqBuilder

func NewQueryRoleConfDetailsReqBuilder() *QueryRoleConfDetailsReqBuilder

func (*QueryRoleConfDetailsReqBuilder) Build

func (*QueryRoleConfDetailsReqBuilder) ProjectKey

func (builder *QueryRoleConfDetailsReqBuilder) ProjectKey(projectKey string) *QueryRoleConfDetailsReqBuilder

func (*QueryRoleConfDetailsReqBuilder) WorkItemTypeKey

func (builder *QueryRoleConfDetailsReqBuilder) WorkItemTypeKey(workItemTypeKey string) *QueryRoleConfDetailsReqBuilder

type QueryRoleConfDetailsResp

type QueryRoleConfDetailsResp struct {
	*core.APIResp `json:"-"`
	core.CodeError
	Data []*RoleConfDetail `json:"data"`
}

type RoleConfDetail

type RoleConfDetail struct {
	ID string `json:"id"`

	Name string `json:"name"`

	IsOwner bool `json:"is_owner"`

	RoleAppearMode int64 `json:"role_appear_mode"`

	Deletable bool `json:"deletable"`

	AutoEnterGroup bool `json:"auto_enter_group"`

	MemberAssignMode int64 `json:"member_assign_mode"`

	Members []string `json:"members"`

	Key string `json:"key"`
}

type RoleConfService

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

func NewService

func NewService(config *core.Config) *RoleConfService

func (*RoleConfService) QueryRoleConfDetails

获取流程角色配置详情

type SimpleRoleConf

type SimpleRoleConf struct {
	ID string `json:"id"`

	Name string `json:"name"`

	Key string `json:"key"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL