Skip to content

Commit ebf440a

Browse files
committed
Generated golang activity_1.0,agoal_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_1.0,amdp_1.0,apaas_1.0,appMarket_1.0,assistant_1.0,ats_1.0,attendance_1.0,badge_1.0,bayMax_1.0,baymax_2.0,bipaas_1.0,bizfinance_1.0,bizfinance_2.0,blackboard_1.0,calendar_1.0,calendar_2.0,carbon_1.0,card_1.0,checkIn_1.0,chengfeng_1.0,conference_1.0,connector_1.0,contact_1.0,content_1.0,contract_1.0,convFile_1.0,convStorage_1.0,coolApp_1.0,coolOps_1.0,credit_1.0,crm_1.0,crm_2.0,customerService_1.0,datacenter_1.0,delivery_1.0,devicemng_1.0,dingmi_1.0,dingPhone_1.0,dingsport_1.0,diot_1.0,doc_1.0,doc_2.0,dpaas_1.0,drive_1.0,drive_2.0,edu_1.0,esign_1.0,event_1.0,event_2.0,exclusive_1.0,finance_1.0,flashmeeting_1.0,flashmsg_1.0,gateway_1.0,groupBlackboard_1.0,h5package_1.0,hrbrain_1.0,hrm_1.0,im_1.0,im_2.0,impaas_1.0,industry_1.0,integration_1.0,jobs_1.0,liandanlu_1.0,link_1.0,live_1.0,liveActivities_1.0,mail_1.0,manufacturing_1.0,media_1.0,medical_1.0,microApp_1.0,miniapp_1.0,minutes_1.0,notable_1.0,notable_2.0,oauth2_1.0,occupationauth_1.0,office_1.0,okr_1.0,orgCulture_1.0,ow_1.0,package_1.0,pedia_1.0,project_1.0,projectIntegration_1.0,rcsCall_1.0,report_1.0,resident_1.0,robot_1.0,rooms_1.0,search_1.0,serviceGroup_1.0,setting_1.0,smartDevice_1.0,snsStorage_1.0,storage_1.0,storage_2.0,swform_1.0,teamSphere_1.0,theone_1.0,todo_1.0,todoEE_1.0,trade_1.0,trajectory_1.0,transcribe_1.0,trip_1.0,village_1.0,vipMember_1.0,waterMark_1.0,watt_1.0,wiki_1.0,wiki_2.0,wms_1.0,workbench_1.0,workflow_1.0,workrecord_1.0,yida_1.0,yida_2.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk.
1 parent 6ba9591 commit ebf440a

File tree

115 files changed

+316979
-61642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+316979
-61642
lines changed

.gitignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# OS
2+
.DS_Store
3+
4+
# IDE
5+
.idea
6+
.settings
7+
.cache/
8+
.vscode/
9+
.project
10+
.history/
11+
12+
# Go build directory
13+
bin/
14+
pkg/
15+
16+
# Unit test / coverage reports
17+
coverage.*
18+
19+
*.sh

ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-05-14 Version: v1.6.72
2+
- Generated golang activity_1.0,agoal_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_1.0,amdp_1.0,apaas_1.0,appMarket_1.0,assistant_1.0,ats_1.0,attendance_1.0,badge_1.0,bayMax_1.0,baymax_2.0,bipaas_1.0,bizfinance_1.0,bizfinance_2.0,blackboard_1.0,calendar_1.0,calendar_2.0,carbon_1.0,card_1.0,checkIn_1.0,chengfeng_1.0,conference_1.0,connector_1.0,contact_1.0,content_1.0,contract_1.0,convFile_1.0,convStorage_1.0,coolApp_1.0,coolOps_1.0,credit_1.0,crm_1.0,crm_2.0,customerService_1.0,datacenter_1.0,delivery_1.0,devicemng_1.0,dingmi_1.0,dingPhone_1.0,dingsport_1.0,diot_1.0,doc_1.0,doc_2.0,dpaas_1.0,drive_1.0,drive_2.0,edu_1.0,esign_1.0,event_1.0,event_2.0,exclusive_1.0,finance_1.0,flashmeeting_1.0,flashmsg_1.0,gateway_1.0,groupBlackboard_1.0,h5package_1.0,hrbrain_1.0,hrm_1.0,im_1.0,im_2.0,impaas_1.0,industry_1.0,integration_1.0,jobs_1.0,liandanlu_1.0,link_1.0,live_1.0,liveActivities_1.0,mail_1.0,manufacturing_1.0,media_1.0,medical_1.0,microApp_1.0,miniapp_1.0,minutes_1.0,notable_1.0,notable_2.0,oauth2_1.0,occupationauth_1.0,office_1.0,okr_1.0,orgCulture_1.0,ow_1.0,package_1.0,pedia_1.0,project_1.0,projectIntegration_1.0,rcsCall_1.0,report_1.0,resident_1.0,robot_1.0,rooms_1.0,search_1.0,serviceGroup_1.0,setting_1.0,smartDevice_1.0,snsStorage_1.0,storage_1.0,storage_2.0,swform_1.0,teamSphere_1.0,theone_1.0,todo_1.0,todoEE_1.0,trade_1.0,trajectory_1.0,transcribe_1.0,trip_1.0,village_1.0,vipMember_1.0,waterMark_1.0,watt_1.0,wiki_1.0,wiki_2.0,wms_1.0,workbench_1.0,workflow_1.0,workrecord_1.0,yida_1.0,yida_2.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk.
3+
14
2024-04-26 Version: v1.6.71
25
- Generated golang activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_1.0,amdp_1.0,apaas_1.0,appMarket_1.0,ats_1.0,attendance_1.0,badge_1.0,bayMax_1.0,baymax_2.0,bipaas_1.0,bizfinance_1.0,bizfinance_2.0,blackboard_1.0,calendar_1.0,calendar_2.0,carbon_1.0,card_1.0,checkIn_1.0,chengfeng_1.0,conference_1.0,connector_1.0,contact_1.0,content_1.0,contract_1.0,convFile_1.0,convStorage_1.0,coolApp_1.0,coolOps_1.0,credit_1.0,crm_1.0,crm_2.0,customerService_1.0,datacenter_1.0,delivery_1.0,devicemng_1.0,dingmi_1.0,dingPhone_1.0,dingsport_1.0,diot_1.0,doc_1.0,doc_2.0,dpaas_1.0,drive_1.0,drive_2.0,edu_1.0,esign_1.0,event_1.0,event_2.0,exclusive_1.0,finance_1.0,flashmeeting_1.0,flashmsg_1.0,gateway_1.0,groupBlackboard_1.0,h5package_1.0,hrbrain_1.0,hrm_1.0,im_1.0,im_2.0,impaas_1.0,industry_1.0,integration_1.0,liandanlu_1.0,link_1.0,live_1.0,liveActivities_1.0,mail_1.0,manufacturing_1.0,media_1.0,medical_1.0,microApp_1.0,miniapp_1.0,notable_1.0,oauth2_1.0,occupationauth_1.0,office_1.0,okr_1.0,orgCulture_1.0,ow_1.0,package_1.0,pedia_1.0,project_1.0,projectIntegration_1.0,rcsCall_1.0,report_1.0,resident_1.0,robot_1.0,rooms_1.0,search_1.0,serviceGroup_1.0,setting_1.0,smartDevice_1.0,snsStorage_1.0,storage_1.0,storage_2.0,swform_1.0,theone_1.0,todo_1.0,trade_1.0,trajectory_1.0,transcribe_1.0,trip_1.0,village_1.0,waterMark_1.0,watt_1.0,wiki_1.0,wiki_2.0,wms_1.0,workbench_1.0,workflow_1.0,workrecord_1.0,yida_1.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk.
36

