org_culture_1_0

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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) GrantHonor

func (client *Client) GrantHonor(honorId *string, request *GrantHonorRequest) (_result *GrantHonorResponse, _err error)

func (*Client) GrantHonorWithOptions

func (client *Client) GrantHonorWithOptions(honorId *string, request *GrantHonorRequest, headers *GrantHonorHeaders, runtime *util.RuntimeOptions) (_result *GrantHonorResponse, _err error)

func (*Client) Init

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

func (*Client) QueryOrgHonors

func (client *Client) QueryOrgHonors(request *QueryOrgHonorsRequest) (_result *QueryOrgHonorsResponse, _err error)

func (*Client) QueryOrgHonorsWithOptions

func (client *Client) QueryOrgHonorsWithOptions(request *QueryOrgHonorsRequest, headers *QueryOrgHonorsHeaders, runtime *util.RuntimeOptions) (_result *QueryOrgHonorsResponse, _err error)

func (*Client) QueryUserHonors

func (client *Client) QueryUserHonors(userId *string, request *QueryUserHonorsRequest) (_result *QueryUserHonorsResponse, _err error)

func (*Client) QueryUserHonorsWithOptions

func (client *Client) QueryUserHonorsWithOptions(userId *string, request *QueryUserHonorsRequest, headers *QueryUserHonorsHeaders, runtime *util.RuntimeOptions) (_result *QueryUserHonorsResponse, _err error)

type GrantHonorHeaders

type GrantHonorHeaders 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 (GrantHonorHeaders) GoString

func (s GrantHonorHeaders) GoString() string

func (*GrantHonorHeaders) SetCommonHeaders

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

func (*GrantHonorHeaders) SetXAcsDingtalkAccessToken

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

func (GrantHonorHeaders) String

func (s GrantHonorHeaders) String() string

type GrantHonorRequest

type GrantHonorRequest struct {
	// 有效期到期时间 时间戳. 会处理成到期那天的23:59:59秒的时间戳
	ExpirationTime *string `json:"expirationTime,omitempty" xml:"expirationTime,omitempty"`
	// 颁奖词,最多可以填50字
	GrantReason *string `json:"grantReason,omitempty" xml:"grantReason,omitempty"`
	// 颁奖人名字,最多15个字
	GranterName *string `json:"granterName,omitempty" xml:"granterName,omitempty"`
	// 是否使用官宣号通知获奖人
	NoticeAnnouncer *bool `json:"noticeAnnouncer,omitempty" xml:"noticeAnnouncer,omitempty"`
	// 是否触达单聊会话通知
	NoticeSingle *bool `json:"noticeSingle,omitempty" xml:"noticeSingle,omitempty"`
	// 接受人staffId
	ReceiverUserIds []*string `json:"receiverUserIds,omitempty" xml:"receiverUserIds,omitempty" type:"Repeated"`
	// 发送人userId
	SenderUserId *string `json:"senderUserId,omitempty" xml:"senderUserId,omitempty"`
}

func (GrantHonorRequest) GoString

func (s GrantHonorRequest) GoString() string

func (*GrantHonorRequest) SetExpirationTime

func (s *GrantHonorRequest) SetExpirationTime(v string) *GrantHonorRequest

func (*GrantHonorRequest) SetGrantReason

func (s *GrantHonorRequest) SetGrantReason(v string) *GrantHonorRequest

func (*GrantHonorRequest) SetGranterName

func (s *GrantHonorRequest) SetGranterName(v string) *GrantHonorRequest

func (*GrantHonorRequest) SetNoticeAnnouncer

func (s *GrantHonorRequest) SetNoticeAnnouncer(v bool) *GrantHonorRequest

func (*GrantHonorRequest) SetNoticeSingle

func (s *GrantHonorRequest) SetNoticeSingle(v bool) *GrantHonorRequest

func (*GrantHonorRequest) SetReceiverUserIds

func (s *GrantHonorRequest) SetReceiverUserIds(v []*string) *GrantHonorRequest

func (*GrantHonorRequest) SetSenderUserId

func (s *GrantHonorRequest) SetSenderUserId(v string) *GrantHonorRequest

func (GrantHonorRequest) String

func (s GrantHonorRequest) String() string

type GrantHonorResponse

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

func (GrantHonorResponse) GoString

func (s GrantHonorResponse) GoString() string

func (*GrantHonorResponse) SetBody

func (*GrantHonorResponse) SetHeaders

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

func (GrantHonorResponse) String

func (s GrantHonorResponse) String() string

type GrantHonorResponseBody

