okr_1_0

package
v1.3.34 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 5 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 AlignObjectiveHeaders

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

func (AlignObjectiveHeaders) GoString

func (s AlignObjectiveHeaders) GoString() string

func (*AlignObjectiveHeaders) SetCommonHeaders

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

func (*AlignObjectiveHeaders) SetXAcsDingtalkAccessToken

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

func (AlignObjectiveHeaders) String

func (s AlignObjectiveHeaders) String() string

type AlignObjectiveRequest

type AlignObjectiveRequest struct {
	// 周期 ID。
	PeriodId *string `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 对齐目标的 ID。
	TargetId *string `json:"targetId,omitempty" xml:"targetId,omitempty"`
	// 当前用户的 user ID。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (AlignObjectiveRequest) GoString

func (s AlignObjectiveRequest) GoString() string

func (*AlignObjectiveRequest) SetPeriodId

func (*AlignObjectiveRequest) SetTargetId

func (*AlignObjectiveRequest) SetUserId

func (AlignObjectiveRequest) String

func (s AlignObjectiveRequest) String() string

type AlignObjectiveResponse

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

func (AlignObjectiveResponse) GoString

func (s AlignObjectiveResponse) GoString() string

func (*AlignObjectiveResponse) SetBody

func (*AlignObjectiveResponse) SetHeaders

func (AlignObjectiveResponse) String

func (s AlignObjectiveResponse) String() string

type AlignObjectiveResponseBody

type AlignObjectiveResponseBody struct {
	// data
	Data *AlignObjectiveResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// success
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (AlignObjectiveResponseBody) GoString

func (s AlignObjectiveResponseBody) GoString() string

func (*AlignObjectiveResponseBody) SetData

func (*AlignObjectiveResponseBody) SetSuccess

func (AlignObjectiveResponseBody) String

type AlignObjectiveResponseBodyData

type AlignObjectiveResponseBodyData struct {
	// 对齐目标的 ID。
	AlignId io.Reader `json:"alignId,omitempty" xml:"alignId,omitempty"`
	// 当前 Objective 的ID
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
}

func (AlignObjectiveResponseBodyData) GoString

func (*AlignObjectiveResponseBodyData) SetAlignId

func (*AlignObjectiveResponseBodyData) SetId

func (AlignObjectiveResponseBodyData) String

type BatchAddPermissionHeaders

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

func (BatchAddPermissionHeaders) GoString

func (s BatchAddPermissionHeaders) GoString() string

func (*BatchAddPermissionHeaders) SetCommonHeaders

func (*BatchAddPermissionHeaders) SetXAcsDingtalkAccessToken

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

func (BatchAddPermissionHeaders) String

func (s BatchAddPermissionHeaders) String() string

type BatchAddPermissionRequest

type BatchAddPermissionRequest struct {
	List       []*BatchAddPermissionRequestList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	TargetId   *string                          `json:"targetId,omitempty" xml:"targetId,omitempty"`
	TargetType *string                          `json:"targetType,omitempty" xml:"targetType,omitempty"`
	// A short description of struct
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (BatchAddPermissionRequest) GoString

func (s BatchAddPermissionRequest) GoString() string

func (*BatchAddPermissionRequest) SetList

func (*BatchAddPermissionRequest) SetTargetId

func (*BatchAddPermissionRequest) SetTargetType

func (*BatchAddPermissionRequest) SetUserId

func (BatchAddPermissionRequest) String

func (s BatchAddPermissionRequest) String() string

type BatchAddPermissionRequestList

type BatchAddPermissionRequestList struct {
	Member     *BatchAddPermissionRequestListMember `json:"member,omitempty" xml:"member,omitempty" type:"Struct"`
	PolicyType *int64                               `json:"policyType,omitempty" xml:"policyType,omitempty"`
}

func (BatchAddPermissionRequestList) GoString

func (*BatchAddPermissionRequestList) SetPolicyType

func (BatchAddPermissionRequestList) String

type BatchAddPermissionRequestListMember

type BatchAddPermissionRequestListMember struct {
	Id   *string `json:"id,omitempty" xml:"id,omitempty"`
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (BatchAddPermissionRequestListMember) GoString

func (*BatchAddPermissionRequestListMember) SetId

func (*BatchAddPermissionRequestListMember) SetType

func (BatchAddPermissionRequestListMember) String

type BatchAddPermissionResponse

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

func (BatchAddPermissionResponse) GoString

func (s BatchAddPermissionResponse) GoString() string

func (*BatchAddPermissionResponse) SetBody

func (*BatchAddPermissionResponse) SetHeaders

func (BatchAddPermissionResponse) String

type BatchAddPermissionResponseBody

type BatchAddPermissionResponseBody struct {
	// 返回的数据。
	Data *BatchAddPermissionResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (BatchAddPermissionResponseBody) GoString

func (*BatchAddPermissionResponseBody) SetSuccess

func (BatchAddPermissionResponseBody) String

type BatchAddPermissionResponseBodyData

type BatchAddPermissionResponseBodyData struct {
	// 是否有无效的成员。
	HasInvalidUser *bool `json:"hasInvalidUser,omitempty" xml:"hasInvalidUser,omitempty"`
	// 权限信息。
	PermissionTree *BatchAddPermissionResponseBodyDataPermissionTree `json:"permissionTree,omitempty" xml:"permissionTree,omitempty" type:"Struct"`
}

func (BatchAddPermissionResponseBodyData) GoString

func (*BatchAddPermissionResponseBodyData) SetHasInvalidUser

func (BatchAddPermissionResponseBodyData) String

type BatchAddPermissionResponseBodyDataPermissionTree

type BatchAddPermissionResponseBodyDataPermissionTree struct {
	// 权限 ID。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 权限列表
	PolicyList []*BatchAddPermissionResponseBodyDataPermissionTreePolicyList `json:"policyList,omitempty" xml:"policyList,omitempty" type:"Repeated"`
	// 是否可见的标识。
	Privacy *string `json:"privacy,omitempty" xml:"privacy,omitempty"`
	// 哪种类型的权限。
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (BatchAddPermissionResponseBodyDataPermissionTree) GoString

func (*BatchAddPermissionResponseBodyDataPermissionTree) SetId

func (*BatchAddPermissionResponseBodyDataPermissionTree) SetPrivacy

func (*BatchAddPermissionResponseBodyDataPermissionTree) SetType

func (BatchAddPermissionResponseBodyDataPermissionTree) String

type BatchAddPermissionResponseBodyDataPermissionTreePolicyList

type BatchAddPermissionResponseBodyDataPermissionTreePolicyList struct {
	MemberList []*BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList `json:"memberList,omitempty" xml:"memberList,omitempty" type:"Repeated"`
	Name       *string                                                                 `json:"name,omitempty" xml:"name,omitempty"`
	Type       *int64                                                                  `json:"type,omitempty" xml:"type,omitempty"`
}

func (BatchAddPermissionResponseBodyDataPermissionTreePolicyList) GoString

func (*BatchAddPermissionResponseBodyDataPermissionTreePolicyList) SetName

func (*BatchAddPermissionResponseBodyDataPermissionTreePolicyList) SetType

func (BatchAddPermissionResponseBodyDataPermissionTreePolicyList) String

type BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList

type BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList struct {
	Id       *string `json:"id,omitempty" xml:"id,omitempty"`
	Nickname *string `json:"nickname,omitempty" xml:"nickname,omitempty"`
	Type     *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList) GoString

func (*BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList) SetId

func (*BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList) SetNickname

func (*BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList) SetType

func (BatchAddPermissionResponseBodyDataPermissionTreePolicyListMemberList) String

type BatchQueryObjectiveHeaders

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

func (BatchQueryObjectiveHeaders) GoString

func (s BatchQueryObjectiveHeaders) GoString() string

func (*BatchQueryObjectiveHeaders) SetCommonHeaders

func (*BatchQueryObjectiveHeaders) SetXAcsDingtalkAccessToken

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

func (BatchQueryObjectiveHeaders) String

type BatchQueryObjectiveRequest

type BatchQueryObjectiveRequest struct {
	// 需要查看的 Objective ID。
	ObjectiveIds []*string `json:"objectiveIds,omitempty" xml:"objectiveIds,omitempty" type:"Repeated"`
	// 周期 ID。
	PeriodId *string `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 是否返回关联信息。
	WithAlign *bool `json:"withAlign,omitempty" xml:"withAlign,omitempty"`
	// 是否返回 KR 信息。
	WithKr *bool `json:"withKr,omitempty" xml:"withKr,omitempty"`
	// 是否返回进度信息
	WithProgress *bool `json:"withProgress,omitempty" xml:"withProgress,omitempty"`
	// 当前用户的 staff ID。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (BatchQueryObjectiveRequest) GoString

func (s BatchQueryObjectiveRequest) GoString() string

func (*BatchQueryObjectiveRequest) SetObjectiveIds

func (*BatchQueryObjectiveRequest) SetPeriodId

func (*BatchQueryObjectiveRequest) SetUserId

func (*BatchQueryObjectiveRequest) SetWithAlign

func (*BatchQueryObjectiveRequest) SetWithKr

func (*BatchQueryObjectiveRequest) SetWithProgress

func (BatchQueryObjectiveRequest) String

type BatchQueryObjectiveResponse

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

func (BatchQueryObjectiveResponse) GoString

func (s BatchQueryObjectiveResponse) GoString() string

func (*BatchQueryObjectiveResponse) SetBody

func (*BatchQueryObjectiveResponse) SetHeaders

func (BatchQueryObjectiveResponse) String

type BatchQueryObjectiveResponseBody

type BatchQueryObjectiveResponseBody struct {
	// data
	Data []*BatchQueryObjectiveResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (BatchQueryObjectiveResponseBody) GoString

func (*BatchQueryObjectiveResponseBody) SetData

func (*BatchQueryObjectiveResponseBody) SetSuccess

func (BatchQueryObjectiveResponseBody) String

type BatchQueryObjectiveResponseBodyData

type BatchQueryObjectiveResponseBodyData struct {
	// 被对齐的 Objective。
	AlignFromIds []io.Reader `json:"alignFromIds,omitempty" xml:"alignFromIds,omitempty" type:"Repeated"`
	// 对齐的 Objective。
	AlignToIds []io.Reader `json:"alignToIds,omitempty" xml:"alignToIds,omitempty" type:"Repeated"`
	// Objective 内容。
	Content io.Reader `json:"content,omitempty" xml:"content,omitempty"`
	// 创建时间。时间戳
	GmtCreate *float32 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// 更新时间。时间戳
	GmtModified *float32 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// objective。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// KR 详情列表。
	KrList []*BatchQueryObjectiveResponseBodyDataKrList `json:"krList,omitempty" xml:"krList,omitempty" type:"Repeated"`
	// 所属者信息。
	Owner *BatchQueryObjectiveResponseBodyDataOwner `json:"owner,omitempty" xml:"owner,omitempty" type:"Struct"`
	// 周期 ID。
	PeriodId io.Reader `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 权限值。
	Permission []*float32 `json:"permission,omitempty" xml:"permission,omitempty" type:"Repeated"`
	// 所在位置。
	Position *int32 `json:"position,omitempty" xml:"position,omitempty"`
	// 进度值。
	Progress *BatchQueryObjectiveResponseBodyDataProgress `json:"progress,omitempty" xml:"progress,omitempty" type:"Struct"`
	// 百分比值。
	ProgressPercent *float32 `json:"progressPercent,omitempty" xml:"progressPercent,omitempty"`
	// 是否已发布。
	Published *bool `json:"published,omitempty" xml:"published,omitempty"`
	// 分数值。
	Score *float32 `json:"score,omitempty" xml:"score,omitempty"`
	// 当前内容状态。
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
	// 用户 ID。
	UserId io.Reader `json:"userId,omitempty" xml:"userId,omitempty"`
	// 权重值。
	Weight *float32 `json:"weight,omitempty" xml:"weight,omitempty"`
}

func (BatchQueryObjectiveResponseBodyData) GoString

func (*BatchQueryObjectiveResponseBodyData) SetAlignFromIds

func (*BatchQueryObjectiveResponseBodyData) SetAlignToIds

func (*BatchQueryObjectiveResponseBodyData) SetContent

func (*BatchQueryObjectiveResponseBodyData) SetGmtCreate

func (*BatchQueryObjectiveResponseBodyData) SetGmtModified

func (*BatchQueryObjectiveResponseBodyData) SetId

func (*BatchQueryObjectiveResponseBodyData) SetPeriodId

func (*BatchQueryObjectiveResponseBodyData) SetPermission

func (*BatchQueryObjectiveResponseBodyData) SetPosition

func (*BatchQueryObjectiveResponseBodyData) SetProgressPercent

func (*BatchQueryObjectiveResponseBodyData) SetPublished

func (*BatchQueryObjectiveResponseBodyData) SetScore

func (*BatchQueryObjectiveResponseBodyData) SetStatus

func (*BatchQueryObjectiveResponseBodyData) SetUserId

func (*BatchQueryObjectiveResponseBodyData) SetWeight

func (BatchQueryObjectiveResponseBodyData) String

type BatchQueryObjectiveResponseBodyDataKrList

type BatchQueryObjectiveResponseBodyDataKrList struct {
	// KR 内容。
	Content io.Reader `json:"content,omitempty" xml:"content,omitempty"`
	// 创建时间。时间戳
	GmtCreate *float32 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// 更新时间。时间戳
	GmtModified *float32 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// KR 的 ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// 所属 Objective ID。
	ObjectiveId io.Reader `json:"objectiveId,omitempty" xml:"objectiveId,omitempty"`
	// KR 权限。
	Permission []*float32 `json:"permission,omitempty" xml:"permission,omitempty" type:"Repeated"`
	// 所处位置。
	Position *int64 `json:"position,omitempty" xml:"position,omitempty"`
	// KR 进度。
	Progress *BatchQueryObjectiveResponseBodyDataKrListProgress `json:"progress,omitempty" xml:"progress,omitempty" type:"Struct"`
	// 所占分数。
	Score *float32 `json:"score,omitempty" xml:"score,omitempty"`
	// 所占权重。
	Weight *float32 `json:"weight,omitempty" xml:"weight,omitempty"`
}

func (BatchQueryObjectiveResponseBodyDataKrList) GoString

func (*BatchQueryObjectiveResponseBodyDataKrList) SetContent

func (*BatchQueryObjectiveResponseBodyDataKrList) SetGmtCreate

func (*BatchQueryObjectiveResponseBodyDataKrList) SetGmtModified

func (*BatchQueryObjectiveResponseBodyDataKrList) SetId

func (*BatchQueryObjectiveResponseBodyDataKrList) SetObjectiveId

func (*BatchQueryObjectiveResponseBodyDataKrList) SetPermission

func (*BatchQueryObjectiveResponseBodyDataKrList) SetPosition

func (*BatchQueryObjectiveResponseBodyDataKrList) SetScore

func (*BatchQueryObjectiveResponseBodyDataKrList) SetWeight

func (BatchQueryObjectiveResponseBodyDataKrList) String

type BatchQueryObjectiveResponseBodyDataKrListProgress

type BatchQueryObjectiveResponseBodyDataKrListProgress struct {
	// 百分比。
	Percent *int32 `json:"percent,omitempty" xml:"percent,omitempty"`
}

func (BatchQueryObjectiveResponseBodyDataKrListProgress) GoString

func (*BatchQueryObjectiveResponseBodyDataKrListProgress) SetPercent

func (BatchQueryObjectiveResponseBodyDataKrListProgress) String

type BatchQueryObjectiveResponseBodyDataOwner

type BatchQueryObjectiveResponseBodyDataOwner struct {
	// 所属者头像。 ID
	AvatarMediaId io.Reader `json:"avatarMediaId,omitempty" xml:"avatarMediaId,omitempty"`
	// 所属者组织 I。D
	CorpId io.Reader `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// 所属者在 OKR 系统中的 ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// 所属者昵称。
	Nickname io.Reader `json:"nickname,omitempty" xml:"nickname,omitempty"`
	// 所属者 userId。
	UserId io.Reader `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (BatchQueryObjectiveResponseBodyDataOwner) GoString

func (*BatchQueryObjectiveResponseBodyDataOwner) SetAvatarMediaId

func (*BatchQueryObjectiveResponseBodyDataOwner) SetCorpId

func (*BatchQueryObjectiveResponseBodyDataOwner) SetId

func (*BatchQueryObjectiveResponseBodyDataOwner) SetNickname

func (*BatchQueryObjectiveResponseBodyDataOwner) SetUserId

func (BatchQueryObjectiveResponseBodyDataOwner) String

type BatchQueryObjectiveResponseBodyDataProgress

type BatchQueryObjectiveResponseBodyDataProgress struct {
	// 百分比。
	Percent *int32 `json:"percent,omitempty" xml:"percent,omitempty"`
}

func (BatchQueryObjectiveResponseBodyDataProgress) GoString

func (*BatchQueryObjectiveResponseBodyDataProgress) SetPercent

func (BatchQueryObjectiveResponseBodyDataProgress) String

type BatchQueryUserHeaders

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

func (BatchQueryUserHeaders) GoString

func (s BatchQueryUserHeaders) GoString() string

func (*BatchQueryUserHeaders) SetCommonHeaders

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

func (*BatchQueryUserHeaders) SetXAcsDingtalkAccessToken

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

func (BatchQueryUserHeaders) String

func (s BatchQueryUserHeaders) String() string

type BatchQueryUserRequest

type BatchQueryUserRequest struct {
	// OKR 系统中的用户 ID 列表
	OkrUserIds []*string `json:"okrUserIds,omitempty" xml:"okrUserIds,omitempty" type:"Repeated"`
	// 开放平台中用户 ID 列表
	UserIds []*string `json:"userIds,omitempty" xml:"userIds,omitempty" type:"Repeated"`
}

func (BatchQueryUserRequest) GoString

func (s BatchQueryUserRequest) GoString() string

func (*BatchQueryUserRequest) SetOkrUserIds

func (s *BatchQueryUserRequest) SetOkrUserIds(v []*string) *BatchQueryUserRequest

func (*BatchQueryUserRequest) SetUserIds

func (s *BatchQueryUserRequest) SetUserIds(v []*string) *BatchQueryUserRequest

func (BatchQueryUserRequest) String

func (s BatchQueryUserRequest) String() string

type BatchQueryUserResponse

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

func (BatchQueryUserResponse) GoString

func (s BatchQueryUserResponse) GoString() string

func (*BatchQueryUserResponse) SetBody

func (*BatchQueryUserResponse) SetHeaders

func (BatchQueryUserResponse) String

func (s BatchQueryUserResponse) String() string

type BatchQueryUserResponseBody

type BatchQueryUserResponseBody struct {
	// data
	Data []*BatchQueryUserResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (BatchQueryUserResponseBody) GoString

func (s BatchQueryUserResponseBody) GoString() string

func (*BatchQueryUserResponseBody) SetData

func (*BatchQueryUserResponseBody) SetSuccess

func (BatchQueryUserResponseBody) String

type BatchQueryUserResponseBodyData

type BatchQueryUserResponseBodyData struct {
	// 所属者头像。 ID
	AvatarMediaId io.Reader `json:"avatarMediaId,omitempty" xml:"avatarMediaId,omitempty"`
	// 所属者头像。 URL
	AvatarUrl io.Reader `json:"avatarUrl,omitempty" xml:"avatarUrl,omitempty"`
	// 所属者组织 I。D
	CorpId io.Reader `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// 所属者在 OKR 系统中的 ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// 所属者昵称。
	Nickname io.Reader `json:"nickname,omitempty" xml:"nickname,omitempty"`
	// 所属者 userId。
	UserId io.Reader `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (BatchQueryUserResponseBodyData) GoString

func (*BatchQueryUserResponseBodyData) SetAvatarMediaId

func (*BatchQueryUserResponseBodyData) SetAvatarUrl

func (*BatchQueryUserResponseBodyData) SetCorpId

func (*BatchQueryUserResponseBodyData) SetId

func (*BatchQueryUserResponseBodyData) SetNickname

func (*BatchQueryUserResponseBodyData) SetUserId

func (BatchQueryUserResponseBodyData) String

type Client

type Client struct {
	openapi.Client
}

func NewClient

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

func (*Client) AlignObjective

func (client *Client) AlignObjective(objectiveId *string, request *AlignObjectiveRequest) (_result *AlignObjectiveResponse, _err error)

func (*Client) AlignObjectiveWithOptions

func (client *Client) AlignObjectiveWithOptions(objectiveId *string, request *AlignObjectiveRequest, headers *AlignObjectiveHeaders, runtime *util.RuntimeOptions) (_result *AlignObjectiveResponse, _err error)

func (*Client) BatchAddPermission

func (client *Client) BatchAddPermission(request *BatchAddPermissionRequest) (_result *BatchAddPermissionResponse, _err error)

func (*Client) BatchAddPermissionWithOptions

func (client *Client) BatchAddPermissionWithOptions(request *BatchAddPermissionRequest, headers *BatchAddPermissionHeaders, runtime *util.RuntimeOptions) (_result *BatchAddPermissionResponse, _err error)

func (*Client) BatchQueryObjective

func (client *Client) BatchQueryObjective(request *BatchQueryObjectiveRequest) (_result *BatchQueryObjectiveResponse, _err error)

func (*Client) BatchQueryObjectiveWithOptions

func (client *Client) BatchQueryObjectiveWithOptions(request *BatchQueryObjectiveRequest, headers *BatchQueryObjectiveHeaders, runtime *util.RuntimeOptions) (_result *BatchQueryObjectiveResponse, _err error)

func (*Client) BatchQueryUser

func (client *Client) BatchQueryUser(request *BatchQueryUserRequest) (_result *BatchQueryUserResponse, _err error)

func (*Client) BatchQueryUserWithOptions

func (client *Client) BatchQueryUserWithOptions(request *BatchQueryUserRequest, headers *BatchQueryUserHeaders, runtime *util.RuntimeOptions) (_result *BatchQueryUserResponse, _err error)

func (*Client) CreateKeyResult

func (client *Client) CreateKeyResult(request *CreateKeyResultRequest) (_result *CreateKeyResultResponse, _err error)

func (*Client) CreateKeyResultWithOptions

func (client *Client) CreateKeyResultWithOptions(request *CreateKeyResultRequest, headers *CreateKeyResultHeaders, runtime *util.RuntimeOptions) (_result *CreateKeyResultResponse, _err error)

func (*Client) CreateObjective

func (client *Client) CreateObjective(request *CreateObjectiveRequest) (_result *CreateObjectiveResponse, _err error)

func (*Client) CreateObjectiveWithOptions

func (client *Client) CreateObjectiveWithOptions(request *CreateObjectiveRequest, headers *CreateObjectiveHeaders, runtime *util.RuntimeOptions) (_result *CreateObjectiveResponse, _err error)

func (*Client) DeleteKeyResult

func (client *Client) DeleteKeyResult(request *DeleteKeyResultRequest) (_result *DeleteKeyResultResponse, _err error)

func (*Client) DeleteKeyResultWithOptions

func (client *Client) DeleteKeyResultWithOptions(request *DeleteKeyResultRequest, headers *DeleteKeyResultHeaders, runtime *util.RuntimeOptions) (_result *DeleteKeyResultResponse, _err error)

func (*Client) DeleteObjective

func (client *Client) DeleteObjective(objectiveId *string, request *DeleteObjectiveRequest) (_result *DeleteObjectiveResponse, _err error)

func (*Client) DeleteObjectiveWithOptions

func (client *Client) DeleteObjectiveWithOptions(objectiveId *string, request *DeleteObjectiveRequest, headers *DeleteObjectiveHeaders, runtime *util.RuntimeOptions) (_result *DeleteObjectiveResponse, _err error)

func (*Client) DeletePermission

func (client *Client) DeletePermission(request *DeletePermissionRequest) (_result *DeletePermissionResponse, _err error)

func (*Client) DeletePermissionWithOptions

func (client *Client) DeletePermissionWithOptions(request *DeletePermissionRequest, headers *DeletePermissionHeaders, runtime *util.RuntimeOptions) (_result *DeletePermissionResponse, _err error)

func (*Client) GetPeriodList

func (client *Client) GetPeriodList() (_result *GetPeriodListResponse, _err error)

func (*Client) GetPeriodListWithOptions

func (client *Client) GetPeriodListWithOptions(headers *GetPeriodListHeaders, runtime *util.RuntimeOptions) (_result *GetPeriodListResponse, _err error)

func (*Client) GetPermission

func (client *Client) GetPermission(request *GetPermissionRequest) (_result *GetPermissionResponse, _err error)

func (*Client) GetPermissionWithOptions

func (client *Client) GetPermissionWithOptions(request *GetPermissionRequest, headers *GetPermissionHeaders, runtime *util.RuntimeOptions) (_result *GetPermissionResponse, _err error)

func (*Client) GetUserOkr

func (client *Client) GetUserOkr(request *GetUserOkrRequest) (_result *GetUserOkrResponse, _err error)

func (*Client) GetUserOkrWithOptions

func (client *Client) GetUserOkrWithOptions(request *GetUserOkrRequest, headers *GetUserOkrHeaders, runtime *util.RuntimeOptions) (_result *GetUserOkrResponse, _err error)

func (*Client) Init

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

func (*Client) UnAlignObjective

func (client *Client) UnAlignObjective(objectiveId *string, request *UnAlignObjectiveRequest) (_result *UnAlignObjectiveResponse, _err error)

func (*Client) UnAlignObjectiveWithOptions

func (client *Client) UnAlignObjectiveWithOptions(objectiveId *string, request *UnAlignObjectiveRequest, headers *UnAlignObjectiveHeaders, runtime *util.RuntimeOptions) (_result *UnAlignObjectiveResponse, _err error)

func (*Client) UpdateKROfContent

func (client *Client) UpdateKROfContent(request *UpdateKROfContentRequest) (_result *UpdateKROfContentResponse, _err error)

func (*Client) UpdateKROfContentWithOptions

func (client *Client) UpdateKROfContentWithOptions(request *UpdateKROfContentRequest, headers *UpdateKROfContentHeaders, runtime *util.RuntimeOptions) (_result *UpdateKROfContentResponse, _err error)

func (*Client) UpdateKROfScore

func (client *Client) UpdateKROfScore(request *UpdateKROfScoreRequest) (_result *UpdateKROfScoreResponse, _err error)

func (*Client) UpdateKROfScoreWithOptions

func (client *Client) UpdateKROfScoreWithOptions(request *UpdateKROfScoreRequest, headers *UpdateKROfScoreHeaders, runtime *util.RuntimeOptions) (_result *UpdateKROfScoreResponse, _err error)

func (*Client) UpdateKROfWeight

func (client *Client) UpdateKROfWeight(request *UpdateKROfWeightRequest) (_result *UpdateKROfWeightResponse, _err error)

func (*Client) UpdateKROfWeightWithOptions

func (client *Client) UpdateKROfWeightWithOptions(request *UpdateKROfWeightRequest, headers *UpdateKROfWeightHeaders, runtime *util.RuntimeOptions) (_result *UpdateKROfWeightResponse, _err error)

func (*Client) UpdateObjective

func (client *Client) UpdateObjective(objectiveId *string, request *UpdateObjectiveRequest) (_result *UpdateObjectiveResponse, _err error)

func (*Client) UpdateObjectiveWithOptions

func (client *Client) UpdateObjectiveWithOptions(objectiveId *string, request *UpdateObjectiveRequest, headers *UpdateObjectiveHeaders, runtime *util.RuntimeOptions) (_result *UpdateObjectiveResponse, _err error)

func (*Client) UpdatePrivacy

func (client *Client) UpdatePrivacy(request *UpdatePrivacyRequest) (_result *UpdatePrivacyResponse, _err error)

func (*Client) UpdatePrivacyWithOptions

func (client *Client) UpdatePrivacyWithOptions(request *UpdatePrivacyRequest, headers *UpdatePrivacyHeaders, runtime *util.RuntimeOptions) (_result *UpdatePrivacyResponse, _err error)

type CreateKeyResultHeaders

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

func (CreateKeyResultHeaders) GoString

func (s CreateKeyResultHeaders) GoString() string

func (*CreateKeyResultHeaders) SetCommonHeaders

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

func (*CreateKeyResultHeaders) SetXAcsDingtalkAccessToken

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

func (CreateKeyResultHeaders) String

func (s CreateKeyResultHeaders) String() string

type CreateKeyResultRequest

type CreateKeyResultRequest struct {
	// KR 内容。
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// 所属 Objective ID。
	ObjectiveId *string `json:"objectiveId,omitempty" xml:"objectiveId,omitempty"`
	// 周期 ID。
	PeriodId *string `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 上一个 KR 的位置。
	PrevPosition *int64 `json:"prevPosition,omitempty" xml:"prevPosition,omitempty"`
	// KR 的权重比。
	Weight *int64 `json:"weight,omitempty" xml:"weight,omitempty"`
	// 当前用户的 user ID。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (CreateKeyResultRequest) GoString

func (s CreateKeyResultRequest) GoString() string

func (*CreateKeyResultRequest) SetContent

func (*CreateKeyResultRequest) SetObjectiveId

func (*CreateKeyResultRequest) SetPeriodId

func (*CreateKeyResultRequest) SetPrevPosition

func (s *CreateKeyResultRequest) SetPrevPosition(v int64) *CreateKeyResultRequest

func (*CreateKeyResultRequest) SetUserId

func (*CreateKeyResultRequest) SetWeight

func (CreateKeyResultRequest) String

func (s CreateKeyResultRequest) String() string

type CreateKeyResultResponse

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

func (CreateKeyResultResponse) GoString

func (s CreateKeyResultResponse) GoString() string

func (*CreateKeyResultResponse) SetBody

func (*CreateKeyResultResponse) SetHeaders

func (CreateKeyResultResponse) String

func (s CreateKeyResultResponse) String() string

type CreateKeyResultResponseBody

type CreateKeyResultResponseBody struct {
	Data *CreateKeyResultResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (CreateKeyResultResponseBody) GoString

func (s CreateKeyResultResponseBody) GoString() string

func (*CreateKeyResultResponseBody) SetData

func (*CreateKeyResultResponseBody) SetSuccess

func (CreateKeyResultResponseBody) String

type CreateKeyResultResponseBodyData

type CreateKeyResultResponseBodyData struct {
	// 创建成功的 KR ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// KR的位置。
	Position *int64 `json:"position,omitempty" xml:"position,omitempty"`
	// KR 的权重。
	Weight *int64 `json:"weight,omitempty" xml:"weight,omitempty"`
}

func (CreateKeyResultResponseBodyData) GoString

func (*CreateKeyResultResponseBodyData) SetId

func (*CreateKeyResultResponseBodyData) SetPosition

func (*CreateKeyResultResponseBodyData) SetWeight

func (CreateKeyResultResponseBodyData) String

type CreateObjectiveHeaders

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

func (CreateObjectiveHeaders) GoString

func (s CreateObjectiveHeaders) GoString() string

func (*CreateObjectiveHeaders) SetCommonHeaders

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

func (*CreateObjectiveHeaders) SetXAcsDingtalkAccessToken

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

func (CreateObjectiveHeaders) String

func (s CreateObjectiveHeaders) String() string

type CreateObjectiveRequest

type CreateObjectiveRequest struct {
	// 创建Objective 的内容
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// 当前周期 ID。
	PeriodId *string `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 上一个 Objective 的位置。
	PrevPosition *string `json:"prevPosition,omitempty" xml:"prevPosition,omitempty"`
	// 当前用户的 userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (CreateObjectiveRequest) GoString

func (s CreateObjectiveRequest) GoString() string

func (*CreateObjectiveRequest) SetContent

func (*CreateObjectiveRequest) SetPeriodId

func (*CreateObjectiveRequest) SetPrevPosition

func (s *CreateObjectiveRequest) SetPrevPosition(v string) *CreateObjectiveRequest

func (*CreateObjectiveRequest) SetUserId

func (CreateObjectiveRequest) String

func (s CreateObjectiveRequest) String() string

type CreateObjectiveResponse

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

func (CreateObjectiveResponse) GoString

func (s CreateObjectiveResponse) GoString() string

func (*CreateObjectiveResponse) SetBody

func (*CreateObjectiveResponse) SetHeaders

func (CreateObjectiveResponse) String

func (s CreateObjectiveResponse) String() string

type CreateObjectiveResponseBody

type CreateObjectiveResponseBody struct {
	// data
	Data *CreateObjectiveResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (CreateObjectiveResponseBody) GoString

func (s CreateObjectiveResponseBody) GoString() string

func (*CreateObjectiveResponseBody) SetData

func (*CreateObjectiveResponseBody) SetSuccess

func (CreateObjectiveResponseBody) String

type CreateObjectiveResponseBodyData

type CreateObjectiveResponseBodyData struct {
	// 当前 Objective ID。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 当前 Objective 的位置。
	Position *string `json:"position,omitempty" xml:"position,omitempty"`
}

func (CreateObjectiveResponseBodyData) GoString

func (*CreateObjectiveResponseBodyData) SetId

func (*CreateObjectiveResponseBodyData) SetPosition

func (CreateObjectiveResponseBodyData) String

type DeleteKeyResultHeaders

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

func (DeleteKeyResultHeaders) GoString

func (s DeleteKeyResultHeaders) GoString() string

func (*DeleteKeyResultHeaders) SetCommonHeaders

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

func (*DeleteKeyResultHeaders) SetXAcsDingtalkAccessToken

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

func (DeleteKeyResultHeaders) String

func (s DeleteKeyResultHeaders) String() string

type DeleteKeyResultRequest

type DeleteKeyResultRequest struct {
	// 当前 KR id。
	KrId *string `json:"krId,omitempty" xml:"krId,omitempty"`
	// 当前用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (DeleteKeyResultRequest) GoString

func (s DeleteKeyResultRequest) GoString() string

func (*DeleteKeyResultRequest) SetKrId

func (*DeleteKeyResultRequest) SetUserId

func (DeleteKeyResultRequest) String

func (s DeleteKeyResultRequest) String() string

type DeleteKeyResultResponse

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

func (DeleteKeyResultResponse) GoString

func (s DeleteKeyResultResponse) GoString() string

func (*DeleteKeyResultResponse) SetBody

func (*DeleteKeyResultResponse) SetHeaders

func (DeleteKeyResultResponse) String

func (s DeleteKeyResultResponse) String() string

type DeleteKeyResultResponseBody

type DeleteKeyResultResponseBody struct {
	// 返回的信息
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (DeleteKeyResultResponseBody) GoString

func (s DeleteKeyResultResponseBody) GoString() string

func (*DeleteKeyResultResponseBody) SetData

func (*DeleteKeyResultResponseBody) SetSuccess

func (DeleteKeyResultResponseBody) String

type DeleteObjectiveHeaders

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

func (DeleteObjectiveHeaders) GoString

func (s DeleteObjectiveHeaders) GoString() string

func (*DeleteObjectiveHeaders) SetCommonHeaders

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

func (*DeleteObjectiveHeaders) SetXAcsDingtalkAccessToken

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

func (DeleteObjectiveHeaders) String

func (s DeleteObjectiveHeaders) String() string

type DeleteObjectiveRequest

type DeleteObjectiveRequest struct {
	// 当前用户的 userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (DeleteObjectiveRequest) GoString

func (s DeleteObjectiveRequest) GoString() string

func (*DeleteObjectiveRequest) SetUserId

func (DeleteObjectiveRequest) String

func (s DeleteObjectiveRequest) String() string

type DeleteObjectiveResponse

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

func (DeleteObjectiveResponse) GoString

func (s DeleteObjectiveResponse) GoString() string

func (*DeleteObjectiveResponse) SetBody

func (*DeleteObjectiveResponse) SetHeaders

func (DeleteObjectiveResponse) String

func (s DeleteObjectiveResponse) String() string

type DeleteObjectiveResponseBody

type DeleteObjectiveResponseBody struct {
	// data
	Data *DeleteObjectiveResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (DeleteObjectiveResponseBody) GoString

func (s DeleteObjectiveResponseBody) GoString() string

func (*DeleteObjectiveResponseBody) SetData

func (*DeleteObjectiveResponseBody) SetSuccess

func (DeleteObjectiveResponseBody) String

type DeleteObjectiveResponseBodyData

type DeleteObjectiveResponseBodyData struct {
	// 当前 Objective ID。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
}

func (DeleteObjectiveResponseBodyData) GoString

func (*DeleteObjectiveResponseBodyData) SetId

func (DeleteObjectiveResponseBodyData) String

type DeletePermissionHeaders

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

func (DeletePermissionHeaders) GoString

func (s DeletePermissionHeaders) GoString() string

func (*DeletePermissionHeaders) SetCommonHeaders

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

func (*DeletePermissionHeaders) SetXAcsDingtalkAccessToken

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

func (DeletePermissionHeaders) String

func (s DeletePermissionHeaders) String() string

type DeletePermissionRequest

type DeletePermissionRequest struct {
	Id         *string `json:"id,omitempty" xml:"id,omitempty"`
	PolicyType *int64  `json:"policyType,omitempty" xml:"policyType,omitempty"`
	TargetId   *string `json:"targetId,omitempty" xml:"targetId,omitempty"`
	TargetType *string `json:"targetType,omitempty" xml:"targetType,omitempty"`
	Type       *string `json:"type,omitempty" xml:"type,omitempty"`
	// 当前用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (DeletePermissionRequest) GoString

func (s DeletePermissionRequest) GoString() string

func (*DeletePermissionRequest) SetId

func (*DeletePermissionRequest) SetPolicyType

func (*DeletePermissionRequest) SetTargetId

func (*DeletePermissionRequest) SetTargetType

func (*DeletePermissionRequest) SetType

func (*DeletePermissionRequest) SetUserId

func (DeletePermissionRequest) String

func (s DeletePermissionRequest) String() string

type DeletePermissionResponse

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

func (DeletePermissionResponse) GoString

func (s DeletePermissionResponse) GoString() string

func (*DeletePermissionResponse) SetBody

func (*DeletePermissionResponse) SetHeaders

func (DeletePermissionResponse) String

func (s DeletePermissionResponse) String() string

type DeletePermissionResponseBody

type DeletePermissionResponseBody struct {
	Data *DeletePermissionResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (DeletePermissionResponseBody) GoString

func (s DeletePermissionResponseBody) GoString() string

func (*DeletePermissionResponseBody) SetData

func (*DeletePermissionResponseBody) SetSuccess

func (DeletePermissionResponseBody) String

type DeletePermissionResponseBodyData

type DeletePermissionResponseBodyData struct {
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 权限列表
	PolicyList []*DeletePermissionResponseBodyDataPolicyList `json:"policyList,omitempty" xml:"policyList,omitempty" type:"Repeated"`
	// 是否可见的标识。
	Privacy *string `json:"privacy,omitempty" xml:"privacy,omitempty"`
	// 哪种类型的权限。
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DeletePermissionResponseBodyData) GoString

func (*DeletePermissionResponseBodyData) SetId

func (*DeletePermissionResponseBodyData) SetPrivacy

func (*DeletePermissionResponseBodyData) SetType

func (DeletePermissionResponseBodyData) String

type DeletePermissionResponseBodyDataPolicyList

type DeletePermissionResponseBodyDataPolicyList struct {
	MemberList []*DeletePermissionResponseBodyDataPolicyListMemberList `json:"memberList,omitempty" xml:"memberList,omitempty" type:"Repeated"`
	Name       *string                                                 `json:"name,omitempty" xml:"name,omitempty"`
	Type       *int64                                                  `json:"type,omitempty" xml:"type,omitempty"`
}

func (DeletePermissionResponseBodyDataPolicyList) GoString

func (*DeletePermissionResponseBodyDataPolicyList) SetName

func (*DeletePermissionResponseBodyDataPolicyList) SetType

func (DeletePermissionResponseBodyDataPolicyList) String

type DeletePermissionResponseBodyDataPolicyListMemberList

type DeletePermissionResponseBodyDataPolicyListMemberList struct {
	Id       *string `json:"id,omitempty" xml:"id,omitempty"`
	Nickname *string `json:"nickname,omitempty" xml:"nickname,omitempty"`
	Type     *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (DeletePermissionResponseBodyDataPolicyListMemberList) GoString

func (*DeletePermissionResponseBodyDataPolicyListMemberList) SetId

func (*DeletePermissionResponseBodyDataPolicyListMemberList) SetNickname

func (*DeletePermissionResponseBodyDataPolicyListMemberList) SetType

func (DeletePermissionResponseBodyDataPolicyListMemberList) String

type GetPeriodListHeaders

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

func (GetPeriodListHeaders) GoString

func (s GetPeriodListHeaders) GoString() string

func (*GetPeriodListHeaders) SetCommonHeaders

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

func (*GetPeriodListHeaders) SetXAcsDingtalkAccessToken

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

func (GetPeriodListHeaders) String

func (s GetPeriodListHeaders) String() string

type GetPeriodListResponse

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

func (GetPeriodListResponse) GoString

func (s GetPeriodListResponse) GoString() string

func (*GetPeriodListResponse) SetBody

func (*GetPeriodListResponse) SetHeaders

func (GetPeriodListResponse) String

func (s GetPeriodListResponse) String() string

type GetPeriodListResponseBody

type GetPeriodListResponseBody struct {
	// data
	Data *GetPeriodListResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// success
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetPeriodListResponseBody) GoString

func (s GetPeriodListResponseBody) GoString() string

func (*GetPeriodListResponseBody) SetData

func (*GetPeriodListResponseBody) SetSuccess

func (GetPeriodListResponseBody) String

func (s GetPeriodListResponseBody) String() string

type GetPeriodListResponseBodyData

type GetPeriodListResponseBodyData struct {
	PeriodList []*GetPeriodListResponseBodyDataPeriodList `json:"periodList,omitempty" xml:"periodList,omitempty" type:"Repeated"`
}

func (GetPeriodListResponseBodyData) GoString

func (*GetPeriodListResponseBodyData) SetPeriodList

func (GetPeriodListResponseBodyData) String

type GetPeriodListResponseBodyDataPeriodList

type GetPeriodListResponseBodyDataPeriodList struct {
	EndTime   *float32  `json:"endTime,omitempty" xml:"endTime,omitempty"`
	Id        io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	IsCurrent *bool     `json:"isCurrent,omitempty" xml:"isCurrent,omitempty"`
	IsYearly  *bool     `json:"isYearly,omitempty" xml:"isYearly,omitempty"`
	Name      io.Reader `json:"name,omitempty" xml:"name,omitempty"`
	StartTime *float32  `json:"startTime,omitempty" xml:"startTime,omitempty"`
}

func (GetPeriodListResponseBodyDataPeriodList) GoString

func (*GetPeriodListResponseBodyDataPeriodList) SetEndTime

func (*GetPeriodListResponseBodyDataPeriodList) SetId

func (*GetPeriodListResponseBodyDataPeriodList) SetIsCurrent

func (*GetPeriodListResponseBodyDataPeriodList) SetIsYearly

func (*GetPeriodListResponseBodyDataPeriodList) SetName

func (*GetPeriodListResponseBodyDataPeriodList) SetStartTime

func (GetPeriodListResponseBodyDataPeriodList) String

type GetPermissionHeaders

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

func (GetPermissionHeaders) GoString

func (s GetPermissionHeaders) GoString() string

func (*GetPermissionHeaders) SetCommonHeaders

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

func (*GetPermissionHeaders) SetXAcsDingtalkAccessToken

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

func (GetPermissionHeaders) String

func (s GetPermissionHeaders) String() string

type GetPermissionRequest

type GetPermissionRequest struct {
	TargetId   *string `json:"targetId,omitempty" xml:"targetId,omitempty"`
	TargetType *string `json:"targetType,omitempty" xml:"targetType,omitempty"`
	// A short description of struct
	UserId        *string `json:"userId,omitempty" xml:"userId,omitempty"`
	WithKr        *bool   `json:"withKr,omitempty" xml:"withKr,omitempty"`
	WithObjective *bool   `json:"withObjective,omitempty" xml:"withObjective,omitempty"`
}

func (GetPermissionRequest) GoString

func (s GetPermissionRequest) GoString() string

func (*GetPermissionRequest) SetTargetId

func (*GetPermissionRequest) SetTargetType

func (s *GetPermissionRequest) SetTargetType(v string) *GetPermissionRequest

func (*GetPermissionRequest) SetUserId

func (*GetPermissionRequest) SetWithKr

func (*GetPermissionRequest) SetWithObjective

func (s *GetPermissionRequest) SetWithObjective(v bool) *GetPermissionRequest

func (GetPermissionRequest) String

func (s GetPermissionRequest) String() string

type GetPermissionResponse

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

func (GetPermissionResponse) GoString

func (s GetPermissionResponse) GoString() string

func (*GetPermissionResponse) SetBody

func (*GetPermissionResponse) SetHeaders

func (GetPermissionResponse) String

func (s GetPermissionResponse) String() string

type GetPermissionResponseBody

type GetPermissionResponseBody struct {
	// 返回的数据。
	Data *GetPermissionResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetPermissionResponseBody) GoString

func (s GetPermissionResponseBody) GoString() string

func (*GetPermissionResponseBody) SetData

func (*GetPermissionResponseBody) SetSuccess

func (GetPermissionResponseBody) String

func (s GetPermissionResponseBody) String() string

type GetPermissionResponseBodyData

type GetPermissionResponseBodyData struct {
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 权限列表
	PolicyList []*GetPermissionResponseBodyDataPolicyList `json:"policyList,omitempty" xml:"policyList,omitempty" type:"Repeated"`
	// 是否可见的标识。
	Privacy *string `json:"privacy,omitempty" xml:"privacy,omitempty"`
	// 哪种类型的权限。
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (GetPermissionResponseBodyData) GoString

func (*GetPermissionResponseBodyData) SetId

func (*GetPermissionResponseBodyData) SetPolicyList

func (*GetPermissionResponseBodyData) SetPrivacy

func (*GetPermissionResponseBodyData) SetType

func (GetPermissionResponseBodyData) String

type GetPermissionResponseBodyDataPolicyList

type GetPermissionResponseBodyDataPolicyList struct {
	MemberList []*GetPermissionResponseBodyDataPolicyListMemberList `json:"memberList,omitempty" xml:"memberList,omitempty" type:"Repeated"`
	Name       *string                                              `json:"name,omitempty" xml:"name,omitempty"`
	Type       *int64                                               `json:"type,omitempty" xml:"type,omitempty"`
}

func (GetPermissionResponseBodyDataPolicyList) GoString

func (*GetPermissionResponseBodyDataPolicyList) SetName

func (*GetPermissionResponseBodyDataPolicyList) SetType

func (GetPermissionResponseBodyDataPolicyList) String

type GetPermissionResponseBodyDataPolicyListMemberList

type GetPermissionResponseBodyDataPolicyListMemberList struct {
	Id       *string `json:"id,omitempty" xml:"id,omitempty"`
	Nickname *string `json:"nickname,omitempty" xml:"nickname,omitempty"`
	Type     *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (GetPermissionResponseBodyDataPolicyListMemberList) GoString

func (*GetPermissionResponseBodyDataPolicyListMemberList) SetId

func (*GetPermissionResponseBodyDataPolicyListMemberList) SetNickname

func (*GetPermissionResponseBodyDataPolicyListMemberList) SetType

func (GetPermissionResponseBodyDataPolicyListMemberList) String

type GetUserOkrHeaders

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

func (GetUserOkrHeaders) GoString

func (s GetUserOkrHeaders) GoString() string

func (*GetUserOkrHeaders) SetCommonHeaders

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

func (*GetUserOkrHeaders) SetXAcsDingtalkAccessToken

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

func (GetUserOkrHeaders) String

func (s GetUserOkrHeaders) String() string

type GetUserOkrRequest

type GetUserOkrRequest struct {
	// 页码,默认 为 1。
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// 每页的个数,默认100。
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// 周期 ID。
	PeriodId *string `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 当前用户的user ID。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (GetUserOkrRequest) GoString

func (s GetUserOkrRequest) GoString() string

func (*GetUserOkrRequest) SetPageNumber

func (s *GetUserOkrRequest) SetPageNumber(v int64) *GetUserOkrRequest

func (*GetUserOkrRequest) SetPageSize

func (s *GetUserOkrRequest) SetPageSize(v int64) *GetUserOkrRequest

func (*GetUserOkrRequest) SetPeriodId

func (s *GetUserOkrRequest) SetPeriodId(v string) *GetUserOkrRequest

func (*GetUserOkrRequest) SetUserId

func (s *GetUserOkrRequest) SetUserId(v string) *GetUserOkrRequest

func (GetUserOkrRequest) String

func (s GetUserOkrRequest) String() string

type GetUserOkrResponse

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

func (GetUserOkrResponse) GoString

func (s GetUserOkrResponse) GoString() string

func (*GetUserOkrResponse) SetBody

func (*GetUserOkrResponse) SetHeaders

func (s *GetUserOkrResponse) SetHeaders(v map[string]*string) *GetUserOkrResponse

func (GetUserOkrResponse) String

func (s GetUserOkrResponse) String() string

type GetUserOkrResponseBody

type GetUserOkrResponseBody struct {
	// data
	Data *GetUserOkrResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (GetUserOkrResponseBody) GoString

func (s GetUserOkrResponseBody) GoString() string

func (*GetUserOkrResponseBody) SetData

func (*GetUserOkrResponseBody) SetSuccess

func (GetUserOkrResponseBody) String

func (s GetUserOkrResponseBody) String() string

type GetUserOkrResponseBodyData

type GetUserOkrResponseBodyData struct {
	// OKR 列表详情。
	List []*GetUserOkrResponseBodyDataList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
	// 当前页码。
	PageNumber *int64 `json:"pageNumber,omitempty" xml:"pageNumber,omitempty"`
	// 每一页的个数。
	PageSize *int64 `json:"pageSize,omitempty" xml:"pageSize,omitempty"`
	// 总数。
	TotalCount *int64 `json:"totalCount,omitempty" xml:"totalCount,omitempty"`
}

func (GetUserOkrResponseBodyData) GoString

func (s GetUserOkrResponseBodyData) GoString() string

func (*GetUserOkrResponseBodyData) SetList

func (*GetUserOkrResponseBodyData) SetPageNumber

func (*GetUserOkrResponseBodyData) SetPageSize

func (*GetUserOkrResponseBodyData) SetTotalCount

func (GetUserOkrResponseBodyData) String

type GetUserOkrResponseBodyDataList

type GetUserOkrResponseBodyDataList struct {
	// 被对齐的 Objective。
	AlignFromIds []io.Reader `json:"alignFromIds,omitempty" xml:"alignFromIds,omitempty" type:"Repeated"`
	// 对齐的 Objective。
	AlignToIds []io.Reader `json:"alignToIds,omitempty" xml:"alignToIds,omitempty" type:"Repeated"`
	// Objective 内容。
	Content io.Reader `json:"content,omitempty" xml:"content,omitempty"`
	// 创建时间。时间戳
	GmtCreate *float32 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// 更新时间。时间戳
	GmtModified *float32 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// objective。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// KR 详情列表。
	KrList []*GetUserOkrResponseBodyDataListKrList `json:"krList,omitempty" xml:"krList,omitempty" type:"Repeated"`
	// 所属者信息。
	Owner *GetUserOkrResponseBodyDataListOwner `json:"owner,omitempty" xml:"owner,omitempty" type:"Struct"`
	// 周期 ID。
	PeriodId io.Reader `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 权限值。
	Permission []*float32 `json:"permission,omitempty" xml:"permission,omitempty" type:"Repeated"`
	// 所在位置。
	Position *int32 `json:"position,omitempty" xml:"position,omitempty"`
	// 进度值。
	Progress *GetUserOkrResponseBodyDataListProgress `json:"progress,omitempty" xml:"progress,omitempty" type:"Struct"`
	// 百分比值。
	ProgressPercent *float32 `json:"progressPercent,omitempty" xml:"progressPercent,omitempty"`
	// 是否已发布。
	Published *bool `json:"published,omitempty" xml:"published,omitempty"`
	// 分数值。
	Score *float32 `json:"score,omitempty" xml:"score,omitempty"`
	// 当前内容状态。
	Status *int32 `json:"status,omitempty" xml:"status,omitempty"`
	// 用户 ID。
	UserId io.Reader `json:"userId,omitempty" xml:"userId,omitempty"`
	// 权重值。
	Weight *float32 `json:"weight,omitempty" xml:"weight,omitempty"`
}

func (GetUserOkrResponseBodyDataList) GoString

func (*GetUserOkrResponseBodyDataList) SetAlignFromIds

func (*GetUserOkrResponseBodyDataList) SetAlignToIds

func (*GetUserOkrResponseBodyDataList) SetContent

func (*GetUserOkrResponseBodyDataList) SetGmtCreate

func (*GetUserOkrResponseBodyDataList) SetGmtModified

func (*GetUserOkrResponseBodyDataList) SetId

func (*GetUserOkrResponseBodyDataList) SetKrList

func (*GetUserOkrResponseBodyDataList) SetPeriodId

func (*GetUserOkrResponseBodyDataList) SetPermission

func (*GetUserOkrResponseBodyDataList) SetPosition

func (*GetUserOkrResponseBodyDataList) SetProgressPercent

func (*GetUserOkrResponseBodyDataList) SetPublished

func (*GetUserOkrResponseBodyDataList) SetScore

func (*GetUserOkrResponseBodyDataList) SetStatus

func (*GetUserOkrResponseBodyDataList) SetUserId

func (*GetUserOkrResponseBodyDataList) SetWeight

func (GetUserOkrResponseBodyDataList) String

type GetUserOkrResponseBodyDataListKrList

type GetUserOkrResponseBodyDataListKrList struct {
	// KR 内容。
	Content io.Reader `json:"content,omitempty" xml:"content,omitempty"`
	// 创建时间。时间戳
	GmtCreate *float32 `json:"gmtCreate,omitempty" xml:"gmtCreate,omitempty"`
	// 更新时间。时间戳
	GmtModified *float32 `json:"gmtModified,omitempty" xml:"gmtModified,omitempty"`
	// KR 的 ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// 所属 Objective ID。
	ObjectiveId io.Reader `json:"objectiveId,omitempty" xml:"objectiveId,omitempty"`
	// KR 权限。
	Permission []*float32 `json:"permission,omitempty" xml:"permission,omitempty" type:"Repeated"`
	// 所处位置。
	Position *int64 `json:"position,omitempty" xml:"position,omitempty"`
	// KR 进度。
	Progress *GetUserOkrResponseBodyDataListKrListProgress `json:"progress,omitempty" xml:"progress,omitempty" type:"Struct"`
	// 所占分数。
	Score *float32 `json:"score,omitempty" xml:"score,omitempty"`
	// 所占权重。
	Weight *float32 `json:"weight,omitempty" xml:"weight,omitempty"`
}

func (GetUserOkrResponseBodyDataListKrList) GoString

func (*GetUserOkrResponseBodyDataListKrList) SetContent

func (*GetUserOkrResponseBodyDataListKrList) SetGmtCreate

func (*GetUserOkrResponseBodyDataListKrList) SetGmtModified

func (*GetUserOkrResponseBodyDataListKrList) SetId

func (*GetUserOkrResponseBodyDataListKrList) SetObjectiveId

func (*GetUserOkrResponseBodyDataListKrList) SetPermission

func (*GetUserOkrResponseBodyDataListKrList) SetPosition

func (*GetUserOkrResponseBodyDataListKrList) SetScore

func (*GetUserOkrResponseBodyDataListKrList) SetWeight

func (GetUserOkrResponseBodyDataListKrList) String

type GetUserOkrResponseBodyDataListKrListProgress

type GetUserOkrResponseBodyDataListKrListProgress struct {
	// 百分比。
	Percent *int32 `json:"percent,omitempty" xml:"percent,omitempty"`
}

func (GetUserOkrResponseBodyDataListKrListProgress) GoString

func (*GetUserOkrResponseBodyDataListKrListProgress) SetPercent

func (GetUserOkrResponseBodyDataListKrListProgress) String

type GetUserOkrResponseBodyDataListOwner

type GetUserOkrResponseBodyDataListOwner struct {
	// 所属者头像。 ID
	AvatarMediaId io.Reader `json:"avatarMediaId,omitempty" xml:"avatarMediaId,omitempty"`
	// 所属者组织 I。D
	CorpId io.Reader `json:"corpId,omitempty" xml:"corpId,omitempty"`
	// 所属者 OKR 系统中的 ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
	// 所属者昵称。
	Nickname io.Reader `json:"nickname,omitempty" xml:"nickname,omitempty"`
	// 所属者 userId。
	UserId io.Reader `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (GetUserOkrResponseBodyDataListOwner) GoString

func (*GetUserOkrResponseBodyDataListOwner) SetAvatarMediaId

func (*GetUserOkrResponseBodyDataListOwner) SetCorpId

func (*GetUserOkrResponseBodyDataListOwner) SetId

func (*GetUserOkrResponseBodyDataListOwner) SetNickname

func (*GetUserOkrResponseBodyDataListOwner) SetUserId

func (GetUserOkrResponseBodyDataListOwner) String

type GetUserOkrResponseBodyDataListProgress

type GetUserOkrResponseBodyDataListProgress struct {
	// 百分比。
	Percent *int32 `json:"percent,omitempty" xml:"percent,omitempty"`
}

func (GetUserOkrResponseBodyDataListProgress) GoString

func (*GetUserOkrResponseBodyDataListProgress) SetPercent

func (GetUserOkrResponseBodyDataListProgress) String

type UnAlignObjectiveHeaders

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

func (UnAlignObjectiveHeaders) GoString

func (s UnAlignObjectiveHeaders) GoString() string

func (*UnAlignObjectiveHeaders) SetCommonHeaders

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

func (*UnAlignObjectiveHeaders) SetXAcsDingtalkAccessToken

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

func (UnAlignObjectiveHeaders) String

func (s UnAlignObjectiveHeaders) String() string

type UnAlignObjectiveRequest

type UnAlignObjectiveRequest struct {
	// 周期 ID
	PeriodId *string `json:"periodId,omitempty" xml:"periodId,omitempty"`
	// 对齐目标的 ID
	TargetId *string `json:"targetId,omitempty" xml:"targetId,omitempty"`
	// 当前用户的 userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (UnAlignObjectiveRequest) GoString

func (s UnAlignObjectiveRequest) GoString() string

func (*UnAlignObjectiveRequest) SetPeriodId

func (*UnAlignObjectiveRequest) SetTargetId

func (*UnAlignObjectiveRequest) SetUserId

func (UnAlignObjectiveRequest) String

func (s UnAlignObjectiveRequest) String() string

type UnAlignObjectiveResponse

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

func (UnAlignObjectiveResponse) GoString

func (s UnAlignObjectiveResponse) GoString() string

func (*UnAlignObjectiveResponse) SetBody

func (*UnAlignObjectiveResponse) SetHeaders

func (UnAlignObjectiveResponse) String

func (s UnAlignObjectiveResponse) String() string

type UnAlignObjectiveResponseBody

type UnAlignObjectiveResponseBody struct {
	// data
	Data *UnAlignObjectiveResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// success
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UnAlignObjectiveResponseBody) GoString

func (s UnAlignObjectiveResponseBody) GoString() string

func (*UnAlignObjectiveResponseBody) SetData

func (*UnAlignObjectiveResponseBody) SetSuccess

func (UnAlignObjectiveResponseBody) String

type UnAlignObjectiveResponseBodyData

type UnAlignObjectiveResponseBodyData struct {
	// 对齐的 Objective ID。
	AlignId io.Reader `json:"alignId,omitempty" xml:"alignId,omitempty"`
	// 当前 Objective ID。
	Id io.Reader `json:"id,omitempty" xml:"id,omitempty"`
}

func (UnAlignObjectiveResponseBodyData) GoString

func (*UnAlignObjectiveResponseBodyData) SetAlignId

func (*UnAlignObjectiveResponseBodyData) SetId

func (UnAlignObjectiveResponseBodyData) String

type UpdateKROfContentHeaders

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

func (UpdateKROfContentHeaders) GoString

func (s UpdateKROfContentHeaders) GoString() string

func (*UpdateKROfContentHeaders) SetCommonHeaders

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

func (*UpdateKROfContentHeaders) SetXAcsDingtalkAccessToken

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

func (UpdateKROfContentHeaders) String

func (s UpdateKROfContentHeaders) String() string

type UpdateKROfContentRequest

type UpdateKROfContentRequest struct {
	// KR的内容。
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// 待更新的划词 ID 列表。
	UpdateQuoteList []*string `json:"updateQuoteList,omitempty" xml:"updateQuoteList,omitempty" type:"Repeated"`
	// 当前 KR ID。
	KrId *string `json:"krId,omitempty" xml:"krId,omitempty"`
	// 当前用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (UpdateKROfContentRequest) GoString

func (s UpdateKROfContentRequest) GoString() string

func (*UpdateKROfContentRequest) SetContent

func (*UpdateKROfContentRequest) SetKrId

func (*UpdateKROfContentRequest) SetUpdateQuoteList

func (s *UpdateKROfContentRequest) SetUpdateQuoteList(v []*string) *UpdateKROfContentRequest

func (*UpdateKROfContentRequest) SetUserId

func (UpdateKROfContentRequest) String

func (s UpdateKROfContentRequest) String() string

type UpdateKROfContentResponse

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

func (UpdateKROfContentResponse) GoString

func (s UpdateKROfContentResponse) GoString() string

func (*UpdateKROfContentResponse) SetBody

func (*UpdateKROfContentResponse) SetHeaders

func (UpdateKROfContentResponse) String

func (s UpdateKROfContentResponse) String() string

type UpdateKROfContentResponseBody

type UpdateKROfContentResponseBody struct {
	Data *bool `json:"data,omitempty" xml:"data,omitempty"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateKROfContentResponseBody) GoString

func (*UpdateKROfContentResponseBody) SetData

func (*UpdateKROfContentResponseBody) SetSuccess

func (UpdateKROfContentResponseBody) String

type UpdateKROfScoreHeaders

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

func (UpdateKROfScoreHeaders) GoString

func (s UpdateKROfScoreHeaders) GoString() string

func (*UpdateKROfScoreHeaders) SetCommonHeaders

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

func (*UpdateKROfScoreHeaders) SetXAcsDingtalkAccessToken

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

func (UpdateKROfScoreHeaders) String

func (s UpdateKROfScoreHeaders) String() string

type UpdateKROfScoreRequest

type UpdateKROfScoreRequest struct {
	// 分数值。
	Score *int64 `json:"score,omitempty" xml:"score,omitempty"`
	// 当前 KR ID。
	KrId *string `json:"krId,omitempty" xml:"krId,omitempty"`
	// 当前用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (UpdateKROfScoreRequest) GoString

func (s UpdateKROfScoreRequest) GoString() string

func (*UpdateKROfScoreRequest) SetKrId

func (*UpdateKROfScoreRequest) SetScore

func (*UpdateKROfScoreRequest) SetUserId

func (UpdateKROfScoreRequest) String

func (s UpdateKROfScoreRequest) String() string

type UpdateKROfScoreResponse

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

func (UpdateKROfScoreResponse) GoString

func (s UpdateKROfScoreResponse) GoString() string

func (*UpdateKROfScoreResponse) SetBody

func (*UpdateKROfScoreResponse) SetHeaders

func (UpdateKROfScoreResponse) String

func (s UpdateKROfScoreResponse) String() string

type UpdateKROfScoreResponseBody

type UpdateKROfScoreResponseBody struct {
	Data *UpdateKROfScoreResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateKROfScoreResponseBody) GoString

func (s UpdateKROfScoreResponseBody) GoString() string

func (*UpdateKROfScoreResponseBody) SetData

func (*UpdateKROfScoreResponseBody) SetSuccess

func (UpdateKROfScoreResponseBody) String

type UpdateKROfScoreResponseBodyData

type UpdateKROfScoreResponseBodyData struct {
	// 目标分数。
	ObjectiveScore *int64 `json:"objectiveScore,omitempty" xml:"objectiveScore,omitempty"`
}

func (UpdateKROfScoreResponseBodyData) GoString

func (*UpdateKROfScoreResponseBodyData) SetObjectiveScore

func (UpdateKROfScoreResponseBodyData) String

type UpdateKROfWeightHeaders

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

func (UpdateKROfWeightHeaders) GoString

func (s UpdateKROfWeightHeaders) GoString() string

func (*UpdateKROfWeightHeaders) SetCommonHeaders

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

func (*UpdateKROfWeightHeaders) SetXAcsDingtalkAccessToken

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

func (UpdateKROfWeightHeaders) String

func (s UpdateKROfWeightHeaders) String() string

type UpdateKROfWeightRequest

type UpdateKROfWeightRequest struct {
	// 权重比。
	Weight *int64 `json:"weight,omitempty" xml:"weight,omitempty"`
	// 当前 KR ID。
	KrId *string `json:"krId,omitempty" xml:"krId,omitempty"`
	// 当前用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (UpdateKROfWeightRequest) GoString

func (s UpdateKROfWeightRequest) GoString() string

func (*UpdateKROfWeightRequest) SetKrId

func (*UpdateKROfWeightRequest) SetUserId

func (*UpdateKROfWeightRequest) SetWeight

func (UpdateKROfWeightRequest) String

func (s UpdateKROfWeightRequest) String() string

type UpdateKROfWeightResponse

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

func (UpdateKROfWeightResponse) GoString

func (s UpdateKROfWeightResponse) GoString() string

func (*UpdateKROfWeightResponse) SetBody

func (*UpdateKROfWeightResponse) SetHeaders

func (UpdateKROfWeightResponse) String

func (s UpdateKROfWeightResponse) String() string

type UpdateKROfWeightResponseBody

type UpdateKROfWeightResponseBody struct {
	Data *UpdateKROfWeightResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateKROfWeightResponseBody) GoString

func (s UpdateKROfWeightResponseBody) GoString() string

func (*UpdateKROfWeightResponseBody) SetData

func (*UpdateKROfWeightResponseBody) SetSuccess

func (UpdateKROfWeightResponseBody) String

type UpdateKROfWeightResponseBodyData

type UpdateKROfWeightResponseBodyData struct {
	ObjectiveProgress *UpdateKROfWeightResponseBodyDataObjectiveProgress `json:"objectiveProgress,omitempty" xml:"objectiveProgress,omitempty" type:"Struct"`
	// 目标分数。
	ObjectiveScore *int64 `json:"objectiveScore,omitempty" xml:"objectiveScore,omitempty"`
}

func (UpdateKROfWeightResponseBodyData) GoString

func (*UpdateKROfWeightResponseBodyData) SetObjectiveScore

func (UpdateKROfWeightResponseBodyData) String

type UpdateKROfWeightResponseBodyDataObjectiveProgress

type UpdateKROfWeightResponseBodyDataObjectiveProgress struct {
	// 目标百分比。
	Percent *int64 `json:"percent,omitempty" xml:"percent,omitempty"`
}

func (UpdateKROfWeightResponseBodyDataObjectiveProgress) GoString

func (*UpdateKROfWeightResponseBodyDataObjectiveProgress) SetPercent

func (UpdateKROfWeightResponseBodyDataObjectiveProgress) String

type UpdateObjectiveHeaders

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

func (UpdateObjectiveHeaders) GoString

func (s UpdateObjectiveHeaders) GoString() string

func (*UpdateObjectiveHeaders) SetCommonHeaders

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

func (*UpdateObjectiveHeaders) SetXAcsDingtalkAccessToken

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

func (UpdateObjectiveHeaders) String

func (s UpdateObjectiveHeaders) String() string

type UpdateObjectiveRequest

type UpdateObjectiveRequest struct {
	// 当前 Objective 的内容。
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// 当前用户的 userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (UpdateObjectiveRequest) GoString

func (s UpdateObjectiveRequest) GoString() string

func (*UpdateObjectiveRequest) SetContent

func (*UpdateObjectiveRequest) SetUserId

func (UpdateObjectiveRequest) String

func (s UpdateObjectiveRequest) String() string

type UpdateObjectiveResponse

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

func (UpdateObjectiveResponse) GoString

func (s UpdateObjectiveResponse) GoString() string

func (*UpdateObjectiveResponse) SetBody

func (*UpdateObjectiveResponse) SetHeaders

func (UpdateObjectiveResponse) String

func (s UpdateObjectiveResponse) String() string

type UpdateObjectiveResponseBody

type UpdateObjectiveResponseBody struct {
	// data
	Data *UpdateObjectiveResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdateObjectiveResponseBody) GoString

func (s UpdateObjectiveResponseBody) GoString() string

func (*UpdateObjectiveResponseBody) SetData

func (*UpdateObjectiveResponseBody) SetSuccess

func (UpdateObjectiveResponseBody) String

type UpdateObjectiveResponseBodyData

type UpdateObjectiveResponseBodyData struct {
	// 当前 Objective ID。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 当前 Objective 的位置。
	Position *float32 `json:"position,omitempty" xml:"position,omitempty"`
}

func (UpdateObjectiveResponseBodyData) GoString

func (*UpdateObjectiveResponseBodyData) SetId

func (*UpdateObjectiveResponseBodyData) SetPosition

func (UpdateObjectiveResponseBodyData) String

type UpdatePrivacyHeaders

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

func (UpdatePrivacyHeaders) GoString

func (s UpdatePrivacyHeaders) GoString() string

func (*UpdatePrivacyHeaders) SetCommonHeaders

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

func (*UpdatePrivacyHeaders) SetXAcsDingtalkAccessToken

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

func (UpdatePrivacyHeaders) String

func (s UpdatePrivacyHeaders) String() string

type UpdatePrivacyRequest

type UpdatePrivacyRequest struct {
	// 权限修改的类型
	Privacy *string `json:"privacy,omitempty" xml:"privacy,omitempty"`
	// 当前目标的 ID
	TargetId *string `json:"targetId,omitempty" xml:"targetId,omitempty"`
	// 当前目标的权限类型。
	TargetType *string `json:"targetType,omitempty" xml:"targetType,omitempty"`
	// 当前用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (UpdatePrivacyRequest) GoString

func (s UpdatePrivacyRequest) GoString() string

func (*UpdatePrivacyRequest) SetPrivacy

func (*UpdatePrivacyRequest) SetTargetId

func (*UpdatePrivacyRequest) SetTargetType

func (s *UpdatePrivacyRequest) SetTargetType(v string) *UpdatePrivacyRequest

func (*UpdatePrivacyRequest) SetUserId

func (UpdatePrivacyRequest) String

func (s UpdatePrivacyRequest) String() string

type UpdatePrivacyResponse

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

func (UpdatePrivacyResponse) GoString

func (s UpdatePrivacyResponse) GoString() string

func (*UpdatePrivacyResponse) SetBody

func (*UpdatePrivacyResponse) SetHeaders

func (UpdatePrivacyResponse) String

func (s UpdatePrivacyResponse) String() string

type UpdatePrivacyResponseBody

type UpdatePrivacyResponseBody struct {
	// 返回的数据。
	Data *UpdatePrivacyResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Struct"`
	// 请求成功的标识。
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (UpdatePrivacyResponseBody) GoString

func (s UpdatePrivacyResponseBody) GoString() string

func (*UpdatePrivacyResponseBody) SetData

func (*UpdatePrivacyResponseBody) SetSuccess

func (UpdatePrivacyResponseBody) String

func (s UpdatePrivacyResponseBody) String() string

type UpdatePrivacyResponseBodyData

type UpdatePrivacyResponseBodyData struct {
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 权限列表
	PolicyList []*UpdatePrivacyResponseBodyDataPolicyList `json:"policyList,omitempty" xml:"policyList,omitempty" type:"Repeated"`
	// 是否可见的标识。
	Privacy *string `json:"privacy,omitempty" xml:"privacy,omitempty"`
	// 哪种类型的权限。
	Type *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (UpdatePrivacyResponseBodyData) GoString

func (*UpdatePrivacyResponseBodyData) SetId

func (*UpdatePrivacyResponseBodyData) SetPolicyList

func (*UpdatePrivacyResponseBodyData) SetPrivacy

func (*UpdatePrivacyResponseBodyData) SetType

func (UpdatePrivacyResponseBodyData) String

type UpdatePrivacyResponseBodyDataPolicyList

type UpdatePrivacyResponseBodyDataPolicyList struct {
	MemberList []*UpdatePrivacyResponseBodyDataPolicyListMemberList `json:"memberList,omitempty" xml:"memberList,omitempty" type:"Repeated"`
	Name       *string                                              `json:"name,omitempty" xml:"name,omitempty"`
	Type       *int64                                               `json:"type,omitempty" xml:"type,omitempty"`
}

func (UpdatePrivacyResponseBodyDataPolicyList) GoString

func (*UpdatePrivacyResponseBodyDataPolicyList) SetName

func (*UpdatePrivacyResponseBodyDataPolicyList) SetType

func (UpdatePrivacyResponseBodyDataPolicyList) String

type UpdatePrivacyResponseBodyDataPolicyListMemberList

type UpdatePrivacyResponseBodyDataPolicyListMemberList struct {
	Id       *string `json:"id,omitempty" xml:"id,omitempty"`
	Nickname *string `json:"nickname,omitempty" xml:"nickname,omitempty"`
	Type     *string `json:"type,omitempty" xml:"type,omitempty"`
}

func (UpdatePrivacyResponseBodyDataPolicyListMemberList) GoString

func (*UpdatePrivacyResponseBodyDataPolicyListMemberList) SetId

func (*UpdatePrivacyResponseBodyDataPolicyListMemberList) SetNickname

func (*UpdatePrivacyResponseBodyDataPolicyListMemberList) SetType

func (UpdatePrivacyResponseBodyDataPolicyListMemberList) String

Jump to

Keyboard shortcuts

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