activity_1_0/client.go

Lines changed: 156 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
// This file is auto-generated, don't edit it. Thanks.
2-
/**
3-
*
4-
*/
52
package activity_1_0
63

74
import (
8-
util "github.com/alibabacloud-go/tea-utils/v2/service"
9-
105
openapi "github.com/alibabacloud-go/darabonba-openapi/v2/client"
116
gatewayclient "github.com/alibabacloud-go/gateway-dingtalk/client"
127
openapiutil "github.com/alibabacloud-go/openapi-util/service"
8+
util "github.com/alibabacloud-go/tea-utils/v2/service"
139
"github.com/alibabacloud-go/tea/tea"
1410
)
1511

@@ -37,6 +33,7 @@ func (s *CreateActivityHeaders) SetXAcsDingtalkAccessToken(v string) *CreateActi
3733
}
3834

3935
type CreateActivityRequest struct {
36+
// This parameter is required.
4037
Detail *CreateActivityRequestDetail `json:"detail,omitempty" xml:"detail,omitempty" type:"Struct"`
4138
}
4239

@@ -54,17 +51,55 @@ func (s *CreateActivityRequest) SetDetail(v *CreateActivityRequestDetail) *Creat
5451
}
5552

5653
type CreateActivityRequestDetail struct {
57-
Address *CreateActivityRequestDetailAddress `json:"address,omitempty" xml:"address,omitempty" type:"Struct"`
58-
BannerMediaId *string `json:"bannerMediaId,omitempty" xml:"bannerMediaId,omitempty"`
59-
EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
60-
ForeignId *string `json:"foreignId,omitempty" xml:"foreignId,omitempty"`
61-
Industry *string `json:"industry,omitempty" xml:"industry,omitempty"`
62-
RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
63-
Source *string `json:"source,omitempty" xml:"source,omitempty"`
64-
StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
65-
Title *string `json:"title,omitempty" xml:"title,omitempty"`
66-
Type *int32 `json:"type,omitempty" xml:"type,omitempty"`
67-
Url *string `json:"url,omitempty" xml:"url,omitempty"`
54+
Address *CreateActivityRequestDetailAddress `json:"address,omitempty" xml:"address,omitempty" type:"Struct"`
55+
// This parameter is required.
56+
//
57+
// example:
58+
//
59+
// @mediaId
60+
BannerMediaId *string `json:"bannerMediaId,omitempty" xml:"bannerMediaId,omitempty"`
61+
// This parameter is required.
62+
EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
63+
// This parameter is required.
64+
//
65+
// example:
66+
//
67+
// 2OGnTRTcoH6OQ0209168
68+
ForeignId *string `json:"foreignId,omitempty" xml:"foreignId,omitempty"`
69+
// This parameter is required.
70+
//
71+
// example:
72+
//
73+
// IT
74+
Industry *string `json:"industry,omitempty" xml:"industry,omitempty"`
75+
// This parameter is required.
76+
//
77+
// example:
78+
//
79+
// CTO
80+
RoleName *string `json:"roleName,omitempty" xml:"roleName,omitempty"`
81+
// This parameter is required.
82+
//
83+
// example:
84+
//
85+
// hdx
86+
Source *string `json:"source,omitempty" xml:"source,omitempty"`
87+
// This parameter is required.
88+
StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
89+
// This parameter is required.
90+
//
91+
// example:
92+
//
93+
// 钉峰会
94+
Title *string `json:"title,omitempty" xml:"title,omitempty"`
95+
// This parameter is required.
96+
Type *int32 `json:"type,omitempty" xml:"type,omitempty"`
97+
// This parameter is required.
98+
//
99+
// example:
100+
//
101+
// https://www.dingtalk.com/
102+
Url *string `json:"url,omitempty" xml:"url,omitempty"`
68103
}
69104