type GrantHonorResponseBody struct {
	Result  *GrantHonorResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	Success *bool                         `json:"success,omitempty" xml:"success,omitempty"`
}

func (GrantHonorResponseBody) GoString

func (s GrantHonorResponseBody) GoString() string

func (*GrantHonorResponseBody) SetResult

func (*GrantHonorResponseBody) SetSuccess

func (GrantHonorResponseBody) String

func (s GrantHonorResponseBody) String() string

type GrantHonorResponseBodyResult

type GrantHonorResponseBodyResult struct {
	// 失败的userId
	FailedUserIds []*string `json:"failedUserIds,omitempty" xml:"failedUserIds,omitempty" type:"Repeated"`
	// 成功的userId
	SuccessUserIds []*string `json:"successUserIds,omitempty" xml:"successUserIds,omitempty" type:"Repeated"`
}

func (GrantHonorResponseBodyResult) GoString

func (s GrantHonorResponseBodyResult) GoString() string

func (*GrantHonorResponseBodyResult) SetFailedUserIds

func (*GrantHonorResponseBodyResult) SetSuccessUserIds

func (GrantHonorResponseBodyResult) String

type QueryOrgHonorsHeaders

type QueryOrgHonorsHeaders 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 (QueryOrgHonorsHeaders) GoString

func (s QueryOrgHonorsHeaders) GoString() string

func (*QueryOrgHonorsHeaders) SetCommonHeaders

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

func (*QueryOrgHonorsHeaders) SetXAcsDingtalkAccessToken

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

func (QueryOrgHonorsHeaders) String

func (s QueryOrgHonorsHeaders) String() string

type QueryOrgHonorsRequest

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

func (QueryOrgHonorsRequest) GoString

func (s QueryOrgHonorsRequest) GoString() string

func (*QueryOrgHonorsRequest) SetMaxResults

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

func (*QueryOrgHonorsRequest) SetNextToken

func (QueryOrgHonorsRequest) String

func (s QueryOrgHonorsRequest) String() string

type QueryOrgHonorsResponse

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

func (QueryOrgHonorsResponse) GoString

func (s QueryOrgHonorsResponse) GoString() string

func (*QueryOrgHonorsResponse) SetBody

func (*QueryOrgHonorsResponse) SetHeaders

func (QueryOrgHonorsResponse) String

func (s QueryOrgHonorsResponse) String() string

type QueryOrgHonorsResponseBody

type QueryOrgHonorsResponseBody struct {
	Result  *QueryOrgHonorsResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	Success *bool                             `json:"success,omitempty" xml:"success,omitempty"`
}

func (QueryOrgHonorsResponseBody) GoString

func (s QueryOrgHonorsResponseBody) GoString() string

func (*QueryOrgHonorsResponseBody) SetResult

func (*QueryOrgHonorsResponseBody) SetSuccess

func (QueryOrgHonorsResponseBody) String

type QueryOrgHonorsResponseBodyResult

