project_1_0

package
v1.3.46 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) GetDeptsByOrgId

func (client *Client) GetDeptsByOrgId(request *GetDeptsByOrgIdRequest) (_result *GetDeptsByOrgIdResponse, _err error)

func (*Client) GetDeptsByOrgIdWithOptions

func (client *Client) GetDeptsByOrgIdWithOptions(request *GetDeptsByOrgIdRequest, headers *GetDeptsByOrgIdHeaders, runtime *util.RuntimeOptions) (_result *GetDeptsByOrgIdResponse, _err error)

func (*Client) GetEmpsByOrgId

func (client *Client) GetEmpsByOrgId(request *GetEmpsByOrgIdRequest) (_result *GetEmpsByOrgIdResponse, _err error)

func (*Client) GetEmpsByOrgIdWithOptions

func (client *Client) GetEmpsByOrgIdWithOptions(request *GetEmpsByOrgIdRequest, headers *GetEmpsByOrgIdHeaders, runtime *util.RuntimeOptions) (_result *GetEmpsByOrgIdResponse, _err error)

func (*Client) GetTbProjectGray

func (client *Client) GetTbProjectGray(request *GetTbProjectGrayRequest) (_result *GetTbProjectGrayResponse, _err error)

func (*Client) GetTbProjectGrayWithOptions

func (client *Client) GetTbProjectGrayWithOptions(request *GetTbProjectGrayRequest, headers *GetTbProjectGrayHeaders, runtime *util.RuntimeOptions) (_result *GetTbProjectGrayResponse, _err error)

func (*Client) GetTbProjectSource

func (client *Client) GetTbProjectSource() (_result *GetTbProjectSourceResponse, _err error)

func (*Client) GetTbProjectSourceWithOptions