70105
func (s CreateActivityRequestDetail) String() string {
@@ -131,10 +166,22 @@ func (s *CreateActivityRequestDetail) SetUrl(v string) *CreateActivityRequestDet
131166
}
132167

133168
type CreateActivityRequestDetailAddress struct {
169+
// example:
170+
//
171+
// 重庆市重庆市
134172
District *string `json:"district,omitempty" xml:"district,omitempty"`
135-
Lat *string `json:"lat,omitempty" xml:"lat,omitempty"`
136-
Lng *string `json:"lng,omitempty" xml:"lng,omitempty"`
137-
Name *string `json:"name,omitempty" xml:"name,omitempty"`
173+
// example:
174+
//
175+
// 29.533939
176+
Lat *string `json:"lat,omitempty" xml:"lat,omitempty"`
177+
// example:
178+
//
179+
// 106.561853
180+
Lng *string `json:"lng,omitempty" xml:"lng,omitempty"`
181+
// example:
182+
//
183+
// 国际会议展览中心
184+
Name *string `json:"name,omitempty" xml:"name,omitempty"`
138185
}
139186

140187
func (s CreateActivityRequestDetailAddress) String() string {
@@ -235,8 +282,14 @@ func (s *ListActivityHeaders) SetXAcsDingtalkAccessToken(v string) *ListActivity
235282
}
236283

237284
type ListActivityRequest struct {
238-
MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
239-
NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
285+
// example:
286+
//
287+
// 20
288+
MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
289+
// example:
290+
//
291+
// Rp3Rqcts7BE08y49Jr6iu6xW4iQ
292+
NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
240293
}
241294

