diff --git a/ChangeLog.txt b/ChangeLog.txt index b48a451..4a61478 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-04-26 Version: v1.6.71 +- 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. + 2024-04-23 Version: v1.6.70 - 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. diff --git a/conference_1_0/client.go b/conference_1_0/client.go index 36c1073..096631f 100644 --- a/conference_1_0/client.go +++ b/conference_1_0/client.go @@ -538,6 +538,133 @@ func (s *CohostsResponse) SetBody(v *CohostsResponseBody) *CohostsResponse { return s } +type CreateCustomShortLinkHeaders 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 (s CreateCustomShortLinkHeaders) String() string { + return tea.Prettify(s) +} + +func (s CreateCustomShortLinkHeaders) GoString() string { + return s.String() +} + +func (s *CreateCustomShortLinkHeaders) SetCommonHeaders(v map[string]*string) *CreateCustomShortLinkHeaders { + s.CommonHeaders = v + return s +} + +func (s *CreateCustomShortLinkHeaders) SetXAcsDingtalkAccessToken(v string) *CreateCustomShortLinkHeaders { + s.XAcsDingtalkAccessToken = &v + return s +} + +type CreateCustomShortLinkRequest struct { + CoolAppCode *string `json:"coolAppCode,omitempty" xml:"coolAppCode,omitempty"` + CreatorUnionId *string `json:"creatorUnionId,omitempty" xml:"creatorUnionId,omitempty"` + ExtensionAppBizData *string `json:"extensionAppBizData,omitempty" xml:"extensionAppBizData,omitempty"` + ScheduleConferenceId *string `json:"scheduleConferenceId,omitempty" xml:"scheduleConferenceId,omitempty"` + UseExtensionApp *bool `json:"useExtensionApp,omitempty" xml:"useExtensionApp,omitempty"` +} + +func (s CreateCustomShortLinkRequest) String() string { + return tea.Prettify(s) +} + +func (s CreateCustomShortLinkRequest) GoString() string { + return s.String() +} + +func (s *CreateCustomShortLinkRequest) SetCoolAppCode(v string) *CreateCustomShortLinkRequest { + s.CoolAppCode = &v + return s +} + +func (s *CreateCustomShortLinkRequest) SetCreatorUnionId(v string) *CreateCustomShortLinkRequest { + s.CreatorUnionId = &v + return s +} + +func (s *CreateCustomShortLinkRequest) SetExtensionAppBizData(v string) *CreateCustomShortLinkRequest { + s.ExtensionAppBizData = &v + return s +} + +func (s *CreateCustomShortLinkRequest) SetScheduleConferenceId(v string) *CreateCustomShortLinkRequest { + s.ScheduleConferenceId = &v + return s +} + +func (s *CreateCustomShortLinkRequest) SetUseExtensionApp(v bool) *CreateCustomShortLinkRequest { + s.UseExtensionApp = &v + return s +} + +type CreateCustomShortLinkResponseBody struct { + Result *CreateCustomShortLinkResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"` +} + +func (s CreateCustomShortLinkResponseBody) String() string { + return tea.Prettify(s) +} + +func (s CreateCustomShortLinkResponseBody) GoString() string { + return s.String() +} + +func (s *CreateCustomShortLinkResponseBody) SetResult(v *CreateCustomShortLinkResponseBodyResult) *CreateCustomShortLinkResponseBody { + s.Result = v + return s +} + +type CreateCustomShortLinkResponseBodyResult struct { + CustomShortLink *string `json:"customShortLink,omitempty" xml:"customShortLink,omitempty"` +} + +func (s CreateCustomShortLinkResponseBodyResult) String() string { + return tea.Prettify(s) +} + +func (s CreateCustomShortLinkResponseBodyResult) GoString() string { + return s.String() +} + +func (s *CreateCustomShortLinkResponseBodyResult) SetCustomShortLink(v string) *CreateCustomShortLinkResponseBodyResult { + s.CustomShortLink = &v + return s +} + +type CreateCustomShortLinkResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *CreateCustomShortLinkResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s CreateCustomShortLinkResponse) String() string { + return tea.Prettify(s) +} + +func (s CreateCustomShortLinkResponse) GoString() string { + return s.String() +} + +func (s *CreateCustomShortLinkResponse) SetHeaders(v map[string]*string) *CreateCustomShortLinkResponse { + s.Headers = v + return s +} + +func (s *CreateCustomShortLinkResponse) SetStatusCode(v int32) *CreateCustomShortLinkResponse { + s.StatusCode = &v + return s +} + +func (s *CreateCustomShortLinkResponse) SetBody(v *CreateCustomShortLinkResponseBody) *CreateCustomShortLinkResponse { + s.Body = v + return s +} + type CreateScheduleConferenceHeaders 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"` @@ -3370,6 +3497,233 @@ func (s *QueryConferenceMembersResponse) SetBody(v *QueryConferenceMembersRespon return s } +type QueryScheduleConfSettingsHeaders 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 (s QueryScheduleConfSettingsHeaders) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsHeaders) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsHeaders) SetCommonHeaders(v map[string]*string) *QueryScheduleConfSettingsHeaders { + s.CommonHeaders = v + return s +} + +func (s *QueryScheduleConfSettingsHeaders) SetXAcsDingtalkAccessToken(v string) *QueryScheduleConfSettingsHeaders { + s.XAcsDingtalkAccessToken = &v + return s +} + +type QueryScheduleConfSettingsRequest struct { + ScheduleConferenceId *string `json:"scheduleConferenceId,omitempty" xml:"scheduleConferenceId,omitempty"` +} + +func (s QueryScheduleConfSettingsRequest) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsRequest) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsRequest) SetScheduleConferenceId(v string) *QueryScheduleConfSettingsRequest { + s.ScheduleConferenceId = &v + return s +} + +type QueryScheduleConfSettingsResponseBody struct { + ScheduleConfSettingModel *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel `json:"scheduleConfSettingModel,omitempty" xml:"scheduleConfSettingModel,omitempty" type:"Struct"` +} + +func (s QueryScheduleConfSettingsResponseBody) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsResponseBody) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsResponseBody) SetScheduleConfSettingModel(v *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) *QueryScheduleConfSettingsResponseBody { + s.ScheduleConfSettingModel = v + return s +} + +type QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel struct { + CohostUnionIds []*string `json:"cohostUnionIds,omitempty" xml:"cohostUnionIds,omitempty" type:"Repeated"` + ConfAllowedCorpId *string `json:"confAllowedCorpId,omitempty" xml:"confAllowedCorpId,omitempty"` + HostUnionId *string `json:"hostUnionId,omitempty" xml:"hostUnionId,omitempty"` + LockRoom *int32 `json:"lockRoom,omitempty" xml:"lockRoom,omitempty"` + MoziConfVirtualExtraSetting *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting `json:"moziConfVirtualExtraSetting,omitempty" xml:"moziConfVirtualExtraSetting,omitempty" type:"Struct"` + MuteOnJoin *int32 `json:"muteOnJoin,omitempty" xml:"muteOnJoin,omitempty"` + ScreenShareForbidden *int32 `json:"screenShareForbidden,omitempty" xml:"screenShareForbidden,omitempty"` +} + +func (s QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetCohostUnionIds(v []*string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.CohostUnionIds = v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetConfAllowedCorpId(v string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.ConfAllowedCorpId = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetHostUnionId(v string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.HostUnionId = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetLockRoom(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.LockRoom = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetMoziConfVirtualExtraSetting(v *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.MoziConfVirtualExtraSetting = v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetMuteOnJoin(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.MuteOnJoin = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel) SetScreenShareForbidden(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModel { + s.ScreenShareForbidden = &v + return s +} + +type QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting struct { + EnableChat *int32 `json:"enableChat,omitempty" xml:"enableChat,omitempty"` + EnableWebAnonymousJoin *bool `json:"enableWebAnonymousJoin,omitempty" xml:"enableWebAnonymousJoin,omitempty"` + JoinBeforeHost *int32 `json:"joinBeforeHost,omitempty" xml:"joinBeforeHost,omitempty"` + LockMediaStatusMicMute *int32 `json:"lockMediaStatusMicMute,omitempty" xml:"lockMediaStatusMicMute,omitempty"` + LockNick *int32 `json:"lockNick,omitempty" xml:"lockNick,omitempty"` + MoziConfExtensionAppSettings []*QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings `json:"moziConfExtensionAppSettings,omitempty" xml:"moziConfExtensionAppSettings,omitempty" type:"Repeated"` + WaitingRoom *int32 `json:"waitingRoom,omitempty" xml:"waitingRoom,omitempty"` +} + +func (s QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetEnableChat(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.EnableChat = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetEnableWebAnonymousJoin(v bool) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.EnableWebAnonymousJoin = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetJoinBeforeHost(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.JoinBeforeHost = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetLockMediaStatusMicMute(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.LockMediaStatusMicMute = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetLockNick(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.LockNick = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetMoziConfExtensionAppSettings(v []*QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.MoziConfExtensionAppSettings = v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting) SetWaitingRoom(v int32) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.WaitingRoom = &v + return s +} + +type QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings struct { + AutoOpenMode *string `json:"autoOpenMode,omitempty" xml:"autoOpenMode,omitempty"` + ClientId *string `json:"clientId,omitempty" xml:"clientId,omitempty"` + CoolAppCode *string `json:"coolAppCode,omitempty" xml:"coolAppCode,omitempty"` + ExtensionAppBizData *string `json:"extensionAppBizData,omitempty" xml:"extensionAppBizData,omitempty"` +} + +func (s QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetAutoOpenMode(v string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.AutoOpenMode = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetClientId(v string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.ClientId = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetCoolAppCode(v string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.CoolAppCode = &v + return s +} + +func (s *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetExtensionAppBizData(v string) *QueryScheduleConfSettingsResponseBodyScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.ExtensionAppBizData = &v + return s +} + +type QueryScheduleConfSettingsResponse struct { + Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` + StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` + Body *QueryScheduleConfSettingsResponseBody `json:"body,omitempty" xml:"body,omitempty"` +} + +func (s QueryScheduleConfSettingsResponse) String() string { + return tea.Prettify(s) +} + +func (s QueryScheduleConfSettingsResponse) GoString() string { + return s.String() +} + +func (s *QueryScheduleConfSettingsResponse) SetHeaders(v map[string]*string) *QueryScheduleConfSettingsResponse { + s.Headers = v + return s +} + +func (s *QueryScheduleConfSettingsResponse) SetStatusCode(v int32) *QueryScheduleConfSettingsResponse { + s.StatusCode = &v + return s +} + +func (s *QueryScheduleConfSettingsResponse) SetBody(v *QueryScheduleConfSettingsResponseBody) *QueryScheduleConfSettingsResponse { + s.Body = v + return s +} + type QueryScheduleConferenceHeaders 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"` @@ -4251,12 +4605,13 @@ func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModel) SetScreenSha } type UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting struct { - EnableChat *int32 `json:"enableChat,omitempty" xml:"enableChat,omitempty"` - EnableWebAnonymousJoin *bool `json:"enableWebAnonymousJoin,omitempty" xml:"enableWebAnonymousJoin,omitempty"` - JoinBeforeHost *int32 `json:"joinBeforeHost,omitempty" xml:"joinBeforeHost,omitempty"` - LockMediaStatusMicMute *int32 `json:"lockMediaStatusMicMute,omitempty" xml:"lockMediaStatusMicMute,omitempty"` - LockNick *int32 `json:"lockNick,omitempty" xml:"lockNick,omitempty"` - WaitingRoom *int32 `json:"waitingRoom,omitempty" xml:"waitingRoom,omitempty"` + EnableChat *int32 `json:"enableChat,omitempty" xml:"enableChat,omitempty"` + EnableWebAnonymousJoin *bool `json:"enableWebAnonymousJoin,omitempty" xml:"enableWebAnonymousJoin,omitempty"` + JoinBeforeHost *int32 `json:"joinBeforeHost,omitempty" xml:"joinBeforeHost,omitempty"` + LockMediaStatusMicMute *int32 `json:"lockMediaStatusMicMute,omitempty" xml:"lockMediaStatusMicMute,omitempty"` + LockNick *int32 `json:"lockNick,omitempty" xml:"lockNick,omitempty"` + MoziConfExtensionAppSettings []*UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings `json:"moziConfExtensionAppSettings,omitempty" xml:"moziConfExtensionAppSettings,omitempty" type:"Repeated"` + WaitingRoom *int32 `json:"waitingRoom,omitempty" xml:"waitingRoom,omitempty"` } func (s UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting) String() string { @@ -4292,11 +4647,45 @@ func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtua return s } +func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting) SetMoziConfExtensionAppSettings(v []*UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting { + s.MoziConfExtensionAppSettings = v + return s +} + func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting) SetWaitingRoom(v int32) *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSetting { s.WaitingRoom = &v return s } +type UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings struct { + AutoOpenMode *int32 `json:"autoOpenMode,omitempty" xml:"autoOpenMode,omitempty"` + CoolAppCode *string `json:"coolAppCode,omitempty" xml:"coolAppCode,omitempty"` + ExtensionAppBizData *string `json:"extensionAppBizData,omitempty" xml:"extensionAppBizData,omitempty"` +} + +func (s UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) String() string { + return tea.Prettify(s) +} + +func (s UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) GoString() string { + return s.String() +} + +func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetAutoOpenMode(v int32) *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.AutoOpenMode = &v + return s +} + +func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetCoolAppCode(v string) *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.CoolAppCode = &v + return s +} + +func (s *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings) SetExtensionAppBizData(v string) *UpdateScheduleConfSettingsRequestScheduleConfSettingModelMoziConfVirtualExtraSettingMoziConfExtensionAppSettings { + s.ExtensionAppBizData = &v + return s +} + type UpdateScheduleConfSettingsResponseBody struct { Success *bool `json:"success,omitempty" xml:"success,omitempty"` } @@ -4852,6 +5241,77 @@ func (client *Client) Cohosts(conferenceId *string, request *CohostsRequest) (_r return _result, _err } +func (client *Client) CreateCustomShortLinkWithOptions(request *CreateCustomShortLinkRequest, headers *CreateCustomShortLinkHeaders, runtime *util.RuntimeOptions) (_result *CreateCustomShortLinkResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + body := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.CoolAppCode)) { + body["coolAppCode"] = request.CoolAppCode + } + + if !tea.BoolValue(util.IsUnset(request.CreatorUnionId)) { + body["creatorUnionId"] = request.CreatorUnionId + } + + if !tea.BoolValue(util.IsUnset(request.ExtensionAppBizData)) { + body["extensionAppBizData"] = request.ExtensionAppBizData + } + + if !tea.BoolValue(util.IsUnset(request.ScheduleConferenceId)) { + body["scheduleConferenceId"] = request.ScheduleConferenceId + } + + if !tea.BoolValue(util.IsUnset(request.UseExtensionApp)) { + body["useExtensionApp"] = request.UseExtensionApp + } + + realHeaders := make(map[string]*string) + if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { + realHeaders = headers.CommonHeaders + } + + if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) { + realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken) + } + + req := &openapi.OpenApiRequest{ + Headers: realHeaders, + Body: openapiutil.ParseToMap(body), + } + params := &openapi.Params{ + Action: tea.String("CreateCustomShortLink"), + Version: tea.String("conference_1.0"), + Protocol: tea.String("HTTP"), + Pathname: tea.String("/v1.0/conference/customShortLinks"), + Method: tea.String("POST"), + AuthType: tea.String("AK"), + Style: tea.String("ROA"), + ReqBodyType: tea.String("none"), + BodyType: tea.String("json"), + } + _result = &CreateCustomShortLinkResponse{} + _body, _err := client.Execute(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = tea.Convert(_body, &_result) + return _result, _err +} + +func (client *Client) CreateCustomShortLink(request *CreateCustomShortLinkRequest) (_result *CreateCustomShortLinkResponse, _err error) { + runtime := &util.RuntimeOptions{} + headers := &CreateCustomShortLinkHeaders{} + _result = &CreateCustomShortLinkResponse{} + _body, _err := client.CreateCustomShortLinkWithOptions(request, headers, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + func (client *Client) CreateScheduleConferenceWithOptions(request *CreateScheduleConferenceRequest, headers *CreateScheduleConferenceHeaders, runtime *util.RuntimeOptions) (_result *CreateScheduleConferenceResponse, _err error) { _err = util.ValidateModel(request) if _err != nil { @@ -6011,6 +6471,61 @@ func (client *Client) QueryConferenceMembers(conferenceId *string, request *Quer return _result, _err } +func (client *Client) QueryScheduleConfSettingsWithOptions(request *QueryScheduleConfSettingsRequest, headers *QueryScheduleConfSettingsHeaders, runtime *util.RuntimeOptions) (_result *QueryScheduleConfSettingsResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.ScheduleConferenceId)) { + query["scheduleConferenceId"] = request.ScheduleConferenceId + } + + realHeaders := make(map[string]*string) + if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { + realHeaders = headers.CommonHeaders + } + + if !tea.BoolValue(util.IsUnset(headers.XAcsDingtalkAccessToken)) { + realHeaders["x-acs-dingtalk-access-token"] = util.ToJSONString(headers.XAcsDingtalkAccessToken) + } + + req := &openapi.OpenApiRequest{ + Headers: realHeaders, + Query: openapiutil.Query(query), + } + params := &openapi.Params{ + Action: tea.String("QueryScheduleConfSettings"), + Version: tea.String("conference_1.0"), + Protocol: tea.String("HTTP"), + Pathname: tea.String("/v1.0/conference/scheduleConferences/settings"), + Method: tea.String("GET"), + AuthType: tea.String("AK"), + Style: tea.String("ROA"), + ReqBodyType: tea.String("none"), + BodyType: tea.String("json"), + } + _result = &QueryScheduleConfSettingsResponse{} + _body, _err := client.Execute(params, req, runtime) + if _err != nil { + return _result, _err + } + _err = tea.Convert(_body, &_result) + return _result, _err +} + +func (client *Client) QueryScheduleConfSettings(request *QueryScheduleConfSettingsRequest) (_result *QueryScheduleConfSettingsResponse, _err error) { + runtime := &util.RuntimeOptions{} + headers := &QueryScheduleConfSettingsHeaders{} + _result = &QueryScheduleConfSettingsResponse{} + _body, _err := client.QueryScheduleConfSettingsWithOptions(request, headers, runtime) + if _err != nil { + return _result, _err + } + _result = _body + return _result, _err +} + func (client *Client) QueryScheduleConferenceWithOptions(scheduleConferenceId *string, request *QueryScheduleConferenceRequest, headers *QueryScheduleConferenceHeaders, runtime *util.RuntimeOptions) (_result *QueryScheduleConferenceResponse, _err error) { _err = util.ValidateModel(request) if _err != nil { diff --git a/notable_1_0/client.go b/notable_1_0/client.go index d675afb..70ec87a 100644 --- a/notable_1_0/client.go +++ b/notable_1_0/client.go @@ -159,7 +159,9 @@ func (s *CreateSheetHeaders) SetXAcsDingtalkAccessToken(v string) *CreateSheetHe } type CreateSheetRequest struct { - Fields []*CreateSheetRequestFields `json:"fields,omitempty" xml:"fields,omitempty" type:"Repeated"` + Fields []*CreateSheetRequestFields `json:"fields,omitempty" xml:"fields,omitempty" type:"Repeated"` + Name *string `json:"name,omitempty" xml:"name,omitempty"` + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` } func (s CreateSheetRequest) String() string { @@ -175,6 +177,16 @@ func (s *CreateSheetRequest) SetFields(v []*CreateSheetRequestFields) *CreateShe return s } +func (s *CreateSheetRequest) SetName(v string) *CreateSheetRequest { + s.Name = &v + return s +} + +func (s *CreateSheetRequest) SetOperatorId(v string) *CreateSheetRequest { + s.OperatorId = &v + return s +} + type CreateSheetRequestFields struct { Name *string `json:"name,omitempty" xml:"name,omitempty"` Property map[string]interface{} `json:"property,omitempty" xml:"property,omitempty"` @@ -457,6 +469,23 @@ func (s *DeleteSheetHeaders) SetXAcsDingtalkAccessToken(v string) *DeleteSheetHe return s } +type DeleteSheetRequest struct { + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` +} + +func (s DeleteSheetRequest) String() string { + return tea.Prettify(s) +} + +func (s DeleteSheetRequest) GoString() string { + return s.String() +} + +func (s *DeleteSheetRequest) SetOperatorId(v string) *DeleteSheetRequest { + s.OperatorId = &v + return s +} + type DeleteSheetResponseBody struct { Success *bool `json:"success,omitempty" xml:"success,omitempty"` } @@ -647,87 +676,63 @@ func (s *GetAllSheetsHeaders) SetXAcsDingtalkAccessToken(v string) *GetAllSheets return s } -type GetAllSheetsResponseBody struct { - Value []*GetAllSheetsResponseBodyValue `json:"value,omitempty" xml:"value,omitempty" type:"Repeated"` +type GetAllSheetsRequest struct { + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` } -func (s GetAllSheetsResponseBody) String() string { +func (s GetAllSheetsRequest) String() string { return tea.Prettify(s) } -func (s GetAllSheetsResponseBody) GoString() string { +func (s GetAllSheetsRequest) GoString() string { return s.String() } -func (s *GetAllSheetsResponseBody) SetValue(v []*GetAllSheetsResponseBodyValue) *GetAllSheetsResponseBody { - s.Value = v +func (s *GetAllSheetsRequest) SetOperatorId(v string) *GetAllSheetsRequest { + s.OperatorId = &v return s } -type GetAllSheetsResponseBodyValue struct { - Fields []*GetAllSheetsResponseBodyValueFields `json:"fields,omitempty" xml:"fields,omitempty" type:"Repeated"` - Id *string `json:"id,omitempty" xml:"id,omitempty"` - Name *string `json:"name,omitempty" xml:"name,omitempty"` +type GetAllSheetsResponseBody struct { + Value []*GetAllSheetsResponseBodyValue `json:"value,omitempty" xml:"value,omitempty" type:"Repeated"` } -func (s GetAllSheetsResponseBodyValue) String() string { +func (s GetAllSheetsResponseBody) String() string { return tea.Prettify(s) } -func (s GetAllSheetsResponseBodyValue) GoString() string { +func (s GetAllSheetsResponseBody) GoString() string { return s.String() } -func (s *GetAllSheetsResponseBodyValue) SetFields(v []*GetAllSheetsResponseBodyValueFields) *GetAllSheetsResponseBodyValue { - s.Fields = v - return s -} - -func (s *GetAllSheetsResponseBodyValue) SetId(v string) *GetAllSheetsResponseBodyValue { - s.Id = &v - return s -} - -func (s *GetAllSheetsResponseBodyValue) SetName(v string) *GetAllSheetsResponseBodyValue { - s.Name = &v +func (s *GetAllSheetsResponseBody) SetValue(v []*GetAllSheetsResponseBodyValue) *GetAllSheetsResponseBody { + s.Value = v return s } -type GetAllSheetsResponseBodyValueFields struct { - Id *string `json:"id,omitempty" xml:"id,omitempty"` - Name *string `json:"name,omitempty" xml:"name,omitempty"` - Property map[string]interface{} `json:"property,omitempty" xml:"property,omitempty"` - Type *string `json:"type,omitempty" xml:"type,omitempty"` +type GetAllSheetsResponseBodyValue struct { + Id *string `json:"id,omitempty" xml:"id,omitempty"` + Name *string `json:"name,omitempty" xml:"name,omitempty"` } -func (s GetAllSheetsResponseBodyValueFields) String() string { +func (s GetAllSheetsResponseBodyValue) String() string { return tea.Prettify(s) } -func (s GetAllSheetsResponseBodyValueFields) GoString() string { +func (s GetAllSheetsResponseBodyValue) GoString() string { return s.String() } -func (s *GetAllSheetsResponseBodyValueFields) SetId(v string) *GetAllSheetsResponseBodyValueFields { +func (s *GetAllSheetsResponseBodyValue) SetId(v string) *GetAllSheetsResponseBodyValue { s.Id = &v return s } -func (s *GetAllSheetsResponseBodyValueFields) SetName(v string) *GetAllSheetsResponseBodyValueFields { +func (s *GetAllSheetsResponseBodyValue) SetName(v string) *GetAllSheetsResponseBodyValue { s.Name = &v return s } -func (s *GetAllSheetsResponseBodyValueFields) SetProperty(v map[string]interface{}) *GetAllSheetsResponseBodyValueFields { - s.Property = v - return s -} - -func (s *GetAllSheetsResponseBodyValueFields) SetType(v string) *GetAllSheetsResponseBodyValueFields { - s.Type = &v - return s -} - type GetAllSheetsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` @@ -780,6 +785,23 @@ func (s *GetRecordHeaders) SetXAcsDingtalkAccessToken(v string) *GetRecordHeader return s } +type GetRecordRequest struct { + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` +} + +func (s GetRecordRequest) String() string { + return tea.Prettify(s) +} + +func (s GetRecordRequest) GoString() string { + return s.String() +} + +func (s *GetRecordRequest) SetOperatorId(v string) *GetRecordRequest { + s.OperatorId = &v + return s +} + type GetRecordResponseBody struct { Fields map[string]interface{} `json:"fields,omitempty" xml:"fields,omitempty"` Id *string `json:"id,omitempty" xml:"id,omitempty"` @@ -858,6 +880,7 @@ func (s *GetRecordsHeaders) SetXAcsDingtalkAccessToken(v string) *GetRecordsHead type GetRecordsRequest struct { MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"` NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"` + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` } func (s GetRecordsRequest) String() string { @@ -878,6 +901,11 @@ func (s *GetRecordsRequest) SetNextToken(v string) *GetRecordsRequest { return s } +func (s *GetRecordsRequest) SetOperatorId(v string) *GetRecordsRequest { + s.OperatorId = &v + return s +} + type GetRecordsResponseBody struct { HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"` NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"` @@ -982,58 +1010,46 @@ func (s *GetSheetHeaders) SetXAcsDingtalkAccessToken(v string) *GetSheetHeaders return s } -type GetSheetResponseBody struct { - Fields []*GetSheetResponseBodyFields `json:"fields,omitempty" xml:"fields,omitempty" type:"Repeated"` +type GetSheetRequest struct { + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` } -func (s GetSheetResponseBody) String() string { +func (s GetSheetRequest) String() string { return tea.Prettify(s) } -func (s GetSheetResponseBody) GoString() string { +func (s GetSheetRequest) GoString() string { return s.String() } -func (s *GetSheetResponseBody) SetFields(v []*GetSheetResponseBodyFields) *GetSheetResponseBody { - s.Fields = v +func (s *GetSheetRequest) SetOperatorId(v string) *GetSheetRequest { + s.OperatorId = &v return s } -type GetSheetResponseBodyFields struct { - Id *string `json:"id,omitempty" xml:"id,omitempty"` - Name *string `json:"name,omitempty" xml:"name,omitempty"` - Property map[string]interface{} `json:"property,omitempty" xml:"property,omitempty"` - Type *string `json:"type,omitempty" xml:"type,omitempty"` +type GetSheetResponseBody struct { + Id *string `json:"id,omitempty" xml:"id,omitempty"` + Name *string `json:"name,omitempty" xml:"name,omitempty"` } -func (s GetSheetResponseBodyFields) String() string { +func (s GetSheetResponseBody) String() string { return tea.Prettify(s) } -func (s GetSheetResponseBodyFields) GoString() string { +func (s GetSheetResponseBody) GoString() string { return s.String() } -func (s *GetSheetResponseBodyFields) SetId(v string) *GetSheetResponseBodyFields { +func (s *GetSheetResponseBody) SetId(v string) *GetSheetResponseBody { s.Id = &v return s } -func (s *GetSheetResponseBodyFields) SetName(v string) *GetSheetResponseBodyFields { +func (s *GetSheetResponseBody) SetName(v string) *GetSheetResponseBody { s.Name = &v return s } -func (s *GetSheetResponseBodyFields) SetProperty(v map[string]interface{}) *GetSheetResponseBodyFields { - s.Property = v - return s -} - -func (s *GetSheetResponseBodyFields) SetType(v string) *GetSheetResponseBodyFields { - s.Type = &v - return s -} - type GetSheetResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` @@ -1087,7 +1103,8 @@ func (s *InsertRecordsHeaders) SetXAcsDingtalkAccessToken(v string) *InsertRecor } type InsertRecordsRequest struct { - Records []*InsertRecordsRequestRecords `json:"records,omitempty" xml:"records,omitempty" type:"Repeated"` + Records []*InsertRecordsRequestRecords `json:"records,omitempty" xml:"records,omitempty" type:"Repeated"` + OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"` } func (s InsertRecordsRequest) String() string { @@ -1103,6 +1120,11 @@ func (s *InsertRecordsRequest) SetRecords(v []*InsertRecordsRequestRecords) *Ins return s } +func (s *InsertRecordsRequest) SetOperatorId(v string) *InsertRecordsRequest { + s.OperatorId = &v + return s +} + type InsertRecordsRequestRecords struct { Fields map[string]interface{} `json:"fields,omitempty" xml:"fields,omitempty"` } @@ -1609,16 +1631,25 @@ func (client *Client) CreateField(baseId *string, sheetIdOrName *string, request return _result, _err } -func (client *Client) CreateSheetWithOptions(baseId *string, name *string, request *CreateSheetRequest, headers *CreateSheetHeaders, runtime *util.RuntimeOptions) (_result *CreateSheetResponse, _err error) { +func (client *Client) CreateSheetWithOptions(baseId *string, request *CreateSheetRequest, headers *CreateSheetHeaders, runtime *util.RuntimeOptions) (_result *CreateSheetResponse, _err error) { _err = util.ValidateModel(request) if _err != nil { return _result, _err } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + body := map[string]interface{}{} if !tea.BoolValue(util.IsUnset(request.Fields)) { body["fields"] = request.Fields } + if !tea.BoolValue(util.IsUnset(request.Name)) { + body["name"] = request.Name + } + realHeaders := make(map[string]*string) if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { realHeaders = headers.CommonHeaders @@ -1630,6 +1661,7 @@ func (client *Client) CreateSheetWithOptions(baseId *string, name *string, reque req := &openapi.OpenApiRequest{ Headers: realHeaders, + Query: openapiutil.Query(query), Body: openapiutil.ParseToMap(body), } params := &openapi.Params{ @@ -1652,11 +1684,11 @@ func (client *Client) CreateSheetWithOptions(baseId *string, name *string, reque return _result, _err } -func (client *Client) CreateSheet(baseId *string, name *string, request *CreateSheetRequest) (_result *CreateSheetResponse, _err error) { +func (client *Client) CreateSheet(baseId *string, request *CreateSheetRequest) (_result *CreateSheetResponse, _err error) { runtime := &util.RuntimeOptions{} headers := &CreateSheetHeaders{} _result = &CreateSheetResponse{} - _body, _err := client.CreateSheetWithOptions(baseId, name, request, headers, runtime) + _body, _err := client.CreateSheetWithOptions(baseId, request, headers, runtime) if _err != nil { return _result, _err } @@ -1780,7 +1812,16 @@ func (client *Client) DeleteRecords(baseId *string, sheetIdOrName *string, reque return _result, _err } -func (client *Client) DeleteSheetWithOptions(baseId *string, sheetIdOrName *string, headers *DeleteSheetHeaders, runtime *util.RuntimeOptions) (_result *DeleteSheetResponse, _err error) { +func (client *Client) DeleteSheetWithOptions(baseId *string, sheetIdOrName *string, request *DeleteSheetRequest, headers *DeleteSheetHeaders, runtime *util.RuntimeOptions) (_result *DeleteSheetResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + realHeaders := make(map[string]*string) if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { realHeaders = headers.CommonHeaders @@ -1792,6 +1833,7 @@ func (client *Client) DeleteSheetWithOptions(baseId *string, sheetIdOrName *stri req := &openapi.OpenApiRequest{ Headers: realHeaders, + Query: openapiutil.Query(query), } params := &openapi.Params{ Action: tea.String("DeleteSheet"), @@ -1813,11 +1855,11 @@ func (client *Client) DeleteSheetWithOptions(baseId *string, sheetIdOrName *stri return _result, _err } -func (client *Client) DeleteSheet(baseId *string, sheetIdOrName *string) (_result *DeleteSheetResponse, _err error) { +func (client *Client) DeleteSheet(baseId *string, sheetIdOrName *string, request *DeleteSheetRequest) (_result *DeleteSheetResponse, _err error) { runtime := &util.RuntimeOptions{} headers := &DeleteSheetHeaders{} _result = &DeleteSheetResponse{} - _body, _err := client.DeleteSheetWithOptions(baseId, sheetIdOrName, headers, runtime) + _body, _err := client.DeleteSheetWithOptions(baseId, sheetIdOrName, request, headers, runtime) if _err != nil { return _result, _err } @@ -1880,7 +1922,16 @@ func (client *Client) GetAllFields(baseId *string, sheetIdOrName *string, reques return _result, _err } -func (client *Client) GetAllSheetsWithOptions(baseId *string, headers *GetAllSheetsHeaders, runtime *util.RuntimeOptions) (_result *GetAllSheetsResponse, _err error) { +func (client *Client) GetAllSheetsWithOptions(baseId *string, request *GetAllSheetsRequest, headers *GetAllSheetsHeaders, runtime *util.RuntimeOptions) (_result *GetAllSheetsResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + realHeaders := make(map[string]*string) if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { realHeaders = headers.CommonHeaders @@ -1892,6 +1943,7 @@ func (client *Client) GetAllSheetsWithOptions(baseId *string, headers *GetAllShe req := &openapi.OpenApiRequest{ Headers: realHeaders, + Query: openapiutil.Query(query), } params := &openapi.Params{ Action: tea.String("GetAllSheets"), @@ -1913,11 +1965,11 @@ func (client *Client) GetAllSheetsWithOptions(baseId *string, headers *GetAllShe return _result, _err } -func (client *Client) GetAllSheets(baseId *string) (_result *GetAllSheetsResponse, _err error) { +func (client *Client) GetAllSheets(baseId *string, request *GetAllSheetsRequest) (_result *GetAllSheetsResponse, _err error) { runtime := &util.RuntimeOptions{} headers := &GetAllSheetsHeaders{} _result = &GetAllSheetsResponse{} - _body, _err := client.GetAllSheetsWithOptions(baseId, headers, runtime) + _body, _err := client.GetAllSheetsWithOptions(baseId, request, headers, runtime) if _err != nil { return _result, _err } @@ -1925,7 +1977,16 @@ func (client *Client) GetAllSheets(baseId *string) (_result *GetAllSheetsRespons return _result, _err } -func (client *Client) GetRecordWithOptions(baseId *string, sheetIdOrName *string, recordId *string, headers *GetRecordHeaders, runtime *util.RuntimeOptions) (_result *GetRecordResponse, _err error) { +func (client *Client) GetRecordWithOptions(baseId *string, sheetIdOrName *string, recordId *string, request *GetRecordRequest, headers *GetRecordHeaders, runtime *util.RuntimeOptions) (_result *GetRecordResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + realHeaders := make(map[string]*string) if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { realHeaders = headers.CommonHeaders @@ -1937,6 +1998,7 @@ func (client *Client) GetRecordWithOptions(baseId *string, sheetIdOrName *string req := &openapi.OpenApiRequest{ Headers: realHeaders, + Query: openapiutil.Query(query), } params := &openapi.Params{ Action: tea.String("GetRecord"), @@ -1958,11 +2020,11 @@ func (client *Client) GetRecordWithOptions(baseId *string, sheetIdOrName *string return _result, _err } -func (client *Client) GetRecord(baseId *string, sheetIdOrName *string, recordId *string) (_result *GetRecordResponse, _err error) { +func (client *Client) GetRecord(baseId *string, sheetIdOrName *string, recordId *string, request *GetRecordRequest) (_result *GetRecordResponse, _err error) { runtime := &util.RuntimeOptions{} headers := &GetRecordHeaders{} _result = &GetRecordResponse{} - _body, _err := client.GetRecordWithOptions(baseId, sheetIdOrName, recordId, headers, runtime) + _body, _err := client.GetRecordWithOptions(baseId, sheetIdOrName, recordId, request, headers, runtime) if _err != nil { return _result, _err } @@ -1984,6 +2046,10 @@ func (client *Client) GetRecordsWithOptions(baseId *string, sheetIdOrName *strin query["nextToken"] = request.NextToken } + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + realHeaders := make(map[string]*string) if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { realHeaders = headers.CommonHeaders @@ -2029,7 +2095,16 @@ func (client *Client) GetRecords(baseId *string, sheetIdOrName *string, request return _result, _err } -func (client *Client) GetSheetWithOptions(baseId *string, sheetIdOrName *string, headers *GetSheetHeaders, runtime *util.RuntimeOptions) (_result *GetSheetResponse, _err error) { +func (client *Client) GetSheetWithOptions(baseId *string, sheetIdOrName *string, request *GetSheetRequest, headers *GetSheetHeaders, runtime *util.RuntimeOptions) (_result *GetSheetResponse, _err error) { + _err = util.ValidateModel(request) + if _err != nil { + return _result, _err + } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + realHeaders := make(map[string]*string) if !tea.BoolValue(util.IsUnset(headers.CommonHeaders)) { realHeaders = headers.CommonHeaders @@ -2041,6 +2116,7 @@ func (client *Client) GetSheetWithOptions(baseId *string, sheetIdOrName *string, req := &openapi.OpenApiRequest{ Headers: realHeaders, + Query: openapiutil.Query(query), } params := &openapi.Params{ Action: tea.String("GetSheet"), @@ -2062,11 +2138,11 @@ func (client *Client) GetSheetWithOptions(baseId *string, sheetIdOrName *string, return _result, _err } -func (client *Client) GetSheet(baseId *string, sheetIdOrName *string) (_result *GetSheetResponse, _err error) { +func (client *Client) GetSheet(baseId *string, sheetIdOrName *string, request *GetSheetRequest) (_result *GetSheetResponse, _err error) { runtime := &util.RuntimeOptions{} headers := &GetSheetHeaders{} _result = &GetSheetResponse{} - _body, _err := client.GetSheetWithOptions(baseId, sheetIdOrName, headers, runtime) + _body, _err := client.GetSheetWithOptions(baseId, sheetIdOrName, request, headers, runtime) if _err != nil { return _result, _err } @@ -2079,6 +2155,11 @@ func (client *Client) InsertRecordsWithOptions(baseId *string, sheetIdOrName *st if _err != nil { return _result, _err } + query := map[string]interface{}{} + if !tea.BoolValue(util.IsUnset(request.OperatorId)) { + query["operatorId"] = request.OperatorId + } + body := map[string]interface{}{} if !tea.BoolValue(util.IsUnset(request.Records)) { body["records"] = request.Records @@ -2095,6 +2176,7 @@ func (client *Client) InsertRecordsWithOptions(baseId *string, sheetIdOrName *st req := &openapi.OpenApiRequest{ Headers: realHeaders, + Query: openapiutil.Query(query), Body: openapiutil.ParseToMap(body), } params := &openapi.Params{