type QueryOrgHonorsResponseBodyResult struct {
	// 下次获取数据的游标
	NextToken  *string                                       `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	OpenHonors []*QueryOrgHonorsResponseBodyResultOpenHonors `json:"openHonors,omitempty" xml:"openHonors,omitempty" type:"Repeated"`
}

func (QueryOrgHonorsResponseBodyResult) GoString

func (*QueryOrgHonorsResponseBodyResult) SetNextToken

func (QueryOrgHonorsResponseBodyResult) String

type QueryOrgHonorsResponseBodyResultOpenHonors

type QueryOrgHonorsResponseBodyResultOpenHonors struct {
	// 荣誉含义
	HonorDesc *string `json:"honorDesc,omitempty" xml:"honorDesc,omitempty"`
	// 荣誉id
	HonorId *int64 `json:"honorId,omitempty" xml:"honorId,omitempty"`
	// 荣誉图片url
	HonorImgUrl *string `json:"honorImgUrl,omitempty" xml:"honorImgUrl,omitempty"`
	// 荣誉名字
	HonorName *string `json:"honorName,omitempty" xml:"honorName,omitempty"`
	// 荣誉附赠的挂件图url
	HonorPendantImgUrl *string `json:"honorPendantImgUrl,omitempty" xml:"honorPendantImgUrl,omitempty"`
}

func (QueryOrgHonorsResponseBodyResultOpenHonors) GoString

func (*QueryOrgHonorsResponseBodyResultOpenHonors) SetHonorDesc

func (*QueryOrgHonorsResponseBodyResultOpenHonors) SetHonorId

func (*QueryOrgHonorsResponseBodyResultOpenHonors) SetHonorImgUrl

func (*QueryOrgHonorsResponseBodyResultOpenHonors) SetHonorName

func (*QueryOrgHonorsResponseBodyResultOpenHonors) SetHonorPendantImgUrl

func (QueryOrgHonorsResponseBodyResultOpenHonors) String

type QueryUserHonorsHeaders

type QueryUserHonorsHeaders 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 (QueryUserHonorsHeaders) GoString

func (s QueryUserHonorsHeaders) GoString() string

func (*QueryUserHonorsHeaders) SetCommonHeaders

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

func (*QueryUserHonorsHeaders) SetXAcsDingtalkAccessToken

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

func (QueryUserHonorsHeaders) String

func (s QueryUserHonorsHeaders) String() string

type QueryUserHonorsRequest

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

func (QueryUserHonorsRequest) GoString

func (s QueryUserHonorsRequest) GoString() string

func (*QueryUserHonorsRequest) SetMaxResults

func (*QueryUserHonorsRequest) SetNextToken

func (QueryUserHonorsRequest) String

func (s QueryUserHonorsRequest) String() string

type QueryUserHonorsResponse

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

func (QueryUserHonorsResponse) GoString

func (s QueryUserHonorsResponse) GoString() string

func (*QueryUserHonorsResponse) SetBody

func (*QueryUserHonorsResponse) SetHeaders

func (QueryUserHonorsResponse) String

func (s QueryUserHonorsResponse) String() string

type QueryUserHonorsResponseBody

type QueryUserHonorsResponseBody struct {
	Result  *QueryUserHonorsResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
	Success *bool                              `json:"success,omitempty" xml:"success,omitempty"`
}

func (QueryUserHonorsResponseBody) GoString

func (s QueryUserHonorsResponseBody) GoString() string

func (*QueryUserHonorsResponseBody) SetResult

func (*QueryUserHonorsResponseBody) SetSuccess

func (QueryUserHonorsResponseBody) String

type QueryUserHonorsResponseBodyResult

type QueryUserHonorsResponseBodyResult struct {
	Honors    []*QueryUserHonorsResponseBodyResultHonors `json:"honors,omitempty" xml:"honors,omitempty" type:"Repeated"`
	NextToken *string                                    `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (QueryUserHonorsResponseBodyResult) GoString

func (*QueryUserHonorsResponseBodyResult) SetNextToken

func (QueryUserHonorsResponseBodyResult) String

type QueryUserHonorsResponseBodyResultHonors

type QueryUserHonorsResponseBodyResultHonors struct {
	// 有效期截止时间点,没有该属性则为永久生效
	ExpirationTime *int64 `json:"expirationTime,omitempty" xml:"expirationTime,omitempty"`
	// 授予历史记录 包含用户及授予时间
	GrantHistory []*QueryUserHonorsResponseBodyResultHonorsGrantHistory `json:"grantHistory,omitempty" xml:"grantHistory,omitempty" type:"Repeated"`
	// 荣誉含义
	HonorDesc *string `json:"honorDesc,omitempty" xml:"honorDesc,omitempty"`
	// 必须。荣誉id
	HonorId *string `json:"honorId,omitempty" xml:"honorId,omitempty"`
	// 必须。荣誉名字
	HonorName *string `json:"honorName,omitempty" xml:"honorName,omitempty"`
}

func (QueryUserHonorsResponseBodyResultHonors) GoString

func (*QueryUserHonorsResponseBodyResultHonors) SetExpirationTime

func (*QueryUserHonorsResponseBodyResultHonors) SetHonorDesc

func (*QueryUserHonorsResponseBodyResultHonors) SetHonorId

func (*QueryUserHonorsResponseBodyResultHonors) SetHonorName

func (QueryUserHonorsResponseBodyResultHonors) String

type QueryUserHonorsResponseBodyResultHonorsGrantHistory

type QueryUserHonorsResponseBodyResultHonorsGrantHistory struct {
	// 授予时间 时间戳
	GrantTime *int64 `json:"grantTime,omitempty" xml:"grantTime,omitempty"`
	// 必须。荣誉发放人userid
	SenderUserid *string `json:"senderUserid,omitempty" xml:"senderUserid,omitempty"`
}

func (QueryUserHonorsResponseBodyResultHonorsGrantHistory) GoString

func (*QueryUserHonorsResponseBodyResultHonorsGrantHistory) SetGrantTime

func (*QueryUserHonorsResponseBodyResultHonorsGrantHistory) SetSenderUserid

func (QueryUserHonorsResponseBodyResultHonorsGrantHistory) String

Jump to

Keyboard shortcuts

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