func (client *Client) GetTbProjectSourceWithOptions(headers *GetTbProjectSourceHeaders, runtime *util.RuntimeOptions) (_result *GetTbProjectSourceResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

type GetDeptsByOrgIdHeaders

type GetDeptsByOrgIdHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	DingAccessTokenType     *string            `json:"dingAccessTokenType,omitempty" xml:"dingAccessTokenType,omitempty"`
	DingOrgId               *string            `json:"dingOrgId,omitempty" xml:"dingOrgId,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetDeptsByOrgIdHeaders) GoString

func (s GetDeptsByOrgIdHeaders) GoString() string

func (*GetDeptsByOrgIdHeaders) SetCommonHeaders

func (s *GetDeptsByOrgIdHeaders) SetCommonHeaders(v map[string]*string) *GetDeptsByOrgIdHeaders

func (*GetDeptsByOrgIdHeaders) SetDingAccessTokenType

func (s *GetDeptsByOrgIdHeaders) SetDingAccessTokenType(v string) *GetDeptsByOrgIdHeaders

func (*GetDeptsByOrgIdHeaders) SetDingOrgId

func (*GetDeptsByOrgIdHeaders) SetXAcsDingtalkAccessToken

func (s *GetDeptsByOrgIdHeaders) SetXAcsDingtalkAccessToken(v string) *GetDeptsByOrgIdHeaders

func (GetDeptsByOrgIdHeaders) String

func (s GetDeptsByOrgIdHeaders) String() string

type GetDeptsByOrgIdRequest

type GetDeptsByOrgIdRequest struct {
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	NextToken  *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (GetDeptsByOrgIdRequest) GoString

func (s GetDeptsByOrgIdRequest) GoString() string

func (*GetDeptsByOrgIdRequest) SetMaxResults

func (*GetDeptsByOrgIdRequest) SetNextToken

func (GetDeptsByOrgIdRequest) String

func (s GetDeptsByOrgIdRequest) String() string

type GetDeptsByOrgIdResponse

type GetDeptsByOrgIdResponse struct {
	Headers map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetDeptsByOrgIdResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetDeptsByOrgIdResponse) GoString

func (s GetDeptsByOrgIdResponse) GoString() string

func (*GetDeptsByOrgIdResponse) SetBody

func (*GetDeptsByOrgIdResponse) SetHeaders

func (GetDeptsByOrgIdResponse) String

func (s GetDeptsByOrgIdResponse) String() string

type GetDeptsByOrgIdResponseBody

type GetDeptsByOrgIdResponseBody struct {
	// deptList
	DeptList []*GetDeptsByOrgIdResponseBodyDeptList `json:"deptList,omitempty" xml:"deptList,omitempty" type:"Repeated"`
	// hasMore
	HasMore    *bool  `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// nextCursor
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (GetDeptsByOrgIdResponseBody) GoString

func (s GetDeptsByOrgIdResponseBody) GoString() string

func (*GetDeptsByOrgIdResponseBody) SetDeptList

func (*GetDeptsByOrgIdResponseBody) SetHasMore

func (*GetDeptsByOrgIdResponseBody) SetMaxResults

func (*GetDeptsByOrgIdResponseBody) SetNextToken

func (GetDeptsByOrgIdResponseBody) String

type GetDeptsByOrgIdResponseBodyDeptList

type GetDeptsByOrgIdResponseBodyDeptList struct {
	// id
	DeptId *int64 `json:"dept_id,omitempty" xml:"dept_id,omitempty"`
	// name
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// parentId
	ParentId *int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
}

func (GetDeptsByOrgIdResponseBodyDeptList) GoString

func (*GetDeptsByOrgIdResponseBodyDeptList) SetDeptId

func (*GetDeptsByOrgIdResponseBodyDeptList) SetName

func (*GetDeptsByOrgIdResponseBodyDeptList) SetParentId

func (GetDeptsByOrgIdResponseBodyDeptList) String

type GetEmpsByOrgIdHeaders

type GetEmpsByOrgIdHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	DingAccessTokenType     *string            `json:"dingAccessTokenType,omitempty" xml:"dingAccessTokenType,omitempty"`
	DingOrgId               *string            `json:"dingOrgId,omitempty" xml:"dingOrgId,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetEmpsByOrgIdHeaders) GoString

func (s GetEmpsByOrgIdHeaders) GoString() string

func (*GetEmpsByOrgIdHeaders) SetCommonHeaders

func (s *GetEmpsByOrgIdHeaders) SetCommonHeaders(v map[string]*string) *GetEmpsByOrgIdHeaders

func (*GetEmpsByOrgIdHeaders) SetDingAccessTokenType

func (s *GetEmpsByOrgIdHeaders) SetDingAccessTokenType(v string) *GetEmpsByOrgIdHeaders

func (*GetEmpsByOrgIdHeaders) SetDingOrgId

func (*GetEmpsByOrgIdHeaders) SetXAcsDingtalkAccessToken

func (s *GetEmpsByOrgIdHeaders) SetXAcsDingtalkAccessToken(v string) *GetEmpsByOrgIdHeaders

func (GetEmpsByOrgIdHeaders) String

func (s GetEmpsByOrgIdHeaders) String() string

type GetEmpsByOrgIdRequest

type GetEmpsByOrgIdRequest struct {
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	NeedDept   *bool  `json:"needDept,omitempty" xml:"needDept,omitempty"`
	NextToken  *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (GetEmpsByOrgIdRequest) GoString

func (s GetEmpsByOrgIdRequest) GoString() string

func (*GetEmpsByOrgIdRequest) SetMaxResults

func (s *GetEmpsByOrgIdRequest) SetMaxResults(v int32) *GetEmpsByOrgIdRequest

func (*GetEmpsByOrgIdRequest) SetNeedDept

func (*GetEmpsByOrgIdRequest) SetNextToken

func (GetEmpsByOrgIdRequest) String

func (s GetEmpsByOrgIdRequest) String() string

type GetEmpsByOrgIdResponse

type GetEmpsByOrgIdResponse struct {
	Headers map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetEmpsByOrgIdResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetEmpsByOrgIdResponse) GoString

func (s GetEmpsByOrgIdResponse) GoString() string

func (*GetEmpsByOrgIdResponse) SetBody

func (*GetEmpsByOrgIdResponse) SetHeaders

func (GetEmpsByOrgIdResponse) String

func (s GetEmpsByOrgIdResponse) String() string

type GetEmpsByOrgIdResponseBody

type GetEmpsByOrgIdResponseBody struct {
	// empList
	EmpList []*GetEmpsByOrgIdResponseBodyEmpList `json:"empList,omitempty" xml:"empList,omitempty" type:"Repeated"`
	// hasMore
	HasMore   *bool  `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	NextToken *int64 `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (GetEmpsByOrgIdResponseBody) GoString

func (s GetEmpsByOrgIdResponseBody) GoString() string

func (*GetEmpsByOrgIdResponseBody) SetEmpList

func (*GetEmpsByOrgIdResponseBody) SetHasMore

func (*GetEmpsByOrgIdResponseBody) SetNextToken

func (GetEmpsByOrgIdResponseBody) String

type GetEmpsByOrgIdResponseBodyEmpList

type GetEmpsByOrgIdResponseBodyEmpList struct {
	// avatar
	Avatar *string `json:"avatar,omitempty" xml:"avatar,omitempty"`
	// deptIdList
	DeptIdList []*int64 `json:"dept_id_list,omitempty" xml:"dept_id_list,omitempty" type:"Repeated"`
	// dingId
	DingId *string `json:"dingId,omitempty" xml:"dingId,omitempty"`
	// name
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// nick
	Nick *string `json:"nick,omitempty" xml:"nick,omitempty"`
	// orgId
	OrgId    *int64  `json:"orgId,omitempty" xml:"orgId,omitempty"`
	Position *string `json:"position,omitempty" xml:"position,omitempty"`
	// unionId
	Unionid *string `json:"unionid,omitempty" xml:"unionid,omitempty"`
	// userid
	Userid *string `json:"userid,omitempty" xml:"userid,omitempty"`
}

func (GetEmpsByOrgIdResponseBodyEmpList) GoString

func (*GetEmpsByOrgIdResponseBodyEmpList) SetAvatar

func (*GetEmpsByOrgIdResponseBodyEmpList) SetDeptIdList

func (*GetEmpsByOrgIdResponseBodyEmpList) SetDingId

func (*GetEmpsByOrgIdResponseBodyEmpList) SetName

func (*GetEmpsByOrgIdResponseBodyEmpList) SetNick

func (*GetEmpsByOrgIdResponseBodyEmpList) SetOrgId

func (*GetEmpsByOrgIdResponseBodyEmpList) SetPosition

func (*GetEmpsByOrgIdResponseBodyEmpList) SetUnionid

func (*GetEmpsByOrgIdResponseBodyEmpList) SetUserid

func (GetEmpsByOrgIdResponseBodyEmpList) String

type GetTbProjectGrayHeaders

type GetTbProjectGrayHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	DingAccessTokenType     *string            `json:"dingAccessTokenType,omitempty" xml:"dingAccessTokenType,omitempty"`
	DingCorpId              *string            `json:"dingCorpId,omitempty" xml:"dingCorpId,omitempty"`
	DingIsvOrgId            *string            `json:"dingIsvOrgId,omitempty" xml:"dingIsvOrgId,omitempty"`
	DingOrgId               *string            `json:"dingOrgId,omitempty" xml:"dingOrgId,omitempty"`
	DingSuiteKey            *string            `json:"dingSuiteKey,omitempty" xml:"dingSuiteKey,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetTbProjectGrayHeaders) GoString

func (s GetTbProjectGrayHeaders) GoString() string

func (*GetTbProjectGrayHeaders) SetCommonHeaders

func (s *GetTbProjectGrayHeaders) SetCommonHeaders(v map[string]*string) *GetTbProjectGrayHeaders

func (*GetTbProjectGrayHeaders) SetDingAccessTokenType

func (s *GetTbProjectGrayHeaders) SetDingAccessTokenType(v string) *GetTbProjectGrayHeaders

func (*GetTbProjectGrayHeaders) SetDingCorpId

func (*GetTbProjectGrayHeaders) SetDingIsvOrgId

func (*GetTbProjectGrayHeaders) SetDingOrgId

func (*GetTbProjectGrayHeaders) SetDingSuiteKey

func (*GetTbProjectGrayHeaders) SetXAcsDingtalkAccessToken

func (s *GetTbProjectGrayHeaders) SetXAcsDingtalkAccessToken(v string) *GetTbProjectGrayHeaders

func (GetTbProjectGrayHeaders) String

func (s GetTbProjectGrayHeaders) String() string

type GetTbProjectGrayRequest

type GetTbProjectGrayRequest struct {
	Label *string `json:"label,omitempty" xml:"label,omitempty"`
}

func (GetTbProjectGrayRequest) GoString

func (s GetTbProjectGrayRequest) GoString() string

func (*GetTbProjectGrayRequest) SetLabel

func (GetTbProjectGrayRequest) String

func (s GetTbProjectGrayRequest) String() string

type GetTbProjectGrayResponse

type GetTbProjectGrayResponse struct {
	Headers map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetTbProjectGrayResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetTbProjectGrayResponse) GoString

func (s GetTbProjectGrayResponse) GoString() string

func (*GetTbProjectGrayResponse) SetBody

func (*GetTbProjectGrayResponse) SetHeaders

func (GetTbProjectGrayResponse) String

func (s GetTbProjectGrayResponse) String() string

type GetTbProjectGrayResponseBody

type GetTbProjectGrayResponseBody struct {
	RequestId *string `json:"requestId,omitempty" xml:"requestId,omitempty"`
	// 是否灰度
	Result *bool `json:"result,omitempty" xml:"result,omitempty"`
}

func (GetTbProjectGrayResponseBody) GoString

func (s GetTbProjectGrayResponseBody) GoString() string

func (*GetTbProjectGrayResponseBody) SetRequestId

func (*GetTbProjectGrayResponseBody) SetResult

func (GetTbProjectGrayResponseBody) String

type GetTbProjectSourceHeaders

type GetTbProjectSourceHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	DingAccessTokenType     *string            `json:"dingAccessTokenType,omitempty" xml:"dingAccessTokenType,omitempty"`
	DingCorpId              *string            `json:"dingCorpId,omitempty" xml:"dingCorpId,omitempty"`
	DingIsvOrgId            *string            `json:"dingIsvOrgId,omitempty" xml:"dingIsvOrgId,omitempty"`
	DingOrgId               *string            `json:"dingOrgId,omitempty" xml:"dingOrgId,omitempty"`
	DingSuiteKey            *string            `json:"dingSuiteKey,omitempty" xml:"dingSuiteKey,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetTbProjectSourceHeaders) GoString

func (s GetTbProjectSourceHeaders) GoString() string

func (*GetTbProjectSourceHeaders) SetCommonHeaders

func (*GetTbProjectSourceHeaders) SetDingAccessTokenType

func (s *GetTbProjectSourceHeaders) SetDingAccessTokenType(v string) *GetTbProjectSourceHeaders

func (*GetTbProjectSourceHeaders) SetDingCorpId

func (*GetTbProjectSourceHeaders) SetDingIsvOrgId

func (*GetTbProjectSourceHeaders) SetDingOrgId

func (*GetTbProjectSourceHeaders) SetDingSuiteKey

func (*GetTbProjectSourceHeaders) SetXAcsDingtalkAccessToken

func (s *GetTbProjectSourceHeaders) SetXAcsDingtalkAccessToken(v string) *GetTbProjectSourceHeaders

func (GetTbProjectSourceHeaders) String

func (s GetTbProjectSourceHeaders) String() string

type GetTbProjectSourceResponse

type GetTbProjectSourceResponse struct {
	Headers map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetTbProjectSourceResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetTbProjectSourceResponse) GoString

func (s GetTbProjectSourceResponse) GoString() string

func (*GetTbProjectSourceResponse) SetBody

func (*GetTbProjectSourceResponse) SetHeaders

func (GetTbProjectSourceResponse) String

type GetTbProjectSourceResponseBody

type GetTbProjectSourceResponseBody struct {
	// 应用安装来源,"0":来自应用中心,”6“:预安装
	InstallSource *string `json:"installSource,omitempty" xml:"installSource,omitempty"`
}

func (GetTbProjectSourceResponseBody) GoString

func (*GetTbProjectSourceResponseBody) SetInstallSource

func (GetTbProjectSourceResponseBody) String

Jump to

Keyboard shortcuts

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