242295
func (s ListActivityRequest) String() string {
@@ -258,9 +311,15 @@ func (s *ListActivityRequest) SetNextToken(v string) *ListActivityRequest {
258311
}
259312

260313
type ListActivityResponseBody struct {
261-
List []*ListActivityResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
262-
MaxResults *string `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
263-
NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
314+
List []*ListActivityResponseBodyList `json:"list,omitempty" xml:"list,omitempty" type:"Repeated"`
315+
// example:
316+
//
317+
// 10
318+
MaxResults *string `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
319+
// example:
320+
//
321+
// 1686633306552
322+
NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
264323
}
265324

266325
func (s ListActivityResponseBody) String() string {
@@ -287,15 +346,42 @@ func (s *ListActivityResponseBody) SetNextToken(v string) *ListActivityResponseB
287346
}
288347

289348
type ListActivityResponseBodyList struct {
290-
ActivityId *string `json:"activityId,omitempty" xml:"activityId,omitempty"`
349+
// example:
350+
//
351+
// 5tL2HIQiQiOARCZ6xWAPHA02091683513
352+
ActivityId *string `json:"activityId,omitempty" xml:"activityId,omitempty"`
353+
// example:
354+
//
355+
// @mediaId
291356
BannerMediaId *string `json:"bannerMediaId,omitempty" xml:"bannerMediaId,omitempty"`
292-
EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
293-
ForeignId *string `json:"foreignId,omitempty" xml:"foreignId,omitempty"`
294-
StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
295-
Status *string `json:"status,omitempty" xml:"status,omitempty"`
296-
Title *string `json:"title,omitempty" xml:"title,omitempty"`
297-
Type *string `json:"type,omitempty" xml:"type,omitempty"`
298-
Url *string `json:"url,omitempty" xml:"url,omitempty"`
357+
// example:
358+
//
359+
// 1683515695000
360+
EndTime *int64 `json:"endTime,omitempty" xml:"endTime,omitempty"`
361+
// example:
362+
//
363+
// 20230613_001
364+
ForeignId *string `json:"foreignId,omitempty" xml:"foreignId,omitempty"`
365+
// example:
366+
//
367+
// 1683514695000
368+
StartTime *int64 `json:"startTime,omitempty" xml:"startTime,omitempty"`
369+
// example:
370+
//
371+
// 3
372+
Status *string `json:"status,omitempty" xml:"status,omitempty"`
373+
// example:
374+
//
375+
// AIGC研讨会
376+
Title *string `json:"title,omitempty" xml:"title,omitempty"`
377+
// example:
378+
//
379+
// 0
380+
Type *string `json:"type,omitempty" xml:"type,omitempty"`
381+
// example:
382+
//
383+
// https://www.dingtalk.com
384+
Url *string `json:"url,omitempty" xml:"url,omitempty"`
299385
}
300386

301387
func (s ListActivityResponseBodyList) String() string {
@@ -395,12 +481,12 @@ func (client *Client) Init(config *openapi.Config) (_err error) {
395481
if _err != nil {
396482
return _err
397483
}
398-
interfaceSPI, _err := gatewayclient.NewClient()
484+
gatewayClient, _err := gatewayclient.NewClient()
399485
if _err != nil {
400486
return _err
401487
}
402488

403-
client.Spi = interfaceSPI
489+
client.Spi = gatewayClient
404490
client.EndpointRule = tea.String("")
405491
if tea.BoolValue(util.Empty(client.Endpoint)) {
406492
client.Endpoint = tea.String("api.dingtalk.com")
@@ -409,6 +495,17 @@ func (client *Client) Init(config *openapi.Config) (_err error) {
409495
return nil
410496
}
411497

498+
// Summary:
499+
//
500+
// 创建活动
501+
//
502+
// @param request - CreateActivityRequest
503+
//
504+
// @param headers - CreateActivityHeaders
505+
//
506+
// @param runtime - runtime options for this request RuntimeOptions
507+
//
508+
// @return CreateActivityResponse
412509
func (client *Client) CreateActivityWithOptions(request *CreateActivityRequest, headers *CreateActivityHeaders, runtime *util.RuntimeOptions) (_result *CreateActivityResponse, _err error) {
413510
_err = util.ValidateModel(request)
414511
if _err != nil {
@@ -452,6 +549,13 @@ func (client *Client) CreateActivityWithOptions(request *CreateActivityRequest,
452549
return _result, _err
453550
}
454551

552+
// Summary:
553+
//
554+
// 创建活动
555+
//
556+
// @param request - CreateActivityRequest
557+
//
558+
// @return CreateActivityResponse
455559
func (client *Client) CreateActivity(request *CreateActivityRequest) (_result *CreateActivityResponse, _err error) {
456560
runtime := &util.RuntimeOptions{}
457561
headers := &CreateActivityHeaders{}
@@ -464,6 +568,17 @@ func (client *Client) CreateActivity(request *CreateActivityRequest) (_result *C
464568
return _result, _err
465569
}
466570

571+
// Summary:
572+
//
573+
// 查询活动列表
574+
//
575+
// @param request - ListActivityRequest
576+
//
577+
// @param headers - ListActivityHeaders
578+
//
579+
// @param runtime - runtime options for this request RuntimeOptions
580+
//
581+
// @return ListActivityResponse
467582
func (client *Client) ListActivityWithOptions(request *ListActivityRequest, headers *ListActivityHeaders, runtime *util.RuntimeOptions) (_result *ListActivityResponse, _err error) {
468583
_err = util.ValidateModel(request)
469584
if _err != nil {
@@ -511,6 +626,13 @@ func (client *Client) ListActivityWithOptions(request *ListActivityRequest, head
511626
return _result, _err
512627
}
513628

629+
// Summary:
630+
//
631+
// 查询活动列表
632+
//
633+
// @param request - ListActivityRequest
634+
//
635+
// @return ListActivityResponse
514636
func (client *Client) ListActivity(request *ListActivityRequest) (_result *ListActivityResponse, _err error) {
515637
runtime := &util.RuntimeOptions{}
516638
headers := &ListActivityHeaders{}

0 commit comments

Comments
 (0)