.gitignore 0000644 00000000521 14713400346 0006534 0 ustar 00 composer.phar /vendor/ # Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control # You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file composer.lock .vscode/ .idea .DS_Store cache/ *.cache runtime/ .php_cs.cache .php_cs.dist 0000644 00000005666 14713400346 0007002 0 ustar 00 setRiskyAllowed(true) ->setIndent(' ') ->setRules([ '@PSR2' => true, '@PhpCsFixer' => true, '@Symfony:risky' => true, 'concat_space' => ['spacing' => 'one'], 'array_syntax' => ['syntax' => 'short'], 'array_indentation' => true, 'combine_consecutive_unsets' => true, 'method_separation' => true, 'single_quote' => true, 'declare_equal_normalize' => true, 'function_typehint_space' => true, 'hash_to_slash_comment' => true, 'include' => true, 'lowercase_cast' => true, 'no_multiline_whitespace_before_semicolons' => true, 'no_leading_import_slash' => true, 'no_multiline_whitespace_around_double_arrow' => true, 'no_spaces_around_offset' => true, 'no_unneeded_control_parentheses' => true, 'no_unused_imports' => true, 'no_whitespace_before_comma_in_array' => true, 'no_whitespace_in_blank_line' => true, 'object_operator_without_whitespace' => true, 'single_blank_line_before_namespace' => true, 'single_class_element_per_statement' => true, 'space_after_semicolon' => true, 'standardize_not_equals' => true, 'ternary_operator_spaces' => true, 'trailing_comma_in_multiline_array' => true, 'trim_array_spaces' => true, 'unary_operator_spaces' => true, 'whitespace_after_comma_in_array' => true, 'no_extra_consecutive_blank_lines' => [ 'curly_brace_block', 'extra', 'parenthesis_brace_block', 'square_brace_block', 'throw', 'use', ], 'binary_operator_spaces' => [ 'align_double_arrow' => true, 'align_equals' => true, ], 'braces' => [ 'allow_single_line_closure' => true, ], ]) ->setFinder( PhpCsFixer\Finder::create() ->exclude('vendor') ->exclude('tests') ->in(__DIR__) ); ChangeLog.md 0000644 00000335767 14713400346 0006744 0 ustar 00 2024-09-27 Version: 2.0.87 - Generated php 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,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,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. 2024-09-24 Version: 2.0.86 - Generated php 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,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,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. 2024-09-14 Version: 2.0.85 - Generated php 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,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,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. 2024-09-11 Version: 2.0.84 - Generated php 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,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,theone_1.0,todo_1.0,todoEE_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,yida_2.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk. 2024-09-03 Version: 2.0.83 - Generated php 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,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,theone_1.0,todo_1.0,todoEE_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,yida_2.0,yunShu_1.0,esign_1.1,esign_2.0,h3yun_1.0,jzcrm_1.0,soke_1.0 for dingtalk. 2024-08-27 Version: 2.0.82 - Generated php 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,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,theone_1.0,todo_1.0,todoEE_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-08-22 Version: 2.0.81 - Generated php 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,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,theone_1.0,todo_1.0,todoEE_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-08-21 Version: 2.0.80 - Generated php 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,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,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-08-20 Version: 2.0.79 - Generated php 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,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,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-08-15 Version: 2.0.78 - Generated php 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,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,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-08-14 Version: 2.0.77 - Generated php 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,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,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-08-08 Version: 2.0.76 - Generated php 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,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,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-08-07 Version: 2.0.75 - Generated php 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,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,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-08-02 Version: 2.0.74 - Generated php 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,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,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-08-02 Version: 2.0.74 - Generated php 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,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,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-07-31 Version: 2.0.73 - Generated php 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,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,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-07-26 Version: 2.0.72 - Generated php 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,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,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-07-25 Version: 2.0.71 - Generated php 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,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,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-07-25 Version: 2.0.70 - Generated php 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,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,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-07-19 Version: 2.0.69 - Generated php 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,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,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-07-16 Version: 2.0.68 - Generated php 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,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,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,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-07-09 Version: 2.0.67 - Generated php 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,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,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,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-07-03 Version: 2.0.66 - Generated php 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,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,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,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-06-27 Version: 2.0.65 - Generated php 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,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,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,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-06-24 Version: 2.0.64 - Generated php 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,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,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,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-06-20 Version: 2.0.63 - Generated php 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,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,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,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-06-17 Version: 2.0.62 - Generated php 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,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,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,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-06-12 Version: 2.0.61 - Generated php 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,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,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,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-06-04 Version: 2.0.60 - Generated php 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,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,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,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-05-30 Version: 2.0.59 - Generated php 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,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,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,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-05-29 Version: 2.0.58 - Generated php 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,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-05-24 Version: 2.0.57 - Generated php 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,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-05-23 Version: 2.0.56 - Generated php 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,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-05-22 Version: 2.0.55 - Generated php 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,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-05-18 Version: 2.0.54 - Generated php 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,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-05-14 Version: 2.0.53 - Generated php 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,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-05-09 Version: 2.0.52 - Generated php 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-26 Version: 2.0.51 - Generated php 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: 2.0.50 - Generated php 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-22 Version: 2.0.49 - Generated php 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-18 Version: 2.0.48 - Generated php 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-15 Version: 2.0.47 - Generated php 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-09 Version: 2.0.46 - Generated php 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-02 Version: 2.0.45 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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-03-28 Version: 2.0.44 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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-03-26 Version: 2.0.43 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-21 Version: 2.0.42 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-20 Version: 2.0.41 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-18 Version: 2.0.40 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-15 Version: 2.0.39 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-13 Version: 2.0.38 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-12 Version: 2.0.37 - Generated php activity_1.0,aiInteraction_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-08 Version: 2.0.36 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-06 Version: 2.0.35 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-03-01 Version: 2.0.34 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-02-29 Version: 2.0.33 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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-02-28 Version: 2.0.32 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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,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-02-27 Version: 2.0.31 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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,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-02-19 Version: 2.0.30 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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,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,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-02-07 Version: 2.0.29 - Generated php activity_1.0,aiPaaS_1.0,algo_1.0,alitest_1.0,alitrip_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,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,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,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. 2023-08-03 Version: 2.0.28 - Update AddOfficialAccountFollower. 2023-07-26 Version: 2.0.27 - Update AddOfficialAccountFollower. 2023-07-21 Version: 2.0.26 - Update AddOfficialAccountFollower. 2023-07-19 Version: 2.0.25 - Update AddOfficialAccountFollower. 2023-07-17 Version: 2.0.24 - Update AddOfficialAccountFollower. 2023-07-12 Version: 2.0.23 - Update AddOfficialAccountFollower. 2023-07-05 Version: 2.0.22 - Update AddOfficialAccountFollower. 2023-06-16 Version: 2.0.21 - Update AddOfficialAccountFollower. 2023-06-13 Version: 2.0.20 - Update AddOfficialAccountFollower. 2023-06-09 Version: 2.0.19 - Update AddOfficialAccountFollower. 2023-05-31 Version: 2.0.18 - Update AddOfficialAccountFollower. 2023-05-31 Version: 2.0.18 - Update AddOfficialAccountFollower. 2023-05-31 Version: 2.0.18 - Update AddOfficialAccountFollower. 2023-05-31 Version: 2.0.17 - Update AddOfficialAccountFollower. 2023-05-26 Version: 2.0.17 - Update AddOfficialAccountFollower. 2023-05-24 Version: 2.0.16 - Update AddOfficialAccountFollower. 2023-05-18 Version: 2.0.15 - Update AddOfficialAccountFollower. 2023-05-17 Version: 2.0.14 - Update AddOfficialAccountFollower. 2023-05-16 Version: 2.0.13 - Update AddOfficialAccountFollower. 2023-05-12 Version: 2.0.12 - Update AddOfficialAccountFollower. 2023-05-09 Version: 2.0.11 - Update AddOfficialAccountFollower. 2023-04-28 Version: 2.0.10 - Update AddOfficialAccountFollower. 2023-04-26 Version: 2.0.0 - Update AddOfficialAccountFollower. 2023-04-21 Version: 1.5.65 - Update AddOfficialAccountFollower. 2023-04-14 Version: 1.5.64 - Update AddOfficialAccountFollower. 2023-04-11 Version: 1.5.63 - Update AddOfficialAccountFollower. 2023-04-07 Version: 1.5.62 - Update AddOfficialAccountFollower. 2023-04-04 Version: 1.5.61 - Update AddOfficialAccountFollower. 2023-03-29 Version: 1.5.60 - Update AddOfficialAccountFollower. 2023-03-27 Version: 1.5.59 - Update AddOfficialAccountFollower. 2023-03-21 Version: 1.5.58 - Update AddOfficialAccountFollower. 2023-03-15 Version: 1.5.55 - Update AddOfficialAccountFollower. 2023-03-14 Version: 1.5.54 - Update AddOfficialAccountFollower. 2023-03-13 Version: 1.5.53 - Update AddOfficialAccountFollower. 2023-03-09 Version: 1.5.52 - Update AddOfficialAccountFollower. 2023-03-08 Version: 1.5.51 - Update AddOfficialAccountFollower. 2023-03-07 Version: 1.5.50 - Update AddOfficialAccountFollower. 2023-03-07 Version: 1.5.49 - Update AddOfficialAccountFollower. 2023-03-02 Version: 1.5.48 - Update AddOfficialAccountFollower. 2023-03-01 Version: 1.5.47 - Update sync interface. 2023-02-28 Version: 1.5.46 - Update sync interface. 2023-02-23 Version: 1.5.45 - Update sync interface. 2023-02-22 Version: 1.5.44 - Update sync interface. 2023-02-17 Version: 1.5.43 - Update sync interface. 2023-02-17 Version: 1.5.42 - Update sync interface. 2023-02-15 Version: 1.5.41 - Update sync interface. 2023-02-13 Version: 1.5.40 - Update sync interface. 2023-02-10 Version: 1.5.39 - Update sync interface. 2023-02-07 Version: 1.5.38 - Update sync interface. 2023-02-06 Version: 1.5.37 - Update sync interface. 2023-02-03 Version: 1.5.36 - Update sync interface. 2023-02-02 Version: 1.5.35 - Update sync interface. 2023-02-02 Version: 1.5.34 - Update sync interface. 2023-02-01 Version: 1.5.33 - Update sync interface. 2023-01-31 Version: 1.5.32 - Update sync interface. 2023-01-30 Version: 1.5.31 - Update sync interface. 2023-01-20 Version: 1.5.30 - Update sync interface. 2023-01-19 Version: 1.5.29 - Update sync interface. 2023-01-18 Version: 1.5.28 - Update sync interface. 2023-01-17 Version: 1.5.27 - Update sync interface. 2023-01-16 Version: 1.5.26 - Update sync interface. 2023-01-13 Version: 1.5.25 - Update sync interface. 2023-01-12 Version: 1.5.24 - Update sync interface. 2023-01-11 Version: 1.5.23 - Update sync interface. 2023-01-10 Version: 1.5.22 - Update sync interface. 2023-01-09 Version: 1.5.21 - Update sync interface. 2023-01-06 Version: 1.5.20 - Update sync interface. 2023-01-05 Version: 1.5.19 - Update sync interface. 2023-01-04 Version: 1.5.18 - Update sync interface. 2023-01-04 Version: 1.5.17 - Update sync interface. 2023-01-03 Version: 1.5.17 - Update sync interface. 2023-01-03 Version: 1.5.17 - Update sync interface. 2022-12-30 Version: 1.5.16 - Update sync interface. 2022-12-29 Version: 1.5.15 - Update sync interface. 2022-12-28 Version: 1.5.14 - Update sync interface. 2022-12-27 Version: 1.5.13 - Update sync interface. 2022-12-26 Version: 1.5.12 - Update sync interface. 2022-12-23 Version: 1.5.11 - Update sync interface. 2022-12-22 Version: 1.5.10 - Update sync interface. 2022-12-21 Version: 1.4.99 - Update sync interface. 2022-12-20 Version: 1.4.98 - Update sync interface. 2022-12-19 Version: 1.4.97 - Update sync interface. 2022-12-16 Version: 1.4.96 - Update sync interface. 2022-12-15 Version: 1.4.95 - Update sync interface. 2022-12-14 Version: 1.4.94 - Update sync interface. 2022-12-13 Version: 1.4.93 - Update sync interface. 2022-12-12 Version: 1.4.92 - Update sync interface. 2022-12-09 Version: 1.4.91 - Update sync interface. 2022-12-08 Version: 1.4.90 - Update sync interface. 2022-12-07 Version: 1.4.89 - Update sync interface. 2022-12-06 Version: 1.4.88 - Update sync interface. 2022-12-05 Version: 1.4.87 - Update sync interface. 2022-12-02 Version: 1.4.86 - Update sync interface. 2022-12-01 Version: 1.4.85 - Update sync interface. 2022-11-30 Version: 1.4.84 - Update sync interface. 2022-11-29 Version: 1.4.83 - Update sync interface. 2022-11-28 Version: 1.4.82 - Update sync interface. 2022-11-25 Version: 1.4.81 - Update sync interface. 2022-11-24 Version: 1.4.80 - Update sync interface. 2022-11-23 Version: 1.4.79 - Update sync interface. 2022-11-22 Version: 1.4.78 - Update sync interface. 2022-11-21 Version: 1.4.77 - Update sync interface. 2022-11-18 Version: 1.4.76 - Update sync interface. 2022-11-17 Version: 1.4.75 - Update sync interface. 2022-11-16 Version: 1.4.74 - Update sync interface. 2022-11-15 Version: 1.4.73 - Update sync interface. 2022-11-14 Version: 1.4.72 - Update sync interface. 2022-11-10 Version: 1.4.71 - Update sync interface. 2022-11-09 Version: 1.4.70 - Update sync interface. 2022-11-08 Version: 1.4.69 - Update sync interface. 2022-11-07 Version: 1.4.68 - Update sync interface. 2022-11-04 Version: 1.4.67 - Update sync interface. 2022-11-03 Version: 1.4.66 - Update sync interface. 2022-11-02 Version: 1.4.65 - Update sync interface. 2022-11-01 Version: 1.4.64 - Update sync interface. 2022-10-31 Version: 1.4.63 - Update sync interface. 2022-10-28 Version: 1.4.62 - Update sync interface. 2022-10-28 Version: 1.4.61 - Update sync interface. 2022-10-27 Version: 1.4.60 - Update sync interface. 2022-10-26 Version: 1.4.59 - Update sync interface. 2022-10-25 Version: 1.4.58 - Update sync interface. 2022-10-24 Version: 1.4.57 - Update sync interface. 2022-10-21 Version: 1.4.56 - Update sync interface. 2022-10-20 Version: 1.4.55 - Update sync interface. 2022-10-19 Version: 1.4.54 - Update sync interface. 2022-10-18 Version: 1.4.53 - Update sync interface. 2022-10-14 Version: 1.4.52 - Update sync interface. 2022-10-14 Version: 1.4.51 - Update sync interface. 2022-10-13 Version: 1.4.50 - Update sync interface. 2022-10-12 Version: 1.4.49 - Update sync interface. 2022-10-11 Version: 1.4.48 - Update sync interface. 2022-10-10 Version: 1.4.47 - Update sync interface. 2022-10-09 Version: 1.4.46 - Update sync interface. 2022-10-08 Version: 1.4.45 - Update sync interface. 2022-09-30 Version: 1.4.44 - Update sync interface. 2022-09-29 Version: 1.4.43 - Update sync interface. 2022-09-28 Version: 1.4.42 - Update sync interface. 2022-09-27 Version: 1.4.41 - Update sync interface. 2022-09-23 Version: 1.4.40 - Update sync interface. 2022-09-22 Version: 1.4.39 - Update sync interface. 2022-09-21 Version: 1.4.38 - Update sync interface. 2022-09-20 Version: 1.4.37 - Update sync interface. 2022-09-19 Version: 1.4.36 - Update sync interface. 2022-09-16 Version: 1.4.35 - Update sync interface. 2022-09-16 Version: 1.4.34 - Update sync interface. 2022-09-15 Version: 1.4.33 - Update sync interface. 2022-09-14 Version: 1.4.32 - Update sync interface. 2022-09-09 Version: 1.4.31 - Update sync interface. 2022-09-09 Version: 1.4.30 - Update sync interface. 2022-09-08 Version: 1.4.29 - Update sync interface. 2022-09-07 Version: 1.4.28 - Update sync interface. 2022-09-06 Version: 1.4.27 - Update sync interface. 2022-09-02 Version: 1.4.26 - Update sync interface. 2022-09-02 Version: 1.4.25 - Update sync interface. 2022-09-01 Version: 1.4.24 - Update sync interface. 2022-08-31 Version: 1.4.23 - Update sync interface. 2022-08-29 Version: 1.4.21 - Update sync interface. 2022-08-24 Version: 1.4.20 - Update sync interface. 2022-08-23 Version: 1.4.19 - Update sync interface. 2022-08-22 Version: 1.4.18 - Update sync interface. 2022-08-19 Version: 1.4.17 - Update sync interface. 2022-08-19 Version: 1.4.16 - Update sync interface. 2022-08-18 Version: 1.4.15 - Update sync interface. 2022-08-18 Version: 1.4.15 - Update sync interface. 2022-08-18 Version: 1.4.15 - Update sync interface. 2022-08-18 Version: 1.4.15 - Update sync interface. 2022-08-17 Version: 1.4.14 - Update sync interface. 2022-08-17 Version: 1.4.14 - Update sync interface. 2022-08-17 Version: 1.4.14 - Update sync interface. 2022-08-11 Version: 1.4.13 - Update sync interface. 2022-08-10 Version: 1.4.12 - Update sync interface. 2022-08-09 Version: 1.4.11 - Update sync interface. 2022-08-08 Version: 1.4.10 - Update sync interface. 2022-08-05 Version: 1.3.99 - Update sync interface. 2022-08-04 Version: 1.3.98 - Update sync interface. 2022-08-03 Version: 1.3.97 - Update sync interface. 2022-08-02 Version: 1.3.96 - Update sync interface. 2022-08-02 Version: 1.3.95 - Update sync interface. 2022-07-29 Version: 1.3.94 - Update sync interface. 2022-07-28 Version: 1.3.93 - Update sync interface. 2022-07-27 Version: 1.3.92 - Update sync interface. 2022-07-27 Version: 1.3.91 - Update sync interface. 2022-07-26 Version: 1.3.90 - Update sync interface. 2022-07-25 Version: 1.3.89 - Update sync interface. 2022-07-22 Version: 1.3.88 - Update sync interface. 2022-07-22 Version: 1.3.87 - Update sync interface. 2022-07-21 Version: 1.3.86 - Online. 2022-07-20 Version: 1.3.85 - Online. 2022-07-19 Version: 1.3.84 - Online. 2022-07-19 Version: 1.3.83 - Online. 2022-07-18 Version: 1.3.82 - Online. 2022-07-14 Version: 1.3.81 - Online. 2022-07-14 Version: 1.3.80 - Online. 2022-07-12 Version: 1.3.79 - Online. 2022-07-12 Version: 1.3.78 - Online. 2022-07-08 Version: 1.3.77 - Online. 2022-07-07 Version: 1.3.76 - Online. 2022-07-06 Version: 1.3.75 - Online. 2022-07-05 Version: 1.3.74 - Online. 2022-07-01 Version: 1.3.73 - Online. 2022-06-29 Version: 1.3.72 - Online. 2022-06-29 Version: 1.3.71 - Online. 2022-06-28 Version: 1.3.70 - Online. 2022-06-24 Version: 1.3.69 - Online. 2022-06-23 Version: 1.3.68 - Online. 2022-06-22 Version: 1.3.67 - Online. 2022-06-20 Version: 1.3.66 - Online. 2022-06-17 Version: 1.3.65 - Online. 2022-06-16 Version: 1.3.64 - Online. 2022-06-16 Version: 1.3.63 - Online. 2022-06-15 Version: 1.3.62 - Online. 2022-06-14 Version: 1.3.61 - Online. 2022-06-13 Version: 1.3.60 - Online. 2022-06-09 Version: 1.3.59 - Online. 2022-06-08 Version: 1.3.58 - Online. 2022-06-02 Version: 1.3.57 - Online. 2022-05-30 Version: 1.3.56 - Online. 2022-05-27 Version: 1.3.55 - Online. 2022-05-25 Version: 1.3.54 - Online. 2022-05-19 Version: 1.3.53 - Online. 2022-05-16 Version: 1.3.52 - Online. 2022-05-12 Version: 1.3.51 - Online. 2022-05-11 Version: 1.3.50 - Online. 2022-05-10 Version: 1.3.49 - Online. 2022-05-10 Version: 1.3.48 - Online. 2022-05-05 Version: 1.3.47 - Online. 2022-04-29 Version: 1.3.46 - Online. 2022-04-28 Version: 1.3.45 - Online. 2022-04-26 Version: 1.3.44 - Online. 2022-04-26 Version: 1.3.43 - Online. 2022-04-26 Version: 1.3.42 - Online. 2022-04-25 Version: 1.3.41 - Online. 2022-04-22 Version: 1.3.40 - Online. 2022-04-21 Version: 1.3.39 - Online. 2022-04-20 Version: 1.3.38 - Online. 2022-04-19 Version: 1.3.37 - Online. 2022-04-15 Version: 1.3.36 - Online. 2022-04-14 Version: 1.3.35 - Online. 2022-04-13 Version: 1.3.34 - Online. 2022-04-12 Version: 1.3.33 - Online. 2022-04-11 Version: 1.3.32 - Online. 2022-04-08 Version: 1.3.31 - Online. 2022-04-07 Version: 1.3.30 - Online. 2022-04-06 Version: 1.3.29 - Online. 2022-03-31 Version: 1.3.28 - Online. 2022-03-31 Version: 1.3.27 - Online. 2022-03-30 Version: 1.3.26 - Online. 2022-03-29 Version: 1.3.25 - Online. 2022-03-28 Version: 1.3.24 - Online. 2022-03-28 Version: 1.3.24 - Online. 2022-03-25 Version: 1.3.23 - Online. 2022-03-25 Version: 1.3.22 - Online. 2022-03-24 Version: 1.3.21 - Online. 2022-03-23 Version: 1.3.20 - Online. 2022-03-22 Version: 1.3.19 - Online. 2022-03-21 Version: 1.3.18 - Online. 2022-03-18 Version: 1.3.17 - Online. 2022-03-17 Version: 1.3.16 - Online. 2022-03-16 Version: 1.3.15 - Online. 2022-03-15 Version: 1.3.14 - Online. 2022-03-14 Version: 1.3.13 - Online. 2022-03-11 Version: 1.3.12 - Online. 2022-03-11 Version: 1.3.11 - Online. 2022-03-10 Version: 1.3.10 - Online. 2022-03-09 Version: 1.2.99 - Online. 2022-03-08 Version: 1.2.98 - Online. 2022-03-07 Version: 1.2.97 - Online. 2022-03-04 Version: 1.2.96 - Online. 2022-03-04 Version: 1.2.95 - Online. 2022-03-02 Version: 1.2.94 - Online. 2022-03-02 Version: 1.2.93 - Online. 2022-03-01 Version: 1.2.92 - Online. 2022-02-24 Version: 1.2.91 - Online. 2022-02-23 Version: 1.2.90 - Online. 2022-02-21 Version: 1.2.89 - Online. 2022-02-21 Version: 1.2.88 - Online. 2022-02-18 Version: 1.2.87 - Online. 2022-02-18 Version: 1.2.86 - Online. 2022-02-18 Version: 1.2.85 - Online. 2022-02-16 Version: 1.2.84 - Online. 2022-02-11 Version: 1.2.83 - Online. 2022-02-10 Version: 1.2.81 - Online. 2022-01-26 Version: 1.2.80 - Online. 2022-01-26 Version: 1.2.44 - Online. 2022-01-25 Version: 1.2.43 - Online. 2022-01-24 Version: 1.2.41 - Online. 2022-01-21 Version: 1.2.40 - Online. 2022-01-20 Version: 1.2.39 - Online. 2022-01-18 Version: 1.2.38 - Online. 2022-01-17 Version: 1.2.37 - Online. 2022-01-14 Version: 1.2.36 - Online. 2022-01-13 Version: 1.2.35 - Online. 2022-01-13 Version: 1.2.34 - Online. 2022-01-12 Version: 1.2.32 - Online. 2022-01-12 Version: 1.2.31 - Online. 2022-01-11 Version: 1.2.30 - Online. 2022-01-11 Version: 1.2.29 - Online. 2022-01-07 Version: 1.2.28 - Online. 2022-01-06 Version: 1.2.27 - Online. 2022-01-06 Version: 1.2.26 - Online. 2022-01-04 Version: 1.2.25 - Online. 2021-12-30 Version: 1.2.24 - Online. 2021-12-29 Version: 1.2.23 - Online. 2021-12-28 Version: 1.2.22 - Online. 2021-12-27 Version: 1.2.21 - Online. 2021-12-24 Version: 1.2.20 - Online. 2021-12-24 Version: 1.2.19 - Online. 2021-12-22 Version: 1.2.18 - Online. 2021-12-21 Version: 1.2.17 - Online. 2021-12-20 Version: 1.2.16 - Online. 2021-12-17 Version: 1.2.15 - Online. 2021-12-17 Version: 1.2.14 - Online. 2021-12-17 Version: 1.2.13 - Online. 2021-12-16 Version: 1.2.12 - Online. 2021-12-13 Version: 1.2.11 - Online. 2021-12-08 Version: 1.2.10 - Online. 2021-12-03 Version: 1.2.8 - Online. 2021-12-02 Version: 1.2.5 - Online. 2021-11-29 Version: 1.2.4 - Online. 2021-11-25 Version: 1.2.3 - Online. 2021-11-23 Version: 1.2.2 - Online. 2021-11-23 Version: 1.2.2 - Online. 2021-11-19 Version: 1.2.1 - Online. 2021-11-18 Version: 1.1.100 - Online. 2021-11-18 Version: 1.1.99 - Online. 2021-11-16 Version: 1.1.98 - Online. 2021-11-15 Version: 1.1.97 - Online. 2021-11-05 Version: 1.1.96 - Online. 2021-10-29 Version: 1.1.94 - Online. 2021-10-27 Version: 1.1.93 - Online. 2021-10-26 Version: 1.1.92 - Online. 2021-10-25 Version: 1.1.91 - Online. 2021-10-20 Version: 1.1.90 - Online. 2021-10-19 Version: 1.1.89 - Online. 2021-10-15 Version: 1.1.88 - Online. 2021-10-14 Version: 1.1.87 - Online. 2021-10-11 Version: 1.1.86 - Online. 2021-10-11 Version: 1.1.85 - Online. 2021-09-29 Version: 1.1.84 - Online. 2021-09-27 Version: 1.1.83 - Online. 2021-09-24 Version: 1.1.82 - Online. 2021-09-23 Version: 1.1.81 - Online. 2021-09-18 Version: 1.1.80 - Online. 2021-09-15 Version: 1.1.79 - Online. 2021-09-15 Version: 1.1.78 - Online. 2021-09-15 Version: 1.1.77 - Online. 2021-09-13 Version: 1.1.76 - Online. 2021-09-13 Version: 1.1.75 - Online. 2021-09-13 Version: 1.1.74 - Online. 2021-09-10 Version: 1.1.73 - Online. 2021-09-10 Version: 1.1.72 - Online. 2021-09-09 Version: 1.1.71 - Online. 2021-09-06 Version: 1.1.70 - Online. 2021-09-03 Version: 1.1.69 - Online. 2021-08-31 Version: 1.1.68 - Online. 2021-08-24 Version: 1.1.67 - Online. 2021-08-23 Version: 1.1.66 - Online. 2021-08-19 Version: 1.1.65 - Online. 2021-08-12 Version: 1.1.64 - Online. 2021-08-03 Version: 1.1.63 - Online. 2021-07-29 Version: 1.1.62 - Online. 2021-07-29 Version: 1.1.61 - Online. 2021-07-29 Version: 1.1.61 - Online. 2021-07-28 Version: 1.1.60 - Online. 2021-07-20 Version: 1.1.58 - Online. 2021-07-16 Version: 1.1.57 - Online. 2021-07-16 Version: 1.1.56 - Online. 2021-07-13 Version: 1.1.55 - Online. 2021-07-07 Version: 1.1.53 - Online. 2021-07-06 Version: 1.1.52 - Online. 2021-07-06 Version: 1.1.51 - Online. 2021-06-25 Version: 1.1.50 - Online. 2021-06-24 Version: 1.1.49 - Online. 2021-06-24 Version: 1.1.48 - Online. 2021-06-18 Version: 1.1.47 - Online. 2021-06-18 Version: 1.1.46 - Online. 2021-06-18 Version: 1.1.45 - Online. 2021-06-16 Version: 1.1.42 - Online. 2021-06-15 Version: 1.1.41 - Online. 2021-06-09 Version: 1.1.40 - Online. 2021-06-08 Version: 1.1.39 - Online. 2021-06-02 Version: 1.1.38 - Online. 2021-06-02 Version: 1.1.37 - Online. 2021-06-02 Version: 1.1.37 - Online. 2021-06-01 Version: 1.1.36 - Online. 2021-05-28 Version: 1.1.35 - Online. 2021-05-27 Version: 1.1.34 - Online. 2021-05-27 Version: 1.1.33 - Online. 2021-05-25 Version: 1.1.32 - Online. 2021-05-24 Version: 1.1.30 - Online. 2021-05-20 Version: 1.1.29 - Online. 2021-05-20 Version: 1.1.29 - Online. 2021-05-19 Version: 1.1.28 - Online. 2021-05-17 Version: 1.1.27 - Online. 2021-05-17 Version: 1.1.26 - Online. 2021-05-14 Version: 1.1.25 - Online. 2021-05-13 Version: 1.1.24 - Online. 2021-05-13 Version: 1.1.24 - Online. 2021-05-13 Version: 1.1.24 - Online. 2021-05-11 Version: 1.1.22 - Online. 2021-05-11 Version: 1.1.22 - Online. 2021-05-10 Version: 1.1.21 - Online. 2021-05-07 Version: 1.1.15 - Online. 2021-05-07 Version: 1.1.15 - Online. 2021-05-07 Version: 1.1.14 - Online. 2021-05-07 Version: 1.1.13 - Online. 2021-05-07 Version: 1.1.12 - Online. 2021-05-07 Version: 1.1.11 - Online. 2021-04-29 Version: 1.1.10 - Online. 2021-04-29 Version: 1.1.10 - Online. 2021-04-28 Version: 1.1.9 - Online. 2021-04-28 Version: 1.1.9 - Online. 2021-04-28 Version: 1.1.8 - Online. 2021-04-28 Version: 1.1.8 - Online. 2021-04-23 Version: 1.1.7 - Online. 2021-04-21 Version: 1.1.6 - Online. 2021-04-20 Version: 1.1.5 - Online. 2021-04-16 Version: 1.1.3 - Online. 2021-04-16 Version: 1.1.2 - Online. 2021-04-15 Version: 1.1.1 - Online. 2021-04-14 Version: 1.1.0 - Online. 2021-04-07 Version: 1.0.60 - Online. 2021-04-07 Version: 1.0.60 - Online. 2021-04-06 Version: 1.0.59 - Online. 2021-04-02 Version: 1.0.58 - Online. 2021-04-02 Version: 1.0.57 - Online. 2021-04-02 Version: 1.0.56 - Online. 2021-04-02 Version: 1.0.56 - Online. 2021-03-23 Version: 1.0.49 - Online. 2021-03-23 Version: 1.0.49 - Online. 2021-03-23 Version: 1.0.48 - Online. 2021-03-23 Version: 1.0.48 - Online. 2021-03-19 Version: 1.0.47 - Online. 2021-03-12 Version: 1.0.45 - Online. 2021-03-12 Version: 1.0.44 - Online. 2021-03-12 Version: 1.0.43 - Online. 2021-03-11 Version: 1.0.42 - Online. 2021-03-11 Version: 1.0.41 - Online. 2021-03-03 Version: 1.0.40 - Online. 2021-03-02 Version: 1.0.39 - Online. 2021-03-02 Version: 1.0.39 - Online. 2021-03-01 Version: 1.0.38 - Online. 2021-03-01 Version: 1.0.37 - Online. 2021-03-01 Version: 1.0.37 - Online. 2021-03-01 Version: 1.0.36 - Online. 2021-03-01 Version: 1.0.30 - Online. 2021-03-01 Version: 1.0.32 - Online. 2021-03-01 Version: 1.0.32 - Online. 2021-03-01 Version: 1.0.31 - Online. 2021-02-26 Version: 1.0.17 - Pre. 2021-02-26 Version: 1.0.17 - Pre. 2021-02-26 Version: 1.0.17 - Pre. 2021-02-26 Version: 1.0.17 - Pre. 2021-02-26 Version: 1.0.16 - Pre. 2021-02-26 Version: 1.0.16 - Pre. 2021-02-26 Version: 1.0.16 - Pre. 2021-02-25 Version: 1.0.15 - Pre. 2021-02-25 Version: 1.0.15 - Pre. 2021-02-25 Version: 1.0.15 - Pre. 2021-02-25 Version: 1.0.15 - Pre. 2021-02-25 Version: 1.0.15 - Pre. 2021-02-25 Version: 1.0.14 - Pre. LICENSE 0000644 00000026161 14713400346 0005561 0 ustar 00 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright (c) 2009-present, Alibaba Cloud All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. README-CN.md 0000644 00000001452 14713400346 0006325 0 ustar 00 [English](README.md) | 简体中文  # Alibaba Cloud dingtalk SDK for PHP ## 安装 ### Composer ```bash composer require alibabacloud/dingtalk ``` ## 问题 [提交 Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new),不符合指南的问题可能会立即关闭。 ## 使用说明 [快速使用](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-CN.md#%E5%BF%AB%E9%80%9F%E4%BD%BF%E7%94%A8) ## 发行说明 每个版本的详细更改记录在[发行说明](./ChangeLog.txt)中。 ## 相关 * [最新源码](https://github.com/aliyun/alibabacloud-php-sdk/) ## 许可证 [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright (c) 2009-present, Alibaba Cloud All rights reserved. README.md 0000644 00000001476 14713400346 0006035 0 ustar 00 English | [简体中文](README-CN.md)  # Alibaba Cloud dingtalk SDK for PHP ## Installation ### Composer ```bash composer require alibabacloud/dingtalk ``` ## Issues [Opening an Issue](https://github.com/aliyun/alibabacloud-php-sdk/issues/new), Issues not conforming to the guidelines may be closed immediately. ## Usage [Quick Examples](https://github.com/aliyun/alibabacloud-php-sdk/blob/master/docs/0-Examples-EN.md#quick-examples) ## Changelog Detailed changes for each release are documented in the [release notes](./ChangeLog.txt). ## References * [Latest Release](https://github.com/aliyun/alibabacloud-php-sdk/) ## License [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) Copyright (c) 2009-present, Alibaba Cloud All rights reserved. autoload.php 0000644 00000001066 14713400346 0007072 0 ustar 00 5.5", "alibabacloud/darabonba-openapi": "^0.2.13", "alibabacloud/tea-utils": "^0.2.21", "alibabacloud/openapi-util": "^0.1.10|^0.2.1", "alibabacloud/endpoint-util": "^0.1.0", "alibabacloud/gateway-spi": "^1", "alibabacloud/gateway-dingtalk": "^1.0.2" }, "autoload": { "psr-4": { "AlibabaCloud\\SDK\\Dingtalk\\Vactivity_1_0\\": "src/activity_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vagoal_1_0\\": "src/agoal_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vai_interaction_1_0\\": "src/ai_interaction_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vai_paa_s_1_0\\": "src/ai_paa_s_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Valgo_1_0\\": "src/algo_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Valitrip_1_0\\": "src/alitrip_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vamdp_1_0\\": "src/amdp_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vapaas_1_0\\": "src/apaas_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vapp_market_1_0\\": "src/app_market_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vassistant_1_0\\": "src/assistant_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vats_1_0\\": "src/ats_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vattendance_1_0\\": "src/attendance_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vbadge_1_0\\": "src/badge_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vbay_max_1_0\\": "src/bay_max_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vbizfinance_1_0\\": "src/bizfinance_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vbizfinance_2_0\\": "src/bizfinance_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vblackboard_1_0\\": "src/blackboard_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcalendar_1_0\\": "src/calendar_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcarbon_1_0\\": "src/carbon_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcard_1_0\\": "src/card_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcheck_in_1_0\\": "src/check_in_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vchengfeng_1_0\\": "src/chengfeng_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vconference_1_0\\": "src/conference_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vconnector_1_0\\": "src/connector_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcontact_1_0\\": "src/contact_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcontent_1_0\\": "src/content_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcontract_1_0\\": "src/contract_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vconv_file_1_0\\": "src/conv_file_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcool_app_1_0\\": "src/cool_app_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcool_ops_1_0\\": "src/cool_ops_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcredit_1_0\\": "src/credit_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcrm_1_0\\": "src/crm_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcrm_2_0\\": "src/crm_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vcustomer_service_1_0\\": "src/customer_service_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdatacenter_1_0\\": "src/datacenter_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdevicemng_1_0\\": "src/devicemng_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vding_phone_1_0\\": "src/ding_phone_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdingmi_1_0\\": "src/dingmi_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdiot_1_0\\": "src/diot_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdoc_1_0\\": "src/doc_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdoc_2_0\\": "src/doc_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdpaas_1_0\\": "src/dpaas_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vdrive_1_0\\": "src/drive_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vedu_1_0\\": "src/edu_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vesign_1_0\\": "src/esign_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vesign_2_0\\": "src/esign_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vevent_1_0\\": "src/event_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vexclusive_1_0\\": "src/exclusive_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vfinance_1_0\\": "src/finance_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vflashmeeting_1_0\\": "src/flashmeeting_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vflashmsg_1_0\\": "src/flashmsg_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vgateway_1_0\\": "src/gateway_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vgroup_blackboard_1_0\\": "src/group_blackboard_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vh3yun_1_0\\": "src/h3yun_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vh5package_1_0\\": "src/h5package_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vhrbrain_1_0\\": "src/hrbrain_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vhrm_1_0\\": "src/hrm_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vim_1_0\\": "src/im_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vim_2_0\\": "src/im_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vimpaas_1_0\\": "src/impaas_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vindustry_1_0\\": "src/industry_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vjobs_1_0\\": "src/jobs_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vjzcrm_1_0\\": "src/jzcrm_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vlink_1_0\\": "src/link_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vlive_activities_1_0\\": "src/live_activities_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vlive_1_0\\": "src/live_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vmail_1_0\\": "src/mail_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vmanufacturing_1_0\\": "src/manufacturing_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vmicro_app_1_0\\": "src/micro_app_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vminiapp_1_0\\": "src/miniapp_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vnotable_1_0\\": "src/notable_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vnotable_2_0\\": "src/notable_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Voauth2_1_0\\": "src/oauth2_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Voccupationauth_1_0\\": "src/occupationauth_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vokr_1_0\\": "src/okr_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vorg_culture_1_0\\": "src/org_culture_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vpackage_1_0\\": "src/package_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vpedia_1_0\\": "src/pedia_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vproject_integration_1_0\\": "src/project_integration_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vproject_1_0\\": "src/project_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vrcs_call_1_0\\": "src/rcs_call_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vreport_1_0\\": "src/report_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vresident_1_0\\": "src/resident_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vrobot_1_0\\": "src/robot_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vrooms_1_0\\": "src/rooms_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vsearch_1_0\\": "src/search_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vservice_group_1_0\\": "src/service_group_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vsmart_device_1_0\\": "src/smart_device_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vsns_storage_1_0\\": "src/sns_storage_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vstorage_1_0\\": "src/storage_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vstorage_2_0\\": "src/storage_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vswform_1_0\\": "src/swform_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vtodo_e_e_1_0\\": "src/todo_e_e_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vtodo_1_0\\": "src/todo_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vtrade_1_0\\": "src/trade_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vtrajectory_1_0\\": "src/trajectory_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vtranscribe_1_0\\": "src/transcribe_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vtrip_1_0\\": "src/trip_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vvillage_1_0\\": "src/village_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vwatt_1_0\\": "src/watt_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vwiki_1_0\\": "src/wiki_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vwiki_2_0\\": "src/wiki_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vwms_1_0\\": "src/wms_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vworkbench_1_0\\": "src/workbench_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vworkflow_1_0\\": "src/workflow_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vworkrecord_1_0\\": "src/workrecord_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vyida_1_0\\": "src/yida_1_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vyida_2_0\\": "src/yida_2_0/", "AlibabaCloud\\SDK\\Dingtalk\\Vyun_shu_1_0\\": "src/yun_shu_1_0/" } }, "scripts": { "fixer": "php-cs-fixer fix ./" }, "config": { "sort-packages": true, "preferred-install": "dist", "optimize-autoloader": true }, "prefer-stable": true } src/activity_1_0/Dingtalk.php 0000644 00000012403 14713400346 0012076 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建活动 * * * @param CreateActivityRequest $request CreateActivityRequest * @param CreateActivityHeaders $headers CreateActivityHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateActivityResponse CreateActivityResponse */ public function createActivityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->detail)) { $body['detail'] = $request->detail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateActivity', 'version' => 'activity_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/activity/meta', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateActivityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建活动 * * * @param CreateActivityRequest $request CreateActivityRequest * * @return CreateActivityResponse CreateActivityResponse */ public function createActivity($request) { $runtime = new RuntimeOptions([]); $headers = new CreateActivityHeaders([]); return $this->createActivityWithOptions($request, $headers, $runtime); } /** * @summary 查询活动列表 * * * @param ListActivityRequest $request ListActivityRequest * @param ListActivityHeaders $headers ListActivityHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListActivityResponse ListActivityResponse */ public function listActivityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListActivity', 'version' => 'activity_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/activity/metaLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListActivityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询活动列表 * * * @param ListActivityRequest $request ListActivityRequest * * @return ListActivityResponse ListActivityResponse */ public function listActivity($request) { $runtime = new RuntimeOptions([]); $headers = new ListActivityHeaders([]); return $this->listActivityWithOptions($request, $headers, $runtime); } } src/activity_1_0/Models/CreateActivityHeaders.php 0000644 00000002334 14713400346 0016002 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateActivityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/activity_1_0/Models/CreateActivityRequest.php 0000644 00000001767 14713400346 0016070 0 ustar 00 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->detail) { $res['detail'] = null !== $this->detail ? $this->detail->toMap() : null; } return $res; } /** * @param array $map * * @return CreateActivityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/activity_1_0/Models/CreateActivityRequest/detail.php 0000644 00000011017 14713400346 0017317 0 ustar 00 'address', 'bannerMediaId' => 'bannerMediaId', 'endTime' => 'endTime', 'foreignId' => 'foreignId', 'industry' => 'industry', 'roleName' => 'roleName', 'source' => 'source', 'startTime' => 'startTime', 'title' => 'title', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = null !== $this->address ? $this->address->toMap() : null; } if (null !== $this->bannerMediaId) { $res['bannerMediaId'] = $this->bannerMediaId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->industry) { $res['industry'] = $this->industry; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = address::fromMap($map['address']); } if (isset($map['bannerMediaId'])) { $model->bannerMediaId = $map['bannerMediaId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['industry'])) { $model->industry = $map['industry']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/activity_1_0/Models/CreateActivityRequest/detail/address.php 0000644 00000003325 14713400346 0020747 0 ustar 00 'district', 'lat' => 'lat', 'lng' => 'lng', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->district) { $res['district'] = $this->district; } if (null !== $this->lat) { $res['lat'] = $this->lat; } if (null !== $this->lng) { $res['lng'] = $this->lng; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return address */ public static function fromMap($map = []) { $model = new self(); if (isset($map['district'])) { $model->district = $map['district']; } if (isset($map['lat'])) { $model->lat = $map['lat']; } if (isset($map['lng'])) { $model->lng = $map['lng']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/activity_1_0/Models/CreateActivityResponse.php 0000644 00000002726 14713400346 0016232 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateActivityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateActivityResponseBody::fromMap($map['body']); } return $model; } } src/activity_1_0/Models/CreateActivityResponseBody.php 0000644 00000001543 14713400346 0017044 0 ustar 00 'activityId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } return $res; } /** * @param array $map * * @return CreateActivityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } return $model; } } src/activity_1_0/Models/ListActivityHeaders.php 0000644 00000002330 14713400346 0015506 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListActivityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/activity_1_0/Models/ListActivityRequest.php 0000644 00000002311 14713400346 0015562 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListActivityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/activity_1_0/Models/ListActivityResponse.php 0000644 00000002716 14713400346 0015741 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListActivityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListActivityResponseBody::fromMap($map['body']); } return $model; } } src/activity_1_0/Models/ListActivityResponseBody.php 0000644 00000004001 14713400346 0016544 0 ustar 00 'list', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListActivityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/activity_1_0/Models/ListActivityResponseBody/list_.php 0000644 00000006605 14713400346 0017672 0 ustar 00 'activityId', 'bannerMediaId' => 'bannerMediaId', 'endTime' => 'endTime', 'foreignId' => 'foreignId', 'startTime' => 'startTime', 'status' => 'status', 'title' => 'title', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityId) { $res['activityId'] = $this->activityId; } if (null !== $this->bannerMediaId) { $res['bannerMediaId'] = $this->bannerMediaId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityId'])) { $model->activityId = $map['activityId']; } if (isset($map['bannerMediaId'])) { $model->bannerMediaId = $map['bannerMediaId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/agoal_1_0/Dingtalk.php 0000644 00000051135 14713400346 0011332 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建目标进展 * * * @param AgoalCreateProgressRequest $request AgoalCreateProgressRequest * @param AgoalCreateProgressHeaders $headers AgoalCreateProgressHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalCreateProgressResponse AgoalCreateProgressResponse */ public function agoalCreateProgressWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->krId)) { $body['krId'] = $request->krId; } if (!Utils::isUnset($request->mergeIntoLatestProgress)) { $body['mergeIntoLatestProgress'] = $request->mergeIntoLatestProgress; } if (!Utils::isUnset($request->objectiveId)) { $body['objectiveId'] = $request->objectiveId; } if (!Utils::isUnset($request->plainText)) { $body['plainText'] = $request->plainText; } if (!Utils::isUnset($request->progress)) { $body['progress'] = $request->progress; } if (!Utils::isUnset($request->progressMergePeriod)) { $body['progressMergePeriod'] = $request->progressMergePeriod; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AgoalCreateProgress', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/objectives/progresses', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalCreateProgressResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建目标进展 * * * @param AgoalCreateProgressRequest $request AgoalCreateProgressRequest * * @return AgoalCreateProgressResponse AgoalCreateProgressResponse */ public function agoalCreateProgress($request) { $runtime = new RuntimeOptions([]); $headers = new AgoalCreateProgressHeaders([]); return $this->agoalCreateProgressWithOptions($request, $headers, $runtime); } /** * @summary 获取Agoal指定目标或者关键结果关联的关键行动 * * * @param AgoalObjectiveKeyActionListRequest $request AgoalObjectiveKeyActionListRequest * @param AgoalObjectiveKeyActionListHeaders $headers AgoalObjectiveKeyActionListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalObjectiveKeyActionListResponse AgoalObjectiveKeyActionListResponse */ public function agoalObjectiveKeyActionListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dingUserId)) { $query['dingUserId'] = $request->dingUserId; } if (!Utils::isUnset($request->keyResultId)) { $query['keyResultId'] = $request->keyResultId; } if (!Utils::isUnset($request->objectiveId)) { $query['objectiveId'] = $request->objectiveId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AgoalObjectiveKeyActionList', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/objectives/keyActionLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalObjectiveKeyActionListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取Agoal指定目标或者关键结果关联的关键行动 * * * @param AgoalObjectiveKeyActionListRequest $request AgoalObjectiveKeyActionListRequest * * @return AgoalObjectiveKeyActionListResponse AgoalObjectiveKeyActionListResponse */ public function agoalObjectiveKeyActionList($request) { $runtime = new RuntimeOptions([]); $headers = new AgoalObjectiveKeyActionListHeaders([]); return $this->agoalObjectiveKeyActionListWithOptions($request, $headers, $runtime); } /** * @summary 获取Agoal目标规则下的周期列表 * * * @param AgoalObjectiveRulePeriodListRequest $request AgoalObjectiveRulePeriodListRequest * @param AgoalObjectiveRulePeriodListHeaders $headers AgoalObjectiveRulePeriodListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalObjectiveRulePeriodListResponse AgoalObjectiveRulePeriodListResponse */ public function agoalObjectiveRulePeriodListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->objectiveRuleId)) { $query['objectiveRuleId'] = $request->objectiveRuleId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AgoalObjectiveRulePeriodList', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/objectiveRules/periodLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalObjectiveRulePeriodListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取Agoal目标规则下的周期列表 * * * @param AgoalObjectiveRulePeriodListRequest $request AgoalObjectiveRulePeriodListRequest * * @return AgoalObjectiveRulePeriodListResponse AgoalObjectiveRulePeriodListResponse */ public function agoalObjectiveRulePeriodList($request) { $runtime = new RuntimeOptions([]); $headers = new AgoalObjectiveRulePeriodListHeaders([]); return $this->agoalObjectiveRulePeriodListWithOptions($request, $headers, $runtime); } /** * @summary 获取Agoal目标规则列表 * * * @param AgoalOrgObjectiveRuleListHeaders $headers AgoalOrgObjectiveRuleListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalOrgObjectiveRuleListResponse AgoalOrgObjectiveRuleListResponse */ public function agoalOrgObjectiveRuleListWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'AgoalOrgObjectiveRuleList', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/objectiveRules/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalOrgObjectiveRuleListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取Agoal目标规则列表 * * * @return AgoalOrgObjectiveRuleListResponse AgoalOrgObjectiveRuleListResponse */ public function agoalOrgObjectiveRuleList() { $runtime = new RuntimeOptions([]); $headers = new AgoalOrgObjectiveRuleListHeaders([]); return $this->agoalOrgObjectiveRuleListWithOptions($headers, $runtime); } /** * @summary Agoal消息发送 * * * @param AgoalSendMessageRequest $request AgoalSendMessageRequest * @param AgoalSendMessageHeaders $headers AgoalSendMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalSendMessageResponse AgoalSendMessageResponse */ public function agoalSendMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mobileUrl)) { $body['mobileUrl'] = $request->mobileUrl; } if (!Utils::isUnset($request->params)) { $body['params'] = $request->params; } if (!Utils::isUnset($request->pcUrl)) { $body['pcUrl'] = $request->pcUrl; } if (!Utils::isUnset($request->sourceDingUserId)) { $body['sourceDingUserId'] = $request->sourceDingUserId; } if (!Utils::isUnset($request->targetDingUserIds)) { $body['targetDingUserIds'] = $request->targetDingUserIds; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AgoalSendMessage', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalSendMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary Agoal消息发送 * * * @param AgoalSendMessageRequest $request AgoalSendMessageRequest * * @return AgoalSendMessageResponse AgoalSendMessageResponse */ public function agoalSendMessage($request) { $runtime = new RuntimeOptions([]); $headers = new AgoalSendMessageHeaders([]); return $this->agoalSendMessageWithOptions($request, $headers, $runtime); } /** * @summary 获取Agoal管理员列表 * * * @param AgoalUserAdminListHeaders $headers AgoalUserAdminListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalUserAdminListResponse AgoalUserAdminListResponse */ public function agoalUserAdminListWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'AgoalUserAdminList', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/administrators/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalUserAdminListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取Agoal管理员列表 * * * @return AgoalUserAdminListResponse AgoalUserAdminListResponse */ public function agoalUserAdminList() { $runtime = new RuntimeOptions([]); $headers = new AgoalUserAdminListHeaders([]); return $this->agoalUserAdminListWithOptions($headers, $runtime); } /** * @summary Agoal用户目标列表 * * * @param AgoalUserObjectiveListRequest $request AgoalUserObjectiveListRequest * @param AgoalUserObjectiveListHeaders $headers AgoalUserObjectiveListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalUserObjectiveListResponse AgoalUserObjectiveListResponse */ public function agoalUserObjectiveListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dingUserId)) { $body['dingUserId'] = $request->dingUserId; } if (!Utils::isUnset($request->objectiveRuleId)) { $body['objectiveRuleId'] = $request->objectiveRuleId; } if (!Utils::isUnset($request->periodIds)) { $body['periodIds'] = $request->periodIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AgoalUserObjectiveList', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/users/objectiveLists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalUserObjectiveListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary Agoal用户目标列表 * * * @param AgoalUserObjectiveListRequest $request AgoalUserObjectiveListRequest * * @return AgoalUserObjectiveListResponse AgoalUserObjectiveListResponse */ public function agoalUserObjectiveList($request) { $runtime = new RuntimeOptions([]); $headers = new AgoalUserObjectiveListHeaders([]); return $this->agoalUserObjectiveListWithOptions($request, $headers, $runtime); } /** * @summary 获取Agoal子管理员列表 * * * @param AgoalUserSubAdminListRequest $request AgoalUserSubAdminListRequest * @param AgoalUserSubAdminListHeaders $headers AgoalUserSubAdminListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AgoalUserSubAdminListResponse AgoalUserSubAdminListResponse */ public function agoalUserSubAdminListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->funcPermissionGroup)) { $query['funcPermissionGroup'] = $request->funcPermissionGroup; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AgoalUserSubAdminList', 'version' => 'agoal_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/agoal/administrators/sub/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AgoalUserSubAdminListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取Agoal子管理员列表 * * * @param AgoalUserSubAdminListRequest $request AgoalUserSubAdminListRequest * * @return AgoalUserSubAdminListResponse AgoalUserSubAdminListResponse */ public function agoalUserSubAdminList($request) { $runtime = new RuntimeOptions([]); $headers = new AgoalUserSubAdminListHeaders([]); return $this->agoalUserSubAdminListWithOptions($request, $headers, $runtime); } } src/agoal_1_0/Models/AgoalCreateProgressHeaders.php 0000644 00000002343 14713400346 0016205 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalCreateProgressHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalCreateProgressRequest.php 0000644 00000005346 14713400346 0016270 0 ustar 00 'krId', 'mergeIntoLatestProgress' => 'mergeIntoLatestProgress', 'objectiveId' => 'objectiveId', 'plainText' => 'plainText', 'progress' => 'progress', 'progressMergePeriod' => 'progressMergePeriod', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->mergeIntoLatestProgress) { $res['mergeIntoLatestProgress'] = $this->mergeIntoLatestProgress; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->plainText) { $res['plainText'] = $this->plainText; } if (null !== $this->progress) { $res['progress'] = $this->progress; } if (null !== $this->progressMergePeriod) { $res['progressMergePeriod'] = $this->progressMergePeriod; } return $res; } /** * @param array $map * * @return AgoalCreateProgressRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['mergeIntoLatestProgress'])) { $model->mergeIntoLatestProgress = $map['mergeIntoLatestProgress']; } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['plainText'])) { $model->plainText = $map['plainText']; } if (isset($map['progress'])) { $model->progress = $map['progress']; } if (isset($map['progressMergePeriod'])) { $model->progressMergePeriod = $map['progressMergePeriod']; } return $model; } } src/agoal_1_0/Models/AgoalCreateProgressResponse.php 0000644 00000002747 14713400346 0016440 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalCreateProgressResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalCreateProgressResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalCreateProgressResponseBody.php 0000644 00000003037 14713400346 0017247 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalCreateProgressResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = OpenAgoalProgressDTO::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalObjectiveKeyActionListHeaders.php 0000644 00000002363 14713400346 0017634 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalObjectiveKeyActionListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalObjectiveKeyActionListRequest.php 0000644 00000003335 14713400346 0017711 0 ustar 00 'dingUserId', 'keyResultId' => 'keyResultId', 'objectiveId' => 'objectiveId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->keyResultId) { $res['keyResultId'] = $this->keyResultId; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } return $res; } /** * @param array $map * * @return AgoalObjectiveKeyActionListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['keyResultId'])) { $model->keyResultId = $map['keyResultId']; } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } return $model; } } src/agoal_1_0/Models/AgoalObjectiveKeyActionListResponse.php 0000644 00000003007 14713400346 0020053 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalObjectiveKeyActionListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalObjectiveKeyActionListResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalObjectiveKeyActionListResponseBody.php 0000644 00000004141 14713400346 0020671 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalObjectiveKeyActionListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenAgoalKeyActionDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalObjectiveRulePeriodListHeaders.php 0000644 00000002365 14713400346 0020022 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalObjectiveRulePeriodListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalObjectiveRulePeriodListRequest.php 0000644 00000002006 14713400346 0020067 0 ustar 00 'objectiveRuleId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveRuleId) { $res['objectiveRuleId'] = $this->objectiveRuleId; } return $res; } /** * @param array $map * * @return AgoalObjectiveRulePeriodListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveRuleId'])) { $model->objectiveRuleId = $map['objectiveRuleId']; } return $model; } } src/agoal_1_0/Models/AgoalObjectiveRulePeriodListResponse.php 0000644 00000003013 14713400346 0020234 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalObjectiveRulePeriodListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalObjectiveRulePeriodListResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalObjectiveRulePeriodListResponseBody.php 0000644 00000004155 14713400346 0021062 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalObjectiveRulePeriodListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenObjectiveRulePeriodDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalOrgObjectiveRuleListHeaders.php 0000644 00000002357 14713400346 0017330 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalOrgObjectiveRuleListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalOrgObjectiveRuleListResponse.php 0000644 00000002777 14713400346 0017561 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalOrgObjectiveRuleListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalOrgObjectiveRuleListResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalOrgObjectiveRuleListResponseBody.php 0000644 00000004141 14713400346 0020362 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalOrgObjectiveRuleListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenOrgObjectiveRuleDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalSendMessageHeaders.php 0000644 00000002335 14713400346 0015454 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalSendMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalSendMessageRequest.php 0000644 00000006027 14713400346 0015533 0 ustar 00 'mobileUrl', 'params' => 'params', 'pcUrl' => 'pcUrl', 'sourceDingUserId' => 'sourceDingUserId', 'targetDingUserIds' => 'targetDingUserIds', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->params) { $res['params'] = $this->params; } if (null !== $this->pcUrl) { $res['pcUrl'] = $this->pcUrl; } if (null !== $this->sourceDingUserId) { $res['sourceDingUserId'] = $this->sourceDingUserId; } if (null !== $this->targetDingUserIds) { $res['targetDingUserIds'] = $this->targetDingUserIds; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return AgoalSendMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['params'])) { $model->params = $map['params']; } if (isset($map['pcUrl'])) { $model->pcUrl = $map['pcUrl']; } if (isset($map['sourceDingUserId'])) { $model->sourceDingUserId = $map['sourceDingUserId']; } if (isset($map['targetDingUserIds'])) { if (!empty($map['targetDingUserIds'])) { $model->targetDingUserIds = $map['targetDingUserIds']; } } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/agoal_1_0/Models/AgoalSendMessageResponse.php 0000644 00000002733 14713400346 0015701 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalSendMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalSendMessageResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalSendMessageResponseBody.php 0000644 00000003152 14713400346 0016513 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalSendMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalUserAdminListHeaders.php 0000644 00000002341 14713400346 0015776 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalUserAdminListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalUserAdminListResponse.php 0000644 00000002743 14713400346 0016227 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalUserAdminListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalUserAdminListResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalUserAdminListResponseBody.php 0000644 00000004105 14713400346 0017037 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalUserAdminListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenUserAdminDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalUserObjectiveListHeaders.php 0000644 00000002351 14713400346 0016661 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalUserObjectiveListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalUserObjectiveListRequest.php 0000644 00000003467 14713400346 0016747 0 ustar 00 'dingUserId', 'objectiveRuleId' => 'objectiveRuleId', 'periodIds' => 'periodIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->objectiveRuleId) { $res['objectiveRuleId'] = $this->objectiveRuleId; } if (null !== $this->periodIds) { $res['periodIds'] = $this->periodIds; } return $res; } /** * @param array $map * * @return AgoalUserObjectiveListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['objectiveRuleId'])) { $model->objectiveRuleId = $map['objectiveRuleId']; } if (isset($map['periodIds'])) { if (!empty($map['periodIds'])) { $model->periodIds = $map['periodIds']; } } return $model; } } src/agoal_1_0/Models/AgoalUserObjectiveListResponse.php 0000644 00000002763 14713400346 0017113 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalUserObjectiveListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalUserObjectiveListResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalUserObjectiveListResponseBody.php 0000644 00000003655 14713400346 0017732 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalUserObjectiveListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenAgoalObjectiveDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/AgoalUserSubAdminListHeaders.php 0000644 00000002347 14713400346 0016456 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AgoalUserSubAdminListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/agoal_1_0/Models/AgoalUserSubAdminListRequest.php 0000644 00000001724 14713400346 0016531 0 ustar 00 'funcPermissionGroup', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->funcPermissionGroup) { $res['funcPermissionGroup'] = $this->funcPermissionGroup; } return $res; } /** * @param array $map * * @return AgoalUserSubAdminListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['funcPermissionGroup'])) { $model->funcPermissionGroup = $map['funcPermissionGroup']; } return $model; } } src/agoal_1_0/Models/AgoalUserSubAdminListResponse.php 0000644 00000002757 14713400346 0016706 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AgoalUserSubAdminListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AgoalUserSubAdminListResponseBody::fromMap($map['body']); } return $model; } } src/agoal_1_0/Models/AgoalUserSubAdminListResponseBody.php 0000644 00000003743 14713400346 0017520 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AgoalUserSubAdminListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenUserSubAdminDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/agoal_1_0/Models/OpenAgoalKeyActionDTO.php 0000644 00000003212 14713400346 0015034 0 ustar 00 'keyActionId', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyActionId) { $res['keyActionId'] = $this->keyActionId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return OpenAgoalKeyActionDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyActionId'])) { $model->keyActionId = $map['keyActionId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/agoal_1_0/Models/OpenAgoalKeyResultDTO.php 0000644 00000010770 14713400346 0015104 0 ustar 00 'keyActions', 'keyResultId' => 'keyResultId', 'progress' => 'progress', 'status' => 'status', 'title' => 'title', 'titleMentions' => 'titleMentions', 'type' => 'type', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyActions) { $res['keyActions'] = []; if (null !== $this->keyActions && \is_array($this->keyActions)) { $n = 0; foreach ($this->keyActions as $item) { $res['keyActions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->keyResultId) { $res['keyResultId'] = $this->keyResultId; } if (null !== $this->progress) { $res['progress'] = $this->progress; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleMentions) { $res['titleMentions'] = []; if (null !== $this->titleMentions && \is_array($this->titleMentions)) { $n = 0; foreach ($this->titleMentions as $item) { $res['titleMentions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return OpenAgoalKeyResultDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyActions'])) { if (!empty($map['keyActions'])) { $model->keyActions = []; $n = 0; foreach ($map['keyActions'] as $item) { $model->keyActions[$n++] = null !== $item ? OpenAgoalKeyActionDTO::fromMap($item) : $item; } } } if (isset($map['keyResultId'])) { $model->keyResultId = $map['keyResultId']; } if (isset($map['progress'])) { $model->progress = $map['progress']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleMentions'])) { if (!empty($map['titleMentions'])) { $model->titleMentions = []; $n = 0; foreach ($map['titleMentions'] as $item) { $model->titleMentions[$n++] = null !== $item ? TitleMention::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/agoal_1_0/Models/OpenAgoalLatestProgressDTO.php 0000644 00000004454 14713400346 0016140 0 ustar 00
xxx
* * @var string */ public $htmldescription; /** * @description This parameter is required. * * @example 6444f5e9a4261c6e699dxxxx * * @var string */ public $progressId; protected $_name = [ 'created' => 'created', 'creator' => 'creator', 'htmldescription' => 'htmldescription', 'progressId' => 'progressId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->htmldescription) { $res['htmldescription'] = $this->htmldescription; } if (null !== $this->progressId) { $res['progressId'] = $this->progressId; } return $res; } /** * @param array $map * * @return OpenAgoalLatestProgressDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creator'])) { $model->creator = OpenAgoalUserDTO::fromMap($map['creator']); } if (isset($map['htmldescription'])) { $model->htmldescription = $map['htmldescription']; } if (isset($map['progressId'])) { $model->progressId = $map['progressId']; } return $model; } } src/agoal_1_0/Models/OpenAgoalObjectiveDTO.php 0000644 00000015430 14713400346 0015065 0 ustar 00 'executor', 'keyActions' => 'keyActions', 'keyResults' => 'keyResults', 'latestProgress' => 'latestProgress', 'objectiveId' => 'objectiveId', 'objectiveRule' => 'objectiveRule', 'period' => 'period', 'progress' => 'progress', 'status' => 'status', 'teams' => 'teams', 'title' => 'title', 'weight' => 'weight', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executor) { $res['executor'] = null !== $this->executor ? $this->executor->toMap() : null; } if (null !== $this->keyActions) { $res['keyActions'] = []; if (null !== $this->keyActions && \is_array($this->keyActions)) { $n = 0; foreach ($this->keyActions as $item) { $res['keyActions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->keyResults) { $res['keyResults'] = []; if (null !== $this->keyResults && \is_array($this->keyResults)) { $n = 0; foreach ($this->keyResults as $item) { $res['keyResults'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->latestProgress) { $res['latestProgress'] = null !== $this->latestProgress ? $this->latestProgress->toMap() : null; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->objectiveRule) { $res['objectiveRule'] = null !== $this->objectiveRule ? $this->objectiveRule->toMap() : null; } if (null !== $this->period) { $res['period'] = null !== $this->period ? $this->period->toMap() : null; } if (null !== $this->progress) { $res['progress'] = $this->progress; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->teams) { $res['teams'] = []; if (null !== $this->teams && \is_array($this->teams)) { $n = 0; foreach ($this->teams as $item) { $res['teams'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->weight) { $res['weight'] = $this->weight; } return $res; } /** * @param array $map * * @return OpenAgoalObjectiveDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executor'])) { $model->executor = OpenAgoalUserDTO::fromMap($map['executor']); } if (isset($map['keyActions'])) { if (!empty($map['keyActions'])) { $model->keyActions = []; $n = 0; foreach ($map['keyActions'] as $item) { $model->keyActions[$n++] = null !== $item ? OpenAgoalKeyActionDTO::fromMap($item) : $item; } } } if (isset($map['keyResults'])) { if (!empty($map['keyResults'])) { $model->keyResults = []; $n = 0; foreach ($map['keyResults'] as $item) { $model->keyResults[$n++] = null !== $item ? OpenAgoalKeyResultDTO::fromMap($item) : $item; } } } if (isset($map['latestProgress'])) { $model->latestProgress = OpenAgoalLatestProgressDTO::fromMap($map['latestProgress']); } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['objectiveRule'])) { $model->objectiveRule = OpenOrgObjectiveRuleDTO::fromMap($map['objectiveRule']); } if (isset($map['period'])) { $model->period = OpenObjectiveRulePeriodDTO::fromMap($map['period']); } if (isset($map['progress'])) { $model->progress = $map['progress']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['teams'])) { if (!empty($map['teams'])) { $model->teams = []; $n = 0; foreach ($map['teams'] as $item) { $model->teams[$n++] = null !== $item ? OpenAgoalTeamDTO::fromMap($item) : $item; } } } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['weight'])) { $model->weight = $map['weight']; } return $model; } } src/agoal_1_0/Models/OpenAgoalProgressDTO.php 0000644 00000005347 14713400346 0014765 0 ustar 00 'created', 'creator' => 'creator', 'htmlContent' => 'htmlContent', 'modifier' => 'modifier', 'progressId' => 'progressId', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->htmlContent) { $res['htmlContent'] = $this->htmlContent; } if (null !== $this->modifier) { $res['modifier'] = null !== $this->modifier ? $this->modifier->toMap() : null; } if (null !== $this->progressId) { $res['progressId'] = $this->progressId; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return OpenAgoalProgressDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creator'])) { $model->creator = OpenAgoalUserDTO::fromMap($map['creator']); } if (isset($map['htmlContent'])) { $model->htmlContent = $map['htmlContent']; } if (isset($map['modifier'])) { $model->modifier = OpenAgoalUserDTO::fromMap($map['modifier']); } if (isset($map['progressId'])) { $model->progressId = $map['progressId']; } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/agoal_1_0/Models/OpenAgoalTeamDTO.php 0000644 00000003116 14713400346 0014037 0 ustar 00 'deptId', 'name' => 'name', 'teamId' => 'teamId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->teamId) { $res['teamId'] = $this->teamId; } return $res; } /** * @param array $map * * @return OpenAgoalTeamDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['teamId'])) { $model->teamId = $map['teamId']; } return $model; } } src/agoal_1_0/Models/OpenAgoalUserDTO.php 0000644 00000003173 14713400346 0014072 0 ustar 00 'dingUserId', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return OpenAgoalUserDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/agoal_1_0/Models/OpenObjectiveRulePeriodDTO.php 0000644 00000004617 14713400346 0016121 0 ustar 00 'endDate', 'name' => 'name', 'periodId' => 'periodId', 'periodType' => 'periodType', 'startDate' => 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->periodId) { $res['periodId'] = $this->periodId; } if (null !== $this->periodType) { $res['periodType'] = $this->periodType; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return OpenObjectiveRulePeriodDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['periodId'])) { $model->periodId = $map['periodId']; } if (isset($map['periodType'])) { $model->periodType = $map['periodType']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/agoal_1_0/Models/OpenOrgObjectiveRuleDTO.php 0000644 00000002674 14713400346 0015427 0 ustar 00 'objectiveRuleId', 'objectiveRuleName' => 'objectiveRuleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveRuleId) { $res['objectiveRuleId'] = $this->objectiveRuleId; } if (null !== $this->objectiveRuleName) { $res['objectiveRuleName'] = $this->objectiveRuleName; } return $res; } /** * @param array $map * * @return OpenOrgObjectiveRuleDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveRuleId'])) { $model->objectiveRuleId = $map['objectiveRuleId']; } if (isset($map['objectiveRuleName'])) { $model->objectiveRuleName = $map['objectiveRuleName']; } return $model; } } src/agoal_1_0/Models/OpenUserAdminDTO.php 0000644 00000002520 14713400346 0014072 0 ustar 00 'dingCorpId', 'dingUserId' => 'dingUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingCorpId) { $res['dingCorpId'] = $this->dingCorpId; } if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } return $res; } /** * @param array $map * * @return OpenUserAdminDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingCorpId'])) { $model->dingCorpId = $map['dingCorpId']; } if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } return $model; } } src/agoal_1_0/Models/OpenUserSubAdminDTO.php 0000644 00000004423 14713400346 0014550 0 ustar 00 'deptIds', 'dingCorpId' => 'dingCorpId', 'dingUserId' => 'dingUserId', 'permissionGroupCodes' => 'permissionGroupCodes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->dingCorpId) { $res['dingCorpId'] = $this->dingCorpId; } if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->permissionGroupCodes) { $res['permissionGroupCodes'] = $this->permissionGroupCodes; } return $res; } /** * @param array $map * * @return OpenUserSubAdminDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['dingCorpId'])) { $model->dingCorpId = $map['dingCorpId']; } if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['permissionGroupCodes'])) { if (!empty($map['permissionGroupCodes'])) { $model->permissionGroupCodes = $map['permissionGroupCodes']; } } return $model; } } src/agoal_1_0/Models/TitleMention.php 0000644 00000003112 14713400346 0013423 0 ustar 00 'length', 'offset' => 'offset', 'user' => 'user', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->length) { $res['length'] = $this->length; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->user) { $res['user'] = null !== $this->user ? $this->user->toMap() : null; } return $res; } /** * @param array $map * * @return TitleMention */ public static function fromMap($map = []) { $model = new self(); if (isset($map['length'])) { $model->length = $map['length']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['user'])) { $model->user = OpenAgoalUserDTO::fromMap($map['user']); } return $model; } } src/ai_interaction_1_0/Dingtalk.php 0000644 00000031003 14713400346 0013227 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 在主动模式下完结会话框 * * * @param FinishRequest $request FinishRequest * @param FinishHeaders $headers FinishHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return FinishResponse FinishResponse */ public function finishWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationToken)) { $body['conversationToken'] = $request->conversationToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Finish', 'version' => 'aiInteraction_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiInteraction/finish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FinishResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 在主动模式下完结会话框 * * * @param FinishRequest $request FinishRequest * * @return FinishResponse FinishResponse */ public function finish($request) { $runtime = new RuntimeOptions([]); $headers = new FinishHeaders([]); return $this->finishWithOptions($request, $headers, $runtime); } /** * @summary 在主动模式下准备会话框 * * * @param PrepareRequest $request PrepareRequest * @param PrepareHeaders $headers PrepareHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PrepareResponse PrepareResponse */ public function prepareWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->contentType)) { $body['contentType'] = $request->contentType; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Prepare', 'version' => 'aiInteraction_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiInteraction/prepare', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PrepareResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 在主动模式下准备会话框 * * * @param PrepareRequest $request PrepareRequest * * @return PrepareResponse PrepareResponse */ public function prepare($request) { $runtime = new RuntimeOptions([]); $headers = new PrepareHeaders([]); return $this->prepareWithOptions($request, $headers, $runtime); } /** * @summary 在回复模式下更新会话框 * * * @param ReplyRequest $request ReplyRequest * @param ReplyHeaders $headers ReplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ReplyResponse ReplyResponse */ public function replyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->contentType)) { $body['contentType'] = $request->contentType; } if (!Utils::isUnset($request->conversationToken)) { $body['conversationToken'] = $request->conversationToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Reply', 'version' => 'aiInteraction_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiInteraction/reply', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 在回复模式下更新会话框 * * * @param ReplyRequest $request ReplyRequest * * @return ReplyResponse ReplyResponse */ public function reply($request) { $runtime = new RuntimeOptions([]); $headers = new ReplyHeaders([]); return $this->replyWithOptions($request, $headers, $runtime); } /** * @summary 直接发送消息 * * * @param SendRequest $request SendRequest * @param SendHeaders $headers SendHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendResponse SendResponse */ public function sendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->contentType)) { $body['contentType'] = $request->contentType; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Send', 'version' => 'aiInteraction_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiInteraction/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 直接发送消息 * * * @param SendRequest $request SendRequest * * @return SendResponse SendResponse */ public function send($request) { $runtime = new RuntimeOptions([]); $headers = new SendHeaders([]); return $this->sendWithOptions($request, $headers, $runtime); } /** * @summary 在主动模式下更新会话框 * * * @param UpdateRequest $request UpdateRequest * @param UpdateHeaders $headers UpdateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateResponse UpdateResponse */ public function updateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->contentType)) { $body['contentType'] = $request->contentType; } if (!Utils::isUnset($request->conversationToken)) { $body['conversationToken'] = $request->conversationToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Update', 'version' => 'aiInteraction_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiInteraction/update', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 在主动模式下更新会话框 * * * @param UpdateRequest $request UpdateRequest * * @return UpdateResponse UpdateResponse */ public function update($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateHeaders([]); return $this->updateWithOptions($request, $headers, $runtime); } } src/ai_interaction_1_0/Models/FinishHeaders.php 0000644 00000002322 14713400346 0015433 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FinishHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_interaction_1_0/Models/FinishRequest.php 0000644 00000001705 14713400346 0015514 0 ustar 00 'conversationToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationToken) { $res['conversationToken'] = $this->conversationToken; } return $res; } /** * @param array $map * * @return FinishRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationToken'])) { $model->conversationToken = $map['conversationToken']; } return $model; } } src/ai_interaction_1_0/Models/FinishResponse.php 0000644 00000002674 14713400346 0015670 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FinishResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FinishResponseBody::fromMap($map['body']); } return $model; } } src/ai_interaction_1_0/Models/FinishResponseBody.php 0000644 00000001703 14713400346 0016476 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return FinishResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_interaction_1_0/Models/FinishResponseBody/result.php 0000644 00000001467 14713400346 0020023 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_interaction_1_0/Models/PrepareHeaders.php 0000644 00000002324 14713400346 0015613 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PrepareHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_interaction_1_0/Models/PrepareRequest.php 0000644 00000003526 14713400346 0015675 0 ustar 00 'content', 'contentType' => 'contentType', 'openConversationId' => 'openConversationId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return PrepareRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/ai_interaction_1_0/Models/PrepareResponse.php 0000644 00000002700 14713400346 0016034 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PrepareResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PrepareResponseBody::fromMap($map['body']); } return $model; } } src/ai_interaction_1_0/Models/PrepareResponseBody.php 0000644 00000001706 14713400346 0016657 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return PrepareResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_interaction_1_0/Models/PrepareResponseBody/result.php 0000644 00000001624 14713400346 0020174 0 ustar 00 'conversationToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationToken) { $res['conversationToken'] = $this->conversationToken; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationToken'])) { $model->conversationToken = $map['conversationToken']; } return $model; } } src/ai_interaction_1_0/Models/ReplyHeaders.php 0000644 00000002320 14713400346 0015304 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_interaction_1_0/Models/ReplyRequest.php 0000644 00000003134 14713400346 0015365 0 ustar 00 'content', 'contentType' => 'contentType', 'conversationToken' => 'conversationToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->conversationToken) { $res['conversationToken'] = $this->conversationToken; } return $res; } /** * @param array $map * * @return ReplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['conversationToken'])) { $model->conversationToken = $map['conversationToken']; } return $model; } } src/ai_interaction_1_0/Models/ReplyResponse.php 0000644 00000002670 14713400346 0015537 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReplyResponseBody::fromMap($map['body']); } return $model; } } src/ai_interaction_1_0/Models/ReplyResponseBody.php 0000644 00000001700 14713400346 0016346 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return ReplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_interaction_1_0/Models/ReplyResponseBody/result.php 0000644 00000001466 14713400346 0017675 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_interaction_1_0/Models/SendHeaders.php 0000644 00000002316 14713400346 0015107 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_interaction_1_0/Models/SendRequest.php 0000644 00000003520 14713400346 0015162 0 ustar 00 'content', 'contentType' => 'contentType', 'openConversationId' => 'openConversationId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/ai_interaction_1_0/Models/SendResponse.php 0000644 00000002664 14713400346 0015340 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendResponseBody::fromMap($map['body']); } return $model; } } src/ai_interaction_1_0/Models/SendResponseBody.php 0000644 00000001675 14713400346 0016157 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return SendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_interaction_1_0/Models/SendResponseBody/result.php 0000644 00000001465 14713400346 0017472 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_interaction_1_0/Models/UpdateHeaders.php 0000644 00000002322 14713400346 0015435 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_interaction_1_0/Models/UpdateRequest.php 0000644 00000003225 14713400346 0015515 0 ustar 00 'content', 'contentType' => 'contentType', 'conversationToken' => 'conversationToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->contentType) { $res['contentType'] = $this->contentType; } if (null !== $this->conversationToken) { $res['conversationToken'] = $this->conversationToken; } return $res; } /** * @param array $map * * @return UpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['contentType'])) { $model->contentType = $map['contentType']; } if (isset($map['conversationToken'])) { $model->conversationToken = $map['conversationToken']; } return $model; } } src/ai_interaction_1_0/Models/UpdateResponse.php 0000644 00000002674 14713400346 0015672 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateResponseBody::fromMap($map['body']); } return $model; } } src/ai_interaction_1_0/Models/UpdateResponseBody.php 0000644 00000001703 14713400346 0016500 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_interaction_1_0/Models/UpdateResponseBody/result.php 0000644 00000001467 14713400346 0020025 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_paa_s_1_0/Dingtalk.php 0000644 00000064225 14713400346 0012007 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 执行AI技能 * * * @param ExecuteAgentRequest $request ExecuteAgentRequest * @param ExecuteAgentHeaders $headers ExecuteAgentHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ExecuteAgentResponse ExecuteAgentResponse */ public function executeAgentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->agentCode)) { $body['agentCode'] = $request->agentCode; } if (!Utils::isUnset($request->inputs)) { $body['inputs'] = $request->inputs; } if (!Utils::isUnset($request->scenarioCode)) { $body['scenarioCode'] = $request->scenarioCode; } if (!Utils::isUnset($request->scenarioInstanceId)) { $body['scenarioInstanceId'] = $request->scenarioInstanceId; } if (!Utils::isUnset($request->skillId)) { $body['skillId'] = $request->skillId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ExecuteAgent', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/me/agents/execute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ExecuteAgentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 执行AI技能 * * * @param ExecuteAgentRequest $request ExecuteAgentRequest * * @return ExecuteAgentResponse ExecuteAgentResponse */ public function executeAgent($request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteAgentHeaders([]); return $this->executeAgentWithOptions($request, $headers, $runtime); } /** * @summary 炼丹炉文生图任务结果获取 * * * @param LiandanTextImageGetRequest $request LiandanTextImageGetRequest * @param LiandanTextImageGetHeaders $headers LiandanTextImageGetHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return LiandanTextImageGetResponse LiandanTextImageGetResponse */ public function liandanTextImageGetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->module)) { $body['module'] = $request->module; } if (!Utils::isUnset($request->taskId)) { $body['taskId'] = $request->taskId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LiandanTextImageGet', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/ai/textToImage/results/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LiandanTextImageGetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 炼丹炉文生图任务结果获取 * * * @param LiandanTextImageGetRequest $request LiandanTextImageGetRequest * * @return LiandanTextImageGetResponse LiandanTextImageGetResponse */ public function liandanTextImageGet($request) { $runtime = new RuntimeOptions([]); $headers = new LiandanTextImageGetHeaders([]); return $this->liandanTextImageGetWithOptions($request, $headers, $runtime); } /** * @summary 炼丹炉专属模型接口 * * * @param LiandanluExclusiveModelRequest $request LiandanluExclusiveModelRequest * @param LiandanluExclusiveModelHeaders $headers LiandanluExclusiveModelHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return LiandanluExclusiveModelResponse LiandanluExclusiveModelResponse */ public function liandanluExclusiveModelWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->modelId)) { $body['modelId'] = $request->modelId; } if (!Utils::isUnset($request->module)) { $body['module'] = $request->module; } if (!Utils::isUnset($request->prompt)) { $body['prompt'] = $request->prompt; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LiandanluExclusiveModel', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/ai/generate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LiandanluExclusiveModelResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 炼丹炉专属模型接口 * * * @param LiandanluExclusiveModelRequest $request LiandanluExclusiveModelRequest * * @return LiandanluExclusiveModelResponse LiandanluExclusiveModelResponse */ public function liandanluExclusiveModel($request) { $runtime = new RuntimeOptions([]); $headers = new LiandanluExclusiveModelHeaders([]); return $this->liandanluExclusiveModelWithOptions($request, $headers, $runtime); } /** * @summary 炼丹炉通过提示词生成图片 * * * @param LiandanluTextToImageModelRequest $request LiandanluTextToImageModelRequest * @param LiandanluTextToImageModelHeaders $headers LiandanluTextToImageModelHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return LiandanluTextToImageModelResponse LiandanluTextToImageModelResponse */ public function liandanluTextToImageModelWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->module)) { $body['module'] = $request->module; } if (!Utils::isUnset($request->number)) { $body['number'] = $request->number; } if (!Utils::isUnset($request->parameters)) { $body['parameters'] = $request->parameters; } if (!Utils::isUnset($request->prompt)) { $body['prompt'] = $request->prompt; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LiandanluTextToImageModel', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/ai/textToImage/generate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LiandanluTextToImageModelResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 炼丹炉通过提示词生成图片 * * * @param LiandanluTextToImageModelRequest $request LiandanluTextToImageModelRequest * * @return LiandanluTextToImageModelResponse LiandanluTextToImageModelResponse */ public function liandanluTextToImageModel($request) { $runtime = new RuntimeOptions([]); $headers = new LiandanluTextToImageModelHeaders([]); return $this->liandanluTextToImageModelWithOptions($request, $headers, $runtime); } /** * @summary 通过配置的指令,连接用户和系统,训练大模型 * * * @param NLToFrameServiceRequest $request NLToFrameServiceRequest * @param NLToFrameServiceHeaders $headers NLToFrameServiceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return NLToFrameServiceResponse NLToFrameServiceResponse */ public function nLToFrameServiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->extensionStr)) { $body['extensionStr'] = $request->extensionStr; } if (!Utils::isUnset($request->isNewModel)) { $body['isNewModel'] = $request->isNewModel; } if (!Utils::isUnset($request->modelId)) { $body['modelId'] = $request->modelId; } if (!Utils::isUnset($request->modelName)) { $body['modelName'] = $request->modelName; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'NLToFrameService', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/ai/nl2frame', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return NLToFrameServiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过配置的指令,连接用户和系统,训练大模型 * * * @param NLToFrameServiceRequest $request NLToFrameServiceRequest * * @return NLToFrameServiceResponse NLToFrameServiceResponse */ public function nLToFrameService($request) { $runtime = new RuntimeOptions([]); $headers = new NLToFrameServiceHeaders([]); return $this->nLToFrameServiceWithOptions($request, $headers, $runtime); } /** * @summary Baymax技能执行日志 * * * @param QueryBaymaxSkillLogRequest $request QueryBaymaxSkillLogRequest * @param QueryBaymaxSkillLogHeaders $headers QueryBaymaxSkillLogHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBaymaxSkillLogResponse QueryBaymaxSkillLogResponse */ public function queryBaymaxSkillLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->from)) { $query['from'] = $request->from; } if (!Utils::isUnset($request->logLevel)) { $query['logLevel'] = $request->logLevel; } if (!Utils::isUnset($request->skillExecuteId)) { $query['skillExecuteId'] = $request->skillExecuteId; } if (!Utils::isUnset($request->to)) { $query['to'] = $request->to; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBaymaxSkillLog', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/skills/logs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBaymaxSkillLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary Baymax技能执行日志 * * * @param QueryBaymaxSkillLogRequest $request QueryBaymaxSkillLogRequest * * @return QueryBaymaxSkillLogResponse QueryBaymaxSkillLogResponse */ public function queryBaymaxSkillLog($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBaymaxSkillLogHeaders([]); return $this->queryBaymaxSkillLogWithOptions($request, $headers, $runtime); } /** * @summary 查询会话消息并以大模型友好的协议返回 * * * @param string $cid * @param QueryConversationMessageForAIRequest $tmpReq QueryConversationMessageForAIRequest * @param QueryConversationMessageForAIHeaders $headers QueryConversationMessageForAIHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryConversationMessageForAIResponse QueryConversationMessageForAIResponse */ public function queryConversationMessageForAIWithOptions($cid, $tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new QueryConversationMessageForAIShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->openMsgIds)) { $request->openMsgIdsShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->openMsgIds, 'openMsgIds', 'json'); } $query = []; if (!Utils::isUnset($request->openMsgIdsShrink)) { $query['openMsgIds'] = $request->openMsgIdsShrink; } if (!Utils::isUnset($request->recentDays)) { $query['recentDays'] = $request->recentDays; } if (!Utils::isUnset($request->recentHours)) { $query['recentHours'] = $request->recentHours; } if (!Utils::isUnset($request->recentN)) { $query['recentN'] = $request->recentN; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryConversationMessageForAI', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/me/memory/im/' . $cid . '/messages', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryConversationMessageForAIResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询会话消息并以大模型友好的协议返回 * * * @param string $cid * @param QueryConversationMessageForAIRequest $request QueryConversationMessageForAIRequest * * @return QueryConversationMessageForAIResponse QueryConversationMessageForAIResponse */ public function queryConversationMessageForAI($cid, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryConversationMessageForAIHeaders([]); return $this->queryConversationMessageForAIWithOptions($cid, $request, $headers, $runtime); } /** * @summary 查询记忆学习进度 * * * @param QueryMemoryLearningTaskRequest $request QueryMemoryLearningTaskRequest * @param QueryMemoryLearningTaskHeaders $headers QueryMemoryLearningTaskHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMemoryLearningTaskResponse QueryMemoryLearningTaskResponse */ public function queryMemoryLearningTaskWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->agentCode)) { $query['agentCode'] = $request->agentCode; } if (!Utils::isUnset($request->learningCode)) { $query['learningCode'] = $request->learningCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryMemoryLearningTask', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/me/memory/learningTask/get', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMemoryLearningTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询记忆学习进度 * * * @param QueryMemoryLearningTaskRequest $request QueryMemoryLearningTaskRequest * * @return QueryMemoryLearningTaskResponse QueryMemoryLearningTaskResponse */ public function queryMemoryLearningTask($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMemoryLearningTaskHeaders([]); return $this->queryMemoryLearningTaskWithOptions($request, $headers, $runtime); } /** * @summary 提交记忆学习任务 * * * @param SubmitMemoryLearningTaskRequest $tmpReq SubmitMemoryLearningTaskRequest * @param SubmitMemoryLearningTaskHeaders $headers SubmitMemoryLearningTaskHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SubmitMemoryLearningTaskResponse SubmitMemoryLearningTaskResponse */ public function submitMemoryLearningTaskWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new SubmitMemoryLearningTaskShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->content)) { $request->contentShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->content, 'content', 'json'); } $query = []; if (!Utils::isUnset($request->agentCode)) { $query['agentCode'] = $request->agentCode; } if (!Utils::isUnset($request->contentShrink)) { $query['content'] = $request->contentShrink; } if (!Utils::isUnset($request->learningMode)) { $query['learningMode'] = $request->learningMode; } if (!Utils::isUnset($request->memoryKey)) { $query['memoryKey'] = $request->memoryKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SubmitMemoryLearningTask', 'version' => 'aiPaaS_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/aiPaaS/me/memory/learningTask/put', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SubmitMemoryLearningTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 提交记忆学习任务 * * * @param SubmitMemoryLearningTaskRequest $request SubmitMemoryLearningTaskRequest * * @return SubmitMemoryLearningTaskResponse SubmitMemoryLearningTaskResponse */ public function submitMemoryLearningTask($request) { $runtime = new RuntimeOptions([]); $headers = new SubmitMemoryLearningTaskHeaders([]); return $this->submitMemoryLearningTaskWithOptions($request, $headers, $runtime); } } src/ai_paa_s_1_0/Models/ExecuteAgentHeaders.php 0000644 00000002330 14713400346 0015337 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteAgentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/ExecuteAgentRequest.php 0000644 00000004514 14713400346 0015422 0 ustar 00 'agentCode', 'inputs' => 'inputs', 'scenarioCode' => 'scenarioCode', 'scenarioInstanceId' => 'scenarioInstanceId', 'skillId' => 'skillId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->inputs) { $res['inputs'] = null !== $this->inputs ? $this->inputs->toMap() : null; } if (null !== $this->scenarioCode) { $res['scenarioCode'] = $this->scenarioCode; } if (null !== $this->scenarioInstanceId) { $res['scenarioInstanceId'] = $this->scenarioInstanceId; } if (null !== $this->skillId) { $res['skillId'] = $this->skillId; } return $res; } /** * @param array $map * * @return ExecuteAgentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['inputs'])) { $model->inputs = inputs::fromMap($map['inputs']); } if (isset($map['scenarioCode'])) { $model->scenarioCode = $map['scenarioCode']; } if (isset($map['scenarioInstanceId'])) { $model->scenarioInstanceId = $map['scenarioInstanceId']; } if (isset($map['skillId'])) { $model->skillId = $map['skillId']; } return $model; } } src/ai_paa_s_1_0/Models/ExecuteAgentRequest/inputs.php 0000644 00000002646 14713400346 0016750 0 ustar 00 'cardData', 'cardTemplateId' => 'cardTemplateId', 'input' => 'input', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->input) { $res['input'] = $this->input; } return $res; } /** * @param array $map * * @return inputs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['input'])) { $model->input = $map['input']; } return $model; } } src/ai_paa_s_1_0/Models/ExecuteAgentResponse.php 0000644 00000002716 14713400346 0015572 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteAgentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExecuteAgentResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/ExecuteAgentResponseBody.php 0000644 00000001711 14713400346 0016402 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteAgentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_paa_s_1_0/Models/ExecuteAgentResponseBody/result.php 0000644 00000002214 14713400346 0017717 0 ustar 00 'executeResult', 'skillId' => 'skillId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executeResult) { $res['executeResult'] = $this->executeResult; } if (null !== $this->skillId) { $res['skillId'] = $this->skillId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executeResult'])) { $model->executeResult = $map['executeResult']; } if (isset($map['skillId'])) { $model->skillId = $map['skillId']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanTextImageGetHeaders.php 0000644 00000002346 14713400346 0016603 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LiandanTextImageGetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanTextImageGetRequest.php 0000644 00000003121 14713400346 0016650 0 ustar 00 'module', 'taskId' => 'taskId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = $this->module; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return LiandanTextImageGetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = $map['module']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanTextImageGetResponse.php 0000644 00000002752 14713400346 0017027 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LiandanTextImageGetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LiandanTextImageGetResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/LiandanTextImageGetResponseBody.php 0000644 00000002272 14713400346 0017642 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return LiandanTextImageGetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluExclusiveModelHeaders.php 0000644 00000002356 14713400346 0017546 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LiandanluExclusiveModelHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluExclusiveModelRequest.php 0000644 00000003756 14713400346 0017630 0 ustar 00 'modelId', 'module' => 'module', 'prompt' => 'prompt', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->module) { $res['module'] = $this->module; } if (null !== $this->prompt) { $res['prompt'] = $this->prompt; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return LiandanluExclusiveModelRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['module'])) { $model->module = $map['module']; } if (isset($map['prompt'])) { $model->prompt = $map['prompt']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluExclusiveModelResponse.php 0000644 00000002772 14713400346 0017773 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LiandanluExclusiveModelResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LiandanluExclusiveModelResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/LiandanluExclusiveModelResponseBody.php 0000644 00000002547 14713400346 0020611 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return LiandanluExclusiveModelResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluTextToImageModelHeaders.php 0000644 00000002362 14713400346 0017766 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LiandanluTextToImageModelHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluTextToImageModelRequest.php 0000644 00000004324 14713400346 0020043 0 ustar 00 'module', 'number' => 'number', 'parameters' => 'parameters', 'prompt' => 'prompt', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = $this->module; } if (null !== $this->number) { $res['number'] = $this->number; } if (null !== $this->parameters) { $res['parameters'] = $this->parameters; } if (null !== $this->prompt) { $res['prompt'] = $this->prompt; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return LiandanluTextToImageModelRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = $map['module']; } if (isset($map['number'])) { $model->number = $map['number']; } if (isset($map['parameters'])) { $model->parameters = $map['parameters']; } if (isset($map['prompt'])) { $model->prompt = $map['prompt']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluTextToImageModelResponse.php 0000644 00000003002 14713400346 0020201 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LiandanluTextToImageModelResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LiandanluTextToImageModelResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/LiandanluTextToImageModelResponseBody.php 0000644 00000002620 14713400346 0021024 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return LiandanluTextToImageModelResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_paa_s_1_0/Models/LiandanluTextToImageModelResponseBody/result.php 0000644 00000002772 14713400346 0022352 0 ustar 00 'requestId', 'taskId' => 'taskId', 'taskStatus' => 'taskStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } if (null !== $this->taskStatus) { $res['taskStatus'] = $this->taskStatus; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } if (isset($map['taskStatus'])) { $model->taskStatus = $map['taskStatus']; } return $model; } } src/ai_paa_s_1_0/Models/NLToFrameServiceHeaders.php 0000644 00000002340 14713400346 0016067 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NLToFrameServiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/NLToFrameServiceRequest.php 0000644 00000004150 14713400346 0016145 0 ustar 00 'extensionStr', 'isNewModel' => 'isNewModel', 'modelId' => 'modelId', 'modelName' => 'modelName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extensionStr) { $res['extensionStr'] = $this->extensionStr; } if (null !== $this->isNewModel) { $res['isNewModel'] = $this->isNewModel; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->modelName) { $res['modelName'] = $this->modelName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return NLToFrameServiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extensionStr'])) { $model->extensionStr = $map['extensionStr']; } if (isset($map['isNewModel'])) { $model->isNewModel = $map['isNewModel']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['modelName'])) { $model->modelName = $map['modelName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ai_paa_s_1_0/Models/NLToFrameServiceResponse.php 0000644 00000002736 14713400346 0016323 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NLToFrameServiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NLToFrameServiceResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/NLToFrameServiceResponseBody.php 0000644 00000001503 14713400346 0017130 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NLToFrameServiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ai_paa_s_1_0/Models/QueryBaymaxSkillLogHeaders.php 0000644 00000002346 14713400346 0016675 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/QueryBaymaxSkillLogRequest.php 0000644 00000003531 14713400346 0016747 0 ustar 00 'from', 'logLevel' => 'logLevel', 'skillExecuteId' => 'skillExecuteId', 'to' => 'to', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->from) { $res['from'] = $this->from; } if (null !== $this->logLevel) { $res['logLevel'] = $this->logLevel; } if (null !== $this->skillExecuteId) { $res['skillExecuteId'] = $this->skillExecuteId; } if (null !== $this->to) { $res['to'] = $this->to; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['from'])) { $model->from = $map['from']; } if (isset($map['logLevel'])) { $model->logLevel = $map['logLevel']; } if (isset($map['skillExecuteId'])) { $model->skillExecuteId = $map['skillExecuteId']; } if (isset($map['to'])) { $model->to = $map['to']; } return $model; } } src/ai_paa_s_1_0/Models/QueryBaymaxSkillLogResponse.php 0000644 00000002752 14713400346 0017121 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBaymaxSkillLogResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/QueryBaymaxSkillLogResponseBody.php 0000644 00000001644 14713400346 0017736 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIHeaders.php 0000644 00000002372 14713400346 0020652 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryConversationMessageForAIHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIRequest.php 0000644 00000003472 14713400346 0020731 0 ustar 00 'openMsgIds', 'recentDays' => 'recentDays', 'recentHours' => 'recentHours', 'recentN' => 'recentN', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openMsgIds) { $res['openMsgIds'] = $this->openMsgIds; } if (null !== $this->recentDays) { $res['recentDays'] = $this->recentDays; } if (null !== $this->recentHours) { $res['recentHours'] = $this->recentHours; } if (null !== $this->recentN) { $res['recentN'] = $this->recentN; } return $res; } /** * @param array $map * * @return QueryConversationMessageForAIRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openMsgIds'])) { if (!empty($map['openMsgIds'])) { $model->openMsgIds = $map['openMsgIds']; } } if (isset($map['recentDays'])) { $model->recentDays = $map['recentDays']; } if (isset($map['recentHours'])) { $model->recentHours = $map['recentHours']; } if (isset($map['recentN'])) { $model->recentN = $map['recentN']; } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIResponse.php 0000644 00000003022 14713400346 0021066 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryConversationMessageForAIResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryConversationMessageForAIResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIResponseBody.php 0000644 00000002730 14713400346 0021711 0 ustar 00 'messages', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messages) { $res['messages'] = []; if (null !== $this->messages && \is_array($this->messages)) { $n = 0; foreach ($this->messages as $item) { $res['messages'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryConversationMessageForAIResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messages'])) { if (!empty($map['messages'])) { $model->messages = []; $n = 0; foreach ($map['messages'] as $item) { $model->messages[$n++] = null !== $item ? messages::fromMap($item) : $item; } } } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIResponseBody/messages.php 0000644 00000006404 14713400346 0023522 0 ustar 00 'atAll', 'atUsers' => 'atUsers', 'msgContent' => 'msgContent', 'msgType' => 'msgType', 'sendTime' => 'sendTime', 'sender' => 'sender', 'summary' => 'summary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atAll) { $res['atAll'] = $this->atAll; } if (null !== $this->atUsers) { $res['atUsers'] = []; if (null !== $this->atUsers && \is_array($this->atUsers)) { $n = 0; foreach ($this->atUsers as $item) { $res['atUsers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->msgContent) { $res['msgContent'] = $this->msgContent; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->sendTime) { $res['sendTime'] = $this->sendTime; } if (null !== $this->sender) { $res['sender'] = null !== $this->sender ? $this->sender->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } return $res; } /** * @param array $map * * @return messages */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atAll'])) { $model->atAll = $map['atAll']; } if (isset($map['atUsers'])) { if (!empty($map['atUsers'])) { $model->atUsers = []; $n = 0; foreach ($map['atUsers'] as $item) { $model->atUsers[$n++] = null !== $item ? atUsers::fromMap($item) : $item; } } } if (isset($map['msgContent'])) { $model->msgContent = $map['msgContent']; } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['sendTime'])) { $model->sendTime = $map['sendTime']; } if (isset($map['sender'])) { $model->sender = sender::fromMap($map['sender']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIResponseBody/messages/atUsers.php 0000644 00000003623 14713400346 0025150 0 ustar 00 'agentCode', 'nick' => 'nick', 'type' => 'type', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return atUsers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIResponseBody/messages/sender.php 0000644 00000003621 14713400346 0025000 0 ustar 00 'agentCode', 'nick' => 'nick', 'type' => 'type', 'unionId' => 'unionId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return sender */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ai_paa_s_1_0/Models/QueryConversationMessageForAIShrinkRequest.php 0000644 00000003460 14713400346 0022105 0 ustar 00 'openMsgIds', 'recentDays' => 'recentDays', 'recentHours' => 'recentHours', 'recentN' => 'recentN', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openMsgIdsShrink) { $res['openMsgIds'] = $this->openMsgIdsShrink; } if (null !== $this->recentDays) { $res['recentDays'] = $this->recentDays; } if (null !== $this->recentHours) { $res['recentHours'] = $this->recentHours; } if (null !== $this->recentN) { $res['recentN'] = $this->recentN; } return $res; } /** * @param array $map * * @return QueryConversationMessageForAIShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openMsgIds'])) { $model->openMsgIdsShrink = $map['openMsgIds']; } if (isset($map['recentDays'])) { $model->recentDays = $map['recentDays']; } if (isset($map['recentHours'])) { $model->recentHours = $map['recentHours']; } if (isset($map['recentN'])) { $model->recentN = $map['recentN']; } return $model; } } src/ai_paa_s_1_0/Models/QueryMemoryLearningTaskHeaders.php 0000644 00000002356 14713400346 0017567 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMemoryLearningTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/QueryMemoryLearningTaskRequest.php 0000644 00000002427 14713400346 0017643 0 ustar 00 'agentCode', 'learningCode' => 'learningCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->learningCode) { $res['learningCode'] = $this->learningCode; } return $res; } /** * @param array $map * * @return QueryMemoryLearningTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['learningCode'])) { $model->learningCode = $map['learningCode']; } return $model; } } src/ai_paa_s_1_0/Models/QueryMemoryLearningTaskResponse.php 0000644 00000002772 14713400346 0020014 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMemoryLearningTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMemoryLearningTaskResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/QueryMemoryLearningTaskResponseBody.php 0000644 00000001752 14713400346 0020627 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMemoryLearningTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_paa_s_1_0/Models/QueryMemoryLearningTaskResponseBody/result.php 0000644 00000002121 14713400346 0022134 0 ustar 00 'status', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskHeaders.php 0000644 00000002360 14713400346 0017720 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SubmitMemoryLearningTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskRequest.php 0000644 00000004150 14713400346 0017774 0 ustar 00 'agentCode', 'content' => 'content', 'learningMode' => 'learningMode', 'memoryKey' => 'memoryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->learningMode) { $res['learningMode'] = $this->learningMode; } if (null !== $this->memoryKey) { $res['memoryKey'] = $this->memoryKey; } return $res; } /** * @param array $map * * @return SubmitMemoryLearningTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['learningMode'])) { $model->learningMode = $map['learningMode']; } if (isset($map['memoryKey'])) { $model->memoryKey = $map['memoryKey']; } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskRequest/content.php 0000644 00000002233 14713400346 0021446 0 ustar 00 'knowledgeBaseUrl', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->knowledgeBaseUrl) { $res['knowledgeBaseUrl'] = $this->knowledgeBaseUrl; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['knowledgeBaseUrl'])) { $model->knowledgeBaseUrl = $map['knowledgeBaseUrl']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskResponse.php 0000644 00000002776 14713400346 0020156 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SubmitMemoryLearningTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SubmitMemoryLearningTaskResponseBody::fromMap($map['body']); } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskResponseBody.php 0000644 00000001755 14713400346 0020770 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return SubmitMemoryLearningTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskResponseBody/result.php 0000644 00000002640 14713400346 0022300 0 ustar 00 'learningCode', 'status' => 'status', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->learningCode) { $res['learningCode'] = $this->learningCode; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['learningCode'])) { $model->learningCode = $map['learningCode']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ai_paa_s_1_0/Models/SubmitMemoryLearningTaskShrinkRequest.php 0000644 00000003767 14713400346 0021170 0 ustar 00 'agentCode', 'contentShrink' => 'content', 'learningMode' => 'learningMode', 'memoryKey' => 'memoryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->contentShrink) { $res['content'] = $this->contentShrink; } if (null !== $this->learningMode) { $res['learningMode'] = $this->learningMode; } if (null !== $this->memoryKey) { $res['memoryKey'] = $this->memoryKey; } return $res; } /** * @param array $map * * @return SubmitMemoryLearningTaskShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['content'])) { $model->contentShrink = $map['content']; } if (isset($map['learningMode'])) { $model->learningMode = $map['learningMode']; } if (isset($map['memoryKey'])) { $model->memoryKey = $map['memoryKey']; } return $model; } } src/algo_1_0/Dingtalk.php 0000644 00000014206 14713400346 0011167 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 自然语言处理之关键词识别 * * * @param NlpWordDistinguishRequest $request NlpWordDistinguishRequest * @param NlpWordDistinguishHeaders $headers NlpWordDistinguishHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return NlpWordDistinguishResponse NlpWordDistinguishResponse */ public function nlpWordDistinguishWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attachExtractDecisionInfo)) { $body['attachExtractDecisionInfo'] = $request->attachExtractDecisionInfo; } if (!Utils::isUnset($request->isvAppId)) { $body['isvAppId'] = $request->isvAppId; } if (!Utils::isUnset($request->text)) { $body['text'] = $request->text; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'NlpWordDistinguish', 'version' => 'algo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/algo/okrs/keywords/extract', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return NlpWordDistinguishResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 自然语言处理之关键词识别 * * * @param NlpWordDistinguishRequest $request NlpWordDistinguishRequest * * @return NlpWordDistinguishResponse NlpWordDistinguishResponse */ public function nlpWordDistinguish($request) { $runtime = new RuntimeOptions([]); $headers = new NlpWordDistinguishHeaders([]); return $this->nlpWordDistinguishWithOptions($request, $headers, $runtime); } /** * @summary Okr内容推荐 * * * @param OkrOpenRecommendRequest $request OkrOpenRecommendRequest * @param OkrOpenRecommendHeaders $headers OkrOpenRecommendHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return OkrOpenRecommendResponse OkrOpenRecommendResponse */ public function okrOpenRecommendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->candidateOkrItems)) { $body['candidateOkrItems'] = $request->candidateOkrItems; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->isvAppId)) { $body['isvAppId'] = $request->isvAppId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->words)) { $body['words'] = $request->words; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OkrOpenRecommend', 'version' => 'algo_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/algo/okrs/recommend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OkrOpenRecommendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary Okr内容推荐 * * * @param OkrOpenRecommendRequest $request OkrOpenRecommendRequest * * @return OkrOpenRecommendResponse OkrOpenRecommendResponse */ public function okrOpenRecommend($request) { $runtime = new RuntimeOptions([]); $headers = new OkrOpenRecommendHeaders([]); return $this->okrOpenRecommendWithOptions($request, $headers, $runtime); } } src/algo_1_0/Models/NlpWordDistinguishHeaders.php 0000644 00000002340 14713400346 0015745 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NlpWordDistinguishHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/algo_1_0/Models/NlpWordDistinguishRequest.php 0000644 00000003642 14713400346 0016030 0 ustar 00 'attachExtractDecisionInfo', 'isvAppId' => 'isvAppId', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachExtractDecisionInfo) { $res['attachExtractDecisionInfo'] = null !== $this->attachExtractDecisionInfo ? $this->attachExtractDecisionInfo->toMap() : null; } if (null !== $this->isvAppId) { $res['isvAppId'] = $this->isvAppId; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return NlpWordDistinguishRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachExtractDecisionInfo'])) { $model->attachExtractDecisionInfo = attachExtractDecisionInfo::fromMap($map['attachExtractDecisionInfo']); } if (isset($map['isvAppId'])) { $model->isvAppId = $map['isvAppId']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/algo_1_0/Models/NlpWordDistinguishRequest/attachExtractDecisionInfo.php 0000644 00000004607 14713400346 0023123 0 ustar 00 'blackWords', 'candidateWords' => 'candidateWords', 'corpId' => 'corpId', 'deptIds' => 'deptIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blackWords) { $res['blackWords'] = $this->blackWords; } if (null !== $this->candidateWords) { $res['candidateWords'] = $this->candidateWords; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return attachExtractDecisionInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blackWords'])) { if (!empty($map['blackWords'])) { $model->blackWords = $map['blackWords']; } } if (isset($map['candidateWords'])) { if (!empty($map['candidateWords'])) { $model->candidateWords = $map['candidateWords']; } } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/algo_1_0/Models/NlpWordDistinguishResponse.php 0000644 00000002742 14713400346 0016176 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NlpWordDistinguishResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NlpWordDistinguishResponseBody::fromMap($map['body']); } return $model; } } src/algo_1_0/Models/NlpWordDistinguishResponseBody.php 0000644 00000003532 14713400346 0017012 0 ustar 00 'requestId', 'wordEntities' => 'wordEntities', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->wordEntities) { $res['wordEntities'] = []; if (null !== $this->wordEntities && \is_array($this->wordEntities)) { $n = 0; foreach ($this->wordEntities as $item) { $res['wordEntities'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return NlpWordDistinguishResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['wordEntities'])) { if (!empty($map['wordEntities'])) { $model->wordEntities = []; $n = 0; foreach ($map['wordEntities'] as $item) { $model->wordEntities[$n++] = null !== $item ? wordEntities::fromMap($item) : $item; } } } return $model; } } src/algo_1_0/Models/NlpWordDistinguishResponseBody/wordEntities.php 0000644 00000001454 14713400346 0021473 0 ustar 00 'word', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->word) { $res['word'] = $this->word; } return $res; } /** * @param array $map * * @return wordEntities */ public static function fromMap($map = []) { $model = new self(); if (isset($map['word'])) { $model->word = $map['word']; } return $model; } } src/algo_1_0/Models/OkrOpenRecommendHeaders.php 0000644 00000002334 14713400346 0015357 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OkrOpenRecommendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/algo_1_0/Models/OkrOpenRecommendRequest.php 0000644 00000006530 14713400346 0015436 0 ustar 00 'candidateOkrItems', 'corpId' => 'corpId', 'deptIds' => 'deptIds', 'isvAppId' => 'isvAppId', 'userId' => 'userId', 'words' => 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->candidateOkrItems) { $res['candidateOkrItems'] = []; if (null !== $this->candidateOkrItems && \is_array($this->candidateOkrItems)) { $n = 0; foreach ($this->candidateOkrItems as $item) { $res['candidateOkrItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->isvAppId) { $res['isvAppId'] = $this->isvAppId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->words) { $res['words'] = $this->words; } return $res; } /** * @param array $map * * @return OkrOpenRecommendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['candidateOkrItems'])) { if (!empty($map['candidateOkrItems'])) { $model->candidateOkrItems = []; $n = 0; foreach ($map['candidateOkrItems'] as $item) { $model->candidateOkrItems[$n++] = null !== $item ? candidateOkrItems::fromMap($item) : $item; } } } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['isvAppId'])) { $model->isvAppId = $map['isvAppId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = $map['words']; } } return $model; } } src/algo_1_0/Models/OkrOpenRecommendRequest/candidateOkrItems.php 0000644 00000004126 14713400346 0021027 0 ustar 00 'okrInfos', 'relation' => 'relation', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->okrInfos) { $res['okrInfos'] = []; if (null !== $this->okrInfos && \is_array($this->okrInfos)) { $n = 0; foreach ($this->okrInfos as $item) { $res['okrInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relation) { $res['relation'] = $this->relation; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return candidateOkrItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['okrInfos'])) { if (!empty($map['okrInfos'])) { $model->okrInfos = []; $n = 0; foreach ($map['okrInfos'] as $item) { $model->okrInfos[$n++] = null !== $item ? okrInfos::fromMap($item) : $item; } } } if (isset($map['relation'])) { $model->relation = $map['relation']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/algo_1_0/Models/OkrOpenRecommendRequest/candidateOkrItems/okrInfos.php 0000644 00000004744 14713400346 0022627 0 ustar 00 'keyResultInfos', 'objective' => 'objective', 'objectiveId' => 'objectiveId', 'words' => 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyResultInfos) { $res['keyResultInfos'] = []; if (null !== $this->keyResultInfos && \is_array($this->keyResultInfos)) { $n = 0; foreach ($this->keyResultInfos as $item) { $res['keyResultInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->objective) { $res['objective'] = $this->objective; } if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->words) { $res['words'] = $this->words; } return $res; } /** * @param array $map * * @return okrInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyResultInfos'])) { if (!empty($map['keyResultInfos'])) { $model->keyResultInfos = []; $n = 0; foreach ($map['keyResultInfos'] as $item) { $model->keyResultInfos[$n++] = null !== $item ? keyResultInfos::fromMap($item) : $item; } } } if (isset($map['objective'])) { $model->objective = $map['objective']; } if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = $map['words']; } } return $model; } } src/algo_1_0/Models/OkrOpenRecommendRequest/candidateOkrItems/okrInfos/keyResultInfos.php 0000644 00000002564 14713400346 0025613 0 ustar 00 'kr', 'krId' => 'krId', 'words' => 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kr) { $res['kr'] = $this->kr; } if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->words) { $res['words'] = $this->words; } return $res; } /** * @param array $map * * @return keyResultInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kr'])) { $model->kr = $map['kr']; } if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = $map['words']; } } return $model; } } src/algo_1_0/Models/OkrOpenRecommendResponse.php 0000644 00000002732 14713400346 0015604 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OkrOpenRecommendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OkrOpenRecommendResponseBody::fromMap($map['body']); } return $model; } } src/algo_1_0/Models/OkrOpenRecommendResponseBody.php 0000644 00000003663 14713400346 0016426 0 ustar 00 'okrRecommendItems', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->okrRecommendItems) { $res['okrRecommendItems'] = []; if (null !== $this->okrRecommendItems && \is_array($this->okrRecommendItems)) { $n = 0; foreach ($this->okrRecommendItems as $item) { $res['okrRecommendItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return OkrOpenRecommendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['okrRecommendItems'])) { if (!empty($map['okrRecommendItems'])) { $model->okrRecommendItems = []; $n = 0; foreach ($map['okrRecommendItems'] as $item) { $model->okrRecommendItems[$n++] = null !== $item ? okrRecommendItems::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/algo_1_0/Models/OkrOpenRecommendResponseBody/okrRecommendItems.php 0000644 00000007757 14713400346 0022065 0 ustar 00 'krResultRelatedResults', 'objectiveRelatedResults' => 'objectiveRelatedResults', 'relatedLevel' => 'relatedLevel', 'semanticLevel' => 'semanticLevel', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->krResultRelatedResults) { $res['krResultRelatedResults'] = []; if (null !== $this->krResultRelatedResults && \is_array($this->krResultRelatedResults)) { $n = 0; foreach ($this->krResultRelatedResults as $item) { $res['krResultRelatedResults'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->objectiveRelatedResults) { $res['objectiveRelatedResults'] = []; if (null !== $this->objectiveRelatedResults && \is_array($this->objectiveRelatedResults)) { $n = 0; foreach ($this->objectiveRelatedResults as $item) { $res['objectiveRelatedResults'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relatedLevel) { $res['relatedLevel'] = $this->relatedLevel; } if (null !== $this->semanticLevel) { $res['semanticLevel'] = $this->semanticLevel; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return okrRecommendItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['krResultRelatedResults'])) { if (!empty($map['krResultRelatedResults'])) { $model->krResultRelatedResults = []; $n = 0; foreach ($map['krResultRelatedResults'] as $item) { $model->krResultRelatedResults[$n++] = null !== $item ? krResultRelatedResults::fromMap($item) : $item; } } } if (isset($map['objectiveRelatedResults'])) { if (!empty($map['objectiveRelatedResults'])) { $model->objectiveRelatedResults = []; $n = 0; foreach ($map['objectiveRelatedResults'] as $item) { $model->objectiveRelatedResults[$n++] = null !== $item ? objectiveRelatedResults::fromMap($item) : $item; } } } if (isset($map['relatedLevel'])) { $model->relatedLevel = $map['relatedLevel']; } if (isset($map['semanticLevel'])) { $model->semanticLevel = $map['semanticLevel']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/algo_1_0/Models/OkrOpenRecommendResponseBody/okrRecommendItems/krResultRelatedResults.php 0000644 00000003253 14713400346 0026546 0 ustar 00 'krId', 'semanticLevel' => 'semanticLevel', 'words' => 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->krId) { $res['krId'] = $this->krId; } if (null !== $this->semanticLevel) { $res['semanticLevel'] = $this->semanticLevel; } if (null !== $this->words) { $res['words'] = $this->words; } return $res; } /** * @param array $map * * @return krResultRelatedResults */ public static function fromMap($map = []) { $model = new self(); if (isset($map['krId'])) { $model->krId = $map['krId']; } if (isset($map['semanticLevel'])) { $model->semanticLevel = $map['semanticLevel']; } if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = $map['words']; } } return $model; } } src/algo_1_0/Models/OkrOpenRecommendResponseBody/okrRecommendItems/objectiveRelatedResults.php 0000644 00000003345 14713400346 0026707 0 ustar 00 'objectiveId', 'semanticLevel' => 'semanticLevel', 'words' => 'words', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->semanticLevel) { $res['semanticLevel'] = $this->semanticLevel; } if (null !== $this->words) { $res['words'] = $this->words; } return $res; } /** * @param array $map * * @return objectiveRelatedResults */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['semanticLevel'])) { $model->semanticLevel = $map['semanticLevel']; } if (isset($map['words'])) { if (!empty($map['words'])) { $model->words = $map['words']; } } return $model; } } src/alitrip_1_0/Dingtalk.php 0000644 00000105704 14713400346 0011715 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 同步第三方市内用车申请单 * * * @param AddCityCarApplyRequest $request AddCityCarApplyRequest * @param AddCityCarApplyHeaders $headers AddCityCarApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddCityCarApplyResponse AddCityCarApplyResponse */ public function addCityCarApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cause)) { $body['cause'] = $request->cause; } if (!Utils::isUnset($request->city)) { $body['city'] = $request->city; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->date)) { $body['date'] = $request->date; } if (!Utils::isUnset($request->finishedDate)) { $body['finishedDate'] = $request->finishedDate; } if (!Utils::isUnset($request->projectCode)) { $body['projectCode'] = $request->projectCode; } if (!Utils::isUnset($request->projectName)) { $body['projectName'] = $request->projectName; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->thirdPartApplyId)) { $body['thirdPartApplyId'] = $request->thirdPartApplyId; } if (!Utils::isUnset($request->thirdPartCostCenterId)) { $body['thirdPartCostCenterId'] = $request->thirdPartCostCenterId; } if (!Utils::isUnset($request->thirdPartInvoiceId)) { $body['thirdPartInvoiceId'] = $request->thirdPartInvoiceId; } if (!Utils::isUnset($request->timesTotal)) { $body['timesTotal'] = $request->timesTotal; } if (!Utils::isUnset($request->timesType)) { $body['timesType'] = $request->timesType; } if (!Utils::isUnset($request->timesUsed)) { $body['timesUsed'] = $request->timesUsed; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddCityCarApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/cityCarApprovals', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddCityCarApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 同步第三方市内用车申请单 * * * @param AddCityCarApplyRequest $request AddCityCarApplyRequest * * @return AddCityCarApplyResponse AddCityCarApplyResponse */ public function addCityCarApply($request) { $runtime = new RuntimeOptions([]); $headers = new AddCityCarApplyHeaders([]); return $this->addCityCarApplyWithOptions($request, $headers, $runtime); } /** * @summary 三方市内用车申请单审批 * * * @param ApproveCityCarApplyRequest $request ApproveCityCarApplyRequest * @param ApproveCityCarApplyHeaders $headers ApproveCityCarApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ApproveCityCarApplyResponse ApproveCityCarApplyResponse */ public function approveCityCarApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->operateTime)) { $body['operateTime'] = $request->operateTime; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->thirdPartApplyId)) { $body['thirdPartApplyId'] = $request->thirdPartApplyId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ApproveCityCarApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/cityCarApprovals', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ApproveCityCarApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 三方市内用车申请单审批 * * * @param ApproveCityCarApplyRequest $request ApproveCityCarApplyRequest * * @return ApproveCityCarApplyResponse ApproveCityCarApplyResponse */ public function approveCityCarApply($request) { $runtime = new RuntimeOptions([]); $headers = new ApproveCityCarApplyHeaders([]); return $this->approveCityCarApplyWithOptions($request, $headers, $runtime); } /** * @summary 商旅火车票结算记账查询接口 * * * @param BillSettementBtripTrainRequest $request BillSettementBtripTrainRequest * @param BillSettementBtripTrainHeaders $headers BillSettementBtripTrainHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BillSettementBtripTrainResponse BillSettementBtripTrainResponse */ public function billSettementBtripTrainWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->category)) { $query['category'] = $request->category; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->periodEnd)) { $query['periodEnd'] = $request->periodEnd; } if (!Utils::isUnset($request->periodStart)) { $query['periodStart'] = $request->periodStart; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BillSettementBtripTrain', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/billSettlements/btripTrains', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BillSettementBtripTrainResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 商旅火车票结算记账查询接口 * * * @param BillSettementBtripTrainRequest $request BillSettementBtripTrainRequest * * @return BillSettementBtripTrainResponse BillSettementBtripTrainResponse */ public function billSettementBtripTrain($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementBtripTrainHeaders([]); return $this->billSettementBtripTrainWithOptions($request, $headers, $runtime); } /** * @summary 用车结算记账查询接口 * * * @param BillSettementCarRequest $request BillSettementCarRequest * @param BillSettementCarHeaders $headers BillSettementCarHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BillSettementCarResponse BillSettementCarResponse */ public function billSettementCarWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->category)) { $query['category'] = $request->category; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->periodEnd)) { $query['periodEnd'] = $request->periodEnd; } if (!Utils::isUnset($request->periodStart)) { $query['periodStart'] = $request->periodStart; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BillSettementCar', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/billSettlements/cars', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BillSettementCarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 用车结算记账查询接口 * * * @param BillSettementCarRequest $request BillSettementCarRequest * * @return BillSettementCarResponse BillSettementCarResponse */ public function billSettementCar($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementCarHeaders([]); return $this->billSettementCarWithOptions($request, $headers, $runtime); } /** * @summary 机票结算记账查询接口 * * * @param BillSettementFlightRequest $request BillSettementFlightRequest * @param BillSettementFlightHeaders $headers BillSettementFlightHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BillSettementFlightResponse BillSettementFlightResponse */ public function billSettementFlightWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->category)) { $query['category'] = $request->category; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->periodEnd)) { $query['periodEnd'] = $request->periodEnd; } if (!Utils::isUnset($request->periodStart)) { $query['periodStart'] = $request->periodStart; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BillSettementFlight', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/billSettlements/flights', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BillSettementFlightResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 机票结算记账查询接口 * * * @param BillSettementFlightRequest $request BillSettementFlightRequest * * @return BillSettementFlightResponse BillSettementFlightResponse */ public function billSettementFlight($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementFlightHeaders([]); return $this->billSettementFlightWithOptions($request, $headers, $runtime); } /** * @summary 酒店结算记账查询接口 * * * @param BillSettementHotelRequest $request BillSettementHotelRequest * @param BillSettementHotelHeaders $headers BillSettementHotelHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BillSettementHotelResponse BillSettementHotelResponse */ public function billSettementHotelWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->category)) { $query['category'] = $request->category; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->periodEnd)) { $query['periodEnd'] = $request->periodEnd; } if (!Utils::isUnset($request->periodStart)) { $query['periodStart'] = $request->periodStart; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BillSettementHotel', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/billSettlements/hotels', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BillSettementHotelResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 酒店结算记账查询接口 * * * @param BillSettementHotelRequest $request BillSettementHotelRequest * * @return BillSettementHotelResponse BillSettementHotelResponse */ public function billSettementHotel($request) { $runtime = new RuntimeOptions([]); $headers = new BillSettementHotelHeaders([]); return $this->billSettementHotelWithOptions($request, $headers, $runtime); } /** * @summary 商旅机票第三方超标审批单搜索接口 * * * @param GetFlightExceedApplyRequest $request GetFlightExceedApplyRequest * @param GetFlightExceedApplyHeaders $headers GetFlightExceedApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFlightExceedApplyResponse GetFlightExceedApplyResponse */ public function getFlightExceedApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->applyId)) { $query['applyId'] = $request->applyId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFlightExceedApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/exceedapply/getFlight', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFlightExceedApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 商旅机票第三方超标审批单搜索接口 * * * @param GetFlightExceedApplyRequest $request GetFlightExceedApplyRequest * * @return GetFlightExceedApplyResponse GetFlightExceedApplyResponse */ public function getFlightExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new GetFlightExceedApplyHeaders([]); return $this->getFlightExceedApplyWithOptions($request, $headers, $runtime); } /** * @summary 搜索酒店超标审批单 * * * @param GetHotelExceedApplyRequest $request GetHotelExceedApplyRequest * @param GetHotelExceedApplyHeaders $headers GetHotelExceedApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetHotelExceedApplyResponse GetHotelExceedApplyResponse */ public function getHotelExceedApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->applyId)) { $query['applyId'] = $request->applyId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetHotelExceedApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/exceedapply/getHotel', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetHotelExceedApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 搜索酒店超标审批单 * * * @param GetHotelExceedApplyRequest $request GetHotelExceedApplyRequest * * @return GetHotelExceedApplyResponse GetHotelExceedApplyResponse */ public function getHotelExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new GetHotelExceedApplyHeaders([]); return $this->getHotelExceedApplyWithOptions($request, $headers, $runtime); } /** * @summary 商旅火车票第三方超标审批单搜索接口 * * * @param GetTrainExceedApplyRequest $request GetTrainExceedApplyRequest * @param GetTrainExceedApplyHeaders $headers GetTrainExceedApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetTrainExceedApplyResponse GetTrainExceedApplyResponse */ public function getTrainExceedApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->applyId)) { $query['applyId'] = $request->applyId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTrainExceedApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/exceedapply/getTrain', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetTrainExceedApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 商旅火车票第三方超标审批单搜索接口 * * * @param GetTrainExceedApplyRequest $request GetTrainExceedApplyRequest * * @return GetTrainExceedApplyResponse GetTrainExceedApplyResponse */ public function getTrainExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new GetTrainExceedApplyHeaders([]); return $this->getTrainExceedApplyWithOptions($request, $headers, $runtime); } /** * @summary 三方市内用车申请单查询 * * * @param QueryCityCarApplyRequest $request QueryCityCarApplyRequest * @param QueryCityCarApplyHeaders $headers QueryCityCarApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCityCarApplyResponse QueryCityCarApplyResponse */ public function queryCityCarApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->createdEndAt)) { $query['createdEndAt'] = $request->createdEndAt; } if (!Utils::isUnset($request->createdStartAt)) { $query['createdStartAt'] = $request->createdStartAt; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->thirdPartApplyId)) { $query['thirdPartApplyId'] = $request->thirdPartApplyId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCityCarApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/cityCarApprovals', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryCityCarApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 三方市内用车申请单查询 * * * @param QueryCityCarApplyRequest $request QueryCityCarApplyRequest * * @return QueryCityCarApplyResponse QueryCityCarApplyResponse */ public function queryCityCarApply($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCityCarApplyHeaders([]); return $this->queryCityCarApplyWithOptions($request, $headers, $runtime); } /** * @summary 申请单关联单号查询相关订单信息 * * * @param QueryUnionOrderRequest $request QueryUnionOrderRequest * @param QueryUnionOrderHeaders $headers QueryUnionOrderHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryUnionOrderResponse QueryUnionOrderResponse */ public function queryUnionOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->thirdPartApplyId)) { $query['thirdPartApplyId'] = $request->thirdPartApplyId; } if (!Utils::isUnset($request->unionNo)) { $query['unionNo'] = $request->unionNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryUnionOrder', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/unionOrders', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryUnionOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 申请单关联单号查询相关订单信息 * * * @param QueryUnionOrderRequest $request QueryUnionOrderRequest * * @return QueryUnionOrderResponse QueryUnionOrderResponse */ public function queryUnionOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUnionOrderHeaders([]); return $this->queryUnionOrderWithOptions($request, $headers, $runtime); } /** * @summary 同步超标审批结果 * * * @param SyncExceedApplyRequest $request SyncExceedApplyRequest * @param SyncExceedApplyHeaders $headers SyncExceedApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SyncExceedApplyResponse SyncExceedApplyResponse */ public function syncExceedApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->applyId)) { $query['applyId'] = $request->applyId; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->remark)) { $query['remark'] = $request->remark; } if (!Utils::isUnset($request->status)) { $query['status'] = $request->status; } if (!Utils::isUnset($request->thirdpartyFlowId)) { $query['thirdpartyFlowId'] = $request->thirdpartyFlowId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SyncExceedApply', 'version' => 'alitrip_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/alitrip/exceedapply/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return SyncExceedApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 同步超标审批结果 * * * @param SyncExceedApplyRequest $request SyncExceedApplyRequest * * @return SyncExceedApplyResponse SyncExceedApplyResponse */ public function syncExceedApply($request) { $runtime = new RuntimeOptions([]); $headers = new SyncExceedApplyHeaders([]); return $this->syncExceedApplyWithOptions($request, $headers, $runtime); } } src/alitrip_1_0/Models/AddCityCarApplyHeaders.php 0000644 00000002335 14713400346 0015650 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCityCarApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/AddCityCarApplyRequest.php 0000644 00000015171 14713400346 0015727 0 ustar 00 'cause', 'city' => 'city', 'corpId' => 'corpId', 'date' => 'date', 'finishedDate' => 'finishedDate', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'status' => 'status', 'thirdPartApplyId' => 'thirdPartApplyId', 'thirdPartCostCenterId' => 'thirdPartCostCenterId', 'thirdPartInvoiceId' => 'thirdPartInvoiceId', 'timesTotal' => 'timesTotal', 'timesType' => 'timesType', 'timesUsed' => 'timesUsed', 'title' => 'title', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cause) { $res['cause'] = $this->cause; } if (null !== $this->city) { $res['city'] = $this->city; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->finishedDate) { $res['finishedDate'] = $this->finishedDate; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->thirdPartApplyId) { $res['thirdPartApplyId'] = $this->thirdPartApplyId; } if (null !== $this->thirdPartCostCenterId) { $res['thirdPartCostCenterId'] = $this->thirdPartCostCenterId; } if (null !== $this->thirdPartInvoiceId) { $res['thirdPartInvoiceId'] = $this->thirdPartInvoiceId; } if (null !== $this->timesTotal) { $res['timesTotal'] = $this->timesTotal; } if (null !== $this->timesType) { $res['timesType'] = $this->timesType; } if (null !== $this->timesUsed) { $res['timesUsed'] = $this->timesUsed; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddCityCarApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cause'])) { $model->cause = $map['cause']; } if (isset($map['city'])) { $model->city = $map['city']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['finishedDate'])) { $model->finishedDate = $map['finishedDate']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['thirdPartApplyId'])) { $model->thirdPartApplyId = $map['thirdPartApplyId']; } if (isset($map['thirdPartCostCenterId'])) { $model->thirdPartCostCenterId = $map['thirdPartCostCenterId']; } if (isset($map['thirdPartInvoiceId'])) { $model->thirdPartInvoiceId = $map['thirdPartInvoiceId']; } if (isset($map['timesTotal'])) { $model->timesTotal = $map['timesTotal']; } if (isset($map['timesType'])) { $model->timesType = $map['timesType']; } if (isset($map['timesUsed'])) { $model->timesUsed = $map['timesUsed']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/AddCityCarApplyResponse.php 0000644 00000002731 14713400346 0016073 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCityCarApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCityCarApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/AddCityCarApplyResponseBody.php 0000644 00000001537 14713400346 0016714 0 ustar 00 'applyId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } return $res; } /** * @param array $map * * @return AddCityCarApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } return $model; } } src/alitrip_1_0/Models/ApproveCityCarApplyHeaders.php 0000644 00000002345 14713400346 0016575 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ApproveCityCarApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/ApproveCityCarApplyRequest.php 0000644 00000005313 14713400346 0016650 0 ustar 00 'corpId', 'operateTime' => 'operateTime', 'remark' => 'remark', 'status' => 'status', 'thirdPartApplyId' => 'thirdPartApplyId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->operateTime) { $res['operateTime'] = $this->operateTime; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->thirdPartApplyId) { $res['thirdPartApplyId'] = $this->thirdPartApplyId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ApproveCityCarApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['operateTime'])) { $model->operateTime = $map['operateTime']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['thirdPartApplyId'])) { $model->thirdPartApplyId = $map['thirdPartApplyId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/ApproveCityCarApplyResponse.php 0000644 00000002751 14713400346 0017021 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ApproveCityCarApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ApproveCityCarApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/ApproveCityCarApplyResponseBody.php 0000644 00000001641 14713400346 0017634 0 ustar 00 'approveResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveResult) { $res['approveResult'] = $this->approveResult; } return $res; } /** * @param array $map * * @return ApproveCityCarApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveResult'])) { $model->approveResult = $map['approveResult']; } return $model; } } src/alitrip_1_0/Models/BillSettementBtripTrainHeaders.php 0000644 00000002355 14713400346 0017447 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BillSettementBtripTrainHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/BillSettementBtripTrainRequest.php 0000644 00000004441 14713400346 0017522 0 ustar 00 'category', 'corpId' => 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } return $res; } /** * @param array $map * * @return BillSettementBtripTrainRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } return $model; } } src/alitrip_1_0/Models/BillSettementBtripTrainResponse.php 0000644 00000002771 14713400346 0017674 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BillSettementBtripTrainResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BillSettementBtripTrainResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/BillSettementBtripTrainResponseBody.php 0000644 00000003535 14713400346 0020511 0 ustar 00 'module', 'resultCode' => 'resultCode', 'resultMsg' => 'resultMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = null !== $this->module ? $this->module->toMap() : null; } if (null !== $this->resultCode) { $res['resultCode'] = $this->resultCode; } if (null !== $this->resultMsg) { $res['resultMsg'] = $this->resultMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BillSettementBtripTrainResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = module::fromMap($map['module']); } if (isset($map['resultCode'])) { $model->resultCode = $map['resultCode']; } if (isset($map['resultMsg'])) { $model->resultMsg = $map['resultMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/alitrip_1_0/Models/BillSettementBtripTrainResponseBody/module.php 0000644 00000005561 14713400346 0021777 0 ustar 00 'category', 'corpId' => 'corpId', 'dataList' => 'dataList', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->dataList) { $res['dataList'] = []; if (null !== $this->dataList && \is_array($this->dataList)) { $n = 0; foreach ($this->dataList as $item) { $res['dataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return module */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = []; $n = 0; foreach ($map['dataList'] as $item) { $model->dataList[$n++] = null !== $item ? dataList::fromMap($item) : $item; } } } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/alitrip_1_0/Models/BillSettementBtripTrainResponseBody/module/dataList.php 0000644 00000040314 14713400346 0023537 0 ustar 00 'alipayTradeNo', 'applyId' => 'applyId', 'arrDate' => 'arrDate', 'arrStation' => 'arrStation', 'arrTime' => 'arrTime', 'billRecordTime' => 'billRecordTime', 'bookTime' => 'bookTime', 'bookerId' => 'bookerId', 'bookerJobNo' => 'bookerJobNo', 'bookerName' => 'bookerName', 'capitalDirection' => 'capitalDirection', 'cascadeDepartment' => 'cascadeDepartment', 'changeFee' => 'changeFee', 'coachNo' => 'coachNo', 'costCenter' => 'costCenter', 'costCenterNumber' => 'costCenterNumber', 'coupon' => 'coupon', 'department' => 'department', 'departmentId' => 'departmentId', 'deptDate' => 'deptDate', 'deptStation' => 'deptStation', 'deptTime' => 'deptTime', 'feeType' => 'feeType', 'index' => 'index', 'invoiceTitle' => 'invoiceTitle', 'orderId' => 'orderId', 'orderPrice' => 'orderPrice', 'overApplyId' => 'overApplyId', 'primaryId' => 'primaryId', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'refundFee' => 'refundFee', 'remark' => 'remark', 'runTime' => 'runTime', 'seatNo' => 'seatNo', 'seatType' => 'seatType', 'serviceFee' => 'serviceFee', 'settlementFee' => 'settlementFee', 'settlementGrantFee' => 'settlementGrantFee', 'settlementTime' => 'settlementTime', 'settlementType' => 'settlementType', 'shortTicketNo' => 'shortTicketNo', 'status' => 'status', 'ticketNo' => 'ticketNo', 'ticketPrice' => 'ticketPrice', 'trainNo' => 'trainNo', 'trainType' => 'trainType', 'travelerId' => 'travelerId', 'travelerJobNo' => 'travelerJobNo', 'travelerName' => 'travelerName', 'voucherType' => 'voucherType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayTradeNo) { $res['alipayTradeNo'] = $this->alipayTradeNo; } if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->arrDate) { $res['arrDate'] = $this->arrDate; } if (null !== $this->arrStation) { $res['arrStation'] = $this->arrStation; } if (null !== $this->arrTime) { $res['arrTime'] = $this->arrTime; } if (null !== $this->billRecordTime) { $res['billRecordTime'] = $this->billRecordTime; } if (null !== $this->bookTime) { $res['bookTime'] = $this->bookTime; } if (null !== $this->bookerId) { $res['bookerId'] = $this->bookerId; } if (null !== $this->bookerJobNo) { $res['bookerJobNo'] = $this->bookerJobNo; } if (null !== $this->bookerName) { $res['bookerName'] = $this->bookerName; } if (null !== $this->capitalDirection) { $res['capitalDirection'] = $this->capitalDirection; } if (null !== $this->cascadeDepartment) { $res['cascadeDepartment'] = $this->cascadeDepartment; } if (null !== $this->changeFee) { $res['changeFee'] = $this->changeFee; } if (null !== $this->coachNo) { $res['coachNo'] = $this->coachNo; } if (null !== $this->costCenter) { $res['costCenter'] = $this->costCenter; } if (null !== $this->costCenterNumber) { $res['costCenterNumber'] = $this->costCenterNumber; } if (null !== $this->coupon) { $res['coupon'] = $this->coupon; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->deptDate) { $res['deptDate'] = $this->deptDate; } if (null !== $this->deptStation) { $res['deptStation'] = $this->deptStation; } if (null !== $this->deptTime) { $res['deptTime'] = $this->deptTime; } if (null !== $this->feeType) { $res['feeType'] = $this->feeType; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->invoiceTitle) { $res['invoiceTitle'] = $this->invoiceTitle; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->orderPrice) { $res['orderPrice'] = $this->orderPrice; } if (null !== $this->overApplyId) { $res['overApplyId'] = $this->overApplyId; } if (null !== $this->primaryId) { $res['primaryId'] = $this->primaryId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->refundFee) { $res['refundFee'] = $this->refundFee; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->runTime) { $res['runTime'] = $this->runTime; } if (null !== $this->seatNo) { $res['seatNo'] = $this->seatNo; } if (null !== $this->seatType) { $res['seatType'] = $this->seatType; } if (null !== $this->serviceFee) { $res['serviceFee'] = $this->serviceFee; } if (null !== $this->settlementFee) { $res['settlementFee'] = $this->settlementFee; } if (null !== $this->settlementGrantFee) { $res['settlementGrantFee'] = $this->settlementGrantFee; } if (null !== $this->settlementTime) { $res['settlementTime'] = $this->settlementTime; } if (null !== $this->settlementType) { $res['settlementType'] = $this->settlementType; } if (null !== $this->shortTicketNo) { $res['shortTicketNo'] = $this->shortTicketNo; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->ticketNo) { $res['ticketNo'] = $this->ticketNo; } if (null !== $this->ticketPrice) { $res['ticketPrice'] = $this->ticketPrice; } if (null !== $this->trainNo) { $res['trainNo'] = $this->trainNo; } if (null !== $this->trainType) { $res['trainType'] = $this->trainType; } if (null !== $this->travelerId) { $res['travelerId'] = $this->travelerId; } if (null !== $this->travelerJobNo) { $res['travelerJobNo'] = $this->travelerJobNo; } if (null !== $this->travelerName) { $res['travelerName'] = $this->travelerName; } if (null !== $this->voucherType) { $res['voucherType'] = $this->voucherType; } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayTradeNo'])) { $model->alipayTradeNo = $map['alipayTradeNo']; } if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['arrDate'])) { $model->arrDate = $map['arrDate']; } if (isset($map['arrStation'])) { $model->arrStation = $map['arrStation']; } if (isset($map['arrTime'])) { $model->arrTime = $map['arrTime']; } if (isset($map['billRecordTime'])) { $model->billRecordTime = $map['billRecordTime']; } if (isset($map['bookTime'])) { $model->bookTime = $map['bookTime']; } if (isset($map['bookerId'])) { $model->bookerId = $map['bookerId']; } if (isset($map['bookerJobNo'])) { $model->bookerJobNo = $map['bookerJobNo']; } if (isset($map['bookerName'])) { $model->bookerName = $map['bookerName']; } if (isset($map['capitalDirection'])) { $model->capitalDirection = $map['capitalDirection']; } if (isset($map['cascadeDepartment'])) { $model->cascadeDepartment = $map['cascadeDepartment']; } if (isset($map['changeFee'])) { $model->changeFee = $map['changeFee']; } if (isset($map['coachNo'])) { $model->coachNo = $map['coachNo']; } if (isset($map['costCenter'])) { $model->costCenter = $map['costCenter']; } if (isset($map['costCenterNumber'])) { $model->costCenterNumber = $map['costCenterNumber']; } if (isset($map['coupon'])) { $model->coupon = $map['coupon']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['deptDate'])) { $model->deptDate = $map['deptDate']; } if (isset($map['deptStation'])) { $model->deptStation = $map['deptStation']; } if (isset($map['deptTime'])) { $model->deptTime = $map['deptTime']; } if (isset($map['feeType'])) { $model->feeType = $map['feeType']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['invoiceTitle'])) { $model->invoiceTitle = $map['invoiceTitle']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['orderPrice'])) { $model->orderPrice = $map['orderPrice']; } if (isset($map['overApplyId'])) { $model->overApplyId = $map['overApplyId']; } if (isset($map['primaryId'])) { $model->primaryId = $map['primaryId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['refundFee'])) { $model->refundFee = $map['refundFee']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['runTime'])) { $model->runTime = $map['runTime']; } if (isset($map['seatNo'])) { $model->seatNo = $map['seatNo']; } if (isset($map['seatType'])) { $model->seatType = $map['seatType']; } if (isset($map['serviceFee'])) { $model->serviceFee = $map['serviceFee']; } if (isset($map['settlementFee'])) { $model->settlementFee = $map['settlementFee']; } if (isset($map['settlementGrantFee'])) { $model->settlementGrantFee = $map['settlementGrantFee']; } if (isset($map['settlementTime'])) { $model->settlementTime = $map['settlementTime']; } if (isset($map['settlementType'])) { $model->settlementType = $map['settlementType']; } if (isset($map['shortTicketNo'])) { $model->shortTicketNo = $map['shortTicketNo']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['ticketNo'])) { $model->ticketNo = $map['ticketNo']; } if (isset($map['ticketPrice'])) { $model->ticketPrice = $map['ticketPrice']; } if (isset($map['trainNo'])) { $model->trainNo = $map['trainNo']; } if (isset($map['trainType'])) { $model->trainType = $map['trainType']; } if (isset($map['travelerId'])) { $model->travelerId = $map['travelerId']; } if (isset($map['travelerJobNo'])) { $model->travelerJobNo = $map['travelerJobNo']; } if (isset($map['travelerName'])) { $model->travelerName = $map['travelerName']; } if (isset($map['voucherType'])) { $model->voucherType = $map['voucherType']; } return $model; } } src/alitrip_1_0/Models/BillSettementCarHeaders.php 0000644 00000002337 14713400346 0016076 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BillSettementCarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/BillSettementCarRequest.php 0000644 00000004423 14713400346 0016151 0 ustar 00 'category', 'corpId' => 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } return $res; } /** * @param array $map * * @return BillSettementCarRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } return $model; } } src/alitrip_1_0/Models/BillSettementCarResponse.php 0000644 00000002735 14713400346 0016323 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BillSettementCarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BillSettementCarResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/BillSettementCarResponseBody.php 0000644 00000003510 14713400346 0017131 0 ustar 00 'module', 'resultCode' => 'resultCode', 'resultMsg' => 'resultMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = null !== $this->module ? $this->module->toMap() : null; } if (null !== $this->resultCode) { $res['resultCode'] = $this->resultCode; } if (null !== $this->resultMsg) { $res['resultMsg'] = $this->resultMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BillSettementCarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = module::fromMap($map['module']); } if (isset($map['resultCode'])) { $model->resultCode = $map['resultCode']; } if (isset($map['resultMsg'])) { $model->resultMsg = $map['resultMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/alitrip_1_0/Models/BillSettementCarResponseBody/module.php 0000644 00000005543 14713400346 0020426 0 ustar 00 'category', 'corpId' => 'corpId', 'dataList' => 'dataList', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->dataList) { $res['dataList'] = []; if (null !== $this->dataList && \is_array($this->dataList)) { $n = 0; foreach ($this->dataList as $item) { $res['dataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return module */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = []; $n = 0; foreach ($map['dataList'] as $item) { $model->dataList[$n++] = null !== $item ? dataList::fromMap($item) : $item; } } } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/alitrip_1_0/Models/BillSettementCarResponseBody/module/dataList.php 0000644 00000045160 14713400346 0022172 0 ustar 00 'alipayTradeNo', 'applyId' => 'applyId', 'arrCity' => 'arrCity', 'arrDate' => 'arrDate', 'arrLocation' => 'arrLocation', 'arrTime' => 'arrTime', 'billRecordTime' => 'billRecordTime', 'bookTime' => 'bookTime', 'bookerId' => 'bookerId', 'bookerJobNo' => 'bookerJobNo', 'bookerName' => 'bookerName', 'businessCategory' => 'businessCategory', 'capitalDirection' => 'capitalDirection', 'carLevel' => 'carLevel', 'cascadeDepartment' => 'cascadeDepartment', 'costCenter' => 'costCenter', 'costCenterNumber' => 'costCenterNumber', 'coupon' => 'coupon', 'couponPrice' => 'couponPrice', 'department' => 'department', 'departmentId' => 'departmentId', 'deptCity' => 'deptCity', 'deptDate' => 'deptDate', 'deptLocation' => 'deptLocation', 'deptTime' => 'deptTime', 'estimateDriveDistance' => 'estimateDriveDistance', 'estimatePrice' => 'estimatePrice', 'feeType' => 'feeType', 'index' => 'index', 'invoiceTitle' => 'invoiceTitle', 'memo' => 'memo', 'orderId' => 'orderId', 'orderPrice' => 'orderPrice', 'overApplyId' => 'overApplyId', 'personSettleFee' => 'personSettleFee', 'primaryId' => 'primaryId', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'providerName' => 'providerName', 'realDriveDistance' => 'realDriveDistance', 'realFromAddr' => 'realFromAddr', 'realToAddr' => 'realToAddr', 'remark' => 'remark', 'serviceFee' => 'serviceFee', 'settlementFee' => 'settlementFee', 'settlementGrantFee' => 'settlementGrantFee', 'settlementTime' => 'settlementTime', 'settlementType' => 'settlementType', 'specialOrder' => 'specialOrder', 'specialReason' => 'specialReason', 'status' => 'status', 'subOrderId' => 'subOrderId', 'travelerId' => 'travelerId', 'travelerJobNo' => 'travelerJobNo', 'travelerName' => 'travelerName', 'userConfirmDesc' => 'userConfirmDesc', 'voucherType' => 'voucherType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayTradeNo) { $res['alipayTradeNo'] = $this->alipayTradeNo; } if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->arrCity) { $res['arrCity'] = $this->arrCity; } if (null !== $this->arrDate) { $res['arrDate'] = $this->arrDate; } if (null !== $this->arrLocation) { $res['arrLocation'] = $this->arrLocation; } if (null !== $this->arrTime) { $res['arrTime'] = $this->arrTime; } if (null !== $this->billRecordTime) { $res['billRecordTime'] = $this->billRecordTime; } if (null !== $this->bookTime) { $res['bookTime'] = $this->bookTime; } if (null !== $this->bookerId) { $res['bookerId'] = $this->bookerId; } if (null !== $this->bookerJobNo) { $res['bookerJobNo'] = $this->bookerJobNo; } if (null !== $this->bookerName) { $res['bookerName'] = $this->bookerName; } if (null !== $this->businessCategory) { $res['businessCategory'] = $this->businessCategory; } if (null !== $this->capitalDirection) { $res['capitalDirection'] = $this->capitalDirection; } if (null !== $this->carLevel) { $res['carLevel'] = $this->carLevel; } if (null !== $this->cascadeDepartment) { $res['cascadeDepartment'] = $this->cascadeDepartment; } if (null !== $this->costCenter) { $res['costCenter'] = $this->costCenter; } if (null !== $this->costCenterNumber) { $res['costCenterNumber'] = $this->costCenterNumber; } if (null !== $this->coupon) { $res['coupon'] = $this->coupon; } if (null !== $this->couponPrice) { $res['couponPrice'] = $this->couponPrice; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->deptCity) { $res['deptCity'] = $this->deptCity; } if (null !== $this->deptDate) { $res['deptDate'] = $this->deptDate; } if (null !== $this->deptLocation) { $res['deptLocation'] = $this->deptLocation; } if (null !== $this->deptTime) { $res['deptTime'] = $this->deptTime; } if (null !== $this->estimateDriveDistance) { $res['estimateDriveDistance'] = $this->estimateDriveDistance; } if (null !== $this->estimatePrice) { $res['estimatePrice'] = $this->estimatePrice; } if (null !== $this->feeType) { $res['feeType'] = $this->feeType; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->invoiceTitle) { $res['invoiceTitle'] = $this->invoiceTitle; } if (null !== $this->memo) { $res['memo'] = $this->memo; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->orderPrice) { $res['orderPrice'] = $this->orderPrice; } if (null !== $this->overApplyId) { $res['overApplyId'] = $this->overApplyId; } if (null !== $this->personSettleFee) { $res['personSettleFee'] = $this->personSettleFee; } if (null !== $this->primaryId) { $res['primaryId'] = $this->primaryId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->providerName) { $res['providerName'] = $this->providerName; } if (null !== $this->realDriveDistance) { $res['realDriveDistance'] = $this->realDriveDistance; } if (null !== $this->realFromAddr) { $res['realFromAddr'] = $this->realFromAddr; } if (null !== $this->realToAddr) { $res['realToAddr'] = $this->realToAddr; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->serviceFee) { $res['serviceFee'] = $this->serviceFee; } if (null !== $this->settlementFee) { $res['settlementFee'] = $this->settlementFee; } if (null !== $this->settlementGrantFee) { $res['settlementGrantFee'] = $this->settlementGrantFee; } if (null !== $this->settlementTime) { $res['settlementTime'] = $this->settlementTime; } if (null !== $this->settlementType) { $res['settlementType'] = $this->settlementType; } if (null !== $this->specialOrder) { $res['specialOrder'] = $this->specialOrder; } if (null !== $this->specialReason) { $res['specialReason'] = $this->specialReason; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->subOrderId) { $res['subOrderId'] = $this->subOrderId; } if (null !== $this->travelerId) { $res['travelerId'] = $this->travelerId; } if (null !== $this->travelerJobNo) { $res['travelerJobNo'] = $this->travelerJobNo; } if (null !== $this->travelerName) { $res['travelerName'] = $this->travelerName; } if (null !== $this->userConfirmDesc) { $res['userConfirmDesc'] = $this->userConfirmDesc; } if (null !== $this->voucherType) { $res['voucherType'] = $this->voucherType; } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayTradeNo'])) { $model->alipayTradeNo = $map['alipayTradeNo']; } if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['arrCity'])) { $model->arrCity = $map['arrCity']; } if (isset($map['arrDate'])) { $model->arrDate = $map['arrDate']; } if (isset($map['arrLocation'])) { $model->arrLocation = $map['arrLocation']; } if (isset($map['arrTime'])) { $model->arrTime = $map['arrTime']; } if (isset($map['billRecordTime'])) { $model->billRecordTime = $map['billRecordTime']; } if (isset($map['bookTime'])) { $model->bookTime = $map['bookTime']; } if (isset($map['bookerId'])) { $model->bookerId = $map['bookerId']; } if (isset($map['bookerJobNo'])) { $model->bookerJobNo = $map['bookerJobNo']; } if (isset($map['bookerName'])) { $model->bookerName = $map['bookerName']; } if (isset($map['businessCategory'])) { $model->businessCategory = $map['businessCategory']; } if (isset($map['capitalDirection'])) { $model->capitalDirection = $map['capitalDirection']; } if (isset($map['carLevel'])) { $model->carLevel = $map['carLevel']; } if (isset($map['cascadeDepartment'])) { $model->cascadeDepartment = $map['cascadeDepartment']; } if (isset($map['costCenter'])) { $model->costCenter = $map['costCenter']; } if (isset($map['costCenterNumber'])) { $model->costCenterNumber = $map['costCenterNumber']; } if (isset($map['coupon'])) { $model->coupon = $map['coupon']; } if (isset($map['couponPrice'])) { $model->couponPrice = $map['couponPrice']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['deptCity'])) { $model->deptCity = $map['deptCity']; } if (isset($map['deptDate'])) { $model->deptDate = $map['deptDate']; } if (isset($map['deptLocation'])) { $model->deptLocation = $map['deptLocation']; } if (isset($map['deptTime'])) { $model->deptTime = $map['deptTime']; } if (isset($map['estimateDriveDistance'])) { $model->estimateDriveDistance = $map['estimateDriveDistance']; } if (isset($map['estimatePrice'])) { $model->estimatePrice = $map['estimatePrice']; } if (isset($map['feeType'])) { $model->feeType = $map['feeType']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['invoiceTitle'])) { $model->invoiceTitle = $map['invoiceTitle']; } if (isset($map['memo'])) { $model->memo = $map['memo']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['orderPrice'])) { $model->orderPrice = $map['orderPrice']; } if (isset($map['overApplyId'])) { $model->overApplyId = $map['overApplyId']; } if (isset($map['personSettleFee'])) { $model->personSettleFee = $map['personSettleFee']; } if (isset($map['primaryId'])) { $model->primaryId = $map['primaryId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['providerName'])) { $model->providerName = $map['providerName']; } if (isset($map['realDriveDistance'])) { $model->realDriveDistance = $map['realDriveDistance']; } if (isset($map['realFromAddr'])) { $model->realFromAddr = $map['realFromAddr']; } if (isset($map['realToAddr'])) { $model->realToAddr = $map['realToAddr']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['serviceFee'])) { $model->serviceFee = $map['serviceFee']; } if (isset($map['settlementFee'])) { $model->settlementFee = $map['settlementFee']; } if (isset($map['settlementGrantFee'])) { $model->settlementGrantFee = $map['settlementGrantFee']; } if (isset($map['settlementTime'])) { $model->settlementTime = $map['settlementTime']; } if (isset($map['settlementType'])) { $model->settlementType = $map['settlementType']; } if (isset($map['specialOrder'])) { $model->specialOrder = $map['specialOrder']; } if (isset($map['specialReason'])) { $model->specialReason = $map['specialReason']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['subOrderId'])) { $model->subOrderId = $map['subOrderId']; } if (isset($map['travelerId'])) { $model->travelerId = $map['travelerId']; } if (isset($map['travelerJobNo'])) { $model->travelerJobNo = $map['travelerJobNo']; } if (isset($map['travelerName'])) { $model->travelerName = $map['travelerName']; } if (isset($map['userConfirmDesc'])) { $model->userConfirmDesc = $map['userConfirmDesc']; } if (isset($map['voucherType'])) { $model->voucherType = $map['voucherType']; } return $model; } } src/alitrip_1_0/Models/BillSettementFlightHeaders.php 0000644 00000002345 14713400346 0016605 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BillSettementFlightHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/BillSettementFlightRequest.php 0000644 00000004707 14713400346 0016666 0 ustar 00 'category', 'corpId' => 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } return $res; } /** * @param array $map * * @return BillSettementFlightRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } return $model; } } src/alitrip_1_0/Models/BillSettementFlightResponse.php 0000644 00000002751 14713400346 0017031 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BillSettementFlightResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BillSettementFlightResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/BillSettementFlightResponseBody.php 0000644 00000003521 14713400346 0017643 0 ustar 00 'module', 'resultCode' => 'resultCode', 'resultMsg' => 'resultMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = null !== $this->module ? $this->module->toMap() : null; } if (null !== $this->resultCode) { $res['resultCode'] = $this->resultCode; } if (null !== $this->resultMsg) { $res['resultMsg'] = $this->resultMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BillSettementFlightResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = module::fromMap($map['module']); } if (isset($map['resultCode'])) { $model->resultCode = $map['resultCode']; } if (isset($map['resultMsg'])) { $model->resultMsg = $map['resultMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/alitrip_1_0/Models/BillSettementFlightResponseBody/module.php 0000644 00000005551 14713400346 0021135 0 ustar 00 'category', 'corpId' => 'corpId', 'dataList' => 'dataList', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->dataList) { $res['dataList'] = []; if (null !== $this->dataList && \is_array($this->dataList)) { $n = 0; foreach ($this->dataList as $item) { $res['dataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return module */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = []; $n = 0; foreach ($map['dataList'] as $item) { $model->dataList[$n++] = null !== $item ? dataList::fromMap($item) : $item; } } } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/alitrip_1_0/Models/BillSettementFlightResponseBody/module/dataList.php 0000644 00000056577 14713400346 0022720 0 ustar 00 'advanceDay', 'airlineCorpCode' => 'airlineCorpCode', 'airlineCorpName' => 'airlineCorpName', 'alipayTradeNo' => 'alipayTradeNo', 'applyId' => 'applyId', 'arrAirportCode' => 'arrAirportCode', 'arrCity' => 'arrCity', 'arrDate' => 'arrDate', 'arrStation' => 'arrStation', 'arrTime' => 'arrTime', 'billRecordTime' => 'billRecordTime', 'bookTime' => 'bookTime', 'bookerId' => 'bookerId', 'bookerJobNo' => 'bookerJobNo', 'bookerName' => 'bookerName', 'btripCouponFee' => 'btripCouponFee', 'buildFee' => 'buildFee', 'cabin' => 'cabin', 'cabinClass' => 'cabinClass', 'capitalDirection' => 'capitalDirection', 'cascadeDepartment' => 'cascadeDepartment', 'changeFee' => 'changeFee', 'corpPayOrderFee' => 'corpPayOrderFee', 'costCenter' => 'costCenter', 'costCenterNumber' => 'costCenterNumber', 'coupon' => 'coupon', 'depAirportCode' => 'depAirportCode', 'department' => 'department', 'departmentId' => 'departmentId', 'deptCity' => 'deptCity', 'deptDate' => 'deptDate', 'deptStation' => 'deptStation', 'deptTime' => 'deptTime', 'discount' => 'discount', 'feeType' => 'feeType', 'flightNo' => 'flightNo', 'index' => 'index', 'insuranceFee' => 'insuranceFee', 'invoiceTitle' => 'invoiceTitle', 'itineraryNum' => 'itineraryNum', 'itineraryPrice' => 'itineraryPrice', 'mostDifferenceDeptTime' => 'mostDifferenceDeptTime', 'mostDifferenceDiscount' => 'mostDifferenceDiscount', 'mostDifferenceFlightNo' => 'mostDifferenceFlightNo', 'mostDifferencePrice' => 'mostDifferencePrice', 'mostDifferenceReason' => 'mostDifferenceReason', 'mostPrice' => 'mostPrice', 'negotiationCouponFee' => 'negotiationCouponFee', 'oilFee' => 'oilFee', 'orderId' => 'orderId', 'overApplyId' => 'overApplyId', 'primaryId' => 'primaryId', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'refundFee' => 'refundFee', 'refundUpgradeCost' => 'refundUpgradeCost', 'remark' => 'remark', 'repeatRefund' => 'repeatRefund', 'sealPrice' => 'sealPrice', 'serviceFee' => 'serviceFee', 'settlementFee' => 'settlementFee', 'settlementGrantFee' => 'settlementGrantFee', 'settlementTime' => 'settlementTime', 'settlementType' => 'settlementType', 'status' => 'status', 'ticketId' => 'ticketId', 'travelerId' => 'travelerId', 'travelerJobNo' => 'travelerJobNo', 'travelerName' => 'travelerName', 'upgradeCost' => 'upgradeCost', 'voucherType' => 'voucherType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advanceDay) { $res['advanceDay'] = $this->advanceDay; } if (null !== $this->airlineCorpCode) { $res['airlineCorpCode'] = $this->airlineCorpCode; } if (null !== $this->airlineCorpName) { $res['airlineCorpName'] = $this->airlineCorpName; } if (null !== $this->alipayTradeNo) { $res['alipayTradeNo'] = $this->alipayTradeNo; } if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->arrAirportCode) { $res['arrAirportCode'] = $this->arrAirportCode; } if (null !== $this->arrCity) { $res['arrCity'] = $this->arrCity; } if (null !== $this->arrDate) { $res['arrDate'] = $this->arrDate; } if (null !== $this->arrStation) { $res['arrStation'] = $this->arrStation; } if (null !== $this->arrTime) { $res['arrTime'] = $this->arrTime; } if (null !== $this->billRecordTime) { $res['billRecordTime'] = $this->billRecordTime; } if (null !== $this->bookTime) { $res['bookTime'] = $this->bookTime; } if (null !== $this->bookerId) { $res['bookerId'] = $this->bookerId; } if (null !== $this->bookerJobNo) { $res['bookerJobNo'] = $this->bookerJobNo; } if (null !== $this->bookerName) { $res['bookerName'] = $this->bookerName; } if (null !== $this->btripCouponFee) { $res['btripCouponFee'] = $this->btripCouponFee; } if (null !== $this->buildFee) { $res['buildFee'] = $this->buildFee; } if (null !== $this->cabin) { $res['cabin'] = $this->cabin; } if (null !== $this->cabinClass) { $res['cabinClass'] = $this->cabinClass; } if (null !== $this->capitalDirection) { $res['capitalDirection'] = $this->capitalDirection; } if (null !== $this->cascadeDepartment) { $res['cascadeDepartment'] = $this->cascadeDepartment; } if (null !== $this->changeFee) { $res['changeFee'] = $this->changeFee; } if (null !== $this->corpPayOrderFee) { $res['corpPayOrderFee'] = $this->corpPayOrderFee; } if (null !== $this->costCenter) { $res['costCenter'] = $this->costCenter; } if (null !== $this->costCenterNumber) { $res['costCenterNumber'] = $this->costCenterNumber; } if (null !== $this->coupon) { $res['coupon'] = $this->coupon; } if (null !== $this->depAirportCode) { $res['depAirportCode'] = $this->depAirportCode; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->deptCity) { $res['deptCity'] = $this->deptCity; } if (null !== $this->deptDate) { $res['deptDate'] = $this->deptDate; } if (null !== $this->deptStation) { $res['deptStation'] = $this->deptStation; } if (null !== $this->deptTime) { $res['deptTime'] = $this->deptTime; } if (null !== $this->discount) { $res['discount'] = $this->discount; } if (null !== $this->feeType) { $res['feeType'] = $this->feeType; } if (null !== $this->flightNo) { $res['flightNo'] = $this->flightNo; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->insuranceFee) { $res['insuranceFee'] = $this->insuranceFee; } if (null !== $this->invoiceTitle) { $res['invoiceTitle'] = $this->invoiceTitle; } if (null !== $this->itineraryNum) { $res['itineraryNum'] = $this->itineraryNum; } if (null !== $this->itineraryPrice) { $res['itineraryPrice'] = $this->itineraryPrice; } if (null !== $this->mostDifferenceDeptTime) { $res['mostDifferenceDeptTime'] = $this->mostDifferenceDeptTime; } if (null !== $this->mostDifferenceDiscount) { $res['mostDifferenceDiscount'] = $this->mostDifferenceDiscount; } if (null !== $this->mostDifferenceFlightNo) { $res['mostDifferenceFlightNo'] = $this->mostDifferenceFlightNo; } if (null !== $this->mostDifferencePrice) { $res['mostDifferencePrice'] = $this->mostDifferencePrice; } if (null !== $this->mostDifferenceReason) { $res['mostDifferenceReason'] = $this->mostDifferenceReason; } if (null !== $this->mostPrice) { $res['mostPrice'] = $this->mostPrice; } if (null !== $this->negotiationCouponFee) { $res['negotiationCouponFee'] = $this->negotiationCouponFee; } if (null !== $this->oilFee) { $res['oilFee'] = $this->oilFee; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->overApplyId) { $res['overApplyId'] = $this->overApplyId; } if (null !== $this->primaryId) { $res['primaryId'] = $this->primaryId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->refundFee) { $res['refundFee'] = $this->refundFee; } if (null !== $this->refundUpgradeCost) { $res['refundUpgradeCost'] = $this->refundUpgradeCost; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->repeatRefund) { $res['repeatRefund'] = $this->repeatRefund; } if (null !== $this->sealPrice) { $res['sealPrice'] = $this->sealPrice; } if (null !== $this->serviceFee) { $res['serviceFee'] = $this->serviceFee; } if (null !== $this->settlementFee) { $res['settlementFee'] = $this->settlementFee; } if (null !== $this->settlementGrantFee) { $res['settlementGrantFee'] = $this->settlementGrantFee; } if (null !== $this->settlementTime) { $res['settlementTime'] = $this->settlementTime; } if (null !== $this->settlementType) { $res['settlementType'] = $this->settlementType; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->ticketId) { $res['ticketId'] = $this->ticketId; } if (null !== $this->travelerId) { $res['travelerId'] = $this->travelerId; } if (null !== $this->travelerJobNo) { $res['travelerJobNo'] = $this->travelerJobNo; } if (null !== $this->travelerName) { $res['travelerName'] = $this->travelerName; } if (null !== $this->upgradeCost) { $res['upgradeCost'] = $this->upgradeCost; } if (null !== $this->voucherType) { $res['voucherType'] = $this->voucherType; } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advanceDay'])) { $model->advanceDay = $map['advanceDay']; } if (isset($map['airlineCorpCode'])) { $model->airlineCorpCode = $map['airlineCorpCode']; } if (isset($map['airlineCorpName'])) { $model->airlineCorpName = $map['airlineCorpName']; } if (isset($map['alipayTradeNo'])) { $model->alipayTradeNo = $map['alipayTradeNo']; } if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['arrAirportCode'])) { $model->arrAirportCode = $map['arrAirportCode']; } if (isset($map['arrCity'])) { $model->arrCity = $map['arrCity']; } if (isset($map['arrDate'])) { $model->arrDate = $map['arrDate']; } if (isset($map['arrStation'])) { $model->arrStation = $map['arrStation']; } if (isset($map['arrTime'])) { $model->arrTime = $map['arrTime']; } if (isset($map['billRecordTime'])) { $model->billRecordTime = $map['billRecordTime']; } if (isset($map['bookTime'])) { $model->bookTime = $map['bookTime']; } if (isset($map['bookerId'])) { $model->bookerId = $map['bookerId']; } if (isset($map['bookerJobNo'])) { $model->bookerJobNo = $map['bookerJobNo']; } if (isset($map['bookerName'])) { $model->bookerName = $map['bookerName']; } if (isset($map['btripCouponFee'])) { $model->btripCouponFee = $map['btripCouponFee']; } if (isset($map['buildFee'])) { $model->buildFee = $map['buildFee']; } if (isset($map['cabin'])) { $model->cabin = $map['cabin']; } if (isset($map['cabinClass'])) { $model->cabinClass = $map['cabinClass']; } if (isset($map['capitalDirection'])) { $model->capitalDirection = $map['capitalDirection']; } if (isset($map['cascadeDepartment'])) { $model->cascadeDepartment = $map['cascadeDepartment']; } if (isset($map['changeFee'])) { $model->changeFee = $map['changeFee']; } if (isset($map['corpPayOrderFee'])) { $model->corpPayOrderFee = $map['corpPayOrderFee']; } if (isset($map['costCenter'])) { $model->costCenter = $map['costCenter']; } if (isset($map['costCenterNumber'])) { $model->costCenterNumber = $map['costCenterNumber']; } if (isset($map['coupon'])) { $model->coupon = $map['coupon']; } if (isset($map['depAirportCode'])) { $model->depAirportCode = $map['depAirportCode']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['deptCity'])) { $model->deptCity = $map['deptCity']; } if (isset($map['deptDate'])) { $model->deptDate = $map['deptDate']; } if (isset($map['deptStation'])) { $model->deptStation = $map['deptStation']; } if (isset($map['deptTime'])) { $model->deptTime = $map['deptTime']; } if (isset($map['discount'])) { $model->discount = $map['discount']; } if (isset($map['feeType'])) { $model->feeType = $map['feeType']; } if (isset($map['flightNo'])) { $model->flightNo = $map['flightNo']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['insuranceFee'])) { $model->insuranceFee = $map['insuranceFee']; } if (isset($map['invoiceTitle'])) { $model->invoiceTitle = $map['invoiceTitle']; } if (isset($map['itineraryNum'])) { $model->itineraryNum = $map['itineraryNum']; } if (isset($map['itineraryPrice'])) { $model->itineraryPrice = $map['itineraryPrice']; } if (isset($map['mostDifferenceDeptTime'])) { $model->mostDifferenceDeptTime = $map['mostDifferenceDeptTime']; } if (isset($map['mostDifferenceDiscount'])) { $model->mostDifferenceDiscount = $map['mostDifferenceDiscount']; } if (isset($map['mostDifferenceFlightNo'])) { $model->mostDifferenceFlightNo = $map['mostDifferenceFlightNo']; } if (isset($map['mostDifferencePrice'])) { $model->mostDifferencePrice = $map['mostDifferencePrice']; } if (isset($map['mostDifferenceReason'])) { $model->mostDifferenceReason = $map['mostDifferenceReason']; } if (isset($map['mostPrice'])) { $model->mostPrice = $map['mostPrice']; } if (isset($map['negotiationCouponFee'])) { $model->negotiationCouponFee = $map['negotiationCouponFee']; } if (isset($map['oilFee'])) { $model->oilFee = $map['oilFee']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['overApplyId'])) { $model->overApplyId = $map['overApplyId']; } if (isset($map['primaryId'])) { $model->primaryId = $map['primaryId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['refundFee'])) { $model->refundFee = $map['refundFee']; } if (isset($map['refundUpgradeCost'])) { $model->refundUpgradeCost = $map['refundUpgradeCost']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['repeatRefund'])) { $model->repeatRefund = $map['repeatRefund']; } if (isset($map['sealPrice'])) { $model->sealPrice = $map['sealPrice']; } if (isset($map['serviceFee'])) { $model->serviceFee = $map['serviceFee']; } if (isset($map['settlementFee'])) { $model->settlementFee = $map['settlementFee']; } if (isset($map['settlementGrantFee'])) { $model->settlementGrantFee = $map['settlementGrantFee']; } if (isset($map['settlementTime'])) { $model->settlementTime = $map['settlementTime']; } if (isset($map['settlementType'])) { $model->settlementType = $map['settlementType']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['ticketId'])) { $model->ticketId = $map['ticketId']; } if (isset($map['travelerId'])) { $model->travelerId = $map['travelerId']; } if (isset($map['travelerJobNo'])) { $model->travelerJobNo = $map['travelerJobNo']; } if (isset($map['travelerName'])) { $model->travelerName = $map['travelerName']; } if (isset($map['upgradeCost'])) { $model->upgradeCost = $map['upgradeCost']; } if (isset($map['voucherType'])) { $model->voucherType = $map['voucherType']; } return $model; } } src/alitrip_1_0/Models/BillSettementHotelHeaders.php 0000644 00000002343 14713400346 0016441 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BillSettementHotelHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/BillSettementHotelRequest.php 0000644 00000004705 14713400346 0016522 0 ustar 00 'category', 'corpId' => 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } return $res; } /** * @param array $map * * @return BillSettementHotelRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } return $model; } } src/alitrip_1_0/Models/BillSettementHotelResponse.php 0000644 00000002745 14713400346 0016672 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BillSettementHotelResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BillSettementHotelResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/BillSettementHotelResponseBody.php 0000644 00000003516 14713400346 0017505 0 ustar 00 'module', 'resultCode' => 'resultCode', 'resultMsg' => 'resultMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = null !== $this->module ? $this->module->toMap() : null; } if (null !== $this->resultCode) { $res['resultCode'] = $this->resultCode; } if (null !== $this->resultMsg) { $res['resultMsg'] = $this->resultMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BillSettementHotelResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = module::fromMap($map['module']); } if (isset($map['resultCode'])) { $model->resultCode = $map['resultCode']; } if (isset($map['resultMsg'])) { $model->resultMsg = $map['resultMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/alitrip_1_0/Models/BillSettementHotelResponseBody/module.php 0000644 00000005547 14713400346 0021000 0 ustar 00 'category', 'corpId' => 'corpId', 'dataList' => 'dataList', 'periodEnd' => 'periodEnd', 'periodStart' => 'periodStart', 'totalNum' => 'totalNum', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->dataList) { $res['dataList'] = []; if (null !== $this->dataList && \is_array($this->dataList)) { $n = 0; foreach ($this->dataList as $item) { $res['dataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->periodEnd) { $res['periodEnd'] = $this->periodEnd; } if (null !== $this->periodStart) { $res['periodStart'] = $this->periodStart; } if (null !== $this->totalNum) { $res['totalNum'] = $this->totalNum; } return $res; } /** * @param array $map * * @return module */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = []; $n = 0; foreach ($map['dataList'] as $item) { $model->dataList[$n++] = null !== $item ? dataList::fromMap($item) : $item; } } } if (isset($map['periodEnd'])) { $model->periodEnd = $map['periodEnd']; } if (isset($map['periodStart'])) { $model->periodStart = $map['periodStart']; } if (isset($map['totalNum'])) { $model->totalNum = $map['totalNum']; } return $model; } } src/alitrip_1_0/Models/BillSettementHotelResponseBody/module/dataList.php 0000644 00000042054 14713400346 0022537 0 ustar 00 'alipayTradeNo', 'applyId' => 'applyId', 'billRecordTime' => 'billRecordTime', 'bookTime' => 'bookTime', 'bookerId' => 'bookerId', 'bookerJobNo' => 'bookerJobNo', 'bookerName' => 'bookerName', 'capitalDirection' => 'capitalDirection', 'cascadeDepartment' => 'cascadeDepartment', 'checkInDate' => 'checkInDate', 'checkoutDate' => 'checkoutDate', 'city' => 'city', 'cityCode' => 'cityCode', 'corpRefundFee' => 'corpRefundFee', 'corpTotalFee' => 'corpTotalFee', 'costCenter' => 'costCenter', 'costCenterNumber' => 'costCenterNumber', 'department' => 'department', 'departmentId' => 'departmentId', 'feeType' => 'feeType', 'fees' => 'fees', 'fuPointFee' => 'fuPointFee', 'hotelName' => 'hotelName', 'index' => 'index', 'invoiceTitle' => 'invoiceTitle', 'isNegotiation' => 'isNegotiation', 'isShareStr' => 'isShareStr', 'nights' => 'nights', 'orderId' => 'orderId', 'orderPrice' => 'orderPrice', 'orderType' => 'orderType', 'overApplyId' => 'overApplyId', 'personRefundFee' => 'personRefundFee', 'personSettlePrice' => 'personSettlePrice', 'primaryId' => 'primaryId', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'promotionFee' => 'promotionFee', 'remark' => 'remark', 'roomNumber' => 'roomNumber', 'roomPrice' => 'roomPrice', 'roomType' => 'roomType', 'serviceFee' => 'serviceFee', 'settlementFee' => 'settlementFee', 'settlementGrantFee' => 'settlementGrantFee', 'settlementTime' => 'settlementTime', 'settlementType' => 'settlementType', 'status' => 'status', 'totalNights' => 'totalNights', 'travelerId' => 'travelerId', 'travelerJobNo' => 'travelerJobNo', 'travelerName' => 'travelerName', 'voucherType' => 'voucherType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayTradeNo) { $res['alipayTradeNo'] = $this->alipayTradeNo; } if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->billRecordTime) { $res['billRecordTime'] = $this->billRecordTime; } if (null !== $this->bookTime) { $res['bookTime'] = $this->bookTime; } if (null !== $this->bookerId) { $res['bookerId'] = $this->bookerId; } if (null !== $this->bookerJobNo) { $res['bookerJobNo'] = $this->bookerJobNo; } if (null !== $this->bookerName) { $res['bookerName'] = $this->bookerName; } if (null !== $this->capitalDirection) { $res['capitalDirection'] = $this->capitalDirection; } if (null !== $this->cascadeDepartment) { $res['cascadeDepartment'] = $this->cascadeDepartment; } if (null !== $this->checkInDate) { $res['checkInDate'] = $this->checkInDate; } if (null !== $this->checkoutDate) { $res['checkoutDate'] = $this->checkoutDate; } if (null !== $this->city) { $res['city'] = $this->city; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->corpRefundFee) { $res['corpRefundFee'] = $this->corpRefundFee; } if (null !== $this->corpTotalFee) { $res['corpTotalFee'] = $this->corpTotalFee; } if (null !== $this->costCenter) { $res['costCenter'] = $this->costCenter; } if (null !== $this->costCenterNumber) { $res['costCenterNumber'] = $this->costCenterNumber; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->feeType) { $res['feeType'] = $this->feeType; } if (null !== $this->fees) { $res['fees'] = $this->fees; } if (null !== $this->fuPointFee) { $res['fuPointFee'] = $this->fuPointFee; } if (null !== $this->hotelName) { $res['hotelName'] = $this->hotelName; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->invoiceTitle) { $res['invoiceTitle'] = $this->invoiceTitle; } if (null !== $this->isNegotiation) { $res['isNegotiation'] = $this->isNegotiation; } if (null !== $this->isShareStr) { $res['isShareStr'] = $this->isShareStr; } if (null !== $this->nights) { $res['nights'] = $this->nights; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->orderPrice) { $res['orderPrice'] = $this->orderPrice; } if (null !== $this->orderType) { $res['orderType'] = $this->orderType; } if (null !== $this->overApplyId) { $res['overApplyId'] = $this->overApplyId; } if (null !== $this->personRefundFee) { $res['personRefundFee'] = $this->personRefundFee; } if (null !== $this->personSettlePrice) { $res['personSettlePrice'] = $this->personSettlePrice; } if (null !== $this->primaryId) { $res['primaryId'] = $this->primaryId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->promotionFee) { $res['promotionFee'] = $this->promotionFee; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->roomNumber) { $res['roomNumber'] = $this->roomNumber; } if (null !== $this->roomPrice) { $res['roomPrice'] = $this->roomPrice; } if (null !== $this->roomType) { $res['roomType'] = $this->roomType; } if (null !== $this->serviceFee) { $res['serviceFee'] = $this->serviceFee; } if (null !== $this->settlementFee) { $res['settlementFee'] = $this->settlementFee; } if (null !== $this->settlementGrantFee) { $res['settlementGrantFee'] = $this->settlementGrantFee; } if (null !== $this->settlementTime) { $res['settlementTime'] = $this->settlementTime; } if (null !== $this->settlementType) { $res['settlementType'] = $this->settlementType; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->totalNights) { $res['totalNights'] = $this->totalNights; } if (null !== $this->travelerId) { $res['travelerId'] = $this->travelerId; } if (null !== $this->travelerJobNo) { $res['travelerJobNo'] = $this->travelerJobNo; } if (null !== $this->travelerName) { $res['travelerName'] = $this->travelerName; } if (null !== $this->voucherType) { $res['voucherType'] = $this->voucherType; } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayTradeNo'])) { $model->alipayTradeNo = $map['alipayTradeNo']; } if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['billRecordTime'])) { $model->billRecordTime = $map['billRecordTime']; } if (isset($map['bookTime'])) { $model->bookTime = $map['bookTime']; } if (isset($map['bookerId'])) { $model->bookerId = $map['bookerId']; } if (isset($map['bookerJobNo'])) { $model->bookerJobNo = $map['bookerJobNo']; } if (isset($map['bookerName'])) { $model->bookerName = $map['bookerName']; } if (isset($map['capitalDirection'])) { $model->capitalDirection = $map['capitalDirection']; } if (isset($map['cascadeDepartment'])) { $model->cascadeDepartment = $map['cascadeDepartment']; } if (isset($map['checkInDate'])) { $model->checkInDate = $map['checkInDate']; } if (isset($map['checkoutDate'])) { $model->checkoutDate = $map['checkoutDate']; } if (isset($map['city'])) { $model->city = $map['city']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['corpRefundFee'])) { $model->corpRefundFee = $map['corpRefundFee']; } if (isset($map['corpTotalFee'])) { $model->corpTotalFee = $map['corpTotalFee']; } if (isset($map['costCenter'])) { $model->costCenter = $map['costCenter']; } if (isset($map['costCenterNumber'])) { $model->costCenterNumber = $map['costCenterNumber']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['feeType'])) { $model->feeType = $map['feeType']; } if (isset($map['fees'])) { $model->fees = $map['fees']; } if (isset($map['fuPointFee'])) { $model->fuPointFee = $map['fuPointFee']; } if (isset($map['hotelName'])) { $model->hotelName = $map['hotelName']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['invoiceTitle'])) { $model->invoiceTitle = $map['invoiceTitle']; } if (isset($map['isNegotiation'])) { $model->isNegotiation = $map['isNegotiation']; } if (isset($map['isShareStr'])) { $model->isShareStr = $map['isShareStr']; } if (isset($map['nights'])) { $model->nights = $map['nights']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['orderPrice'])) { $model->orderPrice = $map['orderPrice']; } if (isset($map['orderType'])) { $model->orderType = $map['orderType']; } if (isset($map['overApplyId'])) { $model->overApplyId = $map['overApplyId']; } if (isset($map['personRefundFee'])) { $model->personRefundFee = $map['personRefundFee']; } if (isset($map['personSettlePrice'])) { $model->personSettlePrice = $map['personSettlePrice']; } if (isset($map['primaryId'])) { $model->primaryId = $map['primaryId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['promotionFee'])) { $model->promotionFee = $map['promotionFee']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['roomNumber'])) { $model->roomNumber = $map['roomNumber']; } if (isset($map['roomPrice'])) { $model->roomPrice = $map['roomPrice']; } if (isset($map['roomType'])) { $model->roomType = $map['roomType']; } if (isset($map['serviceFee'])) { $model->serviceFee = $map['serviceFee']; } if (isset($map['settlementFee'])) { $model->settlementFee = $map['settlementFee']; } if (isset($map['settlementGrantFee'])) { $model->settlementGrantFee = $map['settlementGrantFee']; } if (isset($map['settlementTime'])) { $model->settlementTime = $map['settlementTime']; } if (isset($map['settlementType'])) { $model->settlementType = $map['settlementType']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['totalNights'])) { $model->totalNights = $map['totalNights']; } if (isset($map['travelerId'])) { $model->travelerId = $map['travelerId']; } if (isset($map['travelerJobNo'])) { $model->travelerJobNo = $map['travelerJobNo']; } if (isset($map['travelerName'])) { $model->travelerName = $map['travelerName']; } if (isset($map['voucherType'])) { $model->voucherType = $map['voucherType']; } return $model; } } src/alitrip_1_0/Models/GetFlightExceedApplyHeaders.php 0000644 00000002347 14713400346 0016677 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFlightExceedApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/GetFlightExceedApplyRequest.php 0000644 00000002402 14713400346 0016744 0 ustar 00 'applyId', 'corpId' => 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return GetFlightExceedApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/alitrip_1_0/Models/GetFlightExceedApplyResponse.php 0000644 00000002755 14713400346 0017125 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFlightExceedApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFlightExceedApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/GetFlightExceedApplyResponseBody.php 0000644 00000012175 14713400346 0017740 0 ustar 00 'applyId', 'applyIntentionInfoDO' => 'applyIntentionInfoDO', 'btripCause' => 'btripCause', 'corpId' => 'corpId', 'exceedReason' => 'exceedReason', 'exceedType' => 'exceedType', 'originStandard' => 'originStandard', 'status' => 'status', 'submitTime' => 'submitTime', 'thirdpartApplyId' => 'thirdpartApplyId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->applyIntentionInfoDO) { $res['applyIntentionInfoDO'] = null !== $this->applyIntentionInfoDO ? $this->applyIntentionInfoDO->toMap() : null; } if (null !== $this->btripCause) { $res['btripCause'] = $this->btripCause; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->exceedReason) { $res['exceedReason'] = $this->exceedReason; } if (null !== $this->exceedType) { $res['exceedType'] = $this->exceedType; } if (null !== $this->originStandard) { $res['originStandard'] = $this->originStandard; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->submitTime) { $res['submitTime'] = $this->submitTime; } if (null !== $this->thirdpartApplyId) { $res['thirdpartApplyId'] = $this->thirdpartApplyId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetFlightExceedApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['applyIntentionInfoDO'])) { $model->applyIntentionInfoDO = applyIntentionInfoDO::fromMap($map['applyIntentionInfoDO']); } if (isset($map['btripCause'])) { $model->btripCause = $map['btripCause']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['exceedReason'])) { $model->exceedReason = $map['exceedReason']; } if (isset($map['exceedType'])) { $model->exceedType = $map['exceedType']; } if (isset($map['originStandard'])) { $model->originStandard = $map['originStandard']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['submitTime'])) { $model->submitTime = $map['submitTime']; } if (isset($map['thirdpartApplyId'])) { $model->thirdpartApplyId = $map['thirdpartApplyId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/GetFlightExceedApplyResponseBody/applyIntentionInfoDO.php 0000644 00000012550 14713400346 0024011 0 ustar 00 'arrCity', 'arrCityName' => 'arrCityName', 'arrTime' => 'arrTime', 'cabin' => 'cabin', 'cabinClass' => 'cabinClass', 'cabinClassStr' => 'cabinClassStr', 'depCity' => 'depCity', 'depCityName' => 'depCityName', 'depTime' => 'depTime', 'discount' => 'discount', 'flightNo' => 'flightNo', 'price' => 'price', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arrCity) { $res['arrCity'] = $this->arrCity; } if (null !== $this->arrCityName) { $res['arrCityName'] = $this->arrCityName; } if (null !== $this->arrTime) { $res['arrTime'] = $this->arrTime; } if (null !== $this->cabin) { $res['cabin'] = $this->cabin; } if (null !== $this->cabinClass) { $res['cabinClass'] = $this->cabinClass; } if (null !== $this->cabinClassStr) { $res['cabinClassStr'] = $this->cabinClassStr; } if (null !== $this->depCity) { $res['depCity'] = $this->depCity; } if (null !== $this->depCityName) { $res['depCityName'] = $this->depCityName; } if (null !== $this->depTime) { $res['depTime'] = $this->depTime; } if (null !== $this->discount) { $res['discount'] = $this->discount; } if (null !== $this->flightNo) { $res['flightNo'] = $this->flightNo; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return applyIntentionInfoDO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arrCity'])) { $model->arrCity = $map['arrCity']; } if (isset($map['arrCityName'])) { $model->arrCityName = $map['arrCityName']; } if (isset($map['arrTime'])) { $model->arrTime = $map['arrTime']; } if (isset($map['cabin'])) { $model->cabin = $map['cabin']; } if (isset($map['cabinClass'])) { $model->cabinClass = $map['cabinClass']; } if (isset($map['cabinClassStr'])) { $model->cabinClassStr = $map['cabinClassStr']; } if (isset($map['depCity'])) { $model->depCity = $map['depCity']; } if (isset($map['depCityName'])) { $model->depCityName = $map['depCityName']; } if (isset($map['depTime'])) { $model->depTime = $map['depTime']; } if (isset($map['discount'])) { $model->discount = $map['discount']; } if (isset($map['flightNo'])) { $model->flightNo = $map['flightNo']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/alitrip_1_0/Models/GetHotelExceedApplyHeaders.php 0000644 00000002345 14713400346 0016533 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetHotelExceedApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/GetHotelExceedApplyRequest.php 0000644 00000002402 14713400346 0016602 0 ustar 00 'applyId', 'corpId' => 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return GetHotelExceedApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/alitrip_1_0/Models/GetHotelExceedApplyResponse.php 0000644 00000002751 14713400346 0016757 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetHotelExceedApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetHotelExceedApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/GetHotelExceedApplyResponseBody.php 0000644 00000012147 14713400346 0017575 0 ustar 00 'applyId', 'applyIntentionInfoDO' => 'applyIntentionInfoDO', 'btripCause' => 'btripCause', 'corpId' => 'corpId', 'exceedReason' => 'exceedReason', 'exceedType' => 'exceedType', 'originStandard' => 'originStandard', 'status' => 'status', 'submitTime' => 'submitTime', 'thirdpartApplyId' => 'thirdpartApplyId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->applyIntentionInfoDO) { $res['applyIntentionInfoDO'] = null !== $this->applyIntentionInfoDO ? $this->applyIntentionInfoDO->toMap() : null; } if (null !== $this->btripCause) { $res['btripCause'] = $this->btripCause; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->exceedReason) { $res['exceedReason'] = $this->exceedReason; } if (null !== $this->exceedType) { $res['exceedType'] = $this->exceedType; } if (null !== $this->originStandard) { $res['originStandard'] = $this->originStandard; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->submitTime) { $res['submitTime'] = $this->submitTime; } if (null !== $this->thirdpartApplyId) { $res['thirdpartApplyId'] = $this->thirdpartApplyId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetHotelExceedApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['applyIntentionInfoDO'])) { $model->applyIntentionInfoDO = applyIntentionInfoDO::fromMap($map['applyIntentionInfoDO']); } if (isset($map['btripCause'])) { $model->btripCause = $map['btripCause']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['exceedReason'])) { $model->exceedReason = $map['exceedReason']; } if (isset($map['exceedType'])) { $model->exceedType = $map['exceedType']; } if (isset($map['originStandard'])) { $model->originStandard = $map['originStandard']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['submitTime'])) { $model->submitTime = $map['submitTime']; } if (isset($map['thirdpartApplyId'])) { $model->thirdpartApplyId = $map['thirdpartApplyId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/GetHotelExceedApplyResponseBody/applyIntentionInfoDO.php 0000644 00000006055 14713400346 0023652 0 ustar 00 'checkIn', 'checkOut' => 'checkOut', 'cityCode' => 'cityCode', 'cityName' => 'cityName', 'price' => 'price', 'together' => 'together', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkIn) { $res['checkIn'] = $this->checkIn; } if (null !== $this->checkOut) { $res['checkOut'] = $this->checkOut; } if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->cityName) { $res['cityName'] = $this->cityName; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->together) { $res['together'] = $this->together; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return applyIntentionInfoDO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkIn'])) { $model->checkIn = $map['checkIn']; } if (isset($map['checkOut'])) { $model->checkOut = $map['checkOut']; } if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['cityName'])) { $model->cityName = $map['cityName']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['together'])) { $model->together = $map['together']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/alitrip_1_0/Models/GetTrainExceedApplyHeaders.php 0000644 00000002345 14713400346 0016535 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTrainExceedApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/GetTrainExceedApplyRequest.php 0000644 00000002401 14713400346 0016603 0 ustar 00 'applyId', 'corpId' => 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return GetTrainExceedApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/alitrip_1_0/Models/GetTrainExceedApplyResponse.php 0000644 00000002751 14713400346 0016761 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTrainExceedApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTrainExceedApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/GetTrainExceedApplyResponseBody.php 0000644 00000012154 14713400346 0017575 0 ustar 00 'applyId', 'applyIntentionInfoDO' => 'applyIntentionInfoDO', 'btripCause' => 'btripCause', 'corpId' => 'corpId', 'exceedReason' => 'exceedReason', 'exceedType' => 'exceedType', 'originStandard' => 'originStandard', 'status' => 'status', 'submitTime' => 'submitTime', 'thirdpartApplyId' => 'thirdpartApplyId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->applyIntentionInfoDO) { $res['applyIntentionInfoDO'] = null !== $this->applyIntentionInfoDO ? $this->applyIntentionInfoDO->toMap() : null; } if (null !== $this->btripCause) { $res['btripCause'] = $this->btripCause; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->exceedReason) { $res['exceedReason'] = $this->exceedReason; } if (null !== $this->exceedType) { $res['exceedType'] = $this->exceedType; } if (null !== $this->originStandard) { $res['originStandard'] = $this->originStandard; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->submitTime) { $res['submitTime'] = $this->submitTime; } if (null !== $this->thirdpartApplyId) { $res['thirdpartApplyId'] = $this->thirdpartApplyId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetTrainExceedApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['applyIntentionInfoDO'])) { $model->applyIntentionInfoDO = applyIntentionInfoDO::fromMap($map['applyIntentionInfoDO']); } if (isset($map['btripCause'])) { $model->btripCause = $map['btripCause']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['exceedReason'])) { $model->exceedReason = $map['exceedReason']; } if (isset($map['exceedType'])) { $model->exceedType = $map['exceedType']; } if (isset($map['originStandard'])) { $model->originStandard = $map['originStandard']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['submitTime'])) { $model->submitTime = $map['submitTime']; } if (isset($map['thirdpartApplyId'])) { $model->thirdpartApplyId = $map['thirdpartApplyId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/GetTrainExceedApplyResponseBody/applyIntentionInfoDO.php 0000644 00000012111 14713400346 0023642 0 ustar 00 'arrCity', 'arrCityName' => 'arrCityName', 'arrStation' => 'arrStation', 'arrTime' => 'arrTime', 'depCity' => 'depCity', 'depCityName' => 'depCityName', 'depStation' => 'depStation', 'depTime' => 'depTime', 'price' => 'price', 'seatName' => 'seatName', 'trainNo' => 'trainNo', 'trainTypeDesc' => 'trainTypeDesc', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arrCity) { $res['arrCity'] = $this->arrCity; } if (null !== $this->arrCityName) { $res['arrCityName'] = $this->arrCityName; } if (null !== $this->arrStation) { $res['arrStation'] = $this->arrStation; } if (null !== $this->arrTime) { $res['arrTime'] = $this->arrTime; } if (null !== $this->depCity) { $res['depCity'] = $this->depCity; } if (null !== $this->depCityName) { $res['depCityName'] = $this->depCityName; } if (null !== $this->depStation) { $res['depStation'] = $this->depStation; } if (null !== $this->depTime) { $res['depTime'] = $this->depTime; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->seatName) { $res['seatName'] = $this->seatName; } if (null !== $this->trainNo) { $res['trainNo'] = $this->trainNo; } if (null !== $this->trainTypeDesc) { $res['trainTypeDesc'] = $this->trainTypeDesc; } return $res; } /** * @param array $map * * @return applyIntentionInfoDO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arrCity'])) { $model->arrCity = $map['arrCity']; } if (isset($map['arrCityName'])) { $model->arrCityName = $map['arrCityName']; } if (isset($map['arrStation'])) { $model->arrStation = $map['arrStation']; } if (isset($map['arrTime'])) { $model->arrTime = $map['arrTime']; } if (isset($map['depCity'])) { $model->depCity = $map['depCity']; } if (isset($map['depCityName'])) { $model->depCityName = $map['depCityName']; } if (isset($map['depStation'])) { $model->depStation = $map['depStation']; } if (isset($map['depTime'])) { $model->depTime = $map['depTime']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['seatName'])) { $model->seatName = $map['seatName']; } if (isset($map['trainNo'])) { $model->trainNo = $map['trainNo']; } if (isset($map['trainTypeDesc'])) { $model->trainTypeDesc = $map['trainTypeDesc']; } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyHeaders.php 0000644 00000002341 14713400346 0016262 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCityCarApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyRequest.php 0000644 00000005726 14713400346 0016351 0 ustar 00 'corpId', 'createdEndAt' => 'createdEndAt', 'createdStartAt' => 'createdStartAt', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'thirdPartApplyId' => 'thirdPartApplyId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createdEndAt) { $res['createdEndAt'] = $this->createdEndAt; } if (null !== $this->createdStartAt) { $res['createdStartAt'] = $this->createdStartAt; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->thirdPartApplyId) { $res['thirdPartApplyId'] = $this->thirdPartApplyId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryCityCarApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createdEndAt'])) { $model->createdEndAt = $map['createdEndAt']; } if (isset($map['createdStartAt'])) { $model->createdStartAt = $map['createdStartAt']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['thirdPartApplyId'])) { $model->thirdPartApplyId = $map['thirdPartApplyId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyResponse.php 0000644 00000002741 14713400346 0016511 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCityCarApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCityCarApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyResponseBody.php 0000644 00000003344 14713400346 0017327 0 ustar 00 'applyList', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyList) { $res['applyList'] = []; if (null !== $this->applyList && \is_array($this->applyList)) { $n = 0; foreach ($this->applyList as $item) { $res['applyList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return QueryCityCarApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyList'])) { if (!empty($map['applyList'])) { $model->applyList = []; $n = 0; foreach ($map['applyList'] as $item) { $model->applyList[$n++] = null !== $item ? applyList::fromMap($item) : $item; } } } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyResponseBody/applyList.php 0000644 00000014155 14713400346 0021312 0 ustar 00 'approverList', 'departId' => 'departId', 'departName' => 'departName', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'itineraryList' => 'itineraryList', 'status' => 'status', 'statusDesc' => 'statusDesc', 'thirdPartApplyId' => 'thirdPartApplyId', 'tripCause' => 'tripCause', 'tripTitle' => 'tripTitle', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approverList) { $res['approverList'] = []; if (null !== $this->approverList && \is_array($this->approverList)) { $n = 0; foreach ($this->approverList as $item) { $res['approverList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->departId) { $res['departId'] = $this->departId; } if (null !== $this->departName) { $res['departName'] = $this->departName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->itineraryList) { $res['itineraryList'] = []; if (null !== $this->itineraryList && \is_array($this->itineraryList)) { $n = 0; foreach ($this->itineraryList as $item) { $res['itineraryList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->statusDesc) { $res['statusDesc'] = $this->statusDesc; } if (null !== $this->thirdPartApplyId) { $res['thirdPartApplyId'] = $this->thirdPartApplyId; } if (null !== $this->tripCause) { $res['tripCause'] = $this->tripCause; } if (null !== $this->tripTitle) { $res['tripTitle'] = $this->tripTitle; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return applyList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approverList'])) { if (!empty($map['approverList'])) { $model->approverList = []; $n = 0; foreach ($map['approverList'] as $item) { $model->approverList[$n++] = null !== $item ? approverList::fromMap($item) : $item; } } } if (isset($map['departId'])) { $model->departId = $map['departId']; } if (isset($map['departName'])) { $model->departName = $map['departName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['itineraryList'])) { if (!empty($map['itineraryList'])) { $model->itineraryList = []; $n = 0; foreach ($map['itineraryList'] as $item) { $model->itineraryList[$n++] = null !== $item ? itineraryList::fromMap($item) : $item; } } } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['statusDesc'])) { $model->statusDesc = $map['statusDesc']; } if (isset($map['thirdPartApplyId'])) { $model->thirdPartApplyId = $map['thirdPartApplyId']; } if (isset($map['tripCause'])) { $model->tripCause = $map['tripCause']; } if (isset($map['tripTitle'])) { $model->tripTitle = $map['tripTitle']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyResponseBody/applyList/approverList.php 0000644 00000005320 14713400346 0023776 0 ustar 00 'note', 'operateTime' => 'operateTime', 'order' => 'order', 'status' => 'status', 'statusDesc' => 'statusDesc', 'userId' => 'userId', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->operateTime) { $res['operateTime'] = $this->operateTime; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->statusDesc) { $res['statusDesc'] = $this->statusDesc; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return approverList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['operateTime'])) { $model->operateTime = $map['operateTime']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['statusDesc'])) { $model->statusDesc = $map['statusDesc']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/alitrip_1_0/Models/QueryCityCarApplyResponseBody/applyList/itineraryList.php 0000644 00000012346 14713400346 0024154 0 ustar 00 'arrCity', 'arrCityCode' => 'arrCityCode', 'arrDate' => 'arrDate', 'costCenterId' => 'costCenterId', 'costCenterName' => 'costCenterName', 'depCity' => 'depCity', 'depCityCode' => 'depCityCode', 'depDate' => 'depDate', 'invoiceId' => 'invoiceId', 'invoiceName' => 'invoiceName', 'itineraryId' => 'itineraryId', 'projectCode' => 'projectCode', 'projectTitle' => 'projectTitle', 'trafficType' => 'trafficType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arrCity) { $res['arrCity'] = $this->arrCity; } if (null !== $this->arrCityCode) { $res['arrCityCode'] = $this->arrCityCode; } if (null !== $this->arrDate) { $res['arrDate'] = $this->arrDate; } if (null !== $this->costCenterId) { $res['costCenterId'] = $this->costCenterId; } if (null !== $this->costCenterName) { $res['costCenterName'] = $this->costCenterName; } if (null !== $this->depCity) { $res['depCity'] = $this->depCity; } if (null !== $this->depCityCode) { $res['depCityCode'] = $this->depCityCode; } if (null !== $this->depDate) { $res['depDate'] = $this->depDate; } if (null !== $this->invoiceId) { $res['invoiceId'] = $this->invoiceId; } if (null !== $this->invoiceName) { $res['invoiceName'] = $this->invoiceName; } if (null !== $this->itineraryId) { $res['itineraryId'] = $this->itineraryId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectTitle) { $res['projectTitle'] = $this->projectTitle; } if (null !== $this->trafficType) { $res['trafficType'] = $this->trafficType; } return $res; } /** * @param array $map * * @return itineraryList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arrCity'])) { $model->arrCity = $map['arrCity']; } if (isset($map['arrCityCode'])) { $model->arrCityCode = $map['arrCityCode']; } if (isset($map['arrDate'])) { $model->arrDate = $map['arrDate']; } if (isset($map['costCenterId'])) { $model->costCenterId = $map['costCenterId']; } if (isset($map['costCenterName'])) { $model->costCenterName = $map['costCenterName']; } if (isset($map['depCity'])) { $model->depCity = $map['depCity']; } if (isset($map['depCityCode'])) { $model->depCityCode = $map['depCityCode']; } if (isset($map['depDate'])) { $model->depDate = $map['depDate']; } if (isset($map['invoiceId'])) { $model->invoiceId = $map['invoiceId']; } if (isset($map['invoiceName'])) { $model->invoiceName = $map['invoiceName']; } if (isset($map['itineraryId'])) { $model->itineraryId = $map['itineraryId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectTitle'])) { $model->projectTitle = $map['projectTitle']; } if (isset($map['trafficType'])) { $model->trafficType = $map['trafficType']; } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderHeaders.php 0000644 00000002335 14713400346 0016005 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUnionOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderRequest.php 0000644 00000003306 14713400346 0016061 0 ustar 00 'corpId', 'thirdPartApplyId' => 'thirdPartApplyId', 'unionNo' => 'unionNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->thirdPartApplyId) { $res['thirdPartApplyId'] = $this->thirdPartApplyId; } if (null !== $this->unionNo) { $res['unionNo'] = $this->unionNo; } return $res; } /** * @param array $map * * @return QueryUnionOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['thirdPartApplyId'])) { $model->thirdPartApplyId = $map['thirdPartApplyId']; } if (isset($map['unionNo'])) { $model->unionNo = $map['unionNo']; } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderResponse.php 0000644 00000002731 14713400346 0016230 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUnionOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUnionOrderResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderResponseBody.php 0000644 00000010722 14713400346 0017045 0 ustar 00 'corpId', 'flightList' => 'flightList', 'hotelList' => 'hotelList', 'trainList' => 'trainList', 'vehicleList' => 'vehicleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->flightList) { $res['flightList'] = []; if (null !== $this->flightList && \is_array($this->flightList)) { $n = 0; foreach ($this->flightList as $item) { $res['flightList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hotelList) { $res['hotelList'] = []; if (null !== $this->hotelList && \is_array($this->hotelList)) { $n = 0; foreach ($this->hotelList as $item) { $res['hotelList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->trainList) { $res['trainList'] = []; if (null !== $this->trainList && \is_array($this->trainList)) { $n = 0; foreach ($this->trainList as $item) { $res['trainList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleList) { $res['vehicleList'] = []; if (null !== $this->vehicleList && \is_array($this->vehicleList)) { $n = 0; foreach ($this->vehicleList as $item) { $res['vehicleList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryUnionOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['flightList'])) { if (!empty($map['flightList'])) { $model->flightList = []; $n = 0; foreach ($map['flightList'] as $item) { $model->flightList[$n++] = null !== $item ? flightList::fromMap($item) : $item; } } } if (isset($map['hotelList'])) { if (!empty($map['hotelList'])) { $model->hotelList = []; $n = 0; foreach ($map['hotelList'] as $item) { $model->hotelList[$n++] = null !== $item ? hotelList::fromMap($item) : $item; } } } if (isset($map['trainList'])) { if (!empty($map['trainList'])) { $model->trainList = []; $n = 0; foreach ($map['trainList'] as $item) { $model->trainList[$n++] = null !== $item ? trainList::fromMap($item) : $item; } } } if (isset($map['vehicleList'])) { if (!empty($map['vehicleList'])) { $model->vehicleList = []; $n = 0; foreach ($map['vehicleList'] as $item) { $model->vehicleList[$n++] = null !== $item ? vehicleList::fromMap($item) : $item; } } } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderResponseBody/flightList.php 0000644 00000002435 14713400346 0021160 0 ustar 00 'flightOrderId', 'flightOrderStatus' => 'flightOrderStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->flightOrderId) { $res['flightOrderId'] = $this->flightOrderId; } if (null !== $this->flightOrderStatus) { $res['flightOrderStatus'] = $this->flightOrderStatus; } return $res; } /** * @param array $map * * @return flightList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['flightOrderId'])) { $model->flightOrderId = $map['flightOrderId']; } if (isset($map['flightOrderStatus'])) { $model->flightOrderStatus = $map['flightOrderStatus']; } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderResponseBody/hotelList.php 0000644 00000002412 14713400346 0021011 0 ustar 00 'hotelOrderId', 'hotelOrderStatus' => 'hotelOrderStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hotelOrderId) { $res['hotelOrderId'] = $this->hotelOrderId; } if (null !== $this->hotelOrderStatus) { $res['hotelOrderStatus'] = $this->hotelOrderStatus; } return $res; } /** * @param array $map * * @return hotelList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hotelOrderId'])) { $model->hotelOrderId = $map['hotelOrderId']; } if (isset($map['hotelOrderStatus'])) { $model->hotelOrderStatus = $map['hotelOrderStatus']; } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderResponseBody/trainList.php 0000644 00000002413 14713400346 0021014 0 ustar 00 'trainOrderId', 'trainOrderstatus' => 'trainOrderstatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->trainOrderId) { $res['trainOrderId'] = $this->trainOrderId; } if (null !== $this->trainOrderstatus) { $res['trainOrderstatus'] = $this->trainOrderstatus; } return $res; } /** * @param array $map * * @return trainList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['trainOrderId'])) { $model->trainOrderId = $map['trainOrderId']; } if (isset($map['trainOrderstatus'])) { $model->trainOrderstatus = $map['trainOrderstatus']; } return $model; } } src/alitrip_1_0/Models/QueryUnionOrderResponseBody/vehicleList.php 0000644 00000002461 14713400346 0021321 0 ustar 00 'vehicleOrderId', 'vehicleOrderStatus' => 'vehicleOrderStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->vehicleOrderId) { $res['vehicleOrderId'] = $this->vehicleOrderId; } if (null !== $this->vehicleOrderStatus) { $res['vehicleOrderStatus'] = $this->vehicleOrderStatus; } return $res; } /** * @param array $map * * @return vehicleList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['vehicleOrderId'])) { $model->vehicleOrderId = $map['vehicleOrderId']; } if (isset($map['vehicleOrderStatus'])) { $model->vehicleOrderStatus = $map['vehicleOrderStatus']; } return $model; } } src/alitrip_1_0/Models/SyncExceedApplyHeaders.php 0000644 00000002335 14713400346 0015733 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncExceedApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/alitrip_1_0/Models/SyncExceedApplyRequest.php 0000644 00000005407 14713400346 0016013 0 ustar 00 'applyId', 'corpId' => 'corpId', 'remark' => 'remark', 'status' => 'status', 'thirdpartyFlowId' => 'thirdpartyFlowId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applyId) { $res['applyId'] = $this->applyId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->thirdpartyFlowId) { $res['thirdpartyFlowId'] = $this->thirdpartyFlowId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SyncExceedApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applyId'])) { $model->applyId = $map['applyId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['thirdpartyFlowId'])) { $model->thirdpartyFlowId = $map['thirdpartyFlowId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/alitrip_1_0/Models/SyncExceedApplyResponse.php 0000644 00000002731 14713400346 0016156 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncExceedApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncExceedApplyResponseBody::fromMap($map['body']); } return $model; } } src/alitrip_1_0/Models/SyncExceedApplyResponseBody.php 0000644 00000001621 14713400346 0016771 0 ustar 00 'module', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->module) { $res['module'] = $this->module; } return $res; } /** * @param array $map * * @return SyncExceedApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['module'])) { $model->module = $map['module']; } return $model; } } src/amdp_1_0/Dingtalk.php 0000644 00000024234 14713400346 0011170 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 人员角色数据推送 * * * @param AmdpEmpRoleDataPushRequest $request AmdpEmpRoleDataPushRequest * @param AmdpEmpRoleDataPushHeaders $headers AmdpEmpRoleDataPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AmdpEmpRoleDataPushResponse AmdpEmpRoleDataPushResponse */ public function amdpEmpRoleDataPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AmdpEmpRoleDataPush', 'version' => 'amdp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/amdp/employeeRoles/datas/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AmdpEmpRoleDataPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 人员角色数据推送 * * * @param AmdpEmpRoleDataPushRequest $request AmdpEmpRoleDataPushRequest * * @return AmdpEmpRoleDataPushResponse AmdpEmpRoleDataPushResponse */ public function amdpEmpRoleDataPush($request) { $runtime = new RuntimeOptions([]); $headers = new AmdpEmpRoleDataPushHeaders([]); return $this->amdpEmpRoleDataPushWithOptions($request, $headers, $runtime); } /** * @summary 人员数据推送 * * * @param AmdpEmployeeDataPushRequest $request AmdpEmployeeDataPushRequest * @param AmdpEmployeeDataPushHeaders $headers AmdpEmployeeDataPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AmdpEmployeeDataPushResponse AmdpEmployeeDataPushResponse */ public function amdpEmployeeDataPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AmdpEmployeeDataPush', 'version' => 'amdp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/amdp/employees/datas/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AmdpEmployeeDataPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 人员数据推送 * * * @param AmdpEmployeeDataPushRequest $request AmdpEmployeeDataPushRequest * * @return AmdpEmployeeDataPushResponse AmdpEmployeeDataPushResponse */ public function amdpEmployeeDataPush($request) { $runtime = new RuntimeOptions([]); $headers = new AmdpEmployeeDataPushHeaders([]); return $this->amdpEmployeeDataPushWithOptions($request, $headers, $runtime); } /** * @summary 任职数据推送 * * * @param AmdpJobPositionDataPushRequest $request AmdpJobPositionDataPushRequest * @param AmdpJobPositionDataPushHeaders $headers AmdpJobPositionDataPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AmdpJobPositionDataPushResponse AmdpJobPositionDataPushResponse */ public function amdpJobPositionDataPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AmdpJobPositionDataPush', 'version' => 'amdp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/amdp/empJobs/datas/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AmdpJobPositionDataPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 任职数据推送 * * * @param AmdpJobPositionDataPushRequest $request AmdpJobPositionDataPushRequest * * @return AmdpJobPositionDataPushResponse AmdpJobPositionDataPushResponse */ public function amdpJobPositionDataPush($request) { $runtime = new RuntimeOptions([]); $headers = new AmdpJobPositionDataPushHeaders([]); return $this->amdpJobPositionDataPushWithOptions($request, $headers, $runtime); } /** * @summary 组织部门数据推送 * * * @param AmdpOrganizationDataPushRequest $request AmdpOrganizationDataPushRequest * @param AmdpOrganizationDataPushHeaders $headers AmdpOrganizationDataPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AmdpOrganizationDataPushResponse AmdpOrganizationDataPushResponse */ public function amdpOrganizationDataPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AmdpOrganizationDataPush', 'version' => 'amdp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/amdp/organizations/departments/datas/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AmdpOrganizationDataPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 组织部门数据推送 * * * @param AmdpOrganizationDataPushRequest $request AmdpOrganizationDataPushRequest * * @return AmdpOrganizationDataPushResponse AmdpOrganizationDataPushResponse */ public function amdpOrganizationDataPush($request) { $runtime = new RuntimeOptions([]); $headers = new AmdpOrganizationDataPushHeaders([]); return $this->amdpOrganizationDataPushWithOptions($request, $headers, $runtime); } } src/amdp_1_0/Models/AmdpEmpRoleDataPushHeaders.php 0000644 00000002342 14713400346 0015745 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AmdpEmpRoleDataPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/amdp_1_0/Models/AmdpEmpRoleDataPushRequest.php 0000644 00000002555 14713400346 0016030 0 ustar 00 'param', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = []; if (null !== $this->param && \is_array($this->param)) { $n = 0; foreach ($this->param as $item) { $res['param'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AmdpEmpRoleDataPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { if (!empty($map['param'])) { $model->param = []; $n = 0; foreach ($map['param'] as $item) { $model->param[$n++] = null !== $item ? param::fromMap($item) : $item; } } } return $model; } } src/amdp_1_0/Models/AmdpEmpRoleDataPushRequest/param.php 0000644 00000003176 14713400346 0017130 0 ustar 00 'deptId', 'isDelete' => 'isDelete', 'roleCode' => 'roleCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->isDelete) { $res['isDelete'] = $this->isDelete; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['isDelete'])) { $model->isDelete = $map['isDelete']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/amdp_1_0/Models/AmdpEmpRoleDataPushResponse.php 0000644 00000002746 14713400346 0016200 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AmdpEmpRoleDataPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AmdpEmpRoleDataPushResponseBody::fromMap($map['body']); } return $model; } } src/amdp_1_0/Models/AmdpEmpRoleDataPushResponseBody.php 0000644 00000003227 14713400346 0017011 0 ustar 00 'requestId', 'result' => 'result', 'status' => 'status', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AmdpEmpRoleDataPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/amdp_1_0/Models/AmdpEmployeeDataPushHeaders.php 0000644 00000002344 14713400346 0016163 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AmdpEmployeeDataPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/amdp_1_0/Models/AmdpEmployeeDataPushRequest.php 0000644 00000002560 14713400346 0016240 0 ustar 00 'param', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = []; if (null !== $this->param && \is_array($this->param)) { $n = 0; foreach ($this->param as $item) { $res['param'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AmdpEmployeeDataPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { if (!empty($map['param'])) { $model->param = []; $n = 0; foreach ($map['param'] as $item) { $model->param[$n++] = null !== $item ? param::fromMap($item) : $item; } } } return $model; } } src/amdp_1_0/Models/AmdpEmployeeDataPushRequest/param.php 0000644 00000004207 14713400346 0017340 0 ustar 00 'avatar', 'isDelete' => 'isDelete', 'name' => 'name', 'unionId' => 'unionId', 'userId' => 'userId', 'workNo' => 'workNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->isDelete) { $res['isDelete'] = $this->isDelete; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->workNo) { $res['workNo'] = $this->workNo; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['isDelete'])) { $model->isDelete = $map['isDelete']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['workNo'])) { $model->workNo = $map['workNo']; } return $model; } } src/amdp_1_0/Models/AmdpEmployeeDataPushResponse.php 0000644 00000002752 14713400346 0016411 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AmdpEmployeeDataPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AmdpEmployeeDataPushResponseBody::fromMap($map['body']); } return $model; } } src/amdp_1_0/Models/AmdpEmployeeDataPushResponseBody.php 0000644 00000003231 14713400346 0017220 0 ustar 00 'requestId', 'result' => 'result', 'status' => 'status', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AmdpEmployeeDataPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/amdp_1_0/Models/AmdpJobPositionDataPushHeaders.php 0000644 00000002352 14713400346 0016642 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AmdpJobPositionDataPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/amdp_1_0/Models/AmdpJobPositionDataPushRequest.php 0000644 00000002571 14713400346 0016722 0 ustar 00 'param', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = []; if (null !== $this->param && \is_array($this->param)) { $n = 0; foreach ($this->param as $item) { $res['param'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AmdpJobPositionDataPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { if (!empty($map['param'])) { $model->param = []; $n = 0; foreach ($map['param'] as $item) { $model->param[$n++] = null !== $item ? param::fromMap($item) : $item; } } } return $model; } } src/amdp_1_0/Models/AmdpJobPositionDataPushRequest/param.php 0000644 00000004442 14713400346 0020021 0 ustar 00 'deptId', 'deptLeader' => 'deptLeader', 'isDelete' => 'isDelete', 'leaderDeptId' => 'leaderDeptId', 'orderNumber' => 'orderNumber', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptLeader) { $res['deptLeader'] = $this->deptLeader; } if (null !== $this->isDelete) { $res['isDelete'] = $this->isDelete; } if (null !== $this->leaderDeptId) { $res['leaderDeptId'] = $this->leaderDeptId; } if (null !== $this->orderNumber) { $res['orderNumber'] = $this->orderNumber; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptLeader'])) { $model->deptLeader = $map['deptLeader']; } if (isset($map['isDelete'])) { $model->isDelete = $map['isDelete']; } if (isset($map['leaderDeptId'])) { $model->leaderDeptId = $map['leaderDeptId']; } if (isset($map['orderNumber'])) { $model->orderNumber = $map['orderNumber']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/amdp_1_0/Models/AmdpJobPositionDataPushResponse.php 0000644 00000002766 14713400346 0017076 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AmdpJobPositionDataPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AmdpJobPositionDataPushResponseBody::fromMap($map['body']); } return $model; } } src/amdp_1_0/Models/AmdpJobPositionDataPushResponseBody.php 0000644 00000003237 14713400346 0017706 0 ustar 00 'requestId', 'result' => 'result', 'status' => 'status', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AmdpJobPositionDataPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/amdp_1_0/Models/AmdpOrganizationDataPushHeaders.php 0000644 00000002354 14713400346 0017051 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AmdpOrganizationDataPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/amdp_1_0/Models/AmdpOrganizationDataPushRequest.php 0000644 00000002574 14713400346 0017132 0 ustar 00 'param', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = []; if (null !== $this->param && \is_array($this->param)) { $n = 0; foreach ($this->param as $item) { $res['param'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AmdpOrganizationDataPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { if (!empty($map['param'])) { $model->param = []; $n = 0; foreach ($map['param'] as $item) { $model->param[$n++] = null !== $item ? param::fromMap($item) : $item; } } } return $model; } } src/amdp_1_0/Models/AmdpOrganizationDataPushRequest/param.php 0000644 00000005423 14713400346 0020226 0 ustar 00 'deptId', 'deptManagerIdList' => 'deptManagerIdList', 'dingTalkDeptId' => 'dingTalkDeptId', 'dingTalkParentId' => 'dingTalkParentId', 'isDelete' => 'isDelete', 'name' => 'name', 'parentId' => 'parentId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->deptManagerIdList) { $res['deptManagerIdList'] = $this->deptManagerIdList; } if (null !== $this->dingTalkDeptId) { $res['dingTalkDeptId'] = $this->dingTalkDeptId; } if (null !== $this->dingTalkParentId) { $res['dingTalkParentId'] = $this->dingTalkParentId; } if (null !== $this->isDelete) { $res['isDelete'] = $this->isDelete; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } return $res; } /** * @param array $map * * @return param */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['deptManagerIdList'])) { if (!empty($map['deptManagerIdList'])) { $model->deptManagerIdList = $map['deptManagerIdList']; } } if (isset($map['dingTalkDeptId'])) { $model->dingTalkDeptId = $map['dingTalkDeptId']; } if (isset($map['dingTalkParentId'])) { $model->dingTalkParentId = $map['dingTalkParentId']; } if (isset($map['isDelete'])) { $model->isDelete = $map['isDelete']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } return $model; } } src/amdp_1_0/Models/AmdpOrganizationDataPushResponse.php 0000644 00000002772 14713400346 0017300 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AmdpOrganizationDataPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AmdpOrganizationDataPushResponseBody::fromMap($map['body']); } return $model; } } src/amdp_1_0/Models/AmdpOrganizationDataPushResponseBody.php 0000644 00000003241 14713400346 0020106 0 ustar 00 'requestId', 'result' => 'result', 'status' => 'status', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AmdpOrganizationDataPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/apaas_1_0/Dingtalk.php 0000644 00000036760 14713400346 0011343 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 批量创建模板 * * * @param BatchCreateTemplateRequest $request BatchCreateTemplateRequest * @param BatchCreateTemplateHeaders $headers BatchCreateTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchCreateTemplateResponse BatchCreateTemplateResponse */ public function batchCreateTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->templateList)) { $body['templateList'] = $request->templateList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchCreateTemplate', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchCreateTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量创建模板 * * * @param BatchCreateTemplateRequest $request BatchCreateTemplateRequest * * @return BatchCreateTemplateResponse BatchCreateTemplateResponse */ public function batchCreateTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateTemplateHeaders([]); return $this->batchCreateTemplateWithOptions($request, $headers, $runtime); } /** * @summary 批量查询模板 * * * @param BatchQueryByTemplateKeyRequest $request BatchQueryByTemplateKeyRequest * @param BatchQueryByTemplateKeyHeaders $headers BatchQueryByTemplateKeyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchQueryByTemplateKeyResponse BatchQueryByTemplateKeyResponse */ public function batchQueryByTemplateKeyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->templateKeys)) { $body['templateKeys'] = $request->templateKeys; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchQueryByTemplateKey', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryByTemplateKeyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询模板 * * * @param BatchQueryByTemplateKeyRequest $request BatchQueryByTemplateKeyRequest * * @return BatchQueryByTemplateKeyResponse BatchQueryByTemplateKeyResponse */ public function batchQueryByTemplateKey($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryByTemplateKeyHeaders([]); return $this->batchQueryByTemplateKeyWithOptions($request, $headers, $runtime); } /** * @summary 批量修改模板 * * * @param BatchUpdateTemplateRequest $request BatchUpdateTemplateRequest * @param BatchUpdateTemplateHeaders $headers BatchUpdateTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchUpdateTemplateResponse BatchUpdateTemplateResponse */ public function batchUpdateTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->templateList)) { $body['templateList'] = $request->templateList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchUpdateTemplate', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量修改模板 * * * @param BatchUpdateTemplateRequest $request BatchUpdateTemplateRequest * * @return BatchUpdateTemplateResponse BatchUpdateTemplateResponse */ public function batchUpdateTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateTemplateHeaders([]); return $this->batchUpdateTemplateWithOptions($request, $headers, $runtime); } /** * @summary 查询行业标签 * * * @param QueryIndustryTagListHeaders $headers QueryIndustryTagListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryIndustryTagListResponse QueryIndustryTagListResponse */ public function queryIndustryTagListWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryIndustryTagList', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates/industries', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryIndustryTagListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询行业标签 * * * @return QueryIndustryTagListResponse QueryIndustryTagListResponse */ public function queryIndustryTagList() { $runtime = new RuntimeOptions([]); $headers = new QueryIndustryTagListHeaders([]); return $this->queryIndustryTagListWithOptions($headers, $runtime); } /** * @summary 查询角色 * * * @param QueryRoleTagListHeaders $headers QueryRoleTagListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryRoleTagListResponse QueryRoleTagListResponse */ public function queryRoleTagListWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryRoleTagList', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRoleTagListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询角色 * * * @return QueryRoleTagListResponse QueryRoleTagListResponse */ public function queryRoleTagList() { $runtime = new RuntimeOptions([]); $headers = new QueryRoleTagListHeaders([]); return $this->queryRoleTagListWithOptions($headers, $runtime); } /** * @summary 查询模板分类 * * * @param QueryTemplateCategorysHeaders $headers QueryTemplateCategorysHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryTemplateCategorysResponse QueryTemplateCategorysResponse */ public function queryTemplateCategorysWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryTemplateCategorys', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates/categories', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTemplateCategorysResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询模板分类 * * * @return QueryTemplateCategorysResponse QueryTemplateCategorysResponse */ public function queryTemplateCategorys() { $runtime = new RuntimeOptions([]); $headers = new QueryTemplateCategorysHeaders([]); return $this->queryTemplateCategorysWithOptions($headers, $runtime); } /** * @summary 撤回模板审核 * * * @param RecallAuditTemplateRequest $request RecallAuditTemplateRequest * @param RecallAuditTemplateHeaders $headers RecallAuditTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RecallAuditTemplateResponse RecallAuditTemplateResponse */ public function recallAuditTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->templateKeys)) { $body['templateKeys'] = $request->templateKeys; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RecallAuditTemplate', 'version' => 'apaas_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/apaas/templates/audits/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RecallAuditTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 撤回模板审核 * * * @param RecallAuditTemplateRequest $request RecallAuditTemplateRequest * * @return RecallAuditTemplateResponse RecallAuditTemplateResponse */ public function recallAuditTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new RecallAuditTemplateHeaders([]); return $this->recallAuditTemplateWithOptions($request, $headers, $runtime); } } src/apaas_1_0/Models/BatchCreateTemplateHeaders.php 0000644 00000002343 14713400346 0016154 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchCreateTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/BatchCreateTemplateRequest.php 0000644 00000003044 14713400346 0016230 0 ustar 00 'templateList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateList) { $res['templateList'] = []; if (null !== $this->templateList && \is_array($this->templateList)) { $n = 0; foreach ($this->templateList as $item) { $res['templateList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchCreateTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateList'])) { if (!empty($map['templateList'])) { $model->templateList = []; $n = 0; foreach ($map['templateList'] as $item) { $model->templateList[$n++] = null !== $item ? templateList::fromMap($item) : $item; } } } return $model; } } src/apaas_1_0/Models/BatchCreateTemplateRequest/templateList.php 0000644 00000017011 14713400346 0020676 0 ustar 00 'adaptEnv', 'appDesc' => 'appDesc', 'appIcon' => 'appIcon', 'caseVideoList' => 'caseVideoList', 'categoryCode' => 'categoryCode', 'coverImgList' => 'coverImgList', 'expUrl' => 'expUrl', 'industryLabelList' => 'industryLabelList', 'installTimes' => 'installTimes', 'mobilePreviewMediaList' => 'mobilePreviewMediaList', 'name' => 'name', 'previewMediaList' => 'previewMediaList', 'providerName' => 'providerName', 'roleLabelList' => 'roleLabelList', 'simpleDesc' => 'simpleDesc', 'templateKey' => 'templateKey', 'useCasesMediaList' => 'useCasesMediaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adaptEnv) { $res['adaptEnv'] = $this->adaptEnv; } if (null !== $this->appDesc) { $res['appDesc'] = $this->appDesc; } if (null !== $this->appIcon) { $res['appIcon'] = $this->appIcon; } if (null !== $this->caseVideoList) { $res['caseVideoList'] = $this->caseVideoList; } if (null !== $this->categoryCode) { $res['categoryCode'] = $this->categoryCode; } if (null !== $this->coverImgList) { $res['coverImgList'] = $this->coverImgList; } if (null !== $this->expUrl) { $res['expUrl'] = $this->expUrl; } if (null !== $this->industryLabelList) { $res['industryLabelList'] = $this->industryLabelList; } if (null !== $this->installTimes) { $res['installTimes'] = $this->installTimes; } if (null !== $this->mobilePreviewMediaList) { $res['mobilePreviewMediaList'] = $this->mobilePreviewMediaList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->previewMediaList) { $res['previewMediaList'] = $this->previewMediaList; } if (null !== $this->providerName) { $res['providerName'] = $this->providerName; } if (null !== $this->roleLabelList) { $res['roleLabelList'] = $this->roleLabelList; } if (null !== $this->simpleDesc) { $res['simpleDesc'] = $this->simpleDesc; } if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } if (null !== $this->useCasesMediaList) { $res['useCasesMediaList'] = $this->useCasesMediaList; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adaptEnv'])) { if (!empty($map['adaptEnv'])) { $model->adaptEnv = $map['adaptEnv']; } } if (isset($map['appDesc'])) { $model->appDesc = $map['appDesc']; } if (isset($map['appIcon'])) { $model->appIcon = $map['appIcon']; } if (isset($map['caseVideoList'])) { if (!empty($map['caseVideoList'])) { $model->caseVideoList = $map['caseVideoList']; } } if (isset($map['categoryCode'])) { $model->categoryCode = $map['categoryCode']; } if (isset($map['coverImgList'])) { if (!empty($map['coverImgList'])) { $model->coverImgList = $map['coverImgList']; } } if (isset($map['expUrl'])) { $model->expUrl = $map['expUrl']; } if (isset($map['industryLabelList'])) { if (!empty($map['industryLabelList'])) { $model->industryLabelList = $map['industryLabelList']; } } if (isset($map['installTimes'])) { $model->installTimes = $map['installTimes']; } if (isset($map['mobilePreviewMediaList'])) { if (!empty($map['mobilePreviewMediaList'])) { $model->mobilePreviewMediaList = $map['mobilePreviewMediaList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['previewMediaList'])) { if (!empty($map['previewMediaList'])) { $model->previewMediaList = $map['previewMediaList']; } } if (isset($map['providerName'])) { $model->providerName = $map['providerName']; } if (isset($map['roleLabelList'])) { if (!empty($map['roleLabelList'])) { $model->roleLabelList = $map['roleLabelList']; } } if (isset($map['simpleDesc'])) { $model->simpleDesc = $map['simpleDesc']; } if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } if (isset($map['useCasesMediaList'])) { if (!empty($map['useCasesMediaList'])) { $model->useCasesMediaList = $map['useCasesMediaList']; } } return $model; } } src/apaas_1_0/Models/BatchCreateTemplateResponse.php 0000644 00000002747 14713400346 0016407 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchCreateTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchCreateTemplateResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/BatchCreateTemplateResponseBody.php 0000644 00000003173 14713400346 0017217 0 ustar 00 'createResultList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createResultList) { $res['createResultList'] = []; if (null !== $this->createResultList && \is_array($this->createResultList)) { $n = 0; foreach ($this->createResultList as $item) { $res['createResultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchCreateTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createResultList'])) { if (!empty($map['createResultList'])) { $model->createResultList = []; $n = 0; foreach ($map['createResultList'] as $item) { $model->createResultList[$n++] = null !== $item ? createResultList::fromMap($item) : $item; } } } return $model; } } src/apaas_1_0/Models/BatchCreateTemplateResponseBody/createResultList.php 0000644 00000002356 14713400346 0022517 0 ustar 00 'templateKey', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return createResultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/apaas_1_0/Models/BatchQueryByTemplateKeyHeaders.php 0000644 00000002353 14713400346 0017023 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryByTemplateKeyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/BatchQueryByTemplateKeyRequest.php 0000644 00000001765 14713400346 0017106 0 ustar 00 'templateKeys', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateKeys) { $res['templateKeys'] = $this->templateKeys; } return $res; } /** * @param array $map * * @return BatchQueryByTemplateKeyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateKeys'])) { if (!empty($map['templateKeys'])) { $model->templateKeys = $map['templateKeys']; } } return $model; } } src/apaas_1_0/Models/BatchQueryByTemplateKeyResponse.php 0000644 00000002767 14713400346 0017257 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryByTemplateKeyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryByTemplateKeyResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/BatchQueryByTemplateKeyResponseBody.php 0000644 00000003077 14713400346 0020070 0 ustar 00 'templateList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateList) { $res['templateList'] = []; if (null !== $this->templateList && \is_array($this->templateList)) { $n = 0; foreach ($this->templateList as $item) { $res['templateList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchQueryByTemplateKeyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateList'])) { if (!empty($map['templateList'])) { $model->templateList = []; $n = 0; foreach ($map['templateList'] as $item) { $model->templateList[$n++] = null !== $item ? templateList::fromMap($item) : $item; } } } return $model; } } src/apaas_1_0/Models/BatchQueryByTemplateKeyResponseBody/templateList.php 0000644 00000017475 14713400346 0022546 0 ustar 00 'adaptEnv', 'appDesc' => 'appDesc', 'appIcon' => 'appIcon', 'caseVideoList' => 'caseVideoList', 'category' => 'category', 'coverImgList' => 'coverImgList', 'expUrl' => 'expUrl', 'industryLabelList' => 'industryLabelList', 'installTimes' => 'installTimes', 'mobilePreviewMediaList' => 'mobilePreviewMediaList', 'name' => 'name', 'previewMediaList' => 'previewMediaList', 'providerName' => 'providerName', 'roleLabelList' => 'roleLabelList', 'simpleDesc' => 'simpleDesc', 'templateKey' => 'templateKey', 'useCasesMediaList' => 'useCasesMediaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adaptEnv) { $res['adaptEnv'] = $this->adaptEnv; } if (null !== $this->appDesc) { $res['appDesc'] = $this->appDesc; } if (null !== $this->appIcon) { $res['appIcon'] = $this->appIcon; } if (null !== $this->caseVideoList) { $res['caseVideoList'] = $this->caseVideoList; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->coverImgList) { $res['coverImgList'] = $this->coverImgList; } if (null !== $this->expUrl) { $res['expUrl'] = $this->expUrl; } if (null !== $this->industryLabelList) { $res['industryLabelList'] = $this->industryLabelList; } if (null !== $this->installTimes) { $res['installTimes'] = $this->installTimes; } if (null !== $this->mobilePreviewMediaList) { $res['mobilePreviewMediaList'] = $this->mobilePreviewMediaList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->previewMediaList) { $res['previewMediaList'] = $this->previewMediaList; } if (null !== $this->providerName) { $res['providerName'] = $this->providerName; } if (null !== $this->roleLabelList) { $res['roleLabelList'] = $this->roleLabelList; } if (null !== $this->simpleDesc) { $res['simpleDesc'] = $this->simpleDesc; } if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } if (null !== $this->useCasesMediaList) { $res['useCasesMediaList'] = $this->useCasesMediaList; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adaptEnv'])) { if (!empty($map['adaptEnv'])) { $model->adaptEnv = $map['adaptEnv']; } } if (isset($map['appDesc'])) { $model->appDesc = $map['appDesc']; } if (isset($map['appIcon'])) { $model->appIcon = $map['appIcon']; } if (isset($map['caseVideoList'])) { if (!empty($map['caseVideoList'])) { $model->caseVideoList = $map['caseVideoList']; } } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['coverImgList'])) { if (!empty($map['coverImgList'])) { $model->coverImgList = $map['coverImgList']; } } if (isset($map['expUrl'])) { $model->expUrl = $map['expUrl']; } if (isset($map['industryLabelList'])) { if (!empty($map['industryLabelList'])) { $model->industryLabelList = $map['industryLabelList']; } } if (isset($map['installTimes'])) { $model->installTimes = $map['installTimes']; } if (isset($map['mobilePreviewMediaList'])) { if (!empty($map['mobilePreviewMediaList'])) { $model->mobilePreviewMediaList = $map['mobilePreviewMediaList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['previewMediaList'])) { if (!empty($map['previewMediaList'])) { $model->previewMediaList = $map['previewMediaList']; } } if (isset($map['providerName'])) { $model->providerName = $map['providerName']; } if (isset($map['roleLabelList'])) { if (!empty($map['roleLabelList'])) { $model->roleLabelList = $map['roleLabelList']; } } if (isset($map['simpleDesc'])) { $model->simpleDesc = $map['simpleDesc']; } if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } if (isset($map['useCasesMediaList'])) { if (!empty($map['useCasesMediaList'])) { $model->useCasesMediaList = $map['useCasesMediaList']; } } return $model; } } src/apaas_1_0/Models/BatchUpdateTemplateHeaders.php 0000644 00000002343 14713400346 0016173 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/BatchUpdateTemplateRequest.php 0000644 00000003044 14713400346 0016247 0 ustar 00 'templateList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateList) { $res['templateList'] = []; if (null !== $this->templateList && \is_array($this->templateList)) { $n = 0; foreach ($this->templateList as $item) { $res['templateList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateList'])) { if (!empty($map['templateList'])) { $model->templateList = []; $n = 0; foreach ($map['templateList'] as $item) { $model->templateList[$n++] = null !== $item ? templateList::fromMap($item) : $item; } } } return $model; } } src/apaas_1_0/Models/BatchUpdateTemplateRequest/templateList.php 0000644 00000016176 14713400346 0020730 0 ustar 00 'adaptEnv', 'appDesc' => 'appDesc', 'appIcon' => 'appIcon', 'caseVideoList' => 'caseVideoList', 'categoryCode' => 'categoryCode', 'coverImgList' => 'coverImgList', 'expUrl' => 'expUrl', 'industryLabelList' => 'industryLabelList', 'mobilePreviewMediaList' => 'mobilePreviewMediaList', 'name' => 'name', 'previewMediaList' => 'previewMediaList', 'providerName' => 'providerName', 'roleLabelList' => 'roleLabelList', 'simpleDesc' => 'simpleDesc', 'templateKey' => 'templateKey', 'useCasesMediaList' => 'useCasesMediaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adaptEnv) { $res['adaptEnv'] = $this->adaptEnv; } if (null !== $this->appDesc) { $res['appDesc'] = $this->appDesc; } if (null !== $this->appIcon) { $res['appIcon'] = $this->appIcon; } if (null !== $this->caseVideoList) { $res['caseVideoList'] = $this->caseVideoList; } if (null !== $this->categoryCode) { $res['categoryCode'] = $this->categoryCode; } if (null !== $this->coverImgList) { $res['coverImgList'] = $this->coverImgList; } if (null !== $this->expUrl) { $res['expUrl'] = $this->expUrl; } if (null !== $this->industryLabelList) { $res['industryLabelList'] = $this->industryLabelList; } if (null !== $this->mobilePreviewMediaList) { $res['mobilePreviewMediaList'] = $this->mobilePreviewMediaList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->previewMediaList) { $res['previewMediaList'] = $this->previewMediaList; } if (null !== $this->providerName) { $res['providerName'] = $this->providerName; } if (null !== $this->roleLabelList) { $res['roleLabelList'] = $this->roleLabelList; } if (null !== $this->simpleDesc) { $res['simpleDesc'] = $this->simpleDesc; } if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } if (null !== $this->useCasesMediaList) { $res['useCasesMediaList'] = $this->useCasesMediaList; } return $res; } /** * @param array $map * * @return templateList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adaptEnv'])) { if (!empty($map['adaptEnv'])) { $model->adaptEnv = $map['adaptEnv']; } } if (isset($map['appDesc'])) { $model->appDesc = $map['appDesc']; } if (isset($map['appIcon'])) { $model->appIcon = $map['appIcon']; } if (isset($map['caseVideoList'])) { if (!empty($map['caseVideoList'])) { $model->caseVideoList = $map['caseVideoList']; } } if (isset($map['categoryCode'])) { $model->categoryCode = $map['categoryCode']; } if (isset($map['coverImgList'])) { if (!empty($map['coverImgList'])) { $model->coverImgList = $map['coverImgList']; } } if (isset($map['expUrl'])) { $model->expUrl = $map['expUrl']; } if (isset($map['industryLabelList'])) { if (!empty($map['industryLabelList'])) { $model->industryLabelList = $map['industryLabelList']; } } if (isset($map['mobilePreviewMediaList'])) { if (!empty($map['mobilePreviewMediaList'])) { $model->mobilePreviewMediaList = $map['mobilePreviewMediaList']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['previewMediaList'])) { if (!empty($map['previewMediaList'])) { $model->previewMediaList = $map['previewMediaList']; } } if (isset($map['providerName'])) { $model->providerName = $map['providerName']; } if (isset($map['roleLabelList'])) { if (!empty($map['roleLabelList'])) { $model->roleLabelList = $map['roleLabelList']; } } if (isset($map['simpleDesc'])) { $model->simpleDesc = $map['simpleDesc']; } if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } if (isset($map['useCasesMediaList'])) { if (!empty($map['useCasesMediaList'])) { $model->useCasesMediaList = $map['useCasesMediaList']; } } return $model; } } src/apaas_1_0/Models/BatchUpdateTemplateResponse.php 0000644 00000002747 14713400346 0016426 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateTemplateResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/BatchUpdateTemplateResponseBody.php 0000644 00000003173 14713400346 0017236 0 ustar 00 'updateResultList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updateResultList) { $res['updateResultList'] = []; if (null !== $this->updateResultList && \is_array($this->updateResultList)) { $n = 0; foreach ($this->updateResultList as $item) { $res['updateResultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updateResultList'])) { if (!empty($map['updateResultList'])) { $model->updateResultList = []; $n = 0; foreach ($map['updateResultList'] as $item) { $model->updateResultList[$n++] = null !== $item ? updateResultList::fromMap($item) : $item; } } } return $model; } } src/apaas_1_0/Models/BatchUpdateTemplateResponseBody/updateResultList.php 0000644 00000002356 14713400346 0022555 0 ustar 00 'templateKey', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return updateResultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/apaas_1_0/Models/QueryIndustryTagListHeaders.php 0000644 00000002345 14713400346 0016454 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryIndustryTagListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/QueryIndustryTagListResponse.php 0000644 00000002753 14713400346 0016702 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryIndustryTagListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryIndustryTagListResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/QueryIndustryTagListResponseBody.php 0000644 00000001771 14713400346 0017517 0 ustar 00 'industryList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->industryList) { $res['industryList'] = $this->industryList; } return $res; } /** * @param array $map * * @return QueryIndustryTagListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['industryList'])) { if (!empty($map['industryList'])) { $model->industryList = $map['industryList']; } } return $model; } } src/apaas_1_0/Models/QueryRoleTagListHeaders.php 0000644 00000002335 14713400346 0015533 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRoleTagListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/QueryRoleTagListResponse.php 0000644 00000002733 14713400346 0015760 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRoleTagListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRoleTagListResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/QueryRoleTagListResponseBody.php 0000644 00000001711 14713400346 0016571 0 ustar 00 'roleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleList) { $res['roleList'] = $this->roleList; } return $res; } /** * @param array $map * * @return QueryRoleTagListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleList'])) { if (!empty($map['roleList'])) { $model->roleList = $map['roleList']; } } return $model; } } src/apaas_1_0/Models/QueryTemplateCategorysHeaders.php 0000644 00000002351 14713400346 0016774 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTemplateCategorysHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/QueryTemplateCategorysResponse.php 0000644 00000002763 14713400346 0017226 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTemplateCategorysResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTemplateCategorysResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/QueryTemplateCategorysResponseBody.php 0000644 00000003541 14713400346 0020037 0 ustar 00 'categoryList', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryList) { $res['categoryList'] = []; if (null !== $this->categoryList && \is_array($this->categoryList)) { $n = 0; foreach ($this->categoryList as $item) { $res['categoryList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return QueryTemplateCategorysResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryList'])) { if (!empty($map['categoryList'])) { $model->categoryList = []; $n = 0; foreach ($map['categoryList'] as $item) { $model->categoryList[$n++] = null !== $item ? categoryList::fromMap($item) : $item; } } } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/apaas_1_0/Models/QueryTemplateCategorysResponseBody/categoryList.php 0000644 00000002350 14713400346 0022505 0 ustar 00 'code', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return categoryList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/apaas_1_0/Models/RecallAuditTemplateHeaders.php 0000644 00000002343 14713400346 0016200 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RecallAuditTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/apaas_1_0/Models/RecallAuditTemplateRequest.php 0000644 00000001755 14713400346 0016263 0 ustar 00 'templateKeys', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateKeys) { $res['templateKeys'] = $this->templateKeys; } return $res; } /** * @param array $map * * @return RecallAuditTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateKeys'])) { if (!empty($map['templateKeys'])) { $model->templateKeys = $map['templateKeys']; } } return $model; } } src/apaas_1_0/Models/RecallAuditTemplateResponse.php 0000644 00000002747 14713400346 0016433 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RecallAuditTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RecallAuditTemplateResponseBody::fromMap($map['body']); } return $model; } } src/apaas_1_0/Models/RecallAuditTemplateResponseBody.php 0000644 00000003063 14713400346 0017241 0 ustar 00 'recallResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recallResult) { $res['recallResult'] = []; if (null !== $this->recallResult && \is_array($this->recallResult)) { $n = 0; foreach ($this->recallResult as $item) { $res['recallResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RecallAuditTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recallResult'])) { if (!empty($map['recallResult'])) { $model->recallResult = []; $n = 0; foreach ($map['recallResult'] as $item) { $model->recallResult[$n++] = null !== $item ? recallResult::fromMap($item) : $item; } } } return $model; } } src/apaas_1_0/Models/RecallAuditTemplateResponseBody/recallResult.php 0000644 00000002462 14713400346 0021704 0 ustar 00 'templateKey', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateKey) { $res['templateKey'] = $this->templateKey; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return recallResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateKey'])) { $model->templateKey = $map['templateKey']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/app_market_1_0/Dingtalk.php 0000644 00000037275 14713400346 0012403 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建应用商品服务群 * * * @param CreateAppGoodsServiceConversationRequest $request CreateAppGoodsServiceConversationRequest * @param CreateAppGoodsServiceConversationHeaders $headers CreateAppGoodsServiceConversationHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAppGoodsServiceConversationResponse CreateAppGoodsServiceConversationResponse */ public function createAppGoodsServiceConversationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->isvUserId)) { $body['isvUserId'] = $request->isvUserId; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAppGoodsServiceConversation', 'version' => 'appMarket_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/appMarket/orders/serviceGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateAppGoodsServiceConversationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建应用商品服务群 * * * @param CreateAppGoodsServiceConversationRequest $request CreateAppGoodsServiceConversationRequest * * @return CreateAppGoodsServiceConversationResponse CreateAppGoodsServiceConversationResponse */ public function createAppGoodsServiceConversation($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAppGoodsServiceConversationHeaders([]); return $this->createAppGoodsServiceConversationWithOptions($request, $headers, $runtime); } /** * @summary 获取酷应用访问状态 * * * @param GetCoolAppAccessStatusRequest $request GetCoolAppAccessStatusRequest * @param GetCoolAppAccessStatusHeaders $headers GetCoolAppAccessStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCoolAppAccessStatusResponse GetCoolAppAccessStatusResponse */ public function getCoolAppAccessStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->authCode)) { $body['authCode'] = $request->authCode; } if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->encFieldBizCode)) { $body['encFieldBizCode'] = $request->encFieldBizCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetCoolAppAccessStatus', 'version' => 'appMarket_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/appMarket/coolApps/accessions/statuses/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCoolAppAccessStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取酷应用访问状态 * * * @param GetCoolAppAccessStatusRequest $request GetCoolAppAccessStatusRequest * * @return GetCoolAppAccessStatusResponse GetCoolAppAccessStatusResponse */ public function getCoolAppAccessStatus($request) { $runtime = new RuntimeOptions([]); $headers = new GetCoolAppAccessStatusHeaders([]); return $this->getCoolAppAccessStatusWithOptions($request, $headers, $runtime); } /** * @summary 获取内购商品SKU页面地址 * * * @param GetInAppSkuUrlRequest $request GetInAppSkuUrlRequest * @param GetInAppSkuUrlHeaders $headers GetInAppSkuUrlHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetInAppSkuUrlResponse GetInAppSkuUrlResponse */ public function getInAppSkuUrlWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackPage)) { $body['callbackPage'] = $request->callbackPage; } if (!Utils::isUnset($request->extendParam)) { $body['extendParam'] = $request->extendParam; } if (!Utils::isUnset($request->goodsCode)) { $body['goodsCode'] = $request->goodsCode; } if (!Utils::isUnset($request->itemCode)) { $body['itemCode'] = $request->itemCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetInAppSkuUrl', 'version' => 'appMarket_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/appMarket/internals/skuPages/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInAppSkuUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取内购商品SKU页面地址 * * * @param GetInAppSkuUrlRequest $request GetInAppSkuUrlRequest * * @return GetInAppSkuUrlResponse GetInAppSkuUrlResponse */ public function getInAppSkuUrl($request) { $runtime = new RuntimeOptions([]); $headers = new GetInAppSkuUrlHeaders([]); return $this->getInAppSkuUrlWithOptions($request, $headers, $runtime); } /** * @summary 获取个人体验相关信息 * * * @param GetPersonalExperienceInfoRequest $request GetPersonalExperienceInfoRequest * @param GetPersonalExperienceInfoHeaders $headers GetPersonalExperienceInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetPersonalExperienceInfoResponse GetPersonalExperienceInfoResponse */ public function getPersonalExperienceInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPersonalExperienceInfo', 'version' => 'appMarket_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/appMarket/personalExperiences', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetPersonalExperienceInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取个人体验相关信息 * * * @param GetPersonalExperienceInfoRequest $request GetPersonalExperienceInfoRequest * * @return GetPersonalExperienceInfoResponse GetPersonalExperienceInfoResponse */ public function getPersonalExperienceInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPersonalExperienceInfoHeaders([]); return $this->getPersonalExperienceInfoWithOptions($request, $headers, $runtime); } /** * @summary 应用市场订单查询 * * * @param string $orderId * @param QueryMarketOrderHeaders $headers QueryMarketOrderHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMarketOrderResponse QueryMarketOrderResponse */ public function queryMarketOrderWithOptions($orderId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryMarketOrder', 'version' => 'appMarket_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/appMarket/orders/' . $orderId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryMarketOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 应用市场订单查询 * * * @param string $orderId * * @return QueryMarketOrderResponse QueryMarketOrderResponse */ public function queryMarketOrder($orderId) { $runtime = new RuntimeOptions([]); $headers = new QueryMarketOrderHeaders([]); return $this->queryMarketOrderWithOptions($orderId, $headers, $runtime); } /** * @summary app内用户操作任务同步 * * * @param UserTaskReportRequest $request UserTaskReportRequest * @param UserTaskReportHeaders $headers UserTaskReportHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UserTaskReportResponse UserTaskReportResponse */ public function userTaskReportWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizNo)) { $body['bizNo'] = $request->bizNo; } if (!Utils::isUnset($request->operateDate)) { $body['operateDate'] = $request->operateDate; } if (!Utils::isUnset($request->taskTag)) { $body['taskTag'] = $request->taskTag; } if (!Utils::isUnset($request->userid)) { $body['userid'] = $request->userid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UserTaskReport', 'version' => 'appMarket_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/appMarket/tasks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'boolean', ]); return UserTaskReportResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary app内用户操作任务同步 * * * @param UserTaskReportRequest $request UserTaskReportRequest * * @return UserTaskReportResponse UserTaskReportResponse */ public function userTaskReport($request) { $runtime = new RuntimeOptions([]); $headers = new UserTaskReportHeaders([]); return $this->userTaskReportWithOptions($request, $headers, $runtime); } } src/app_market_1_0/Models/CreateAppGoodsServiceConversationHeaders.php 0000644 00000002404 14713400346 0022123 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAppGoodsServiceConversationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/app_market_1_0/Models/CreateAppGoodsServiceConversationRequest.php 0000644 00000002374 14713400346 0022206 0 ustar 00 'isvUserId', 'orderId' => 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isvUserId) { $res['isvUserId'] = $this->isvUserId; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return CreateAppGoodsServiceConversationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isvUserId'])) { $model->isvUserId = $map['isvUserId']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/app_market_1_0/Models/CreateAppGoodsServiceConversationResponse.php 0000644 00000003044 14713400346 0022347 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAppGoodsServiceConversationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAppGoodsServiceConversationResponseBody::fromMap($map['body']); } return $model; } } src/app_market_1_0/Models/CreateAppGoodsServiceConversationResponseBody.php 0000644 00000002437 14713400346 0023172 0 ustar 00 'conversationName', 'newConversation' => 'newConversation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationName) { $res['conversationName'] = $this->conversationName; } if (null !== $this->newConversation) { $res['newConversation'] = $this->newConversation; } return $res; } /** * @param array $map * * @return CreateAppGoodsServiceConversationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationName'])) { $model->conversationName = $map['conversationName']; } if (isset($map['newConversation'])) { $model->newConversation = $map['newConversation']; } return $model; } } src/app_market_1_0/Models/GetCoolAppAccessStatusHeaders.php 0000644 00000002356 14713400346 0017700 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCoolAppAccessStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/app_market_1_0/Models/GetCoolAppAccessStatusRequest.php 0000644 00000003510 14713400346 0017746 0 ustar 00 'authCode', 'coolAppCode' => 'coolAppCode', 'encFieldBizCode' => 'encFieldBizCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->encFieldBizCode) { $res['encFieldBizCode'] = $this->encFieldBizCode; } return $res; } /** * @param array $map * * @return GetCoolAppAccessStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['encFieldBizCode'])) { $model->encFieldBizCode = $map['encFieldBizCode']; } return $model; } } src/app_market_1_0/Models/GetCoolAppAccessStatusResponse.php 0000644 00000002770 14713400346 0020123 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCoolAppAccessStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCoolAppAccessStatusResponseBody::fromMap($map['body']); } return $model; } } src/app_market_1_0/Models/GetCoolAppAccessStatusResponseBody.php 0000644 00000001521 14713400346 0020732 0 ustar 00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return GetCoolAppAccessStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/app_market_1_0/Models/GetInAppSkuUrlHeaders.php 0000644 00000002336 14713400346 0016170 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInAppSkuUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/app_market_1_0/Models/GetInAppSkuUrlRequest.php 0000644 00000003460 14713400346 0016244 0 ustar 00 'callbackPage', 'extendParam' => 'extendParam', 'goodsCode' => 'goodsCode', 'itemCode' => 'itemCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackPage) { $res['callbackPage'] = $this->callbackPage; } if (null !== $this->extendParam) { $res['extendParam'] = $this->extendParam; } if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->itemCode) { $res['itemCode'] = $this->itemCode; } return $res; } /** * @param array $map * * @return GetInAppSkuUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackPage'])) { $model->callbackPage = $map['callbackPage']; } if (isset($map['extendParam'])) { $model->extendParam = $map['extendParam']; } if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['itemCode'])) { $model->itemCode = $map['itemCode']; } return $model; } } src/app_market_1_0/Models/GetInAppSkuUrlResponse.php 0000644 00000002730 14713400346 0016411 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInAppSkuUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInAppSkuUrlResponseBody::fromMap($map['body']); } return $model; } } src/app_market_1_0/Models/GetInAppSkuUrlResponseBody.php 0000644 00000001446 14713400346 0017232 0 ustar 00 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetInAppSkuUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/app_market_1_0/Models/GetPersonalExperienceInfoHeaders.php 0000644 00000002364 14713400346 0020423 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPersonalExperienceInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/app_market_1_0/Models/GetPersonalExperienceInfoRequest.php 0000644 00000001515 14713400346 0020475 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetPersonalExperienceInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/app_market_1_0/Models/GetPersonalExperienceInfoResponse.php 0000644 00000003004 14713400346 0020636 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPersonalExperienceInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPersonalExperienceInfoResponseBody::fromMap($map['body']); } return $model; } } src/app_market_1_0/Models/GetPersonalExperienceInfoResponseBody.php 0000644 00000001764 14713400346 0021467 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetPersonalExperienceInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/app_market_1_0/Models/GetPersonalExperienceInfoResponseBody/result.php 0000644 00000001603 14713400346 0022775 0 ustar 00 'mainCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mainCorpId) { $res['mainCorpId'] = $this->mainCorpId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mainCorpId'])) { $model->mainCorpId = $map['mainCorpId']; } return $model; } } src/app_market_1_0/Models/QueryMarketOrderHeaders.php 0000644 00000002342 14713400346 0016615 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMarketOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/app_market_1_0/Models/QueryMarketOrderResponse.php 0000644 00000002740 14713400346 0017042 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMarketOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMarketOrderResponseBody::fromMap($map['body']); } return $model; } } src/app_market_1_0/Models/QueryMarketOrderResponseBody.php 0000644 00000013445 14713400346 0017664 0 ustar 00 'bizOrderId', 'corpId' => 'corpId', 'createTimestamp' => 'createTimestamp', 'endTimestamp' => 'endTimestamp', 'goodsCode' => 'goodsCode', 'goodsName' => 'goodsName', 'inAppOrder' => 'inAppOrder', 'itemCode' => 'itemCode', 'itemName' => 'itemName', 'paidTimestamp' => 'paidTimestamp', 'quantity' => 'quantity', 'startTimestamp' => 'startTimestamp', 'status' => 'status', 'totalActualPayFee' => 'totalActualPayFee', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizOrderId) { $res['bizOrderId'] = $this->bizOrderId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTimestamp) { $res['createTimestamp'] = $this->createTimestamp; } if (null !== $this->endTimestamp) { $res['endTimestamp'] = $this->endTimestamp; } if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->inAppOrder) { $res['inAppOrder'] = $this->inAppOrder; } if (null !== $this->itemCode) { $res['itemCode'] = $this->itemCode; } if (null !== $this->itemName) { $res['itemName'] = $this->itemName; } if (null !== $this->paidTimestamp) { $res['paidTimestamp'] = $this->paidTimestamp; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->startTimestamp) { $res['startTimestamp'] = $this->startTimestamp; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->totalActualPayFee) { $res['totalActualPayFee'] = $this->totalActualPayFee; } return $res; } /** * @param array $map * * @return QueryMarketOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizOrderId'])) { $model->bizOrderId = $map['bizOrderId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTimestamp'])) { $model->createTimestamp = $map['createTimestamp']; } if (isset($map['endTimestamp'])) { $model->endTimestamp = $map['endTimestamp']; } if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['inAppOrder'])) { $model->inAppOrder = $map['inAppOrder']; } if (isset($map['itemCode'])) { $model->itemCode = $map['itemCode']; } if (isset($map['itemName'])) { $model->itemName = $map['itemName']; } if (isset($map['paidTimestamp'])) { $model->paidTimestamp = $map['paidTimestamp']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['startTimestamp'])) { $model->startTimestamp = $map['startTimestamp']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['totalActualPayFee'])) { $model->totalActualPayFee = $map['totalActualPayFee']; } return $model; } } src/app_market_1_0/Models/UserTaskReportHeaders.php 0000644 00000002336 14713400346 0016310 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UserTaskReportHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/app_market_1_0/Models/UserTaskReportRequest.php 0000644 00000004014 14713400346 0016360 0 ustar 00 'bizNo', 'operateDate' => 'operateDate', 'taskTag' => 'taskTag', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizNo) { $res['bizNo'] = $this->bizNo; } if (null !== $this->operateDate) { $res['operateDate'] = $this->operateDate; } if (null !== $this->taskTag) { $res['taskTag'] = $this->taskTag; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return UserTaskReportRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizNo'])) { $model->bizNo = $map['bizNo']; } if (isset($map['operateDate'])) { $model->operateDate = $map['operateDate']; } if (isset($map['taskTag'])) { $model->taskTag = $map['taskTag']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/app_market_1_0/Models/UserTaskReportResponse.php 0000644 00000002566 14713400346 0016540 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = $this->body; } return $res; } /** * @param array $map * * @return UserTaskReportResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = $map['body']; } return $model; } } src/assistant_1_0/Dingtalk.php 0000644 00000205436 14713400346 0012265 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 助理添加专业词汇 * * * @param AddDomainWordsRequest $request AddDomainWordsRequest * @param AddDomainWordsHeaders $headers AddDomainWordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddDomainWordsResponse AddDomainWordsResponse */ public function addDomainWordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->domainWords)) { $body['domainWords'] = $request->domainWords; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddDomainWords', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/domainWords', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddDomainWordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 助理添加专业词汇 * * * @param AddDomainWordsRequest $request AddDomainWordsRequest * * @return AddDomainWordsResponse AddDomainWordsResponse */ public function addDomainWords($request) { $runtime = new RuntimeOptions([]); $headers = new AddDomainWordsHeaders([]); return $this->addDomainWordsWithOptions($request, $headers, $runtime); } /** * @summary 创建AI助理 * * * @param CreateAssistantRequest $request CreateAssistantRequest * @param CreateAssistantHeaders $headers CreateAssistantHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAssistantResponse CreateAssistantResponse */ public function createAssistantWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->instructions)) { $body['instructions'] = $request->instructions; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->recommendPrompts)) { $body['recommendPrompts'] = $request->recommendPrompts; } if (!Utils::isUnset($request->welcomeContent)) { $body['welcomeContent'] = $request->welcomeContent; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAssistant', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/basicInfo', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAssistantResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建AI助理 * * * @param CreateAssistantRequest $request CreateAssistantRequest * * @return CreateAssistantResponse CreateAssistantResponse */ public function createAssistant($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAssistantHeaders([]); return $this->createAssistantWithOptions($request, $headers, $runtime); } /** * @summary 创建AI助理的消息体 * * * @param string $threadId * @param CreateAssistantMessageRequest $request CreateAssistantMessageRequest * @param CreateAssistantMessageHeaders $headers CreateAssistantMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAssistantMessageResponse CreateAssistantMessageResponse */ public function createAssistantMessageWithOptions($threadId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->metadata)) { $body['metadata'] = $request->metadata; } if (!Utils::isUnset($request->role)) { $body['role'] = $request->role; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAssistantMessage', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/messages', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAssistantMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建AI助理的消息体 * * * @param string $threadId * @param CreateAssistantMessageRequest $request CreateAssistantMessageRequest * * @return CreateAssistantMessageResponse CreateAssistantMessageResponse */ public function createAssistantMessage($threadId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateAssistantMessageHeaders([]); return $this->createAssistantMessageWithOptions($threadId, $request, $headers, $runtime); } /** * @summary 创建AI助理的运行任务 * * * @param string $threadId * @param CreateAssistantRunRequest $request CreateAssistantRunRequest * @param CreateAssistantRunHeaders $headers CreateAssistantRunHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAssistantRunResponse CreateAssistantRunResponse */ public function createAssistantRunWithOptions($threadId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->instructions)) { $body['instructions'] = $request->instructions; } if (!Utils::isUnset($request->metadata)) { $body['metadata'] = $request->metadata; } if (!Utils::isUnset($request->stream)) { $body['stream'] = $request->stream; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAssistantRun', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/runs', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAssistantRunResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建AI助理的运行任务 * * * @param string $threadId * @param CreateAssistantRunRequest $request CreateAssistantRunRequest * * @return CreateAssistantRunResponse CreateAssistantRunResponse */ public function createAssistantRun($threadId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateAssistantRunHeaders([]); return $this->createAssistantRunWithOptions($threadId, $request, $headers, $runtime); } /** * @summary 创建AI助理线程实例 * * * @param CreateAssistantThreadRequest $request CreateAssistantThreadRequest * @param CreateAssistantThreadHeaders $headers CreateAssistantThreadHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAssistantThreadResponse CreateAssistantThreadResponse */ public function createAssistantThreadWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->metadata)) { $body['metadata'] = $request->metadata; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAssistantThread', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAssistantThreadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建AI助理线程实例 * * * @param CreateAssistantThreadRequest $request CreateAssistantThreadRequest * * @return CreateAssistantThreadResponse CreateAssistantThreadResponse */ public function createAssistantThread($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAssistantThreadHeaders([]); return $this->createAssistantThreadWithOptions($request, $headers, $runtime); } /** * @summary 删除AI助理 * * * @param DeleteAssistantRequest $request DeleteAssistantRequest * @param DeleteAssistantHeaders $headers DeleteAssistantHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteAssistantResponse DeleteAssistantResponse */ public function deleteAssistantWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->operatorUnionId)) { $query['operatorUnionId'] = $request->operatorUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteAssistant', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/basicInfo', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteAssistantResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除AI助理 * * * @param DeleteAssistantRequest $request DeleteAssistantRequest * * @return DeleteAssistantResponse DeleteAssistantResponse */ public function deleteAssistant($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteAssistantHeaders([]); return $this->deleteAssistantWithOptions($request, $headers, $runtime); } /** * @summary 删除AI助理的消息体 * * * @param string $threadId * @param string $messageId * @param DeleteAssistantMessageHeaders $headers DeleteAssistantMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteAssistantMessageResponse DeleteAssistantMessageResponse */ public function deleteAssistantMessageWithOptions($threadId, $messageId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteAssistantMessage', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/messages/' . $messageId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteAssistantMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除AI助理的消息体 * * * @param string $threadId * @param string $messageId * * @return DeleteAssistantMessageResponse DeleteAssistantMessageResponse */ public function deleteAssistantMessage($threadId, $messageId) { $runtime = new RuntimeOptions([]); $headers = new DeleteAssistantMessageHeaders([]); return $this->deleteAssistantMessageWithOptions($threadId, $messageId, $headers, $runtime); } /** * @summary 删除AI助理线程实例 * * * @param string $threadId * @param DeleteAssistantThreadHeaders $headers DeleteAssistantThreadHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteAssistantThreadResponse DeleteAssistantThreadResponse */ public function deleteAssistantThreadWithOptions($threadId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteAssistantThread', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteAssistantThreadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除AI助理线程实例 * * * @param string $threadId * * @return DeleteAssistantThreadResponse DeleteAssistantThreadResponse */ public function deleteAssistantThread($threadId) { $runtime = new RuntimeOptions([]); $headers = new DeleteAssistantThreadHeaders([]); return $this->deleteAssistantThreadWithOptions($threadId, $headers, $runtime); } /** * @summary 助理删除专业词汇 * * * @param DeleteDomainWordsRequest $request DeleteDomainWordsRequest * @param DeleteDomainWordsHeaders $headers DeleteDomainWordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteDomainWordsResponse DeleteDomainWordsResponse */ public function deleteDomainWordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->domainWords)) { $body['domainWords'] = $request->domainWords; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteDomainWords', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/domainWords/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteDomainWordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 助理删除专业词汇 * * * @param DeleteDomainWordsRequest $request DeleteDomainWordsRequest * * @return DeleteDomainWordsResponse DeleteDomainWordsResponse */ public function deleteDomainWords($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteDomainWordsHeaders([]); return $this->deleteDomainWordsWithOptions($request, $headers, $runtime); } /** * @summary 删除助理知识 * * * @param DeleteKnowledgeRequest $request DeleteKnowledgeRequest * @param DeleteKnowledgeHeaders $headers DeleteKnowledgeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteKnowledgeResponse DeleteKnowledgeResponse */ public function deleteKnowledgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->studyId)) { $query['studyId'] = $request->studyId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteKnowledge', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/knowledges/items', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteKnowledgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除助理知识 * * * @param DeleteKnowledgeRequest $request DeleteKnowledgeRequest * * @return DeleteKnowledgeResponse DeleteKnowledgeResponse */ public function deleteKnowledge($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteKnowledgeHeaders([]); return $this->deleteKnowledgeWithOptions($request, $headers, $runtime); } /** * @summary 获取助理问答明细 * * * @param GetAskDetailRequest $request GetAskDetailRequest * @param GetAskDetailHeaders $headers GetAskDetailHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAskDetailResponse GetAskDetailResponse */ public function getAskDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->offset)) { $query['offset'] = $request->offset; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAskDetail', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/askDetails', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAskDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取助理问答明细 * * * @param GetAskDetailRequest $request GetAskDetailRequest * * @return GetAskDetailResponse GetAskDetailResponse */ public function getAskDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetAskDetailHeaders([]); return $this->getAskDetailWithOptions($request, $headers, $runtime); } /** * @summary 获取助理专业词汇 * * * @param GetDomainWordsRequest $request GetDomainWordsRequest * @param GetDomainWordsHeaders $headers GetDomainWordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDomainWordsResponse GetDomainWordsResponse */ public function getDomainWordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDomainWords', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/domainWords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDomainWordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取助理专业词汇 * * * @param GetDomainWordsRequest $request GetDomainWordsRequest * * @return GetDomainWordsResponse GetDomainWordsResponse */ public function getDomainWords($request) { $runtime = new RuntimeOptions([]); $headers = new GetDomainWordsHeaders([]); return $this->getDomainWordsWithOptions($request, $headers, $runtime); } /** * @summary 获取助理知识列表 * * * @param GetKnowledgeListRequest $request GetKnowledgeListRequest * @param GetKnowledgeListHeaders $headers GetKnowledgeListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetKnowledgeListResponse GetKnowledgeListResponse */ public function getKnowledgeListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetKnowledgeList', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/knowledges/items', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetKnowledgeListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取助理知识列表 * * * @param GetKnowledgeListRequest $request GetKnowledgeListRequest * * @return GetKnowledgeListResponse GetKnowledgeListResponse */ public function getKnowledgeList($request) { $runtime = new RuntimeOptions([]); $headers = new GetKnowledgeListHeaders([]); return $this->getKnowledgeListWithOptions($request, $headers, $runtime); } /** * @summary 安装助理 * * * @param InstallAssistantRequest $request InstallAssistantRequest * @param InstallAssistantHeaders $headers InstallAssistantHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return InstallAssistantResponse InstallAssistantResponse */ public function installAssistantWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InstallAssistant', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/install', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallAssistantResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 安装助理 * * * @param InstallAssistantRequest $request InstallAssistantRequest * * @return InstallAssistantResponse InstallAssistantResponse */ public function installAssistant($request) { $runtime = new RuntimeOptions([]); $headers = new InstallAssistantHeaders([]); return $this->installAssistantWithOptions($request, $headers, $runtime); } /** * @summary 助理学习知识 * * * @param LearnKnowledgeRequest $request LearnKnowledgeRequest * @param LearnKnowledgeHeaders $headers LearnKnowledgeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return LearnKnowledgeResponse LearnKnowledgeResponse */ public function learnKnowledgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->docUrl)) { $body['docUrl'] = $request->docUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LearnKnowledge', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/knowledges/items', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LearnKnowledgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 助理学习知识 * * * @param LearnKnowledgeRequest $request LearnKnowledgeRequest * * @return LearnKnowledgeResponse LearnKnowledgeResponse */ public function learnKnowledge($request) { $runtime = new RuntimeOptions([]); $headers = new LearnKnowledgeHeaders([]); return $this->learnKnowledgeWithOptions($request, $headers, $runtime); } /** * @summary 获取AI助理列表 * * * @param ListAssistantRequest $request ListAssistantRequest * @param ListAssistantHeaders $headers ListAssistantHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAssistantResponse ListAssistantResponse */ public function listAssistantWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListAssistant', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/list', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAssistantResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取AI助理列表 * * * @param ListAssistantRequest $request ListAssistantRequest * * @return ListAssistantResponse ListAssistantResponse */ public function listAssistant($request) { $runtime = new RuntimeOptions([]); $headers = new ListAssistantHeaders([]); return $this->listAssistantWithOptions($request, $headers, $runtime); } /** * @summary 获取AI助理消息列表 * * * @param string $threadId * @param ListAssistantMessageRequest $request ListAssistantMessageRequest * @param ListAssistantMessageHeaders $headers ListAssistantMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAssistantMessageResponse ListAssistantMessageResponse */ public function listAssistantMessageWithOptions($threadId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->limit)) { $query['limit'] = $request->limit; } if (!Utils::isUnset($request->order)) { $query['order'] = $request->order; } if (!Utils::isUnset($request->runId)) { $query['runId'] = $request->runId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListAssistantMessage', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/messages', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAssistantMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取AI助理消息列表 * * * @param string $threadId * @param ListAssistantMessageRequest $request ListAssistantMessageRequest * * @return ListAssistantMessageResponse ListAssistantMessageResponse */ public function listAssistantMessage($threadId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAssistantMessageHeaders([]); return $this->listAssistantMessageWithOptions($threadId, $request, $headers, $runtime); } /** * @summary 获取AI助理的运行任务的列表 * * * @param string $threadId * @param ListAssistantRunRequest $request ListAssistantRunRequest * @param ListAssistantRunHeaders $headers ListAssistantRunHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAssistantRunResponse ListAssistantRunResponse */ public function listAssistantRunWithOptions($threadId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->limit)) { $query['limit'] = $request->limit; } if (!Utils::isUnset($request->order)) { $query['order'] = $request->order; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListAssistantRun', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/runs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAssistantRunResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取AI助理的运行任务的列表 * * * @param string $threadId * @param ListAssistantRunRequest $request ListAssistantRunRequest * * @return ListAssistantRunResponse ListAssistantRunResponse */ public function listAssistantRun($threadId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAssistantRunHeaders([]); return $this->listAssistantRunWithOptions($threadId, $request, $headers, $runtime); } /** * @summary 获取用户可见范围的AI助理列表 * * * @param ListVisibleAssistantRequest $request ListVisibleAssistantRequest * @param ListVisibleAssistantHeaders $headers ListVisibleAssistantHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListVisibleAssistantResponse ListVisibleAssistantResponse */ public function listVisibleAssistantWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->cursor)) { $query['cursor'] = $request->cursor; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListVisibleAssistant', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/visibleList', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListVisibleAssistantResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用户可见范围的AI助理列表 * * * @param ListVisibleAssistantRequest $request ListVisibleAssistantRequest * * @return ListVisibleAssistantResponse ListVisibleAssistantResponse */ public function listVisibleAssistant($request) { $runtime = new RuntimeOptions([]); $headers = new ListVisibleAssistantHeaders([]); return $this->listVisibleAssistantWithOptions($request, $headers, $runtime); } /** * @summary 助理学习增量知识 * * * @param RelearnKnowledgeRequest $request RelearnKnowledgeRequest * @param RelearnKnowledgeHeaders $headers RelearnKnowledgeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RelearnKnowledgeResponse RelearnKnowledgeResponse */ public function relearnKnowledgeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RelearnKnowledge', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/knowledges/incrLearning', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RelearnKnowledgeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 助理学习增量知识 * * * @param RelearnKnowledgeRequest $request RelearnKnowledgeRequest * * @return RelearnKnowledgeResponse RelearnKnowledgeResponse */ public function relearnKnowledge($request) { $runtime = new RuntimeOptions([]); $headers = new RelearnKnowledgeHeaders([]); return $this->relearnKnowledgeWithOptions($request, $headers, $runtime); } /** * @summary 查询 AI 助理的基本信息 * * * @param RetrieveAssistantBasicInfoRequest $request RetrieveAssistantBasicInfoRequest * @param RetrieveAssistantBasicInfoHeaders $headers RetrieveAssistantBasicInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RetrieveAssistantBasicInfoResponse RetrieveAssistantBasicInfoResponse */ public function retrieveAssistantBasicInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RetrieveAssistantBasicInfo', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/basicInfo', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RetrieveAssistantBasicInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询 AI 助理的基本信息 * * * @param RetrieveAssistantBasicInfoRequest $request RetrieveAssistantBasicInfoRequest * * @return RetrieveAssistantBasicInfoResponse RetrieveAssistantBasicInfoResponse */ public function retrieveAssistantBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new RetrieveAssistantBasicInfoHeaders([]); return $this->retrieveAssistantBasicInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取AI助理的消息体 * * * @param string $threadId * @param string $messageId * @param RetrieveAssistantMessageHeaders $headers RetrieveAssistantMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RetrieveAssistantMessageResponse RetrieveAssistantMessageResponse */ public function retrieveAssistantMessageWithOptions($threadId, $messageId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'RetrieveAssistantMessage', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/messages/' . $messageId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RetrieveAssistantMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取AI助理的消息体 * * * @param string $threadId * @param string $messageId * * @return RetrieveAssistantMessageResponse RetrieveAssistantMessageResponse */ public function retrieveAssistantMessage($threadId, $messageId) { $runtime = new RuntimeOptions([]); $headers = new RetrieveAssistantMessageHeaders([]); return $this->retrieveAssistantMessageWithOptions($threadId, $messageId, $headers, $runtime); } /** * @summary 检索AI助理的运行任务 * * * @param string $threadId * @param string $runId * @param RetrieveAssistantRunHeaders $headers RetrieveAssistantRunHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RetrieveAssistantRunResponse RetrieveAssistantRunResponse */ public function retrieveAssistantRunWithOptions($threadId, $runId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'RetrieveAssistantRun', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '/runs/' . $runId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RetrieveAssistantRunResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 检索AI助理的运行任务 * * * @param string $threadId * @param string $runId * * @return RetrieveAssistantRunResponse RetrieveAssistantRunResponse */ public function retrieveAssistantRun($threadId, $runId) { $runtime = new RuntimeOptions([]); $headers = new RetrieveAssistantRunHeaders([]); return $this->retrieveAssistantRunWithOptions($threadId, $runId, $headers, $runtime); } /** * @summary 获取助理的使用范围 * * * @param RetrieveAssistantScopeRequest $request RetrieveAssistantScopeRequest * @param RetrieveAssistantScopeHeaders $headers RetrieveAssistantScopeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RetrieveAssistantScopeResponse RetrieveAssistantScopeResponse */ public function retrieveAssistantScopeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->assistantId)) { $query['assistantId'] = $request->assistantId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'RetrieveAssistantScope', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/scope', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RetrieveAssistantScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取助理的使用范围 * * * @param RetrieveAssistantScopeRequest $request RetrieveAssistantScopeRequest * * @return RetrieveAssistantScopeResponse RetrieveAssistantScopeResponse */ public function retrieveAssistantScope($request) { $runtime = new RuntimeOptions([]); $headers = new RetrieveAssistantScopeHeaders([]); return $this->retrieveAssistantScopeWithOptions($request, $headers, $runtime); } /** * @summary 检索AI助理线程实例 * * * @param string $threadId * @param RetrieveAssistantThreadHeaders $headers RetrieveAssistantThreadHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RetrieveAssistantThreadResponse RetrieveAssistantThreadResponse */ public function retrieveAssistantThreadWithOptions($threadId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'RetrieveAssistantThread', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/threads/' . $threadId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RetrieveAssistantThreadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 检索AI助理线程实例 * * * @param string $threadId * * @return RetrieveAssistantThreadResponse RetrieveAssistantThreadResponse */ public function retrieveAssistantThread($threadId) { $runtime = new RuntimeOptions([]); $headers = new RetrieveAssistantThreadHeaders([]); return $this->retrieveAssistantThreadWithOptions($threadId, $headers, $runtime); } /** * @summary 更新AI助理基础信息 * * * @param UpdateAssistantBasicInfoRequest $request UpdateAssistantBasicInfoRequest * @param UpdateAssistantBasicInfoHeaders $headers UpdateAssistantBasicInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateAssistantBasicInfoResponse UpdateAssistantBasicInfoResponse */ public function updateAssistantBasicInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->fallbackContent)) { $body['fallbackContent'] = $request->fallbackContent; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->instructions)) { $body['instructions'] = $request->instructions; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->recommendPrompts)) { $body['recommendPrompts'] = $request->recommendPrompts; } if (!Utils::isUnset($request->welcomeContent)) { $body['welcomeContent'] = $request->welcomeContent; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateAssistantBasicInfo', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/basicInfo', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateAssistantBasicInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新AI助理基础信息 * * * @param UpdateAssistantBasicInfoRequest $request UpdateAssistantBasicInfoRequest * * @return UpdateAssistantBasicInfoResponse UpdateAssistantBasicInfoResponse */ public function updateAssistantBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateAssistantBasicInfoHeaders([]); return $this->updateAssistantBasicInfoWithOptions($request, $headers, $runtime); } /** * @summary 更新 AI 助理使用范围 * * * @param UpdateAssistantScopeRequest $request UpdateAssistantScopeRequest * @param UpdateAssistantScopeHeaders $headers UpdateAssistantScopeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateAssistantScopeResponse UpdateAssistantScopeResponse */ public function updateAssistantScopeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assistantId)) { $body['assistantId'] = $request->assistantId; } if (!Utils::isUnset($request->operatorUnionId)) { $body['operatorUnionId'] = $request->operatorUnionId; } if (!Utils::isUnset($request->scopes)) { $body['scopes'] = $request->scopes; } if (!Utils::isUnset($request->sharing)) { $body['sharing'] = $request->sharing; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateAssistantScope', 'version' => 'assistant_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/assistant/scope', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'any', ]); return UpdateAssistantScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新 AI 助理使用范围 * * * @param UpdateAssistantScopeRequest $request UpdateAssistantScopeRequest * * @return UpdateAssistantScopeResponse UpdateAssistantScopeResponse */ public function updateAssistantScope($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateAssistantScopeHeaders([]); return $this->updateAssistantScopeWithOptions($request, $headers, $runtime); } } src/assistant_1_0/Models/AddDomainWordsHeaders.php 0000644 00000002335 14713400346 0016077 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddDomainWordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/AddDomainWordsRequest.php 0000644 00000003575 14713400346 0016163 0 ustar 00 'assistantId', 'domainWords' => 'domainWords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->domainWords) { $res['domainWords'] = []; if (null !== $this->domainWords && \is_array($this->domainWords)) { $n = 0; foreach ($this->domainWords as $item) { $res['domainWords'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AddDomainWordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['domainWords'])) { if (!empty($map['domainWords'])) { $model->domainWords = []; $n = 0; foreach ($map['domainWords'] as $item) { $model->domainWords[$n++] = null !== $item ? domainWords::fromMap($item) : $item; } } } return $model; } } src/assistant_1_0/Models/AddDomainWordsRequest/domainWords.php 0000644 00000003026 14713400346 0020440 0 ustar 00 'description', 'domainWord' => 'domainWord', 'formalWords' => 'formalWords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->domainWord) { $res['domainWord'] = $this->domainWord; } if (null !== $this->formalWords) { $res['formalWords'] = $this->formalWords; } return $res; } /** * @param array $map * * @return domainWords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['domainWord'])) { $model->domainWord = $map['domainWord']; } if (isset($map['formalWords'])) { if (!empty($map['formalWords'])) { $model->formalWords = $map['formalWords']; } } return $model; } } src/assistant_1_0/Models/AddDomainWordsResponse.php 0000644 00000002727 14713400346 0016327 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddDomainWordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddDomainWordsResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/AddDomainWordsResponseBody.php 0000644 00000001507 14713400346 0017140 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddDomainWordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/CreateAssistantHeaders.php 0000644 00000002337 14713400346 0016337 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAssistantHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/CreateAssistantMessageHeaders.php 0000644 00000002355 14713400346 0017644 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAssistantMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/CreateAssistantMessageRequest.php 0000644 00000002737 14713400346 0017725 0 ustar 00 'content', 'metadata' => 'metadata', 'role' => 'role', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->role) { $res['role'] = $this->role; } return $res; } /** * @param array $map * * @return CreateAssistantMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['role'])) { $model->role = $map['role']; } return $model; } } src/assistant_1_0/Models/CreateAssistantMessageResponse.php 0000644 00000002767 14713400346 0020076 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAssistantMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAssistantMessageResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/CreateAssistantMessageResponseBody.php 0000644 00000006131 14713400346 0020701 0 ustar 00 'assistantId', 'content' => 'content', 'createdAt' => 'createdAt', 'id' => 'id', 'metadata' => 'metadata', 'object' => 'object', 'role' => 'role', 'runId' => 'runId', 'threadId' => 'threadId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->runId) { $res['runId'] = $this->runId; } if (null !== $this->threadId) { $res['threadId'] = $this->threadId; } return $res; } /** * @param array $map * * @return CreateAssistantMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = $map['content']; } } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['runId'])) { $model->runId = $map['runId']; } if (isset($map['threadId'])) { $model->threadId = $map['threadId']; } return $model; } } src/assistant_1_0/Models/CreateAssistantRequest.php 0000644 00000006164 14713400346 0016416 0 ustar 00 'description', 'icon' => 'icon', 'instructions' => 'instructions', 'name' => 'name', 'operatorUnionId' => 'operatorUnionId', 'recommendPrompts' => 'recommendPrompts', 'welcomeContent' => 'welcomeContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->instructions) { $res['instructions'] = $this->instructions; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->recommendPrompts) { $res['recommendPrompts'] = $this->recommendPrompts; } if (null !== $this->welcomeContent) { $res['welcomeContent'] = $this->welcomeContent; } return $res; } /** * @param array $map * * @return CreateAssistantRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['instructions'])) { $model->instructions = $map['instructions']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['recommendPrompts'])) { if (!empty($map['recommendPrompts'])) { $model->recommendPrompts = $map['recommendPrompts']; } } if (isset($map['welcomeContent'])) { $model->welcomeContent = $map['welcomeContent']; } return $model; } } src/assistant_1_0/Models/CreateAssistantResponse.php 0000644 00000002733 14713400346 0016562 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAssistantResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAssistantResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/CreateAssistantResponseBody.php 0000644 00000013034 14713400346 0017374 0 ustar 00 'actionNames', 'assistantId' => 'assistantId', 'assistantUnionId' => 'assistantUnionId', 'createdAt' => 'createdAt', 'creatorUnionId' => 'creatorUnionId', 'description' => 'description', 'fallbackContent' => 'fallbackContent', 'icon' => 'icon', 'instructions' => 'instructions', 'knowledgeFileNames' => 'knowledgeFileNames', 'model' => 'model', 'name' => 'name', 'recommendPrompts' => 'recommendPrompts', 'unifiedAppId' => 'unifiedAppId', 'welcomeContent' => 'welcomeContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionNames) { $res['actionNames'] = $this->actionNames; } if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->assistantUnionId) { $res['assistantUnionId'] = $this->assistantUnionId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->fallbackContent) { $res['fallbackContent'] = $this->fallbackContent; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->instructions) { $res['instructions'] = $this->instructions; } if (null !== $this->knowledgeFileNames) { $res['knowledgeFileNames'] = $this->knowledgeFileNames; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->recommendPrompts) { $res['recommendPrompts'] = $this->recommendPrompts; } if (null !== $this->unifiedAppId) { $res['unifiedAppId'] = $this->unifiedAppId; } if (null !== $this->welcomeContent) { $res['welcomeContent'] = $this->welcomeContent; } return $res; } /** * @param array $map * * @return CreateAssistantResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionNames'])) { if (!empty($map['actionNames'])) { $model->actionNames = $map['actionNames']; } } if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['assistantUnionId'])) { $model->assistantUnionId = $map['assistantUnionId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['fallbackContent'])) { $model->fallbackContent = $map['fallbackContent']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['instructions'])) { $model->instructions = $map['instructions']; } if (isset($map['knowledgeFileNames'])) { if (!empty($map['knowledgeFileNames'])) { $model->knowledgeFileNames = $map['knowledgeFileNames']; } } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['recommendPrompts'])) { if (!empty($map['recommendPrompts'])) { $model->recommendPrompts = $map['recommendPrompts']; } } if (isset($map['unifiedAppId'])) { $model->unifiedAppId = $map['unifiedAppId']; } if (isset($map['welcomeContent'])) { $model->welcomeContent = $map['welcomeContent']; } return $model; } } src/assistant_1_0/Models/CreateAssistantRunHeaders.php 0000644 00000002345 14713400346 0017023 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAssistantRunHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/CreateAssistantRunRequest.php 0000644 00000003436 14713400346 0017102 0 ustar 00 'assistantId', 'instructions' => 'instructions', 'metadata' => 'metadata', 'stream' => 'stream', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->instructions) { $res['instructions'] = $this->instructions; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->stream) { $res['stream'] = $this->stream; } return $res; } /** * @param array $map * * @return CreateAssistantRunRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['instructions'])) { $model->instructions = $map['instructions']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['stream'])) { $model->stream = $map['stream']; } return $model; } } src/assistant_1_0/Models/CreateAssistantRunResponse.php 0000644 00000002747 14713400346 0017254 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAssistantRunResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAssistantRunResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/CreateAssistantRunResponseBody.php 0000644 00000010455 14713400346 0020065 0 ustar 00 'assistantId', 'cancelledAt' => 'cancelledAt', 'completedAt' => 'completedAt', 'createdAt' => 'createdAt', 'expiresAt' => 'expiresAt', 'failedAt' => 'failedAt', 'id' => 'id', 'lastErrorMsg' => 'lastErrorMsg', 'metadata' => 'metadata', 'object' => 'object', 'startedAt' => 'startedAt', 'status' => 'status', 'threadId' => 'threadId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->cancelledAt) { $res['cancelledAt'] = $this->cancelledAt; } if (null !== $this->completedAt) { $res['completedAt'] = $this->completedAt; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->expiresAt) { $res['expiresAt'] = $this->expiresAt; } if (null !== $this->failedAt) { $res['failedAt'] = $this->failedAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->lastErrorMsg) { $res['lastErrorMsg'] = $this->lastErrorMsg; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } if (null !== $this->startedAt) { $res['startedAt'] = $this->startedAt; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->threadId) { $res['threadId'] = $this->threadId; } return $res; } /** * @param array $map * * @return CreateAssistantRunResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['cancelledAt'])) { $model->cancelledAt = $map['cancelledAt']; } if (isset($map['completedAt'])) { $model->completedAt = $map['completedAt']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['expiresAt'])) { $model->expiresAt = $map['expiresAt']; } if (isset($map['failedAt'])) { $model->failedAt = $map['failedAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['lastErrorMsg'])) { $model->lastErrorMsg = $map['lastErrorMsg']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } if (isset($map['startedAt'])) { $model->startedAt = $map['startedAt']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['threadId'])) { $model->threadId = $map['threadId']; } return $model; } } src/assistant_1_0/Models/CreateAssistantThreadHeaders.php 0000644 00000002353 14713400346 0017465 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAssistantThreadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/CreateAssistantThreadRequest.php 0000644 00000001530 14713400346 0017536 0 ustar 00 'metadata', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } return $res; } /** * @param array $map * * @return CreateAssistantThreadRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } return $model; } } src/assistant_1_0/Models/CreateAssistantThreadResponse.php 0000644 00000002763 14713400346 0017715 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAssistantThreadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAssistantThreadResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/CreateAssistantThreadResponseBody.php 0000644 00000003212 14713400346 0020521 0 ustar 00 'createdAt', 'id' => 'id', 'metadata' => 'metadata', 'object' => 'object', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } return $res; } /** * @param array $map * * @return CreateAssistantThreadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantHeaders.php 0000644 00000002337 14713400346 0016336 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteAssistantHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantMessageHeaders.php 0000644 00000002355 14713400346 0017643 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteAssistantMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantMessageResponse.php 0000644 00000002767 14713400346 0020075 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteAssistantMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteAssistantMessageResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/DeleteAssistantMessageResponseBody.php 0000644 00000002525 14713400346 0020703 0 ustar 00 'deleted', 'id' => 'id', 'object' => 'object', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->object) { $res['object'] = $this->object; } return $res; } /** * @param array $map * * @return DeleteAssistantMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['object'])) { $model->object = $map['object']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantRequest.php 0000644 00000002466 14713400346 0016416 0 ustar 00 'assistantId', 'operatorUnionId' => 'operatorUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } return $res; } /** * @param array $map * * @return DeleteAssistantRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantResponse.php 0000644 00000002733 14713400346 0016561 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteAssistantResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteAssistantResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/DeleteAssistantResponseBody.php 0000644 00000001511 14713400346 0017370 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteAssistantResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantThreadHeaders.php 0000644 00000002353 14713400346 0017464 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteAssistantThreadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/DeleteAssistantThreadResponse.php 0000644 00000002763 14713400346 0017714 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteAssistantThreadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteAssistantThreadResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/DeleteAssistantThreadResponseBody.php 0000644 00000002523 14713400346 0020524 0 ustar 00 'deleted', 'id' => 'id', 'object' => 'object', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deleted) { $res['deleted'] = $this->deleted; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->object) { $res['object'] = $this->object; } return $res; } /** * @param array $map * * @return DeleteAssistantThreadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deleted'])) { $model->deleted = $map['deleted']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['object'])) { $model->object = $map['object']; } return $model; } } src/assistant_1_0/Models/DeleteDomainWordsHeaders.php 0000644 00000002343 14713400346 0016610 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteDomainWordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/DeleteDomainWordsRequest.php 0000644 00000003606 14713400346 0016670 0 ustar 00 'assistantId', 'domainWords' => 'domainWords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->domainWords) { $res['domainWords'] = []; if (null !== $this->domainWords && \is_array($this->domainWords)) { $n = 0; foreach ($this->domainWords as $item) { $res['domainWords'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DeleteDomainWordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['domainWords'])) { if (!empty($map['domainWords'])) { $model->domainWords = []; $n = 0; foreach ($map['domainWords'] as $item) { $model->domainWords[$n++] = null !== $item ? domainWords::fromMap($item) : $item; } } } return $model; } } src/assistant_1_0/Models/DeleteDomainWordsRequest/domainWords.php 0000644 00000003031 14713400346 0021146 0 ustar 00 'description', 'domainWord' => 'domainWord', 'formalWords' => 'formalWords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->domainWord) { $res['domainWord'] = $this->domainWord; } if (null !== $this->formalWords) { $res['formalWords'] = $this->formalWords; } return $res; } /** * @param array $map * * @return domainWords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['domainWord'])) { $model->domainWord = $map['domainWord']; } if (isset($map['formalWords'])) { if (!empty($map['formalWords'])) { $model->formalWords = $map['formalWords']; } } return $model; } } src/assistant_1_0/Models/DeleteDomainWordsResponse.php 0000644 00000002743 14713400346 0017037 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteDomainWordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteDomainWordsResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/DeleteDomainWordsResponseBody.php 0000644 00000001515 14713400346 0017651 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteDomainWordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/DeleteKnowledgeHeaders.php 0000644 00000002337 14713400346 0016304 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteKnowledgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/DeleteKnowledgeRequest.php 0000644 00000002356 14713400346 0016362 0 ustar 00 'assistantId', 'studyId' => 'studyId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->studyId) { $res['studyId'] = $this->studyId; } return $res; } /** * @param array $map * * @return DeleteKnowledgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['studyId'])) { $model->studyId = $map['studyId']; } return $model; } } src/assistant_1_0/Models/DeleteKnowledgeResponse.php 0000644 00000002733 14713400346 0016527 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteKnowledgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteKnowledgeResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/DeleteKnowledgeResponseBody.php 0000644 00000001511 14713400346 0017336 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteKnowledgeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/GetAskDetailHeaders.php 0000644 00000002331 14713400346 0015535 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAskDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/GetAskDetailRequest.php 0000644 00000004164 14713400346 0015620 0 ustar 00 'assistantId', 'endTime' => 'endTime', 'offset' => 'offset', 'pageSize' => 'pageSize', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return GetAskDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/assistant_1_0/Models/GetAskDetailResponse.php 0000644 00000002717 14713400346 0015770 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAskDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAskDetailResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/GetAskDetailResponseBody.php 0000644 00000002341 14713400346 0016577 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetAskDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/GetAskDetailResponseBody/result.php 0000644 00000004332 14713400346 0020117 0 ustar 00 'hasMore', 'list' => 'list', 'nextCursor' => 'nextCursor', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/assistant_1_0/Models/GetAskDetailResponseBody/result/list_.php 0000644 00000007066 14713400346 0021240 0 ustar 00 'answer', 'answerResult' => 'answerResult', 'commentTags' => 'commentTags', 'isMarkResolved' => 'isMarkResolved', 'nick' => 'nick', 'question' => 'question', 'references' => 'references', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->answer) { $res['answer'] = $this->answer; } if (null !== $this->answerResult) { $res['answerResult'] = $this->answerResult; } if (null !== $this->commentTags) { $res['commentTags'] = $this->commentTags; } if (null !== $this->isMarkResolved) { $res['isMarkResolved'] = $this->isMarkResolved; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->question) { $res['question'] = $this->question; } if (null !== $this->references) { $res['references'] = []; if (null !== $this->references && \is_array($this->references)) { $n = 0; foreach ($this->references as $item) { $res['references'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['answer'])) { $model->answer = $map['answer']; } if (isset($map['answerResult'])) { $model->answerResult = $map['answerResult']; } if (isset($map['commentTags'])) { if (!empty($map['commentTags'])) { $model->commentTags = $map['commentTags']; } } if (isset($map['isMarkResolved'])) { $model->isMarkResolved = $map['isMarkResolved']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['question'])) { $model->question = $map['question']; } if (isset($map['references'])) { if (!empty($map['references'])) { $model->references = []; $n = 0; foreach ($map['references'] as $item) { $model->references[$n++] = null !== $item ? references::fromMap($item) : $item; } } } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/assistant_1_0/Models/GetAskDetailResponseBody/result/list_/references.php 0000644 00000002050 14713400346 0023345 0 ustar 00 'name', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return references */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/assistant_1_0/Models/GetDomainWordsHeaders.php 0000644 00000002335 14713400346 0016126 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDomainWordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/GetDomainWordsRequest.php 0000644 00000001632 14713400346 0016202 0 ustar 00 'assistantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } return $res; } /** * @param array $map * * @return GetDomainWordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } return $model; } } src/assistant_1_0/Models/GetDomainWordsResponse.php 0000644 00000002727 14713400346 0016356 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDomainWordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDomainWordsResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/GetDomainWordsResponseBody.php 0000644 00000002224 14713400346 0017164 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetDomainWordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/GetKnowledgeListHeaders.php 0000644 00000002341 14713400346 0016450 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetKnowledgeListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/GetKnowledgeListRequest.php 0000644 00000001547 14713400346 0016534 0 ustar 00 'assistantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } return $res; } /** * @param array $map * * @return GetKnowledgeListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } return $model; } } src/assistant_1_0/Models/GetKnowledgeListResponse.php 0000644 00000002737 14713400346 0016704 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetKnowledgeListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetKnowledgeListResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/GetKnowledgeListResponseBody.php 0000644 00000003245 14713400346 0017515 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetKnowledgeListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/GetKnowledgeListResponseBody/result.php 0000644 00000003644 14713400346 0021036 0 ustar 00 'docFormat', 'docName' => 'docName', 'docUrl' => 'docUrl', 'status' => 'status', 'studyId' => 'studyId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->docFormat) { $res['docFormat'] = $this->docFormat; } if (null !== $this->docName) { $res['docName'] = $this->docName; } if (null !== $this->docUrl) { $res['docUrl'] = $this->docUrl; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->studyId) { $res['studyId'] = $this->studyId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['docFormat'])) { $model->docFormat = $map['docFormat']; } if (isset($map['docName'])) { $model->docName = $map['docName']; } if (isset($map['docUrl'])) { $model->docUrl = $map['docUrl']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['studyId'])) { $model->studyId = $map['studyId']; } return $model; } } src/assistant_1_0/Models/InstallAssistantHeaders.php 0000644 00000002341 14713400346 0016535 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallAssistantHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/InstallAssistantRequest.php 0000644 00000001547 14713400346 0016621 0 ustar 00 'assistantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } return $res; } /** * @param array $map * * @return InstallAssistantRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } return $model; } } src/assistant_1_0/Models/InstallAssistantResponse.php 0000644 00000002737 14713400346 0016771 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallAssistantResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallAssistantResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/InstallAssistantResponseBody.php 0000644 00000001513 14713400346 0017576 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return InstallAssistantResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/LearnKnowledgeHeaders.php 0000644 00000002335 14713400346 0016141 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LearnKnowledgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/LearnKnowledgeRequest.php 0000644 00000002166 14713400346 0016220 0 ustar 00 'assistantId', 'docUrl' => 'docUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->docUrl) { $res['docUrl'] = $this->docUrl; } return $res; } /** * @param array $map * * @return LearnKnowledgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['docUrl'])) { $model->docUrl = $map['docUrl']; } return $model; } } src/assistant_1_0/Models/LearnKnowledgeResponse.php 0000644 00000002727 14713400346 0016371 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LearnKnowledgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LearnKnowledgeResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/LearnKnowledgeResponseBody.php 0000644 00000001507 14713400346 0017202 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return LearnKnowledgeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/ListAssistantHeaders.php 0000644 00000002333 14713400346 0016043 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAssistantHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/ListAssistantMessageHeaders.php 0000644 00000002351 14713400346 0017350 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAssistantMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/ListAssistantMessageRequest.php 0000644 00000002500 14713400346 0017421 0 ustar 00 'limit', 'order' => 'order', 'runId' => 'runId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->order) { $res['order'] = $this->order; } if (null !== $this->runId) { $res['runId'] = $this->runId; } return $res; } /** * @param array $map * * @return ListAssistantMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['order'])) { $model->order = $map['order']; } if (isset($map['runId'])) { $model->runId = $map['runId']; } return $model; } } src/assistant_1_0/Models/ListAssistantMessageResponse.php 0000644 00000002757 14713400346 0017605 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAssistantMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAssistantMessageResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/ListAssistantMessageResponseBody.php 0000644 00000003207 14713400346 0020412 0 ustar 00 'data', 'object' => 'object', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = []; if (null !== $this->data && \is_array($this->data)) { $n = 0; foreach ($this->data as $item) { $res['data'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->object) { $res['object'] = $this->object; } return $res; } /** * @param array $map * * @return ListAssistantMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['object'])) { $model->object = $map['object']; } return $model; } } src/assistant_1_0/Models/ListAssistantMessageResponseBody/data.php 0000644 00000006076 14713400346 0021332 0 ustar 00 'assistantId', 'content' => 'content', 'createdAt' => 'createdAt', 'id' => 'id', 'metadata' => 'metadata', 'object' => 'object', 'role' => 'role', 'runId' => 'runId', 'threadId' => 'threadId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->runId) { $res['runId'] = $this->runId; } if (null !== $this->threadId) { $res['threadId'] = $this->threadId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = $map['content']; } } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['runId'])) { $model->runId = $map['runId']; } if (isset($map['threadId'])) { $model->threadId = $map['threadId']; } return $model; } } src/assistant_1_0/Models/ListAssistantRequest.php 0000644 00000002726 14713400346 0016126 0 ustar 00 'cursor', 'pageSize' => 'pageSize', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListAssistantRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/assistant_1_0/Models/ListAssistantResponse.php 0000644 00000002723 14713400346 0016271 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAssistantResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAssistantResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/ListAssistantResponseBody.php 0000644 00000004341 14713400346 0017105 0 ustar 00 'hasMore', 'list' => 'list', 'nextCursor' => 'nextCursor', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListAssistantResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/assistant_1_0/Models/ListAssistantResponseBody/list_.php 0000644 00000004453 14713400346 0020223 0 ustar 00 'assistantId', 'createdAt' => 'createdAt', 'creatorUnionId' => 'creatorUnionId', 'description' => 'description', 'icon' => 'icon', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/assistant_1_0/Models/ListAssistantRunHeaders.php 0000644 00000002341 14713400346 0016527 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAssistantRunHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/ListAssistantRunRequest.php 0000644 00000002063 14713400346 0016605 0 ustar 00 'limit', 'order' => 'order', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->order) { $res['order'] = $this->order; } return $res; } /** * @param array $map * * @return ListAssistantRunRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['order'])) { $model->order = $map['order']; } return $model; } } src/assistant_1_0/Models/ListAssistantRunResponse.php 0000644 00000002737 14713400346 0016763 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAssistantRunResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAssistantRunResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/ListAssistantRunResponseBody.php 0000644 00000003173 14713400346 0017574 0 ustar 00 'data', 'object' => 'object', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = []; if (null !== $this->data && \is_array($this->data)) { $n = 0; foreach ($this->data as $item) { $res['data'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->object) { $res['object'] = $this->object; } return $res; } /** * @param array $map * * @return ListAssistantRunResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? data::fromMap($item) : $item; } } } if (isset($map['object'])) { $model->object = $map['object']; } return $model; } } src/assistant_1_0/Models/ListAssistantRunResponseBody/data.php 0000644 00000010426 14713400346 0020504 0 ustar 00 'assistantId', 'cancelledAt' => 'cancelledAt', 'completedAt' => 'completedAt', 'createdAt' => 'createdAt', 'expiresAt' => 'expiresAt', 'failedAt' => 'failedAt', 'id' => 'id', 'lastErrorMsg' => 'lastErrorMsg', 'metadata' => 'metadata', 'object' => 'object', 'startedAt' => 'startedAt', 'status' => 'status', 'threadId' => 'threadId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->cancelledAt) { $res['cancelledAt'] = $this->cancelledAt; } if (null !== $this->completedAt) { $res['completedAt'] = $this->completedAt; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->expiresAt) { $res['expiresAt'] = $this->expiresAt; } if (null !== $this->failedAt) { $res['failedAt'] = $this->failedAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->lastErrorMsg) { $res['lastErrorMsg'] = $this->lastErrorMsg; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } if (null !== $this->startedAt) { $res['startedAt'] = $this->startedAt; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->threadId) { $res['threadId'] = $this->threadId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['cancelledAt'])) { $model->cancelledAt = $map['cancelledAt']; } if (isset($map['completedAt'])) { $model->completedAt = $map['completedAt']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['expiresAt'])) { $model->expiresAt = $map['expiresAt']; } if (isset($map['failedAt'])) { $model->failedAt = $map['failedAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['lastErrorMsg'])) { $model->lastErrorMsg = $map['lastErrorMsg']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } if (isset($map['startedAt'])) { $model->startedAt = $map['startedAt']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['threadId'])) { $model->threadId = $map['threadId']; } return $model; } } src/assistant_1_0/Models/ListVisibleAssistantHeaders.php 0000644 00000002351 14713400346 0017361 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListVisibleAssistantHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/ListVisibleAssistantRequest.php 0000644 00000002744 14713400346 0017444 0 ustar 00 'cursor', 'pageSize' => 'pageSize', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cursor) { $res['cursor'] = $this->cursor; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return ListVisibleAssistantRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cursor'])) { $model->cursor = $map['cursor']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/assistant_1_0/Models/ListVisibleAssistantResponse.php 0000644 00000002757 14713400346 0017616 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListVisibleAssistantResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListVisibleAssistantResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/ListVisibleAssistantResponseBody.php 0000644 00000004366 14713400346 0020432 0 ustar 00 'hasMore', 'list' => 'list', 'nextCursor' => 'nextCursor', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListVisibleAssistantResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/assistant_1_0/Models/ListVisibleAssistantResponseBody/list_.php 0000644 00000004462 14713400346 0021541 0 ustar 00 'assistantId', 'createdAt' => 'createdAt', 'creatorUnionId' => 'creatorUnionId', 'description' => 'description', 'icon' => 'icon', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/assistant_1_0/Models/RelearnKnowledgeHeaders.php 0000644 00000002341 14713400346 0016465 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RelearnKnowledgeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/RelearnKnowledgeRequest.php 0000644 00000001636 14713400346 0016550 0 ustar 00 'assistantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } return $res; } /** * @param array $map * * @return RelearnKnowledgeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } return $model; } } src/assistant_1_0/Models/RelearnKnowledgeResponse.php 0000644 00000002737 14713400346 0016721 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RelearnKnowledgeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RelearnKnowledgeResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/RelearnKnowledgeResponseBody.php 0000644 00000001513 14713400346 0017526 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RelearnKnowledgeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantBasicInfoHeaders.php 0000644 00000002365 14713400346 0020500 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetrieveAssistantBasicInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantBasicInfoRequest.php 0000644 00000002404 14713400346 0020547 0 ustar 00 'assistantId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return RetrieveAssistantBasicInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantBasicInfoResponse.php 0000644 00000003007 14713400346 0020715 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RetrieveAssistantBasicInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RetrieveAssistantBasicInfoResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/RetrieveAssistantBasicInfoResponseBody.php 0000644 00000013062 14713400346 0021535 0 ustar 00 'actionNames', 'assistantId' => 'assistantId', 'assistantUnionId' => 'assistantUnionId', 'createdAt' => 'createdAt', 'creatorUnionId' => 'creatorUnionId', 'description' => 'description', 'fallbackContent' => 'fallbackContent', 'icon' => 'icon', 'instructions' => 'instructions', 'knowledgeFileNames' => 'knowledgeFileNames', 'model' => 'model', 'name' => 'name', 'recommendPrompts' => 'recommendPrompts', 'unifiedAppId' => 'unifiedAppId', 'welcomeContent' => 'welcomeContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionNames) { $res['actionNames'] = $this->actionNames; } if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->assistantUnionId) { $res['assistantUnionId'] = $this->assistantUnionId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->fallbackContent) { $res['fallbackContent'] = $this->fallbackContent; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->instructions) { $res['instructions'] = $this->instructions; } if (null !== $this->knowledgeFileNames) { $res['knowledgeFileNames'] = $this->knowledgeFileNames; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->recommendPrompts) { $res['recommendPrompts'] = $this->recommendPrompts; } if (null !== $this->unifiedAppId) { $res['unifiedAppId'] = $this->unifiedAppId; } if (null !== $this->welcomeContent) { $res['welcomeContent'] = $this->welcomeContent; } return $res; } /** * @param array $map * * @return RetrieveAssistantBasicInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionNames'])) { if (!empty($map['actionNames'])) { $model->actionNames = $map['actionNames']; } } if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['assistantUnionId'])) { $model->assistantUnionId = $map['assistantUnionId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['fallbackContent'])) { $model->fallbackContent = $map['fallbackContent']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['instructions'])) { $model->instructions = $map['instructions']; } if (isset($map['knowledgeFileNames'])) { if (!empty($map['knowledgeFileNames'])) { $model->knowledgeFileNames = $map['knowledgeFileNames']; } } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['recommendPrompts'])) { if (!empty($map['recommendPrompts'])) { $model->recommendPrompts = $map['recommendPrompts']; } } if (isset($map['unifiedAppId'])) { $model->unifiedAppId = $map['unifiedAppId']; } if (isset($map['welcomeContent'])) { $model->welcomeContent = $map['welcomeContent']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantMessageHeaders.php 0000644 00000002361 14713400346 0020223 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetrieveAssistantMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantMessageResponse.php 0000644 00000002777 14713400346 0020461 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RetrieveAssistantMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RetrieveAssistantMessageResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/RetrieveAssistantMessageResponseBody.php 0000644 00000006114 14713400346 0021264 0 ustar 00 'assisantId', 'content' => 'content', 'createdAt' => 'createdAt', 'id' => 'id', 'metadata' => 'metadata', 'object' => 'object', 'role' => 'role', 'runId' => 'runId', 'threadId' => 'threadId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assisantId) { $res['assisantId'] = $this->assisantId; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->runId) { $res['runId'] = $this->runId; } if (null !== $this->threadId) { $res['threadId'] = $this->threadId; } return $res; } /** * @param array $map * * @return RetrieveAssistantMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assisantId'])) { $model->assisantId = $map['assisantId']; } if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = $map['content']; } } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['runId'])) { $model->runId = $map['runId']; } if (isset($map['threadId'])) { $model->threadId = $map['threadId']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantRunHeaders.php 0000644 00000002351 14713400346 0017402 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetrieveAssistantRunHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantRunResponse.php 0000644 00000002757 14713400346 0017637 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RetrieveAssistantRunResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RetrieveAssistantRunResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/RetrieveAssistantRunResponseBody.php 0000644 00000010461 14713400346 0020444 0 ustar 00 'assistantId', 'cancelledAt' => 'cancelledAt', 'completedAt' => 'completedAt', 'createdAt' => 'createdAt', 'expiresAt' => 'expiresAt', 'failedAt' => 'failedAt', 'id' => 'id', 'lastErrorMsg' => 'lastErrorMsg', 'metadata' => 'metadata', 'object' => 'object', 'startedAt' => 'startedAt', 'status' => 'status', 'threadId' => 'threadId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->cancelledAt) { $res['cancelledAt'] = $this->cancelledAt; } if (null !== $this->completedAt) { $res['completedAt'] = $this->completedAt; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->expiresAt) { $res['expiresAt'] = $this->expiresAt; } if (null !== $this->failedAt) { $res['failedAt'] = $this->failedAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->lastErrorMsg) { $res['lastErrorMsg'] = $this->lastErrorMsg; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } if (null !== $this->startedAt) { $res['startedAt'] = $this->startedAt; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->threadId) { $res['threadId'] = $this->threadId; } return $res; } /** * @param array $map * * @return RetrieveAssistantRunResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['cancelledAt'])) { $model->cancelledAt = $map['cancelledAt']; } if (isset($map['completedAt'])) { $model->completedAt = $map['completedAt']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['expiresAt'])) { $model->expiresAt = $map['expiresAt']; } if (isset($map['failedAt'])) { $model->failedAt = $map['failedAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['lastErrorMsg'])) { $model->lastErrorMsg = $map['lastErrorMsg']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } if (isset($map['startedAt'])) { $model->startedAt = $map['startedAt']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['threadId'])) { $model->threadId = $map['threadId']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantScopeHeaders.php 0000644 00000002355 14713400346 0017713 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetrieveAssistantScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantScopeRequest.php 0000644 00000001652 14713400346 0017767 0 ustar 00 'assistantId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } return $res; } /** * @param array $map * * @return RetrieveAssistantScopeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantScopeResponse.php 0000644 00000002767 14713400346 0020145 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RetrieveAssistantScopeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RetrieveAssistantScopeResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/RetrieveAssistantScopeResponseBody.php 0000644 00000002377 14713400346 0020760 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RetrieveAssistantScopeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantScopeResponseBody/result.php 0000644 00000003064 14713400346 0022270 0 ustar 00 'assistantId', 'scopes' => 'scopes', 'sharing' => 'sharing', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->scopes) { $res['scopes'] = null !== $this->scopes ? $this->scopes->toMap() : null; } if (null !== $this->sharing) { $res['sharing'] = $this->sharing; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['scopes'])) { $model->scopes = scopes::fromMap($map['scopes']); } if (isset($map['sharing'])) { $model->sharing = $map['sharing']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantScopeResponseBody/result/scopes.php 0000644 00000005111 14713400346 0023557 0 ustar 00 'deptVisibleScopes', 'dynamicGroupScopes' => 'dynamicGroupScopes', 'isAdmin' => 'isAdmin', 'roleVisibleScopes' => 'roleVisibleScopes', 'userVisibleScopes' => 'userVisibleScopes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptVisibleScopes) { $res['deptVisibleScopes'] = $this->deptVisibleScopes; } if (null !== $this->dynamicGroupScopes) { $res['dynamicGroupScopes'] = $this->dynamicGroupScopes; } if (null !== $this->isAdmin) { $res['isAdmin'] = $this->isAdmin; } if (null !== $this->roleVisibleScopes) { $res['roleVisibleScopes'] = $this->roleVisibleScopes; } if (null !== $this->userVisibleScopes) { $res['userVisibleScopes'] = $this->userVisibleScopes; } return $res; } /** * @param array $map * * @return scopes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptVisibleScopes'])) { if (!empty($map['deptVisibleScopes'])) { $model->deptVisibleScopes = $map['deptVisibleScopes']; } } if (isset($map['dynamicGroupScopes'])) { if (!empty($map['dynamicGroupScopes'])) { $model->dynamicGroupScopes = $map['dynamicGroupScopes']; } } if (isset($map['isAdmin'])) { $model->isAdmin = $map['isAdmin']; } if (isset($map['roleVisibleScopes'])) { if (!empty($map['roleVisibleScopes'])) { $model->roleVisibleScopes = $map['roleVisibleScopes']; } } if (isset($map['userVisibleScopes'])) { if (!empty($map['userVisibleScopes'])) { $model->userVisibleScopes = $map['userVisibleScopes']; } } return $model; } } src/assistant_1_0/Models/RetrieveAssistantThreadHeaders.php 0000644 00000002357 14713400346 0020053 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetrieveAssistantThreadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/RetrieveAssistantThreadResponse.php 0000644 00000002773 14713400346 0020300 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RetrieveAssistantThreadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RetrieveAssistantThreadResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/RetrieveAssistantThreadResponseBody.php 0000644 00000003216 14713400346 0021107 0 ustar 00 'createdAt', 'id' => 'id', 'metadata' => 'metadata', 'object' => 'object', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->metadata) { $res['metadata'] = $this->metadata; } if (null !== $this->object) { $res['object'] = $this->object; } return $res; } /** * @param array $map * * @return RetrieveAssistantThreadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['metadata'])) { $model->metadata = $map['metadata']; } if (isset($map['object'])) { $model->object = $map['object']; } return $model; } } src/assistant_1_0/Models/UpdateAssistantBasicInfoHeaders.php 0000644 00000002361 14713400346 0020131 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateAssistantBasicInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/UpdateAssistantBasicInfoRequest.php 0000644 00000007112 14713400346 0020205 0 ustar 00 'assistantId', 'description' => 'description', 'fallbackContent' => 'fallbackContent', 'icon' => 'icon', 'instructions' => 'instructions', 'name' => 'name', 'operatorUnionId' => 'operatorUnionId', 'recommendPrompts' => 'recommendPrompts', 'welcomeContent' => 'welcomeContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->fallbackContent) { $res['fallbackContent'] = $this->fallbackContent; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->instructions) { $res['instructions'] = $this->instructions; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->recommendPrompts) { $res['recommendPrompts'] = $this->recommendPrompts; } if (null !== $this->welcomeContent) { $res['welcomeContent'] = $this->welcomeContent; } return $res; } /** * @param array $map * * @return UpdateAssistantBasicInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['fallbackContent'])) { $model->fallbackContent = $map['fallbackContent']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['instructions'])) { $model->instructions = $map['instructions']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['recommendPrompts'])) { if (!empty($map['recommendPrompts'])) { $model->recommendPrompts = $map['recommendPrompts']; } } if (isset($map['welcomeContent'])) { $model->welcomeContent = $map['welcomeContent']; } return $model; } } src/assistant_1_0/Models/UpdateAssistantBasicInfoResponse.php 0000644 00000002777 14713400346 0020367 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateAssistantBasicInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateAssistantBasicInfoResponseBody::fromMap($map['body']); } return $model; } } src/assistant_1_0/Models/UpdateAssistantBasicInfoResponseBody.php 0000644 00000013056 14713400346 0021175 0 ustar 00 'actionNames', 'assistantId' => 'assistantId', 'assistantUnionId' => 'assistantUnionId', 'createdAt' => 'createdAt', 'creatorUnionId' => 'creatorUnionId', 'description' => 'description', 'fallbackContent' => 'fallbackContent', 'icon' => 'icon', 'instructions' => 'instructions', 'knowledgeFileNames' => 'knowledgeFileNames', 'model' => 'model', 'name' => 'name', 'recommendPrompts' => 'recommendPrompts', 'unifiedAppId' => 'unifiedAppId', 'welcomeContent' => 'welcomeContent', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionNames) { $res['actionNames'] = $this->actionNames; } if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->assistantUnionId) { $res['assistantUnionId'] = $this->assistantUnionId; } if (null !== $this->createdAt) { $res['createdAt'] = $this->createdAt; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->fallbackContent) { $res['fallbackContent'] = $this->fallbackContent; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->instructions) { $res['instructions'] = $this->instructions; } if (null !== $this->knowledgeFileNames) { $res['knowledgeFileNames'] = $this->knowledgeFileNames; } if (null !== $this->model) { $res['model'] = $this->model; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->recommendPrompts) { $res['recommendPrompts'] = $this->recommendPrompts; } if (null !== $this->unifiedAppId) { $res['unifiedAppId'] = $this->unifiedAppId; } if (null !== $this->welcomeContent) { $res['welcomeContent'] = $this->welcomeContent; } return $res; } /** * @param array $map * * @return UpdateAssistantBasicInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionNames'])) { if (!empty($map['actionNames'])) { $model->actionNames = $map['actionNames']; } } if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['assistantUnionId'])) { $model->assistantUnionId = $map['assistantUnionId']; } if (isset($map['createdAt'])) { $model->createdAt = $map['createdAt']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['fallbackContent'])) { $model->fallbackContent = $map['fallbackContent']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['instructions'])) { $model->instructions = $map['instructions']; } if (isset($map['knowledgeFileNames'])) { if (!empty($map['knowledgeFileNames'])) { $model->knowledgeFileNames = $map['knowledgeFileNames']; } } if (isset($map['model'])) { $model->model = $map['model']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['recommendPrompts'])) { if (!empty($map['recommendPrompts'])) { $model->recommendPrompts = $map['recommendPrompts']; } } if (isset($map['unifiedAppId'])) { $model->unifiedAppId = $map['unifiedAppId']; } if (isset($map['welcomeContent'])) { $model->welcomeContent = $map['welcomeContent']; } return $model; } } src/assistant_1_0/Models/UpdateAssistantScopeHeaders.php 0000644 00000002351 14713400346 0017344 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateAssistantScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/assistant_1_0/Models/UpdateAssistantScopeRequest.php 0000644 00000004006 14713400346 0017420 0 ustar 00 'assistantId', 'operatorUnionId' => 'operatorUnionId', 'scopes' => 'scopes', 'sharing' => 'sharing', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assistantId) { $res['assistantId'] = $this->assistantId; } if (null !== $this->operatorUnionId) { $res['operatorUnionId'] = $this->operatorUnionId; } if (null !== $this->scopes) { $res['scopes'] = null !== $this->scopes ? $this->scopes->toMap() : null; } if (null !== $this->sharing) { $res['sharing'] = $this->sharing; } return $res; } /** * @param array $map * * @return UpdateAssistantScopeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assistantId'])) { $model->assistantId = $map['assistantId']; } if (isset($map['operatorUnionId'])) { $model->operatorUnionId = $map['operatorUnionId']; } if (isset($map['scopes'])) { $model->scopes = scopes::fromMap($map['scopes']); } if (isset($map['sharing'])) { $model->sharing = $map['sharing']; } return $model; } } src/assistant_1_0/Models/UpdateAssistantScopeRequest/scopes.php 0000644 00000005073 14713400346 0020721 0 ustar 00 'deptVisibleScopes', 'dynamicGroupScopes' => 'dynamicGroupScopes', 'isAdmin' => 'isAdmin', 'roleVisibleScopes' => 'roleVisibleScopes', 'userVisibleScopes' => 'userVisibleScopes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptVisibleScopes) { $res['deptVisibleScopes'] = $this->deptVisibleScopes; } if (null !== $this->dynamicGroupScopes) { $res['dynamicGroupScopes'] = $this->dynamicGroupScopes; } if (null !== $this->isAdmin) { $res['isAdmin'] = $this->isAdmin; } if (null !== $this->roleVisibleScopes) { $res['roleVisibleScopes'] = $this->roleVisibleScopes; } if (null !== $this->userVisibleScopes) { $res['userVisibleScopes'] = $this->userVisibleScopes; } return $res; } /** * @param array $map * * @return scopes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptVisibleScopes'])) { if (!empty($map['deptVisibleScopes'])) { $model->deptVisibleScopes = $map['deptVisibleScopes']; } } if (isset($map['dynamicGroupScopes'])) { if (!empty($map['dynamicGroupScopes'])) { $model->dynamicGroupScopes = $map['dynamicGroupScopes']; } } if (isset($map['isAdmin'])) { $model->isAdmin = $map['isAdmin']; } if (isset($map['roleVisibleScopes'])) { if (!empty($map['roleVisibleScopes'])) { $model->roleVisibleScopes = $map['roleVisibleScopes']; } } if (isset($map['userVisibleScopes'])) { if (!empty($map['userVisibleScopes'])) { $model->userVisibleScopes = $map['userVisibleScopes']; } } return $model; } } src/assistant_1_0/Models/UpdateAssistantScopeResponse.php 0000644 00000002602 14713400346 0017566 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = $this->body; } return $res; } /** * @param array $map * * @return UpdateAssistantScopeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = $map['body']; } return $model; } } src/ats_1_0/Dingtalk.php 0000644 00000167663 14713400346 0011054 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 添加应聘登记表模板 * * * @param AddApplicationRegFormTemplateRequest $request AddApplicationRegFormTemplateRequest * @param AddApplicationRegFormTemplateHeaders $headers AddApplicationRegFormTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddApplicationRegFormTemplateResponse AddApplicationRegFormTemplateResponse */ public function addApplicationRegFormTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->outerId)) { $body['outerId'] = $request->outerId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddApplicationRegFormTemplate', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/flows/applicationRegForms/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddApplicationRegFormTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加应聘登记表模板 * * * @param AddApplicationRegFormTemplateRequest $request AddApplicationRegFormTemplateRequest * * @return AddApplicationRegFormTemplateResponse AddApplicationRegFormTemplateResponse */ public function addApplicationRegFormTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new AddApplicationRegFormTemplateHeaders([]); return $this->addApplicationRegFormTemplateWithOptions($request, $headers, $runtime); } /** * @summary 添加钉盘文件 * * * @param AddFileRequest $request AddFileRequest * @param AddFileHeaders $headers AddFileHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddFileResponse AddFileResponse */ public function addFileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->fileName)) { $body['fileName'] = $request->fileName; } if (!Utils::isUnset($request->mediaId)) { $body['mediaId'] = $request->mediaId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddFile', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/files', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加钉盘文件 * * * @param AddFileRequest $request AddFileRequest * * @return AddFileResponse AddFileResponse */ public function addFile($request) { $runtime = new RuntimeOptions([]); $headers = new AddFileHeaders([]); return $this->addFileWithOptions($request, $headers, $runtime); } /** * @summary 添加渠道个人账号 * * * @param AddUserAccountRequest $request AddUserAccountRequest * @param AddUserAccountHeaders $headers AddUserAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddUserAccountResponse AddUserAccountResponse */ public function addUserAccountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->channelAccountName)) { $body['channelAccountName'] = $request->channelAccountName; } if (!Utils::isUnset($request->channelUserIdentify)) { $body['channelUserIdentify'] = $request->channelUserIdentify; } if (!Utils::isUnset($request->phoneNumber)) { $body['phoneNumber'] = $request->phoneNumber; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddUserAccount', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/channels/users/accounts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddUserAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加渠道个人账号 * * * @param AddUserAccountRequest $request AddUserAccountRequest * * @return AddUserAccountResponse AddUserAccountResponse */ public function addUserAccount($request) { $runtime = new RuntimeOptions([]); $headers = new AddUserAccountHeaders([]); return $this->addUserAccountWithOptions($request, $headers, $runtime); } /** * @summary 渠道招聘职位需求导入 * * * @param CollectRecruitJobDetailRequest $request CollectRecruitJobDetailRequest * @param CollectRecruitJobDetailHeaders $headers CollectRecruitJobDetailHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CollectRecruitJobDetailResponse CollectRecruitJobDetailResponse */ public function collectRecruitJobDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->jobInfo)) { $body['jobInfo'] = $request->jobInfo; } if (!Utils::isUnset($request->outCorpId)) { $body['outCorpId'] = $request->outCorpId; } if (!Utils::isUnset($request->outCorpName)) { $body['outCorpName'] = $request->outCorpName; } if (!Utils::isUnset($request->recruitUserInfo)) { $body['recruitUserInfo'] = $request->recruitUserInfo; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } if (!Utils::isUnset($request->updateTime)) { $body['updateTime'] = $request->updateTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CollectRecruitJobDetail', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/channels/jobs/import', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollectRecruitJobDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 渠道招聘职位需求导入 * * * @param CollectRecruitJobDetailRequest $request CollectRecruitJobDetailRequest * * @return CollectRecruitJobDetailResponse CollectRecruitJobDetailResponse */ public function collectRecruitJobDetail($request) { $runtime = new RuntimeOptions([]); $headers = new CollectRecruitJobDetailHeaders([]); return $this->collectRecruitJobDetailWithOptions($request, $headers, $runtime); } /** * @summary 结构化简历信息回流 * * * @param CollectResumeDetailRequest $request CollectResumeDetailRequest * @param CollectResumeDetailHeaders $headers CollectResumeDetailHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CollectResumeDetailResponse CollectResumeDetailResponse */ public function collectResumeDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->channelCode)) { $body['channelCode'] = $request->channelCode; } if (!Utils::isUnset($request->channelOuterId)) { $body['channelOuterId'] = $request->channelOuterId; } if (!Utils::isUnset($request->channelTalentId)) { $body['channelTalentId'] = $request->channelTalentId; } if (!Utils::isUnset($request->deliverJobId)) { $body['deliverJobId'] = $request->deliverJobId; } if (!Utils::isUnset($request->optUserId)) { $body['optUserId'] = $request->optUserId; } if (!Utils::isUnset($request->resumeChannelUrl)) { $body['resumeChannelUrl'] = $request->resumeChannelUrl; } if (!Utils::isUnset($request->resumeData)) { $body['resumeData'] = $request->resumeData; } if (!Utils::isUnset($request->resumeFile)) { $body['resumeFile'] = $request->resumeFile; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CollectResumeDetail', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/resumes/details', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollectResumeDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 结构化简历信息回流 * * * @param CollectResumeDetailRequest $request CollectResumeDetailRequest * * @return CollectResumeDetailResponse CollectResumeDetailResponse */ public function collectResumeDetail($request) { $runtime = new RuntimeOptions([]); $headers = new CollectResumeDetailHeaders([]); return $this->collectResumeDetailWithOptions($request, $headers, $runtime); } /** * @summary 邮箱简历回流 * * * @param CollectResumeMailRequest $request CollectResumeMailRequest * @param CollectResumeMailHeaders $headers CollectResumeMailHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CollectResumeMailResponse CollectResumeMailResponse */ public function collectResumeMailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->channelCode)) { $body['channelCode'] = $request->channelCode; } if (!Utils::isUnset($request->deliverJobId)) { $body['deliverJobId'] = $request->deliverJobId; } if (!Utils::isUnset($request->fromMailAddress)) { $body['fromMailAddress'] = $request->fromMailAddress; } if (!Utils::isUnset($request->historyMailImport)) { $body['historyMailImport'] = $request->historyMailImport; } if (!Utils::isUnset($request->mailId)) { $body['mailId'] = $request->mailId; } if (!Utils::isUnset($request->mailTitle)) { $body['mailTitle'] = $request->mailTitle; } if (!Utils::isUnset($request->optUserId)) { $body['optUserId'] = $request->optUserId; } if (!Utils::isUnset($request->receiveMailAddress)) { $body['receiveMailAddress'] = $request->receiveMailAddress; } if (!Utils::isUnset($request->receiveMailType)) { $body['receiveMailType'] = $request->receiveMailType; } if (!Utils::isUnset($request->receivedTime)) { $body['receivedTime'] = $request->receivedTime; } if (!Utils::isUnset($request->resumeChannelUrl)) { $body['resumeChannelUrl'] = $request->resumeChannelUrl; } if (!Utils::isUnset($request->resumeFile)) { $body['resumeFile'] = $request->resumeFile; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CollectResumeMail', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/resumes/mails', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CollectResumeMailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 邮箱简历回流 * * * @param CollectResumeMailRequest $request CollectResumeMailRequest * * @return CollectResumeMailResponse CollectResumeMailResponse */ public function collectResumeMail($request) { $runtime = new RuntimeOptions([]); $headers = new CollectResumeMailHeaders([]); return $this->collectResumeMailWithOptions($request, $headers, $runtime); } /** * @summary 确认权益 * * * @param string $rightsCode * @param ConfirmRightsRequest $request ConfirmRightsRequest * @param ConfirmRightsHeaders $headers ConfirmRightsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ConfirmRightsResponse ConfirmRightsResponse */ public function confirmRightsWithOptions($rightsCode, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ConfirmRights', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/rights/' . $rightsCode . '/confirm', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConfirmRightsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 确认权益 * * * @param string $rightsCode * @param ConfirmRightsRequest $request ConfirmRightsRequest * * @return ConfirmRightsResponse ConfirmRightsResponse */ public function confirmRights($rightsCode, $request) { $runtime = new RuntimeOptions([]); $headers = new ConfirmRightsHeaders([]); return $this->confirmRightsWithOptions($rightsCode, $request, $headers, $runtime); } /** * @summary 完成指定的新手任务 * * * @param string $taskCode * @param FinishBeginnerTaskRequest $request FinishBeginnerTaskRequest * @param FinishBeginnerTaskHeaders $headers FinishBeginnerTaskHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return FinishBeginnerTaskResponse FinishBeginnerTaskResponse */ public function finishBeginnerTaskWithOptions($taskCode, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->scope)) { $query['scope'] = $request->scope; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'FinishBeginnerTask', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/beginnerTasks/' . $taskCode . '/finish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return FinishBeginnerTaskResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 完成指定的新手任务 * * * @param string $taskCode * @param FinishBeginnerTaskRequest $request FinishBeginnerTaskRequest * * @return FinishBeginnerTaskResponse FinishBeginnerTaskResponse */ public function finishBeginnerTask($taskCode, $request) { $runtime = new RuntimeOptions([]); $headers = new FinishBeginnerTaskHeaders([]); return $this->finishBeginnerTaskWithOptions($taskCode, $request, $headers, $runtime); } /** * @summary 获取招聘流程关联的应聘登记表信息 * * * @param string $flowId * @param GetApplicationRegFormByFlowIdRequest $request GetApplicationRegFormByFlowIdRequest * @param GetApplicationRegFormByFlowIdHeaders $headers GetApplicationRegFormByFlowIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetApplicationRegFormByFlowIdResponse GetApplicationRegFormByFlowIdResponse */ public function getApplicationRegFormByFlowIdWithOptions($flowId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetApplicationRegFormByFlowId', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/flows/' . $flowId . '/applicationRegForms', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetApplicationRegFormByFlowIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取招聘流程关联的应聘登记表信息 * * * @param string $flowId * @param GetApplicationRegFormByFlowIdRequest $request GetApplicationRegFormByFlowIdRequest * * @return GetApplicationRegFormByFlowIdResponse GetApplicationRegFormByFlowIdResponse */ public function getApplicationRegFormByFlowId($flowId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetApplicationRegFormByFlowIdHeaders([]); return $this->getApplicationRegFormByFlowIdWithOptions($flowId, $request, $headers, $runtime); } /** * @summary 根据手机号获取候选人信息 * * * @param GetCandidateByPhoneNumberRequest $request GetCandidateByPhoneNumberRequest * @param GetCandidateByPhoneNumberHeaders $headers GetCandidateByPhoneNumberHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCandidateByPhoneNumberResponse GetCandidateByPhoneNumberResponse */ public function getCandidateByPhoneNumberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->phoneNumber)) { $query['phoneNumber'] = $request->phoneNumber; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCandidateByPhoneNumber', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/candidates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetCandidateByPhoneNumberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据手机号获取候选人信息 * * * @param GetCandidateByPhoneNumberRequest $request GetCandidateByPhoneNumberRequest * * @return GetCandidateByPhoneNumberResponse GetCandidateByPhoneNumberResponse */ public function getCandidateByPhoneNumber($request) { $runtime = new RuntimeOptions([]); $headers = new GetCandidateByPhoneNumberHeaders([]); return $this->getCandidateByPhoneNumberWithOptions($request, $headers, $runtime); } /** * @summary 获取钉盘上传文件信息 * * * @param GetFileUploadInfoRequest $request GetFileUploadInfoRequest * @param GetFileUploadInfoHeaders $headers GetFileUploadInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFileUploadInfoResponse GetFileUploadInfoResponse */ public function getFileUploadInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->fileName)) { $query['fileName'] = $request->fileName; } if (!Utils::isUnset($request->fileSize)) { $query['fileSize'] = $request->fileSize; } if (!Utils::isUnset($request->md5)) { $query['md5'] = $request->md5; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFileUploadInfo', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/files/uploadInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFileUploadInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取钉盘上传文件信息 * * * @param GetFileUploadInfoRequest $request GetFileUploadInfoRequest * * @return GetFileUploadInfoResponse GetFileUploadInfoResponse */ public function getFileUploadInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetFileUploadInfoHeaders([]); return $this->getFileUploadInfoWithOptions($request, $headers, $runtime); } /** * @summary 根据招聘流程关联的实体标识获取招聘流程标识 * * * @param GetFlowIdByRelationEntityIdRequest $request GetFlowIdByRelationEntityIdRequest * @param GetFlowIdByRelationEntityIdHeaders $headers GetFlowIdByRelationEntityIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFlowIdByRelationEntityIdResponse GetFlowIdByRelationEntityIdResponse */ public function getFlowIdByRelationEntityIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->relationEntity)) { $query['relationEntity'] = $request->relationEntity; } if (!Utils::isUnset($request->relationEntityId)) { $query['relationEntityId'] = $request->relationEntityId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFlowIdByRelationEntityId', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/flows/ids', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFlowIdByRelationEntityIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据招聘流程关联的实体标识获取招聘流程标识 * * * @param GetFlowIdByRelationEntityIdRequest $request GetFlowIdByRelationEntityIdRequest * * @return GetFlowIdByRelationEntityIdResponse GetFlowIdByRelationEntityIdResponse */ public function getFlowIdByRelationEntityId($request) { $runtime = new RuntimeOptions([]); $headers = new GetFlowIdByRelationEntityIdHeaders([]); return $this->getFlowIdByRelationEntityIdWithOptions($request, $headers, $runtime); } /** * @summary 获取职位信息 * * * @param string $jobId * @param GetJobAuthRequest $request GetJobAuthRequest * @param GetJobAuthHeaders $headers GetJobAuthHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetJobAuthResponse GetJobAuthResponse */ public function getJobAuthWithOptions($jobId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetJobAuth', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/auths/jobs/' . $jobId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetJobAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取职位信息 * * * @param string $jobId * @param GetJobAuthRequest $request GetJobAuthRequest * * @return GetJobAuthResponse GetJobAuthResponse */ public function getJobAuth($jobId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetJobAuthHeaders([]); return $this->getJobAuthWithOptions($jobId, $request, $headers, $runtime); } /** * @summary 导入外部渠道发布的职位数据 * * * @param ImportJobDataRequest $request ImportJobDataRequest * @param ImportJobDataHeaders $headers ImportJobDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ImportJobDataResponse ImportJobDataResponse */ public function importJobDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'ImportJobData', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/weHire/jobs/import', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ImportJobDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 导入外部渠道发布的职位数据 * * * @param ImportJobDataRequest $request ImportJobDataRequest * * @return ImportJobDataResponse ImportJobDataResponse */ public function importJobData($request) { $runtime = new RuntimeOptions([]); $headers = new ImportJobDataHeaders([]); return $this->importJobDataWithOptions($request, $headers, $runtime); } /** * @summary 查询候选人详情列表 * * * @param QueryCandidatesRequest $request QueryCandidatesRequest * @param QueryCandidatesHeaders $headers QueryCandidatesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCandidatesResponse QueryCandidatesResponse */ public function queryCandidatesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->statId)) { $body['statId'] = $request->statId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCandidates', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/candidates/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCandidatesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询候选人详情列表 * * * @param QueryCandidatesRequest $request QueryCandidatesRequest * * @return QueryCandidatesResponse QueryCandidatesResponse */ public function queryCandidates($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCandidatesHeaders([]); return $this->queryCandidatesWithOptions($request, $headers, $runtime); } /** * @summary 查询面试列表 * * * @param QueryInterviewsRequest $request QueryInterviewsRequest * @param QueryInterviewsHeaders $headers QueryInterviewsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryInterviewsResponse QueryInterviewsResponse */ public function queryInterviewsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->size)) { $query['size'] = $request->size; } $body = []; if (!Utils::isUnset($request->candidateId)) { $body['candidateId'] = $request->candidateId; } if (!Utils::isUnset($request->startTimeBeginMillis)) { $body['startTimeBeginMillis'] = $request->startTimeBeginMillis; } if (!Utils::isUnset($request->startTimeEndMillis)) { $body['startTimeEndMillis'] = $request->startTimeEndMillis; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryInterviews', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/interviews/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryInterviewsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询面试列表 * * * @param QueryInterviewsRequest $request QueryInterviewsRequest * * @return QueryInterviewsResponse QueryInterviewsResponse */ public function queryInterviews($request) { $runtime = new RuntimeOptions([]); $headers = new QueryInterviewsHeaders([]); return $this->queryInterviewsWithOptions($request, $headers, $runtime); } /** * @summary 反馈渠道消息状态 * * * @param ReportMessageStatusRequest $request ReportMessageStatusRequest * @param ReportMessageStatusHeaders $headers ReportMessageStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ReportMessageStatusResponse ReportMessageStatusResponse */ public function reportMessageStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->errorCode)) { $body['errorCode'] = $request->errorCode; } if (!Utils::isUnset($request->errorMsg)) { $body['errorMsg'] = $request->errorMsg; } if (!Utils::isUnset($request->messageId)) { $body['messageId'] = $request->messageId; } if (!Utils::isUnset($request->receiverUserId)) { $body['receiverUserId'] = $request->receiverUserId; } if (!Utils::isUnset($request->senderUserId)) { $body['senderUserId'] = $request->senderUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReportMessageStatus', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/channels/messages/statuses/report', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReportMessageStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 反馈渠道消息状态 * * * @param ReportMessageStatusRequest $request ReportMessageStatusRequest * * @return ReportMessageStatusResponse ReportMessageStatusResponse */ public function reportMessageStatus($request) { $runtime = new RuntimeOptions([]); $headers = new ReportMessageStatusHeaders([]); return $this->reportMessageStatusWithOptions($request, $headers, $runtime); } /** * @summary 同步渠道IM消息 * * * @param SyncChannelMessageRequest $request SyncChannelMessageRequest * @param SyncChannelMessageHeaders $headers SyncChannelMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SyncChannelMessageResponse SyncChannelMessageResponse */ public function syncChannelMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->channel)) { $body['channel'] = $request->channel; } if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->createTime)) { $body['createTime'] = $request->createTime; } if (!Utils::isUnset($request->receiverUserId)) { $body['receiverUserId'] = $request->receiverUserId; } if (!Utils::isUnset($request->senderUserId)) { $body['senderUserId'] = $request->senderUserId; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncChannelMessage', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/channels/messages/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncChannelMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 同步渠道IM消息 * * * @param SyncChannelMessageRequest $request SyncChannelMessageRequest * * @return SyncChannelMessageResponse SyncChannelMessageResponse */ public function syncChannelMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SyncChannelMessageHeaders([]); return $this->syncChannelMessageWithOptions($request, $headers, $runtime); } /** * @summary 更新应聘登记表内容 * * * @param string $flowId * @param UpdateApplicationRegFormRequest $request UpdateApplicationRegFormRequest * @param UpdateApplicationRegFormHeaders $headers UpdateApplicationRegFormHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateApplicationRegFormResponse UpdateApplicationRegFormResponse */ public function updateApplicationRegFormWithOptions($flowId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->dingPanFile)) { $body['dingPanFile'] = $request->dingPanFile; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateApplicationRegForm', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/flows/' . $flowId . '/applicationRegForms', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateApplicationRegFormResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新应聘登记表内容 * * * @param string $flowId * @param UpdateApplicationRegFormRequest $request UpdateApplicationRegFormRequest * * @return UpdateApplicationRegFormResponse UpdateApplicationRegFormResponse */ public function updateApplicationRegForm($flowId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateApplicationRegFormHeaders([]); return $this->updateApplicationRegFormWithOptions($flowId, $request, $headers, $runtime); } /** * @summary 更新面试签到信息 * * * @param string $interviewId * @param UpdateInterviewSignInInfoRequest $request UpdateInterviewSignInInfoRequest * @param UpdateInterviewSignInInfoHeaders $headers UpdateInterviewSignInInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInterviewSignInInfoResponse UpdateInterviewSignInInfoResponse */ public function updateInterviewSignInInfoWithOptions($interviewId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } $body = []; if (!Utils::isUnset($request->signInTimeMillis)) { $body['signInTimeMillis'] = $request->signInTimeMillis; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInterviewSignInInfo', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/interviews/' . $interviewId . '/signInInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateInterviewSignInInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新面试签到信息 * * * @param string $interviewId * @param UpdateInterviewSignInInfoRequest $request UpdateInterviewSignInInfoRequest * * @return UpdateInterviewSignInInfoResponse UpdateInterviewSignInInfoResponse */ public function updateInterviewSignInInfo($interviewId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInterviewSignInInfoHeaders([]); return $this->updateInterviewSignInInfoWithOptions($interviewId, $request, $headers, $runtime); } /** * @summary 渠道侧职位发布状态变更回调 * * * @param UpdateJobDeliverRequest $request UpdateJobDeliverRequest * @param UpdateJobDeliverHeaders $headers UpdateJobDeliverHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateJobDeliverResponse UpdateJobDeliverResponse */ public function updateJobDeliverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->jobId)) { $query['jobId'] = $request->jobId; } $body = []; if (!Utils::isUnset($request->channelOuterId)) { $body['channelOuterId'] = $request->channelOuterId; } if (!Utils::isUnset($request->deliverUserId)) { $body['deliverUserId'] = $request->deliverUserId; } if (!Utils::isUnset($request->errorCode)) { $body['errorCode'] = $request->errorCode; } if (!Utils::isUnset($request->errorMsg)) { $body['errorMsg'] = $request->errorMsg; } if (!Utils::isUnset($request->opTime)) { $body['opTime'] = $request->opTime; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateJobDeliver', 'version' => 'ats_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/ats/jobs/deliveryStatus', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateJobDeliverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 渠道侧职位发布状态变更回调 * * * @param UpdateJobDeliverRequest $request UpdateJobDeliverRequest * * @return UpdateJobDeliverResponse UpdateJobDeliverResponse */ public function updateJobDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateJobDeliverHeaders([]); return $this->updateJobDeliverWithOptions($request, $headers, $runtime); } } src/ats_1_0/Models/AddApplicationRegFormTemplateHeaders.php 0000644 00000002365 14713400346 0017653 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddApplicationRegFormTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/AddApplicationRegFormTemplateRequest.php 0000644 00000004356 14713400346 0017732 0 ustar 00 'bizCode', 'content' => 'content', 'name' => 'name', 'outerId' => 'outerId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return AddApplicationRegFormTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/ats_1_0/Models/AddApplicationRegFormTemplateResponse.php 0000644 00000003015 14713400346 0020067 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddApplicationRegFormTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddApplicationRegFormTemplateResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/AddApplicationRegFormTemplateResponseBody.php 0000644 00000002470 14713400346 0020711 0 ustar 00 'templateId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return AddApplicationRegFormTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/ats_1_0/Models/AddFileHeaders.php 0000644 00000002311 14713400346 0013300 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/AddFileRequest.php 0000644 00000003564 14713400346 0013370 0 ustar 00 'bizCode', 'fileName' => 'fileName', 'mediaId' => 'mediaId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return AddFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/ats_1_0/Models/AddFileResponse.php 0000644 00000002665 14713400346 0013537 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddFileResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/AddFileResponseBody.php 0000644 00000003153 14713400346 0014346 0 ustar 00 'fileId', 'fileName' => 'fileName', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return AddFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/ats_1_0/Models/AddUserAccountHeaders.php 0000644 00000002327 14713400346 0014663 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddUserAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/AddUserAccountRequest.php 0000644 00000005224 14713400346 0014737 0 ustar 00 'bizCode', 'channelAccountName' => 'channelAccountName', 'channelUserIdentify' => 'channelUserIdentify', 'phoneNumber' => 'phoneNumber', 'corpId' => 'corpId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channelAccountName) { $res['channelAccountName'] = $this->channelAccountName; } if (null !== $this->channelUserIdentify) { $res['channelUserIdentify'] = $this->channelUserIdentify; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddUserAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channelAccountName'])) { $model->channelAccountName = $map['channelAccountName']; } if (isset($map['channelUserIdentify'])) { $model->channelUserIdentify = $map['channelUserIdentify']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ats_1_0/Models/AddUserAccountResponse.php 0000644 00000002721 14713400346 0015104 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddUserAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddUserAccountResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/AddUserAccountResponseBody.php 0000644 00000001501 14713400346 0015715 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddUserAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailHeaders.php 0000644 00000002351 14713400346 0016515 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollectRecruitJobDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailRequest.php 0000644 00000006701 14713400346 0016575 0 ustar 00 'bizCode', 'channel' => 'channel', 'jobInfo' => 'jobInfo', 'outCorpId' => 'outCorpId', 'outCorpName' => 'outCorpName', 'recruitUserInfo' => 'recruitUserInfo', 'source' => 'source', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->jobInfo) { $res['jobInfo'] = null !== $this->jobInfo ? $this->jobInfo->toMap() : null; } if (null !== $this->outCorpId) { $res['outCorpId'] = $this->outCorpId; } if (null !== $this->outCorpName) { $res['outCorpName'] = $this->outCorpName; } if (null !== $this->recruitUserInfo) { $res['recruitUserInfo'] = null !== $this->recruitUserInfo ? $this->recruitUserInfo->toMap() : null; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return CollectRecruitJobDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['jobInfo'])) { $model->jobInfo = jobInfo::fromMap($map['jobInfo']); } if (isset($map['outCorpId'])) { $model->outCorpId = $map['outCorpId']; } if (isset($map['outCorpName'])) { $model->outCorpName = $map['outCorpName']; } if (isset($map['recruitUserInfo'])) { $model->recruitUserInfo = recruitUserInfo::fromMap($map['recruitUserInfo']); } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailRequest/jobInfo.php 0000644 00000012716 14713400346 0020166 0 ustar 00 'address', 'category' => 'category', 'description' => 'description', 'extInfo' => 'extInfo', 'fullTimeInfo' => 'fullTimeInfo', 'headCount' => 'headCount', 'jobNature' => 'jobNature', 'jobTags' => 'jobTags', 'maxSalary' => 'maxSalary', 'minSalary' => 'minSalary', 'name' => 'name', 'outJobId' => 'outJobId', 'partTimeInfo' => 'partTimeInfo', 'requiredEdu' => 'requiredEdu', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = null !== $this->address ? $this->address->toMap() : null; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->fullTimeInfo) { $res['fullTimeInfo'] = null !== $this->fullTimeInfo ? $this->fullTimeInfo->toMap() : null; } if (null !== $this->headCount) { $res['headCount'] = $this->headCount; } if (null !== $this->jobNature) { $res['jobNature'] = $this->jobNature; } if (null !== $this->jobTags) { $res['jobTags'] = $this->jobTags; } if (null !== $this->maxSalary) { $res['maxSalary'] = $this->maxSalary; } if (null !== $this->minSalary) { $res['minSalary'] = $this->minSalary; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->outJobId) { $res['outJobId'] = $this->outJobId; } if (null !== $this->partTimeInfo) { $res['partTimeInfo'] = null !== $this->partTimeInfo ? $this->partTimeInfo->toMap() : null; } if (null !== $this->requiredEdu) { $res['requiredEdu'] = $this->requiredEdu; } return $res; } /** * @param array $map * * @return jobInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = address::fromMap($map['address']); } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['fullTimeInfo'])) { $model->fullTimeInfo = fullTimeInfo::fromMap($map['fullTimeInfo']); } if (isset($map['headCount'])) { $model->headCount = $map['headCount']; } if (isset($map['jobNature'])) { $model->jobNature = $map['jobNature']; } if (isset($map['jobTags'])) { if (!empty($map['jobTags'])) { $model->jobTags = $map['jobTags']; } } if (isset($map['maxSalary'])) { $model->maxSalary = $map['maxSalary']; } if (isset($map['minSalary'])) { $model->minSalary = $map['minSalary']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['outJobId'])) { $model->outJobId = $map['outJobId']; } if (isset($map['partTimeInfo'])) { $model->partTimeInfo = partTimeInfo::fromMap($map['partTimeInfo']); } if (isset($map['requiredEdu'])) { $model->requiredEdu = $map['requiredEdu']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailRequest/jobInfo/address.php 0000644 00000005452 14713400346 0021612 0 ustar 00 'cityCode', 'detail' => 'detail', 'districtCode' => 'districtCode', 'latitude' => 'latitude', 'longitude' => 'longitude', 'name' => 'name', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->detail) { $res['detail'] = $this->detail; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return address */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['detail'])) { $model->detail = $map['detail']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailRequest/jobInfo/fullTimeInfo.php 0000644 00000003224 14713400346 0022555 0 ustar 00 'maxJobExperience', 'minJobExperience' => 'minJobExperience', 'salaryMonth' => 'salaryMonth', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxJobExperience) { $res['maxJobExperience'] = $this->maxJobExperience; } if (null !== $this->minJobExperience) { $res['minJobExperience'] = $this->minJobExperience; } if (null !== $this->salaryMonth) { $res['salaryMonth'] = $this->salaryMonth; } return $res; } /** * @param array $map * * @return fullTimeInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxJobExperience'])) { $model->maxJobExperience = $map['maxJobExperience']; } if (isset($map['minJobExperience'])) { $model->minJobExperience = $map['minJobExperience']; } if (isset($map['salaryMonth'])) { $model->salaryMonth = $map['salaryMonth']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailRequest/jobInfo/partTimeInfo.php 0000644 00000010210 14713400346 0022552 0 ustar 00 'contactNumber', 'salaryPeriod' => 'salaryPeriod', 'settleType' => 'settleType', 'specifyWorkDate' => 'specifyWorkDate', 'specifyWorkTime' => 'specifyWorkTime', 'workBeginTimeMin' => 'workBeginTimeMin', 'workDateType' => 'workDateType', 'workEndDate' => 'workEndDate', 'workEndTimeMin' => 'workEndTimeMin', 'workStartDate' => 'workStartDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactNumber) { $res['contactNumber'] = $this->contactNumber; } if (null !== $this->salaryPeriod) { $res['salaryPeriod'] = $this->salaryPeriod; } if (null !== $this->settleType) { $res['settleType'] = $this->settleType; } if (null !== $this->specifyWorkDate) { $res['specifyWorkDate'] = $this->specifyWorkDate; } if (null !== $this->specifyWorkTime) { $res['specifyWorkTime'] = $this->specifyWorkTime; } if (null !== $this->workBeginTimeMin) { $res['workBeginTimeMin'] = $this->workBeginTimeMin; } if (null !== $this->workDateType) { $res['workDateType'] = $this->workDateType; } if (null !== $this->workEndDate) { $res['workEndDate'] = $this->workEndDate; } if (null !== $this->workEndTimeMin) { $res['workEndTimeMin'] = $this->workEndTimeMin; } if (null !== $this->workStartDate) { $res['workStartDate'] = $this->workStartDate; } return $res; } /** * @param array $map * * @return partTimeInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactNumber'])) { $model->contactNumber = $map['contactNumber']; } if (isset($map['salaryPeriod'])) { $model->salaryPeriod = $map['salaryPeriod']; } if (isset($map['settleType'])) { $model->settleType = $map['settleType']; } if (isset($map['specifyWorkDate'])) { $model->specifyWorkDate = $map['specifyWorkDate']; } if (isset($map['specifyWorkTime'])) { $model->specifyWorkTime = $map['specifyWorkTime']; } if (isset($map['workBeginTimeMin'])) { $model->workBeginTimeMin = $map['workBeginTimeMin']; } if (isset($map['workDateType'])) { $model->workDateType = $map['workDateType']; } if (isset($map['workEndDate'])) { $model->workEndDate = $map['workEndDate']; } if (isset($map['workEndTimeMin'])) { $model->workEndTimeMin = $map['workEndTimeMin']; } if (isset($map['workStartDate'])) { $model->workStartDate = $map['workStartDate']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailRequest/recruitUserInfo.php 0000644 00000003523 14713400346 0021724 0 ustar 00 'extInfo', 'outUserId' => 'outUserId', 'userMobile' => 'userMobile', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->outUserId) { $res['outUserId'] = $this->outUserId; } if (null !== $this->userMobile) { $res['userMobile'] = $this->userMobile; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return recruitUserInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['outUserId'])) { $model->outUserId = $map['outUserId']; } if (isset($map['userMobile'])) { $model->userMobile = $map['userMobile']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailResponse.php 0000644 00000002765 14713400346 0016751 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollectRecruitJobDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollectRecruitJobDetailResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/CollectRecruitJobDetailResponseBody.php 0000644 00000001512 14713400346 0017554 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CollectRecruitJobDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailHeaders.php 0000644 00000002341 14713400346 0015704 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollectResumeDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest.php 0000644 00000010177 14713400346 0015767 0 ustar 00 'bizCode', 'channelCode' => 'channelCode', 'channelOuterId' => 'channelOuterId', 'channelTalentId' => 'channelTalentId', 'deliverJobId' => 'deliverJobId', 'optUserId' => 'optUserId', 'resumeChannelUrl' => 'resumeChannelUrl', 'resumeData' => 'resumeData', 'resumeFile' => 'resumeFile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channelCode) { $res['channelCode'] = $this->channelCode; } if (null !== $this->channelOuterId) { $res['channelOuterId'] = $this->channelOuterId; } if (null !== $this->channelTalentId) { $res['channelTalentId'] = $this->channelTalentId; } if (null !== $this->deliverJobId) { $res['deliverJobId'] = $this->deliverJobId; } if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } if (null !== $this->resumeChannelUrl) { $res['resumeChannelUrl'] = $this->resumeChannelUrl; } if (null !== $this->resumeData) { $res['resumeData'] = null !== $this->resumeData ? $this->resumeData->toMap() : null; } if (null !== $this->resumeFile) { $res['resumeFile'] = null !== $this->resumeFile ? $this->resumeFile->toMap() : null; } return $res; } /** * @param array $map * * @return CollectResumeDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channelCode'])) { $model->channelCode = $map['channelCode']; } if (isset($map['channelOuterId'])) { $model->channelOuterId = $map['channelOuterId']; } if (isset($map['channelTalentId'])) { $model->channelTalentId = $map['channelTalentId']; } if (isset($map['deliverJobId'])) { $model->deliverJobId = $map['deliverJobId']; } if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } if (isset($map['resumeChannelUrl'])) { $model->resumeChannelUrl = $map['resumeChannelUrl']; } if (isset($map['resumeData'])) { $model->resumeData = resumeData::fromMap($map['resumeData']); } if (isset($map['resumeFile'])) { $model->resumeFile = resumeFile::fromMap($map['resumeFile']); } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData.php 0000644 00000015121 14713400346 0020053 0 ustar 00 'baseInfo', 'certificates' => 'certificates', 'educationExperiences' => 'educationExperiences', 'jobExpect' => 'jobExpect', 'languageSkill' => 'languageSkill', 'trainingExperiences' => 'trainingExperiences', 'workExperiences' => 'workExperiences', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->baseInfo) { $res['baseInfo'] = null !== $this->baseInfo ? $this->baseInfo->toMap() : null; } if (null !== $this->certificates) { $res['certificates'] = []; if (null !== $this->certificates && \is_array($this->certificates)) { $n = 0; foreach ($this->certificates as $item) { $res['certificates'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->educationExperiences) { $res['educationExperiences'] = []; if (null !== $this->educationExperiences && \is_array($this->educationExperiences)) { $n = 0; foreach ($this->educationExperiences as $item) { $res['educationExperiences'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->jobExpect) { $res['jobExpect'] = null !== $this->jobExpect ? $this->jobExpect->toMap() : null; } if (null !== $this->languageSkill) { $res['languageSkill'] = []; if (null !== $this->languageSkill && \is_array($this->languageSkill)) { $n = 0; foreach ($this->languageSkill as $item) { $res['languageSkill'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->trainingExperiences) { $res['trainingExperiences'] = []; if (null !== $this->trainingExperiences && \is_array($this->trainingExperiences)) { $n = 0; foreach ($this->trainingExperiences as $item) { $res['trainingExperiences'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->workExperiences) { $res['workExperiences'] = []; if (null !== $this->workExperiences && \is_array($this->workExperiences)) { $n = 0; foreach ($this->workExperiences as $item) { $res['workExperiences'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return resumeData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['baseInfo'])) { $model->baseInfo = baseInfo::fromMap($map['baseInfo']); } if (isset($map['certificates'])) { if (!empty($map['certificates'])) { $model->certificates = []; $n = 0; foreach ($map['certificates'] as $item) { $model->certificates[$n++] = null !== $item ? certificates::fromMap($item) : $item; } } } if (isset($map['educationExperiences'])) { if (!empty($map['educationExperiences'])) { $model->educationExperiences = []; $n = 0; foreach ($map['educationExperiences'] as $item) { $model->educationExperiences[$n++] = null !== $item ? educationExperiences::fromMap($item) : $item; } } } if (isset($map['jobExpect'])) { $model->jobExpect = jobExpect::fromMap($map['jobExpect']); } if (isset($map['languageSkill'])) { if (!empty($map['languageSkill'])) { $model->languageSkill = []; $n = 0; foreach ($map['languageSkill'] as $item) { $model->languageSkill[$n++] = null !== $item ? languageSkill::fromMap($item) : $item; } } } if (isset($map['trainingExperiences'])) { if (!empty($map['trainingExperiences'])) { $model->trainingExperiences = []; $n = 0; foreach ($map['trainingExperiences'] as $item) { $model->trainingExperiences[$n++] = null !== $item ? trainingExperiences::fromMap($item) : $item; } } } if (isset($map['workExperiences'])) { if (!empty($map['workExperiences'])) { $model->workExperiences = []; $n = 0; foreach ($map['workExperiences'] as $item) { $model->workExperiences[$n++] = null !== $item ? workExperiences::fromMap($item) : $item; } } } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/baseInfo.php 0000644 00000017372 14713400346 0021613 0 ustar 00 'age', 'avatar' => 'avatar', 'beginWorkTime' => 'beginWorkTime', 'birthday' => 'birthday', 'email' => 'email', 'englishName' => 'englishName', 'graduateTime' => 'graduateTime', 'highestEducation' => 'highestEducation', 'jobTitle' => 'jobTitle', 'lastSchoolName' => 'lastSchoolName', 'married' => 'married', 'name' => 'name', 'nativePlace' => 'nativePlace', 'nowLocation' => 'nowLocation', 'personalHonor' => 'personalHonor', 'phoneNum' => 'phoneNum', 'politicalStatus' => 'politicalStatus', 'selfEvaluation' => 'selfEvaluation', 'sex' => 'sex', 'virtualPhoneNum' => 'virtualPhoneNum', 'workingYears' => 'workingYears', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->age) { $res['age'] = $this->age; } if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->beginWorkTime) { $res['beginWorkTime'] = $this->beginWorkTime; } if (null !== $this->birthday) { $res['birthday'] = $this->birthday; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->englishName) { $res['englishName'] = $this->englishName; } if (null !== $this->graduateTime) { $res['graduateTime'] = $this->graduateTime; } if (null !== $this->highestEducation) { $res['highestEducation'] = $this->highestEducation; } if (null !== $this->jobTitle) { $res['jobTitle'] = $this->jobTitle; } if (null !== $this->lastSchoolName) { $res['lastSchoolName'] = $this->lastSchoolName; } if (null !== $this->married) { $res['married'] = $this->married; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nativePlace) { $res['nativePlace'] = $this->nativePlace; } if (null !== $this->nowLocation) { $res['nowLocation'] = $this->nowLocation; } if (null !== $this->personalHonor) { $res['personalHonor'] = $this->personalHonor; } if (null !== $this->phoneNum) { $res['phoneNum'] = $this->phoneNum; } if (null !== $this->politicalStatus) { $res['politicalStatus'] = $this->politicalStatus; } if (null !== $this->selfEvaluation) { $res['selfEvaluation'] = $this->selfEvaluation; } if (null !== $this->sex) { $res['sex'] = $this->sex; } if (null !== $this->virtualPhoneNum) { $res['virtualPhoneNum'] = $this->virtualPhoneNum; } if (null !== $this->workingYears) { $res['workingYears'] = $this->workingYears; } return $res; } /** * @param array $map * * @return baseInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['age'])) { $model->age = $map['age']; } if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['beginWorkTime'])) { $model->beginWorkTime = $map['beginWorkTime']; } if (isset($map['birthday'])) { $model->birthday = $map['birthday']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['englishName'])) { $model->englishName = $map['englishName']; } if (isset($map['graduateTime'])) { $model->graduateTime = $map['graduateTime']; } if (isset($map['highestEducation'])) { $model->highestEducation = $map['highestEducation']; } if (isset($map['jobTitle'])) { $model->jobTitle = $map['jobTitle']; } if (isset($map['lastSchoolName'])) { $model->lastSchoolName = $map['lastSchoolName']; } if (isset($map['married'])) { $model->married = $map['married']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nativePlace'])) { $model->nativePlace = $map['nativePlace']; } if (isset($map['nowLocation'])) { $model->nowLocation = $map['nowLocation']; } if (isset($map['personalHonor'])) { $model->personalHonor = $map['personalHonor']; } if (isset($map['phoneNum'])) { $model->phoneNum = $map['phoneNum']; } if (isset($map['politicalStatus'])) { $model->politicalStatus = $map['politicalStatus']; } if (isset($map['selfEvaluation'])) { $model->selfEvaluation = $map['selfEvaluation']; } if (isset($map['sex'])) { $model->sex = $map['sex']; } if (isset($map['virtualPhoneNum'])) { $model->virtualPhoneNum = $map['virtualPhoneNum']; } if (isset($map['workingYears'])) { $model->workingYears = $map['workingYears']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/certificates.php 0000644 00000002420 14713400346 0022516 0 ustar 00 'certificateName', 'grantTime' => 'grantTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certificateName) { $res['certificateName'] = $this->certificateName; } if (null !== $this->grantTime) { $res['grantTime'] = $this->grantTime; } return $res; } /** * @param array $map * * @return certificates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certificateName'])) { $model->certificateName = $map['certificateName']; } if (isset($map['grantTime'])) { $model->grantTime = $map['grantTime']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/educationExperiences.php 0000644 00000005513 14713400346 0024225 0 ustar 00 'degree', 'department' => 'department', 'description' => 'description', 'endDate' => 'endDate', 'major' => 'major', 'schoolName' => 'schoolName', 'startDate' => 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->degree) { $res['degree'] = $this->degree; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->major) { $res['major'] = $this->major; } if (null !== $this->schoolName) { $res['schoolName'] = $this->schoolName; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return educationExperiences */ public static function fromMap($map = []) { $model = new self(); if (isset($map['degree'])) { $model->degree = $map['degree']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['major'])) { $model->major = $map['major']; } if (isset($map['schoolName'])) { $model->schoolName = $map['schoolName']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/jobExpect.php 0000644 00000004315 14713400346 0022001 0 ustar 00 'jobName', 'locations' => 'locations', 'maxSalary' => 'maxSalary', 'minSalary' => 'minSalary', 'onboardTime' => 'onboardTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobName) { $res['jobName'] = $this->jobName; } if (null !== $this->locations) { $res['locations'] = $this->locations; } if (null !== $this->maxSalary) { $res['maxSalary'] = $this->maxSalary; } if (null !== $this->minSalary) { $res['minSalary'] = $this->minSalary; } if (null !== $this->onboardTime) { $res['onboardTime'] = $this->onboardTime; } return $res; } /** * @param array $map * * @return jobExpect */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobName'])) { $model->jobName = $map['jobName']; } if (isset($map['locations'])) { if (!empty($map['locations'])) { $model->locations = $map['locations']; } } if (isset($map['maxSalary'])) { $model->maxSalary = $map['maxSalary']; } if (isset($map['minSalary'])) { $model->minSalary = $map['minSalary']; } if (isset($map['onboardTime'])) { $model->onboardTime = $map['onboardTime']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/languageSkill.php 0000644 00000002446 14713400346 0022643 0 ustar 00 'certificateName', 'languageName' => 'languageName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->certificateName) { $res['certificateName'] = $this->certificateName; } if (null !== $this->languageName) { $res['languageName'] = $this->languageName; } return $res; } /** * @param array $map * * @return languageSkill */ public static function fromMap($map = []) { $model = new self(); if (isset($map['certificateName'])) { $model->certificateName = $map['certificateName']; } if (isset($map['languageName'])) { $model->languageName = $map['languageName']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/trainingExperiences.php 0000644 00000005210 14713400346 0024057 0 ustar 00 'description', 'endDate' => 'endDate', 'institutionName' => 'institutionName', 'location' => 'location', 'name' => 'name', 'startDate' => 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->institutionName) { $res['institutionName'] = $this->institutionName; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return trainingExperiences */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['institutionName'])) { $model->institutionName = $map['institutionName']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeData/workExperiences.php 0000644 00000006470 14713400346 0023237 0 ustar 00 'companyName', 'department' => 'department', 'description' => 'description', 'endDate' => 'endDate', 'jobTitle' => 'jobTitle', 'location' => 'location', 'responsibility' => 'responsibility', 'startDate' => 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyName) { $res['companyName'] = $this->companyName; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->jobTitle) { $res['jobTitle'] = $this->jobTitle; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->responsibility) { $res['responsibility'] = $this->responsibility; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return workExperiences */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyName'])) { $model->companyName = $map['companyName']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['jobTitle'])) { $model->jobTitle = $map['jobTitle']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['responsibility'])) { $model->responsibility = $map['responsibility']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailRequest/resumeFile.php 0000644 00000003012 14713400346 0020055 0 ustar 00 'downloadUrl', 'fileName' => 'fileName', 'fileType' => 'fileType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } return $res; } /** * @param array $map * * @return resumeFile */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } return $model; } } src/ats_1_0/Models/CollectResumeDetailResponse.php 0000644 00000002745 14713400346 0016137 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollectResumeDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollectResumeDetailResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/CollectResumeDetailResponseBody.php 0000644 00000001526 14713400346 0016751 0 ustar 00 'resumeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resumeId) { $res['resumeId'] = $this->resumeId; } return $res; } /** * @param array $map * * @return CollectResumeDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resumeId'])) { $model->resumeId = $map['resumeId']; } return $model; } } src/ats_1_0/Models/CollectResumeMailHeaders.php 0000644 00000002335 14713400346 0015367 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CollectResumeMailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/CollectResumeMailRequest.php 0000644 00000013331 14713400346 0015442 0 ustar 00 'bizCode', 'channelCode' => 'channelCode', 'deliverJobId' => 'deliverJobId', 'fromMailAddress' => 'fromMailAddress', 'historyMailImport' => 'historyMailImport', 'mailId' => 'mailId', 'mailTitle' => 'mailTitle', 'optUserId' => 'optUserId', 'receiveMailAddress' => 'receiveMailAddress', 'receiveMailType' => 'receiveMailType', 'receivedTime' => 'receivedTime', 'resumeChannelUrl' => 'resumeChannelUrl', 'resumeFile' => 'resumeFile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channelCode) { $res['channelCode'] = $this->channelCode; } if (null !== $this->deliverJobId) { $res['deliverJobId'] = $this->deliverJobId; } if (null !== $this->fromMailAddress) { $res['fromMailAddress'] = $this->fromMailAddress; } if (null !== $this->historyMailImport) { $res['historyMailImport'] = $this->historyMailImport; } if (null !== $this->mailId) { $res['mailId'] = $this->mailId; } if (null !== $this->mailTitle) { $res['mailTitle'] = $this->mailTitle; } if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } if (null !== $this->receiveMailAddress) { $res['receiveMailAddress'] = $this->receiveMailAddress; } if (null !== $this->receiveMailType) { $res['receiveMailType'] = $this->receiveMailType; } if (null !== $this->receivedTime) { $res['receivedTime'] = $this->receivedTime; } if (null !== $this->resumeChannelUrl) { $res['resumeChannelUrl'] = $this->resumeChannelUrl; } if (null !== $this->resumeFile) { $res['resumeFile'] = null !== $this->resumeFile ? $this->resumeFile->toMap() : null; } return $res; } /** * @param array $map * * @return CollectResumeMailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channelCode'])) { $model->channelCode = $map['channelCode']; } if (isset($map['deliverJobId'])) { $model->deliverJobId = $map['deliverJobId']; } if (isset($map['fromMailAddress'])) { $model->fromMailAddress = $map['fromMailAddress']; } if (isset($map['historyMailImport'])) { $model->historyMailImport = $map['historyMailImport']; } if (isset($map['mailId'])) { $model->mailId = $map['mailId']; } if (isset($map['mailTitle'])) { $model->mailTitle = $map['mailTitle']; } if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } if (isset($map['receiveMailAddress'])) { $model->receiveMailAddress = $map['receiveMailAddress']; } if (isset($map['receiveMailType'])) { $model->receiveMailType = $map['receiveMailType']; } if (isset($map['receivedTime'])) { $model->receivedTime = $map['receivedTime']; } if (isset($map['resumeChannelUrl'])) { $model->resumeChannelUrl = $map['resumeChannelUrl']; } if (isset($map['resumeFile'])) { $model->resumeFile = resumeFile::fromMap($map['resumeFile']); } return $model; } } src/ats_1_0/Models/CollectResumeMailRequest/resumeFile.php 0000644 00000003267 14713400346 0017551 0 ustar 00 'downloadUrl', 'fileName' => 'fileName', 'fileType' => 'fileType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->downloadUrl) { $res['downloadUrl'] = $this->downloadUrl; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } return $res; } /** * @param array $map * * @return resumeFile */ public static function fromMap($map = []) { $model = new self(); if (isset($map['downloadUrl'])) { $model->downloadUrl = $map['downloadUrl']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } return $model; } } src/ats_1_0/Models/CollectResumeMailResponse.php 0000644 00000002735 14713400346 0015616 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CollectResumeMailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CollectResumeMailResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/CollectResumeMailResponseBody.php 0000644 00000001522 14713400346 0016425 0 ustar 00 'resumeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resumeId) { $res['resumeId'] = $this->resumeId; } return $res; } /** * @param array $map * * @return CollectResumeMailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resumeId'])) { $model->resumeId = $map['resumeId']; } return $model; } } src/ats_1_0/Models/ConfirmRightsHeaders.php 0000644 00000002325 14713400346 0014573 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConfirmRightsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/ConfirmRightsRequest.php 0000644 00000001524 14713400346 0014650 0 ustar 00 'bizCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } return $res; } /** * @param array $map * * @return ConfirmRightsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } return $model; } } src/ats_1_0/Models/ConfirmRightsResponse.php 0000644 00000002715 14713400346 0015021 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConfirmRightsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConfirmRightsResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/ConfirmRightsResponseBody.php 0000644 00000001611 14713400346 0015631 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ConfirmRightsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ats_1_0/Models/FinishBeginnerTaskHeaders.php 0000644 00000002337 14713400346 0015535 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FinishBeginnerTaskHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/FinishBeginnerTaskRequest.php 0000644 00000002304 14713400346 0015604 0 ustar 00 'scope', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return FinishBeginnerTaskRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ats_1_0/Models/FinishBeginnerTaskResponse.php 0000644 00000002741 14713400346 0015757 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FinishBeginnerTaskResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FinishBeginnerTaskResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/FinishBeginnerTaskResponseBody.php 0000644 00000001623 14713400346 0016573 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return FinishBeginnerTaskResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ats_1_0/Models/GetApplicationRegFormByFlowIdHeaders.php 0000644 00000002365 14713400346 0017606 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetApplicationRegFormByFlowIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/GetApplicationRegFormByFlowIdRequest.php 0000644 00000001564 14713400346 0017663 0 ustar 00 'bizCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } return $res; } /** * @param array $map * * @return GetApplicationRegFormByFlowIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } return $model; } } src/ats_1_0/Models/GetApplicationRegFormByFlowIdResponse.php 0000644 00000003015 14713400346 0020022 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetApplicationRegFormByFlowIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetApplicationRegFormByFlowIdResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/GetApplicationRegFormByFlowIdResponseBody.php 0000644 00000010767 14713400346 0020654 0 ustar 00 'candidateId', 'creatorUserId' => 'creatorUserId', 'flowId' => 'flowId', 'formId' => 'formId', 'gmtCreateMillis' => 'gmtCreateMillis', 'gmtModifiedMillis' => 'gmtModifiedMillis', 'jobId' => 'jobId', 'status' => 'status', 'templateId' => 'templateId', 'templateVersion' => 'templateVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->candidateId) { $res['candidateId'] = $this->candidateId; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->flowId) { $res['flowId'] = $this->flowId; } if (null !== $this->formId) { $res['formId'] = $this->formId; } if (null !== $this->gmtCreateMillis) { $res['gmtCreateMillis'] = $this->gmtCreateMillis; } if (null !== $this->gmtModifiedMillis) { $res['gmtModifiedMillis'] = $this->gmtModifiedMillis; } if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateVersion) { $res['templateVersion'] = $this->templateVersion; } return $res; } /** * @param array $map * * @return GetApplicationRegFormByFlowIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['candidateId'])) { $model->candidateId = $map['candidateId']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['flowId'])) { $model->flowId = $map['flowId']; } if (isset($map['formId'])) { $model->formId = $map['formId']; } if (isset($map['gmtCreateMillis'])) { $model->gmtCreateMillis = $map['gmtCreateMillis']; } if (isset($map['gmtModifiedMillis'])) { $model->gmtModifiedMillis = $map['gmtModifiedMillis']; } if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateVersion'])) { $model->templateVersion = $map['templateVersion']; } return $model; } } src/ats_1_0/Models/GetCandidateByPhoneNumberHeaders.php 0000644 00000002355 14713400346 0016772 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCandidateByPhoneNumberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/GetCandidateByPhoneNumberRequest.php 0000644 00000002405 14713400346 0017043 0 ustar 00 'bizCode', 'phoneNumber' => 'phoneNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } return $res; } /** * @param array $map * * @return GetCandidateByPhoneNumberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } return $model; } } src/ats_1_0/Models/GetCandidateByPhoneNumberResponse.php 0000644 00000002775 14713400346 0017223 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCandidateByPhoneNumberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCandidateByPhoneNumberResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/GetCandidateByPhoneNumberResponseBody.php 0000644 00000002360 14713400346 0020027 0 ustar 00 'candidateId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->candidateId) { $res['candidateId'] = $this->candidateId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return GetCandidateByPhoneNumberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['candidateId'])) { $model->candidateId = $map['candidateId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/ats_1_0/Models/GetFileUploadInfoHeaders.php 0000644 00000002335 14713400346 0015316 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFileUploadInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/GetFileUploadInfoRequest.php 0000644 00000004330 14713400346 0015370 0 ustar 00 'bizCode', 'fileName' => 'fileName', 'fileSize' => 'fileSize', 'md5' => 'md5', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->md5) { $res['md5'] = $this->md5; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return GetFileUploadInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['md5'])) { $model->md5 = $map['md5']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/ats_1_0/Models/GetFileUploadInfoResponse.php 0000644 00000002735 14713400346 0015545 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFileUploadInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFileUploadInfoResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/GetFileUploadInfoResponseBody.php 0000644 00000006754 14713400346 0016370 0 ustar 00 'accessKeyId', 'accessKeySecret' => 'accessKeySecret', 'accessToken' => 'accessToken', 'accessTokenExpirationMillis' => 'accessTokenExpirationMillis', 'bucket' => 'bucket', 'endPoint' => 'endPoint', 'mediaId' => 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessKeyId) { $res['accessKeyId'] = $this->accessKeyId; } if (null !== $this->accessKeySecret) { $res['accessKeySecret'] = $this->accessKeySecret; } if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->accessTokenExpirationMillis) { $res['accessTokenExpirationMillis'] = $this->accessTokenExpirationMillis; } if (null !== $this->bucket) { $res['bucket'] = $this->bucket; } if (null !== $this->endPoint) { $res['endPoint'] = $this->endPoint; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return GetFileUploadInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessKeyId'])) { $model->accessKeyId = $map['accessKeyId']; } if (isset($map['accessKeySecret'])) { $model->accessKeySecret = $map['accessKeySecret']; } if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['accessTokenExpirationMillis'])) { $model->accessTokenExpirationMillis = $map['accessTokenExpirationMillis']; } if (isset($map['bucket'])) { $model->bucket = $map['bucket']; } if (isset($map['endPoint'])) { $model->endPoint = $map['endPoint']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/ats_1_0/Models/GetFlowIdByRelationEntityIdHeaders.php 0000644 00000002361 14713400346 0017304 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFlowIdByRelationEntityIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/GetFlowIdByRelationEntityIdRequest.php 0000644 00000003343 14713400346 0017362 0 ustar 00 'bizCode', 'relationEntity' => 'relationEntity', 'relationEntityId' => 'relationEntityId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->relationEntity) { $res['relationEntity'] = $this->relationEntity; } if (null !== $this->relationEntityId) { $res['relationEntityId'] = $this->relationEntityId; } return $res; } /** * @param array $map * * @return GetFlowIdByRelationEntityIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['relationEntity'])) { $model->relationEntity = $map['relationEntity']; } if (isset($map['relationEntityId'])) { $model->relationEntityId = $map['relationEntityId']; } return $model; } } src/ats_1_0/Models/GetFlowIdByRelationEntityIdResponse.php 0000644 00000003005 14713400346 0017523 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFlowIdByRelationEntityIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFlowIdByRelationEntityIdResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/GetFlowIdByRelationEntityIdResponseBody.php 0000644 00000001646 14713400346 0020352 0 ustar 00 'flowId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->flowId) { $res['flowId'] = $this->flowId; } return $res; } /** * @param array $map * * @return GetFlowIdByRelationEntityIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['flowId'])) { $model->flowId = $map['flowId']; } return $model; } } src/ats_1_0/Models/GetJobAuthHeaders.php 0000644 00000002317 14713400346 0014012 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetJobAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/GetJobAuthRequest.php 0000644 00000001472 14713400346 0014070 0 ustar 00 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return GetJobAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/ats_1_0/Models/GetJobAuthResponse.php 0000644 00000002701 14713400346 0014232 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetJobAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetJobAuthResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/GetJobAuthResponseBody.php 0000644 00000003260 14713400346 0015051 0 ustar 00 'jobId', 'jobOwners' => 'jobOwners', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } if (null !== $this->jobOwners) { $res['jobOwners'] = []; if (null !== $this->jobOwners && \is_array($this->jobOwners)) { $n = 0; foreach ($this->jobOwners as $item) { $res['jobOwners'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetJobAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } if (isset($map['jobOwners'])) { if (!empty($map['jobOwners'])) { $model->jobOwners = []; $n = 0; foreach ($map['jobOwners'] as $item) { $model->jobOwners[$n++] = null !== $item ? jobOwners::fromMap($item) : $item; } } } return $model; } } src/ats_1_0/Models/GetJobAuthResponseBody/jobOwners.php 0000644 00000002055 14713400346 0017022 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return jobOwners */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ats_1_0/Models/ImportJobDataHeaders.php 0000644 00000002325 14713400346 0014514 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ImportJobDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/ImportJobDataRequest.php 0000644 00000002576 14713400346 0014601 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = []; if (null !== $this->body && \is_array($this->body)) { $n = 0; foreach ($this->body as $item) { $res['body'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ImportJobDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = []; $n = 0; foreach ($map['body'] as $item) { $model->body[$n++] = null !== $item ? body::fromMap($item) : $item; } } } return $model; } } src/ats_1_0/Models/ImportJobDataRequest/body.php 0000644 00000011027 14713400346 0015525 0 ustar 00 'address', 'category' => 'category', 'description' => 'description', 'experience' => 'experience', 'fullTimeExt' => 'fullTimeExt', 'jobNature' => 'jobNature', 'maxSalary' => 'maxSalary', 'minSalary' => 'minSalary', 'name' => 'name', 'requiredEdu' => 'requiredEdu', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = null !== $this->address ? $this->address->toMap() : null; } if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->experience) { $res['experience'] = $this->experience; } if (null !== $this->fullTimeExt) { $res['fullTimeExt'] = null !== $this->fullTimeExt ? $this->fullTimeExt->toMap() : null; } if (null !== $this->jobNature) { $res['jobNature'] = $this->jobNature; } if (null !== $this->maxSalary) { $res['maxSalary'] = $this->maxSalary; } if (null !== $this->minSalary) { $res['minSalary'] = $this->minSalary; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->requiredEdu) { $res['requiredEdu'] = $this->requiredEdu; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = address::fromMap($map['address']); } if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['experience'])) { $model->experience = $map['experience']; } if (isset($map['fullTimeExt'])) { $model->fullTimeExt = fullTimeExt::fromMap($map['fullTimeExt']); } if (isset($map['jobNature'])) { $model->jobNature = $map['jobNature']; } if (isset($map['maxSalary'])) { $model->maxSalary = $map['maxSalary']; } if (isset($map['minSalary'])) { $model->minSalary = $map['minSalary']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['requiredEdu'])) { $model->requiredEdu = $map['requiredEdu']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ats_1_0/Models/ImportJobDataRequest/body/address.php 0000644 00000005636 14713400346 0017163 0 ustar 00 'cityCode', 'customName' => 'customName', 'districtCode' => 'districtCode', 'latitude' => 'latitude', 'longitude' => 'longitude', 'name' => 'name', 'provinceCode' => 'provinceCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cityCode) { $res['cityCode'] = $this->cityCode; } if (null !== $this->customName) { $res['customName'] = $this->customName; } if (null !== $this->districtCode) { $res['districtCode'] = $this->districtCode; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->provinceCode) { $res['provinceCode'] = $this->provinceCode; } return $res; } /** * @param array $map * * @return address */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cityCode'])) { $model->cityCode = $map['cityCode']; } if (isset($map['customName'])) { $model->customName = $map['customName']; } if (isset($map['districtCode'])) { $model->districtCode = $map['districtCode']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['provinceCode'])) { $model->provinceCode = $map['provinceCode']; } return $model; } } src/ats_1_0/Models/ImportJobDataRequest/body/fullTimeExt.php 0000644 00000001540 14713400346 0017766 0 ustar 00 'salaryMonth', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->salaryMonth) { $res['salaryMonth'] = $this->salaryMonth; } return $res; } /** * @param array $map * * @return fullTimeExt */ public static function fromMap($map = []) { $model = new self(); if (isset($map['salaryMonth'])) { $model->salaryMonth = $map['salaryMonth']; } return $model; } } src/ats_1_0/Models/ImportJobDataResponse.php 0000644 00000002715 14713400346 0014742 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ImportJobDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ImportJobDataResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/ImportJobDataResponseBody.php 0000644 00000002116 14713400346 0015553 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ImportJobDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ats_1_0/Models/QueryCandidatesHeaders.php 0000644 00000002331 14713400346 0015077 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCandidatesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/QueryCandidatesRequest.php 0000644 00000003642 14713400346 0015162 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'statId' => 'statId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->statId) { $res['statId'] = $this->statId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return QueryCandidatesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['statId'])) { $model->statId = $map['statId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/ats_1_0/Models/QueryCandidatesResponse.php 0000644 00000002725 14713400346 0015331 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCandidatesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCandidatesResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/QueryCandidatesResponseBody.php 0000644 00000004414 14713400346 0016144 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryCandidatesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/ats_1_0/Models/QueryCandidatesResponseBody/list_.php 0000644 00000003536 14713400346 0017262 0 ustar 00 'candidateId', 'corpId' => 'corpId', 'entryDate' => 'entryDate', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->candidateId) { $res['candidateId'] = $this->candidateId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->entryDate) { $res['entryDate'] = $this->entryDate; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['candidateId'])) { $model->candidateId = $map['candidateId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['entryDate'])) { $model->entryDate = $map['entryDate']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ats_1_0/Models/QueryInterviewsHeaders.php 0000644 00000002331 14713400346 0015177 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryInterviewsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/QueryInterviewsRequest.php 0000644 00000005447 14713400346 0015267 0 ustar 00 'bizCode', 'candidateId' => 'candidateId', 'startTimeBeginMillis' => 'startTimeBeginMillis', 'startTimeEndMillis' => 'startTimeEndMillis', 'nextToken' => 'nextToken', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->candidateId) { $res['candidateId'] = $this->candidateId; } if (null !== $this->startTimeBeginMillis) { $res['startTimeBeginMillis'] = $this->startTimeBeginMillis; } if (null !== $this->startTimeEndMillis) { $res['startTimeEndMillis'] = $this->startTimeEndMillis; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return QueryInterviewsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['candidateId'])) { $model->candidateId = $map['candidateId']; } if (isset($map['startTimeBeginMillis'])) { $model->startTimeBeginMillis = $map['startTimeBeginMillis']; } if (isset($map['startTimeEndMillis'])) { $model->startTimeEndMillis = $map['startTimeEndMillis']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/ats_1_0/Models/QueryInterviewsResponse.php 0000644 00000002725 14713400346 0015431 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryInterviewsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryInterviewsResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/QueryInterviewsResponseBody.php 0000644 00000004456 14713400346 0016252 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryInterviewsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/ats_1_0/Models/QueryInterviewsResponseBody/list_.php 0000644 00000007017 14713400346 0017360 0 ustar 00 'cancelled', 'creatorUserId' => 'creatorUserId', 'endTimeMillis' => 'endTimeMillis', 'interviewId' => 'interviewId', 'interviewers' => 'interviewers', 'jobId' => 'jobId', 'startTimeMillis' => 'startTimeMillis', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cancelled) { $res['cancelled'] = $this->cancelled; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->endTimeMillis) { $res['endTimeMillis'] = $this->endTimeMillis; } if (null !== $this->interviewId) { $res['interviewId'] = $this->interviewId; } if (null !== $this->interviewers) { $res['interviewers'] = []; if (null !== $this->interviewers && \is_array($this->interviewers)) { $n = 0; foreach ($this->interviewers as $item) { $res['interviewers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } if (null !== $this->startTimeMillis) { $res['startTimeMillis'] = $this->startTimeMillis; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cancelled'])) { $model->cancelled = $map['cancelled']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['endTimeMillis'])) { $model->endTimeMillis = $map['endTimeMillis']; } if (isset($map['interviewId'])) { $model->interviewId = $map['interviewId']; } if (isset($map['interviewers'])) { if (!empty($map['interviewers'])) { $model->interviewers = []; $n = 0; foreach ($map['interviewers'] as $item) { $model->interviewers[$n++] = null !== $item ? interviewers::fromMap($item) : $item; } } } if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } if (isset($map['startTimeMillis'])) { $model->startTimeMillis = $map['startTimeMillis']; } return $model; } } src/ats_1_0/Models/QueryInterviewsResponseBody/list_/interviewers.php 0000644 00000001533 14713400346 0022103 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return interviewers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/ats_1_0/Models/ReportMessageStatusHeaders.php 0000644 00000002341 14713400346 0015777 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReportMessageStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/ReportMessageStatusRequest.php 0000644 00000005627 14713400346 0016066 0 ustar 00 'bizCode', 'channel' => 'channel', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'messageId' => 'messageId', 'receiverUserId' => 'receiverUserId', 'senderUserId' => 'senderUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->receiverUserId) { $res['receiverUserId'] = $this->receiverUserId; } if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } return $res; } /** * @param array $map * * @return ReportMessageStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['receiverUserId'])) { $model->receiverUserId = $map['receiverUserId']; } if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } return $model; } } src/ats_1_0/Models/ReportMessageStatusResponse.php 0000644 00000002745 14713400346 0016232 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReportMessageStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReportMessageStatusResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/ReportMessageStatusResponseBody.php 0000644 00000001504 14713400346 0017040 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ReportMessageStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ats_1_0/Models/SyncChannelMessageHeaders.php 0000644 00000002337 14713400346 0015532 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncChannelMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/SyncChannelMessageRequest.php 0000644 00000005623 14713400346 0015610 0 ustar 00 'bizCode', 'channel' => 'channel', 'content' => 'content', 'createTime' => 'createTime', 'receiverUserId' => 'receiverUserId', 'senderUserId' => 'senderUserId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channel) { $res['channel'] = $this->channel; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->receiverUserId) { $res['receiverUserId'] = $this->receiverUserId; } if (null !== $this->senderUserId) { $res['senderUserId'] = $this->senderUserId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return SyncChannelMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channel'])) { $model->channel = $map['channel']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['receiverUserId'])) { $model->receiverUserId = $map['receiverUserId']; } if (isset($map['senderUserId'])) { $model->senderUserId = $map['senderUserId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/ats_1_0/Models/SyncChannelMessageResponse.php 0000644 00000002741 14713400346 0015754 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncChannelMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncChannelMessageResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/SyncChannelMessageResponseBody.php 0000644 00000001502 14713400346 0016564 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SyncChannelMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ats_1_0/Models/UpdateApplicationRegFormHeaders.php 0000644 00000002353 14713400346 0016706 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateApplicationRegFormHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/UpdateApplicationRegFormRequest.php 0000644 00000003375 14713400346 0016770 0 ustar 00 'bizCode', 'content' => 'content', 'dingPanFile' => 'dingPanFile', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dingPanFile) { $res['dingPanFile'] = null !== $this->dingPanFile ? $this->dingPanFile->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateApplicationRegFormRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dingPanFile'])) { $model->dingPanFile = dingPanFile::fromMap($map['dingPanFile']); } return $model; } } src/ats_1_0/Models/UpdateApplicationRegFormRequest/dingPanFile.php 0000644 00000004510 14713400346 0021140 0 ustar 00 'fileId', 'fileName' => 'fileName', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return dingPanFile */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/ats_1_0/Models/UpdateApplicationRegFormResponse.php 0000644 00000002771 14713400346 0017135 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateApplicationRegFormResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateApplicationRegFormResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/UpdateApplicationRegFormResponseBody.php 0000644 00000006605 14713400346 0017753 0 ustar 00 'creatorUserId', 'formId' => 'formId', 'gmtCreateMillis' => 'gmtCreateMillis', 'gmtModifiedMillis' => 'gmtModifiedMillis', 'status' => 'status', 'templateId' => 'templateId', 'templateVersion' => 'templateVersion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->formId) { $res['formId'] = $this->formId; } if (null !== $this->gmtCreateMillis) { $res['gmtCreateMillis'] = $this->gmtCreateMillis; } if (null !== $this->gmtModifiedMillis) { $res['gmtModifiedMillis'] = $this->gmtModifiedMillis; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateVersion) { $res['templateVersion'] = $this->templateVersion; } return $res; } /** * @param array $map * * @return UpdateApplicationRegFormResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['formId'])) { $model->formId = $map['formId']; } if (isset($map['gmtCreateMillis'])) { $model->gmtCreateMillis = $map['gmtCreateMillis']; } if (isset($map['gmtModifiedMillis'])) { $model->gmtModifiedMillis = $map['gmtModifiedMillis']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateVersion'])) { $model->templateVersion = $map['templateVersion']; } return $model; } } src/ats_1_0/Models/UpdateInterviewSignInInfoHeaders.php 0000644 00000002355 14713400346 0017063 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInterviewSignInInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/UpdateInterviewSignInInfoRequest.php 0000644 00000002466 14713400346 0017143 0 ustar 00 'bizCode', 'signInTimeMillis' => 'signInTimeMillis', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->signInTimeMillis) { $res['signInTimeMillis'] = $this->signInTimeMillis; } return $res; } /** * @param array $map * * @return UpdateInterviewSignInInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['signInTimeMillis'])) { $model->signInTimeMillis = $map['signInTimeMillis']; } return $model; } } src/ats_1_0/Models/UpdateInterviewSignInInfoResponse.php 0000644 00000002205 14713400346 0017300 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return UpdateInterviewSignInInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/ats_1_0/Models/UpdateJobDeliverHeaders.php 0000644 00000002333 14713400346 0015204 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateJobDeliverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ats_1_0/Models/UpdateJobDeliverRequest.php 0000644 00000007471 14713400346 0015271 0 ustar 00 'bizCode', 'channelOuterId' => 'channelOuterId', 'deliverUserId' => 'deliverUserId', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'opTime' => 'opTime', 'opUserId' => 'opUserId', 'status' => 'status', 'jobId' => 'jobId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->channelOuterId) { $res['channelOuterId'] = $this->channelOuterId; } if (null !== $this->deliverUserId) { $res['deliverUserId'] = $this->deliverUserId; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->opTime) { $res['opTime'] = $this->opTime; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } return $res; } /** * @param array $map * * @return UpdateJobDeliverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['channelOuterId'])) { $model->channelOuterId = $map['channelOuterId']; } if (isset($map['deliverUserId'])) { $model->deliverUserId = $map['deliverUserId']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['opTime'])) { $model->opTime = $map['opTime']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } return $model; } } src/ats_1_0/Models/UpdateJobDeliverResponse.php 0000644 00000002731 14713400346 0015431 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateJobDeliverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateJobDeliverResponseBody::fromMap($map['body']); } return $model; } } src/ats_1_0/Models/UpdateJobDeliverResponseBody.php 0000644 00000001505 14713400346 0016245 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateJobDeliverResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Dingtalk.php 0000644 00000367211 14713400346 0012362 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 添加假期规则 * * * @param AddLeaveTypeRequest $request AddLeaveTypeRequest * @param AddLeaveTypeHeaders $headers AddLeaveTypeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddLeaveTypeResponse AddLeaveTypeResponse */ public function addLeaveTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->extras)) { $body['extras'] = $request->extras; } if (!Utils::isUnset($request->freedomLeave)) { $body['freedomLeave'] = $request->freedomLeave; } if (!Utils::isUnset($request->hoursInPerDay)) { $body['hoursInPerDay'] = $request->hoursInPerDay; } if (!Utils::isUnset($request->leaveCertificate)) { $body['leaveCertificate'] = $request->leaveCertificate; } if (!Utils::isUnset($request->leaveHourCeil)) { $body['leaveHourCeil'] = $request->leaveHourCeil; } if (!Utils::isUnset($request->leaveName)) { $body['leaveName'] = $request->leaveName; } if (!Utils::isUnset($request->leaveTimeCeil)) { $body['leaveTimeCeil'] = $request->leaveTimeCeil; } if (!Utils::isUnset($request->leaveTimeCeilMinUnit)) { $body['leaveTimeCeilMinUnit'] = $request->leaveTimeCeilMinUnit; } if (!Utils::isUnset($request->leaveViewUnit)) { $body['leaveViewUnit'] = $request->leaveViewUnit; } if (!Utils::isUnset($request->maxLeaveTime)) { $body['maxLeaveTime'] = $request->maxLeaveTime; } if (!Utils::isUnset($request->minLeaveHour)) { $body['minLeaveHour'] = $request->minLeaveHour; } if (!Utils::isUnset($request->naturalDayLeave)) { $body['naturalDayLeave'] = $request->naturalDayLeave; } if (!Utils::isUnset($request->paidLeave)) { $body['paidLeave'] = $request->paidLeave; } if (!Utils::isUnset($request->submitTimeRule)) { $body['submitTimeRule'] = $request->submitTimeRule; } if (!Utils::isUnset($request->visibilityRules)) { $body['visibilityRules'] = $request->visibilityRules; } if (!Utils::isUnset($request->whenCanLeave)) { $body['whenCanLeave'] = $request->whenCanLeave; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddLeaveType', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/leaves/types', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddLeaveTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加假期规则 * * * @param AddLeaveTypeRequest $request AddLeaveTypeRequest * * @return AddLeaveTypeResponse AddLeaveTypeResponse */ public function addLeaveType($request) { $runtime = new RuntimeOptions([]); $headers = new AddLeaveTypeHeaders([]); return $this->addLeaveTypeWithOptions($request, $headers, $runtime); } /** * @summary 批量给考勤组添加蓝牙设备 * * * @param AttendanceBleDevicesAddRequest $request AttendanceBleDevicesAddRequest * @param AttendanceBleDevicesAddHeaders $headers AttendanceBleDevicesAddHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AttendanceBleDevicesAddResponse AttendanceBleDevicesAddResponse */ public function attendanceBleDevicesAddWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceIdList)) { $body['deviceIdList'] = $request->deviceIdList; } if (!Utils::isUnset($request->groupKey)) { $body['groupKey'] = $request->groupKey; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AttendanceBleDevicesAdd', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/group/bledevices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AttendanceBleDevicesAddResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量给考勤组添加蓝牙设备 * * * @param AttendanceBleDevicesAddRequest $request AttendanceBleDevicesAddRequest * * @return AttendanceBleDevicesAddResponse AttendanceBleDevicesAddResponse */ public function attendanceBleDevicesAdd($request) { $runtime = new RuntimeOptions([]); $headers = new AttendanceBleDevicesAddHeaders([]); return $this->attendanceBleDevicesAddWithOptions($request, $headers, $runtime); } /** * @summary 批量查询蓝牙设备 * * * @param AttendanceBleDevicesQueryRequest $request AttendanceBleDevicesQueryRequest * @param AttendanceBleDevicesQueryHeaders $headers AttendanceBleDevicesQueryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AttendanceBleDevicesQueryResponse AttendanceBleDevicesQueryResponse */ public function attendanceBleDevicesQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupKey)) { $body['groupKey'] = $request->groupKey; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AttendanceBleDevicesQuery', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/group/bledevices/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AttendanceBleDevicesQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询蓝牙设备 * * * @param AttendanceBleDevicesQueryRequest $request AttendanceBleDevicesQueryRequest * * @return AttendanceBleDevicesQueryResponse AttendanceBleDevicesQueryResponse */ public function attendanceBleDevicesQuery($request) { $runtime = new RuntimeOptions([]); $headers = new AttendanceBleDevicesQueryHeaders([]); return $this->attendanceBleDevicesQueryWithOptions($request, $headers, $runtime); } /** * @summary 批量删除考勤组的蓝牙设备 * * * @param AttendanceBleDevicesRemoveRequest $request AttendanceBleDevicesRemoveRequest * @param AttendanceBleDevicesRemoveHeaders $headers AttendanceBleDevicesRemoveHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AttendanceBleDevicesRemoveResponse AttendanceBleDevicesRemoveResponse */ public function attendanceBleDevicesRemoveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceIdList)) { $body['deviceIdList'] = $request->deviceIdList; } if (!Utils::isUnset($request->groupKey)) { $body['groupKey'] = $request->groupKey; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AttendanceBleDevicesRemove', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/group/bledevices/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AttendanceBleDevicesRemoveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量删除考勤组的蓝牙设备 * * * @param AttendanceBleDevicesRemoveRequest $request AttendanceBleDevicesRemoveRequest * * @return AttendanceBleDevicesRemoveResponse AttendanceBleDevicesRemoveResponse */ public function attendanceBleDevicesRemove($request) { $runtime = new RuntimeOptions([]); $headers = new AttendanceBleDevicesRemoveHeaders([]); return $this->attendanceBleDevicesRemoveWithOptions($request, $headers, $runtime); } /** * @summary 批量修改考勤结果 * * * @param BatchBossCheckRequest $request BatchBossCheckRequest * @param BatchBossCheckHeaders $headers BatchBossCheckHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchBossCheckResponse BatchBossCheckResponse */ public function batchBossCheckWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->models)) { $body['models'] = $request->models; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchBossCheck', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/results/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchBossCheckResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量修改考勤结果 * * * @param BatchBossCheckRequest $request BatchBossCheckRequest * * @return BatchBossCheckResponse BatchBossCheckResponse */ public function batchBossCheck($request) { $runtime = new RuntimeOptions([]); $headers = new BatchBossCheckHeaders([]); return $this->batchBossCheckWithOptions($request, $headers, $runtime); } /** * @summary 预计算时长 * * * @param CalculateDurationRequest $request CalculateDurationRequest * @param CalculateDurationHeaders $headers CalculateDurationHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CalculateDurationResponse CalculateDurationResponse */ public function calculateDurationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->calculateModel)) { $body['calculateModel'] = $request->calculateModel; } if (!Utils::isUnset($request->durationUnit)) { $body['durationUnit'] = $request->durationUnit; } if (!Utils::isUnset($request->fromTime)) { $body['fromTime'] = $request->fromTime; } if (!Utils::isUnset($request->leaveCode)) { $body['leaveCode'] = $request->leaveCode; } if (!Utils::isUnset($request->toTime)) { $body['toTime'] = $request->toTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CalculateDuration', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/approvals/durations/calculate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CalculateDurationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 预计算时长 * * * @param CalculateDurationRequest $request CalculateDurationRequest * * @return CalculateDurationResponse CalculateDurationResponse */ public function calculateDuration($request) { $runtime = new RuntimeOptions([]); $headers = new CalculateDurationHeaders([]); return $this->calculateDurationWithOptions($request, $headers, $runtime); } /** * @summary 针对某些员工某段时间内封账状态的查询 * * * @param CheckClosingAccountRequest $request CheckClosingAccountRequest * @param CheckClosingAccountHeaders $headers CheckClosingAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CheckClosingAccountResponse CheckClosingAccountResponse */ public function checkClosingAccountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } if (!Utils::isUnset($request->userTimeRange)) { $body['userTimeRange'] = $request->userTimeRange; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CheckClosingAccount', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/closingAccounts/status/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CheckClosingAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 针对某些员工某段时间内封账状态的查询 * * * @param CheckClosingAccountRequest $request CheckClosingAccountRequest * * @return CheckClosingAccountResponse CheckClosingAccountResponse */ public function checkClosingAccount($request) { $runtime = new RuntimeOptions([]); $headers = new CheckClosingAccountHeaders([]); return $this->checkClosingAccountWithOptions($request, $headers, $runtime); } /** * @summary 考勤资源的写权限查询 * * * @param CheckWritePermissionRequest $request CheckWritePermissionRequest * @param CheckWritePermissionHeaders $headers CheckWritePermissionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CheckWritePermissionResponse CheckWritePermissionResponse */ public function checkWritePermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->category)) { $body['category'] = $request->category; } if (!Utils::isUnset($request->entityIds)) { $body['entityIds'] = $request->entityIds; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->resourceKey)) { $body['resourceKey'] = $request->resourceKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CheckWritePermission', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/writePermissions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CheckWritePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 考勤资源的写权限查询 * * * @param CheckWritePermissionRequest $request CheckWritePermissionRequest * * @return CheckWritePermissionResponse CheckWritePermissionResponse */ public function checkWritePermission($request) { $runtime = new RuntimeOptions([]); $headers = new CheckWritePermissionHeaders([]); return $this->checkWritePermissionWithOptions($request, $headers, $runtime); } /** * @summary 创建考勤打卡审批单 * * * @param CreateApproveRequest $request CreateApproveRequest * @param CreateApproveHeaders $headers CreateApproveHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateApproveResponse CreateApproveResponse */ public function createApproveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->approveId)) { $body['approveId'] = $request->approveId; } if (!Utils::isUnset($request->opUserid)) { $body['opUserid'] = $request->opUserid; } if (!Utils::isUnset($request->punchParam)) { $body['punchParam'] = $request->punchParam; } if (!Utils::isUnset($request->subType)) { $body['subType'] = $request->subType; } if (!Utils::isUnset($request->tagName)) { $body['tagName'] = $request->tagName; } if (!Utils::isUnset($request->userid)) { $body['userid'] = $request->userid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateApprove', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/approves', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateApproveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建考勤打卡审批单 * * * @param CreateApproveRequest $request CreateApproveRequest * * @return CreateApproveResponse CreateApproveResponse */ public function createApprove($request) { $runtime = new RuntimeOptions([]); $headers = new CreateApproveHeaders([]); return $this->createApproveWithOptions($request, $headers, $runtime); } /** * @summary 撤销请假 * * * @param string $unionId * @param DeleteLeaveRequestRequest $request DeleteLeaveRequestRequest * @param DeleteLeaveRequestHeaders $headers DeleteLeaveRequestHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteLeaveRequestResponse DeleteLeaveRequestResponse */ public function deleteLeaveRequestWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->outerId)) { $body['outerId'] = $request->outerId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteLeaveRequest', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/users/' . $unionId . '/vacations/records/revoke', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteLeaveRequestResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 撤销请假 * * * @param string $unionId * @param DeleteLeaveRequestRequest $request DeleteLeaveRequestRequest * * @return DeleteLeaveRequestResponse DeleteLeaveRequestResponse */ public function deleteLeaveRequest($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteLeaveRequestHeaders([]); return $this->deleteLeaveRequestWithOptions($unionId, $request, $headers, $runtime); } /** * @summary 删除水印模板 * * * @param DeleteWaterMarkTemplateRequest $request DeleteWaterMarkTemplateRequest * @param DeleteWaterMarkTemplateHeaders $headers DeleteWaterMarkTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteWaterMarkTemplateResponse DeleteWaterMarkTemplateResponse */ public function deleteWaterMarkTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->formCode)) { $query['formCode'] = $request->formCode; } if (!Utils::isUnset($request->formContent)) { $query['formContent'] = $request->formContent; } if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->systemTemplate)) { $query['systemTemplate'] = $request->systemTemplate; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteWaterMarkTemplate', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/watermarks/templates', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteWaterMarkTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除水印模板 * * * @param DeleteWaterMarkTemplateRequest $request DeleteWaterMarkTemplateRequest * * @return DeleteWaterMarkTemplateResponse DeleteWaterMarkTemplateResponse */ public function deleteWaterMarkTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteWaterMarkTemplateHeaders([]); return $this->deleteWaterMarkTemplateWithOptions($request, $headers, $runtime); } /** * @summary 钉钉安全检查 * * * @param DingTalkSecurityCheckRequest $request DingTalkSecurityCheckRequest * @param DingTalkSecurityCheckHeaders $headers DingTalkSecurityCheckHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DingTalkSecurityCheckResponse DingTalkSecurityCheckResponse */ public function dingTalkSecurityCheckWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->clientVer)) { $body['clientVer'] = $request->clientVer; } if (!Utils::isUnset($request->platform)) { $body['platform'] = $request->platform; } if (!Utils::isUnset($request->platformVer)) { $body['platformVer'] = $request->platformVer; } if (!Utils::isUnset($request->sec)) { $body['sec'] = $request->sec; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DingTalkSecurityCheck', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/securities/check', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DingTalkSecurityCheckResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 钉钉安全检查 * * * @param DingTalkSecurityCheckRequest $request DingTalkSecurityCheckRequest * * @return DingTalkSecurityCheckResponse DingTalkSecurityCheckResponse */ public function dingTalkSecurityCheck($request) { $runtime = new RuntimeOptions([]); $headers = new DingTalkSecurityCheckHeaders([]); return $this->dingTalkSecurityCheckWithOptions($request, $headers, $runtime); } /** * @summary 查询管理员管理范围下的userid * * * @param GetATManageScopeRequest $request GetATManageScopeRequest * @param GetATManageScopeHeaders $headers GetATManageScopeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetATManageScopeResponse GetATManageScopeResponse */ public function getATManageScopeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetATManageScope', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/manageScopes', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetATManageScopeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询管理员管理范围下的userid * * * @param GetATManageScopeRequest $request GetATManageScopeRequest * * @return GetATManageScopeResponse GetATManageScopeResponse */ public function getATManageScope($request) { $runtime = new RuntimeOptions([]); $headers = new GetATManageScopeHeaders([]); return $this->getATManageScopeWithOptions($request, $headers, $runtime); } /** * @summary 获取补卡规则列表 * * * @param GetAdjustmentsRequest $request GetAdjustmentsRequest * @param GetAdjustmentsHeaders $headers GetAdjustmentsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAdjustmentsResponse GetAdjustmentsResponse */ public function getAdjustmentsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAdjustments', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/adjustments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAdjustmentsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取补卡规则列表 * * * @param GetAdjustmentsRequest $request GetAdjustmentsRequest * * @return GetAdjustmentsResponse GetAdjustmentsResponse */ public function getAdjustments($request) { $runtime = new RuntimeOptions([]); $headers = new GetAdjustmentsHeaders([]); return $this->getAdjustmentsWithOptions($request, $headers, $runtime); } /** * @summary 获取水印打卡模板 * * * @param GetCheckInSchemaTemplateRequest $request GetCheckInSchemaTemplateRequest * @param GetCheckInSchemaTemplateHeaders $headers GetCheckInSchemaTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCheckInSchemaTemplateResponse GetCheckInSchemaTemplateResponse */ public function getCheckInSchemaTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizCode)) { $query['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->sceneCode)) { $query['sceneCode'] = $request->sceneCode; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCheckInSchemaTemplate', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/watermarks/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCheckInSchemaTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取水印打卡模板 * * * @param GetCheckInSchemaTemplateRequest $request GetCheckInSchemaTemplateRequest * * @return GetCheckInSchemaTemplateResponse GetCheckInSchemaTemplateResponse */ public function getCheckInSchemaTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new GetCheckInSchemaTemplateHeaders([]); return $this->getCheckInSchemaTemplateWithOptions($request, $headers, $runtime); } /** * @summary 调用本接口,获取用户签到记录。 * * * @param GetCheckinRecordByUserRequest $request GetCheckinRecordByUserRequest * @param GetCheckinRecordByUserHeaders $headers GetCheckinRecordByUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCheckinRecordByUserResponse GetCheckinRecordByUserResponse */ public function getCheckinRecordByUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->userIdList)) { $body['userIdList'] = $request->userIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetCheckinRecordByUser', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/checkin/records/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCheckinRecordByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 调用本接口,获取用户签到记录。 * * * @param GetCheckinRecordByUserRequest $request GetCheckinRecordByUserRequest * * @return GetCheckinRecordByUserResponse GetCheckinRecordByUserResponse */ public function getCheckinRecordByUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetCheckinRecordByUserHeaders([]); return $this->getCheckinRecordByUserWithOptions($request, $headers, $runtime); } /** * @summary 班次查询(包含已删除班次) * * * @param string $classId * @param GetClassWithDeletedHeaders $headers GetClassWithDeletedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetClassWithDeletedResponse GetClassWithDeletedResponse */ public function getClassWithDeletedWithOptions($classId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetClassWithDeleted', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/classWithDeleted/' . $classId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetClassWithDeletedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 班次查询(包含已删除班次) * * * @param string $classId * * @return GetClassWithDeletedResponse GetClassWithDeletedResponse */ public function getClassWithDeleted($classId) { $runtime = new RuntimeOptions([]); $headers = new GetClassWithDeletedHeaders([]); return $this->getClassWithDeletedWithOptions($classId, $headers, $runtime); } /** * @summary 查询指定用户的封账规则 * * * @param GetClosingAccountsRequest $request GetClosingAccountsRequest * @param GetClosingAccountsHeaders $headers GetClosingAccountsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetClosingAccountsResponse GetClosingAccountsResponse */ public function getClosingAccountsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetClosingAccounts', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/closingAccounts/rules/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetClosingAccountsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询指定用户的封账规则 * * * @param GetClosingAccountsRequest $request GetClosingAccountsRequest * * @return GetClosingAccountsResponse GetClosingAccountsResponse */ public function getClosingAccounts($request) { $runtime = new RuntimeOptions([]); $headers = new GetClosingAccountsHeaders([]); return $this->getClosingAccountsWithOptions($request, $headers, $runtime); } /** * @summary 获取多个用户的智能考勤报表的列值 * * * @param GetColumnvalsRequest $request GetColumnvalsRequest * @param GetColumnvalsHeaders $headers GetColumnvalsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetColumnvalsResponse GetColumnvalsResponse */ public function getColumnvalsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->columnIdList)) { $body['columnIdList'] = $request->columnIdList; } if (!Utils::isUnset($request->fromDate)) { $body['fromDate'] = $request->fromDate; } if (!Utils::isUnset($request->toDate)) { $body['toDate'] = $request->toDate; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetColumnvals', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/columnValues/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetColumnvalsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取多个用户的智能考勤报表的列值 * * * @param GetColumnvalsRequest $request GetColumnvalsRequest * * @return GetColumnvalsResponse GetColumnvalsResponse */ public function getColumnvals($request) { $runtime = new RuntimeOptions([]); $headers = new GetColumnvalsHeaders([]); return $this->getColumnvalsWithOptions($request, $headers, $runtime); } /** * @summary 批量查询员工假期余额变更记录 * * * @param GetLeaveRecordsRequest $request GetLeaveRecordsRequest * @param GetLeaveRecordsHeaders $headers GetLeaveRecordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetLeaveRecordsResponse GetLeaveRecordsResponse */ public function getLeaveRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->leaveCode)) { $body['leaveCode'] = $request->leaveCode; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetLeaveRecords', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/vacations/records/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetLeaveRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询员工假期余额变更记录 * * * @param GetLeaveRecordsRequest $request GetLeaveRecordsRequest * * @return GetLeaveRecordsResponse GetLeaveRecordsResponse */ public function getLeaveRecords($request) { $runtime = new RuntimeOptions([]); $headers = new GetLeaveRecordsHeaders([]); return $this->getLeaveRecordsWithOptions($request, $headers, $runtime); } /** * @summary 查询假期规则列表 * * * @param GetLeaveTypeRequest $request GetLeaveTypeRequest * @param GetLeaveTypeHeaders $headers GetLeaveTypeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetLeaveTypeResponse GetLeaveTypeResponse */ public function getLeaveTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->vacationSource)) { $query['vacationSource'] = $request->vacationSource; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetLeaveType', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/leaves/types', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetLeaveTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询假期规则列表 * * * @param GetLeaveTypeRequest $request GetLeaveTypeRequest * * @return GetLeaveTypeResponse GetLeaveTypeResponse */ public function getLeaveType($request) { $runtime = new RuntimeOptions([]); $headers = new GetLeaveTypeHeaders([]); return $this->getLeaveTypeWithOptions($request, $headers, $runtime); } /** * @summary 根据设备id获取考勤机信息 * * * @param string $devId * @param GetMachineHeaders $headers GetMachineHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMachineResponse GetMachineResponse */ public function getMachineWithOptions($devId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetMachine', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/machines/' . $devId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetMachineResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据设备id获取考勤机信息 * * * @param string $devId * * @return GetMachineResponse GetMachineResponse */ public function getMachine($devId) { $runtime = new RuntimeOptions([]); $headers = new GetMachineHeaders([]); return $this->getMachineWithOptions($devId, $headers, $runtime); } /** * @summary 根据设备id获取员工信息 * * * @param string $devId * @param GetMachineUserRequest $request GetMachineUserRequest * @param GetMachineUserHeaders $headers GetMachineUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMachineUserResponse GetMachineUserResponse */ public function getMachineUserWithOptions($devId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMachineUser', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/machines/getUser/' . $devId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetMachineUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据设备id获取员工信息 * * * @param string $devId * @param GetMachineUserRequest $request GetMachineUserRequest * * @return GetMachineUserResponse GetMachineUserResponse */ public function getMachineUser($devId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetMachineUserHeaders([]); return $this->getMachineUserWithOptions($devId, $request, $headers, $runtime); } /** * @summary 批量获取加班规则设置 * * * @param GetOvertimeSettingRequest $request GetOvertimeSettingRequest * @param GetOvertimeSettingHeaders $headers GetOvertimeSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOvertimeSettingResponse GetOvertimeSettingResponse */ public function getOvertimeSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->overtimeSettingIds)) { $body['overtimeSettingIds'] = $request->overtimeSettingIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetOvertimeSetting', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/overtimeSettings/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOvertimeSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取加班规则设置 * * * @param GetOvertimeSettingRequest $request GetOvertimeSettingRequest * * @return GetOvertimeSettingResponse GetOvertimeSettingResponse */ public function getOvertimeSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetOvertimeSettingHeaders([]); return $this->getOvertimeSettingWithOptions($request, $headers, $runtime); } /** * @summary 班次详情 * * * @param GetShiftRequest $request GetShiftRequest * @param GetShiftHeaders $headers GetShiftHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetShiftResponse GetShiftResponse */ public function getShiftWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->shiftId)) { $query['shiftId'] = $request->shiftId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetShift', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/shifts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetShiftResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 班次详情 * * * @param GetShiftRequest $request GetShiftRequest * * @return GetShiftResponse GetShiftResponse */ public function getShift($request) { $runtime = new RuntimeOptions([]); $headers = new GetShiftHeaders([]); return $this->getShiftWithOptions($request, $headers, $runtime); } /** * @summary 获取考勤组列表详情 * * * @param GetSimpleGroupsRequest $request GetSimpleGroupsRequest * @param GetSimpleGroupsHeaders $headers GetSimpleGroupsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSimpleGroupsResponse GetSimpleGroupsResponse */ public function getSimpleGroupsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSimpleGroups', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/groupDetails', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSimpleGroupsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取考勤组列表详情 * * * @param GetSimpleGroupsRequest $request GetSimpleGroupsRequest * * @return GetSimpleGroupsResponse GetSimpleGroupsResponse */ public function getSimpleGroups($request) { $runtime = new RuntimeOptions([]); $headers = new GetSimpleGroupsHeaders([]); return $this->getSimpleGroupsWithOptions($request, $headers, $runtime); } /** * @summary 加班规则列表 * * * @param GetSimpleOvertimeSettingRequest $request GetSimpleOvertimeSettingRequest * @param GetSimpleOvertimeSettingHeaders $headers GetSimpleOvertimeSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSimpleOvertimeSettingResponse GetSimpleOvertimeSettingResponse */ public function getSimpleOvertimeSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSimpleOvertimeSetting', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/overtimeSettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSimpleOvertimeSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 加班规则列表 * * * @param GetSimpleOvertimeSettingRequest $request GetSimpleOvertimeSettingRequest * * @return GetSimpleOvertimeSettingResponse GetSimpleOvertimeSettingResponse */ public function getSimpleOvertimeSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetSimpleOvertimeSettingHeaders([]); return $this->getSimpleOvertimeSettingWithOptions($request, $headers, $runtime); } /** * @summary 查询员工某段时间的假期 * * * @param GetUserHolidaysRequest $request GetUserHolidaysRequest * @param GetUserHolidaysHeaders $headers GetUserHolidaysHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserHolidaysResponse GetUserHolidaysResponse */ public function getUserHolidaysWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } if (!Utils::isUnset($request->workDateFrom)) { $body['workDateFrom'] = $request->workDateFrom; } if (!Utils::isUnset($request->workDateTo)) { $body['workDateTo'] = $request->workDateTo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetUserHolidays', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/holidays', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserHolidaysResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询员工某段时间的假期 * * * @param GetUserHolidaysRequest $request GetUserHolidaysRequest * * @return GetUserHolidaysResponse GetUserHolidaysResponse */ public function getUserHolidays($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserHolidaysHeaders([]); return $this->getUserHolidaysWithOptions($request, $headers, $runtime); } /** * @summary 创建考勤组 * * * @param GroupAddRequest $request GroupAddRequest * @param GroupAddHeaders $headers GroupAddHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GroupAddResponse GroupAddResponse */ public function groupAddWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->adjustmentSettingId)) { $body['adjustmentSettingId'] = $request->adjustmentSettingId; } if (!Utils::isUnset($request->bleDeviceList)) { $body['bleDeviceList'] = $request->bleDeviceList; } if (!Utils::isUnset($request->checkNeedHealthyCode)) { $body['checkNeedHealthyCode'] = $request->checkNeedHealthyCode; } if (!Utils::isUnset($request->defaultClassId)) { $body['defaultClassId'] = $request->defaultClassId; } if (!Utils::isUnset($request->disableCheckWhenRest)) { $body['disableCheckWhenRest'] = $request->disableCheckWhenRest; } if (!Utils::isUnset($request->disableCheckWithoutSchedule)) { $body['disableCheckWithoutSchedule'] = $request->disableCheckWithoutSchedule; } if (!Utils::isUnset($request->enableCameraCheck)) { $body['enableCameraCheck'] = $request->enableCameraCheck; } if (!Utils::isUnset($request->enableEmpSelectClass)) { $body['enableEmpSelectClass'] = $request->enableEmpSelectClass; } if (!Utils::isUnset($request->enableFaceCheck)) { $body['enableFaceCheck'] = $request->enableFaceCheck; } if (!Utils::isUnset($request->enableFaceStrictMode)) { $body['enableFaceStrictMode'] = $request->enableFaceStrictMode; } if (!Utils::isUnset($request->enableNextDay)) { $body['enableNextDay'] = $request->enableNextDay; } if (!Utils::isUnset($request->enableOutSideUpdateNormalCheck)) { $body['enableOutSideUpdateNormalCheck'] = $request->enableOutSideUpdateNormalCheck; } if (!Utils::isUnset($request->enableOutsideApply)) { $body['enableOutsideApply'] = $request->enableOutsideApply; } if (!Utils::isUnset($request->enableOutsideCameraCheck)) { $body['enableOutsideCameraCheck'] = $request->enableOutsideCameraCheck; } if (!Utils::isUnset($request->enableOutsideCheck)) { $body['enableOutsideCheck'] = $request->enableOutsideCheck; } if (!Utils::isUnset($request->enableOutsideRemark)) { $body['enableOutsideRemark'] = $request->enableOutsideRemark; } if (!Utils::isUnset($request->enablePositionBle)) { $body['enablePositionBle'] = $request->enablePositionBle; } if (!Utils::isUnset($request->enableTrimDistance)) { $body['enableTrimDistance'] = $request->enableTrimDistance; } if (!Utils::isUnset($request->forbidHideOutSideAddress)) { $body['forbidHideOutSideAddress'] = $request->forbidHideOutSideAddress; } if (!Utils::isUnset($request->freeCheckSetting)) { $body['freeCheckSetting'] = $request->freeCheckSetting; } if (!Utils::isUnset($request->freeCheckTypeId)) { $body['freeCheckTypeId'] = $request->freeCheckTypeId; } if (!Utils::isUnset($request->freecheckDayStartMinOffset)) { $body['freecheckDayStartMinOffset'] = $request->freecheckDayStartMinOffset; } if (!Utils::isUnset($request->freecheckWorkDays)) { $body['freecheckWorkDays'] = $request->freecheckWorkDays; } if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->managerList)) { $body['managerList'] = $request->managerList; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->modifyMember)) { $body['modifyMember'] = $request->modifyMember; } if (!Utils::isUnset($request->offset)) { $body['offset'] = $request->offset; } if (!Utils::isUnset($request->onlyMachineCheck)) { $body['onlyMachineCheck'] = $request->onlyMachineCheck; } if (!Utils::isUnset($request->openCameraCheck)) { $body['openCameraCheck'] = $request->openCameraCheck; } if (!Utils::isUnset($request->openFaceCheck)) { $body['openFaceCheck'] = $request->openFaceCheck; } if (!Utils::isUnset($request->outsideCheckApproveModeId)) { $body['outsideCheckApproveModeId'] = $request->outsideCheckApproveModeId; } if (!Utils::isUnset($request->overtimeSettingId)) { $body['overtimeSettingId'] = $request->overtimeSettingId; } if (!Utils::isUnset($request->owner)) { $body['owner'] = $request->owner; } if (!Utils::isUnset($request->positions)) { $body['positions'] = $request->positions; } if (!Utils::isUnset($request->resourcePermissionMap)) { $body['resourcePermissionMap'] = $request->resourcePermissionMap; } if (!Utils::isUnset($request->shiftVOList)) { $body['shiftVOList'] = $request->shiftVOList; } if (!Utils::isUnset($request->skipHolidays)) { $body['skipHolidays'] = $request->skipHolidays; } if (!Utils::isUnset($request->specialDays)) { $body['specialDays'] = $request->specialDays; } if (!Utils::isUnset($request->trimDistance)) { $body['trimDistance'] = $request->trimDistance; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->wifis)) { $body['wifis'] = $request->wifis; } if (!Utils::isUnset($request->workdayClassList)) { $body['workdayClassList'] = $request->workdayClassList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GroupAdd', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupAddResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建考勤组 * * * @param GroupAddRequest $request GroupAddRequest * * @return GroupAddResponse GroupAddResponse */ public function groupAdd($request) { $runtime = new RuntimeOptions([]); $headers = new GroupAddHeaders([]); return $this->groupAddWithOptions($request, $headers, $runtime); } /** * @summary 修改考勤组 * * * @param GroupUpdateRequest $request GroupUpdateRequest * @param GroupUpdateHeaders $headers GroupUpdateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GroupUpdateResponse GroupUpdateResponse */ public function groupUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->adjustmentSettingId)) { $body['adjustmentSettingId'] = $request->adjustmentSettingId; } if (!Utils::isUnset($request->disableCheckWhenRest)) { $body['disableCheckWhenRest'] = $request->disableCheckWhenRest; } if (!Utils::isUnset($request->disableCheckWithoutSchedule)) { $body['disableCheckWithoutSchedule'] = $request->disableCheckWithoutSchedule; } if (!Utils::isUnset($request->enableCameraCheck)) { $body['enableCameraCheck'] = $request->enableCameraCheck; } if (!Utils::isUnset($request->enableEmpSelectClass)) { $body['enableEmpSelectClass'] = $request->enableEmpSelectClass; } if (!Utils::isUnset($request->enableFaceCheck)) { $body['enableFaceCheck'] = $request->enableFaceCheck; } if (!Utils::isUnset($request->enableFaceStrictMode)) { $body['enableFaceStrictMode'] = $request->enableFaceStrictMode; } if (!Utils::isUnset($request->enableOutSideUpdateNormalCheck)) { $body['enableOutSideUpdateNormalCheck'] = $request->enableOutSideUpdateNormalCheck; } if (!Utils::isUnset($request->enableOutsideApply)) { $body['enableOutsideApply'] = $request->enableOutsideApply; } if (!Utils::isUnset($request->enableOutsideCheck)) { $body['enableOutsideCheck'] = $request->enableOutsideCheck; } if (!Utils::isUnset($request->enableOutsideRemark)) { $body['enableOutsideRemark'] = $request->enableOutsideRemark; } if (!Utils::isUnset($request->enableTrimDistance)) { $body['enableTrimDistance'] = $request->enableTrimDistance; } if (!Utils::isUnset($request->forbidHideOutSideAddress)) { $body['forbidHideOutSideAddress'] = $request->forbidHideOutSideAddress; } if (!Utils::isUnset($request->freeCheckSetting)) { $body['freeCheckSetting'] = $request->freeCheckSetting; } if (!Utils::isUnset($request->freeCheckTypeId)) { $body['freeCheckTypeId'] = $request->freeCheckTypeId; } if (!Utils::isUnset($request->freecheckDayStartMinOffset)) { $body['freecheckDayStartMinOffset'] = $request->freecheckDayStartMinOffset; } if (!Utils::isUnset($request->groupId)) { $body['groupId'] = $request->groupId; } if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->managerList)) { $body['managerList'] = $request->managerList; } if (!Utils::isUnset($request->offset)) { $body['offset'] = $request->offset; } if (!Utils::isUnset($request->onlyMachineCheck)) { $body['onlyMachineCheck'] = $request->onlyMachineCheck; } if (!Utils::isUnset($request->openCameraCheck)) { $body['openCameraCheck'] = $request->openCameraCheck; } if (!Utils::isUnset($request->openFaceCheck)) { $body['openFaceCheck'] = $request->openFaceCheck; } if (!Utils::isUnset($request->outsideCheckApproveModeId)) { $body['outsideCheckApproveModeId'] = $request->outsideCheckApproveModeId; } if (!Utils::isUnset($request->overtimeSettingId)) { $body['overtimeSettingId'] = $request->overtimeSettingId; } if (!Utils::isUnset($request->owner)) { $body['owner'] = $request->owner; } if (!Utils::isUnset($request->positions)) { $body['positions'] = $request->positions; } if (!Utils::isUnset($request->resourcePermissionMap)) { $body['resourcePermissionMap'] = $request->resourcePermissionMap; } if (!Utils::isUnset($request->shiftVOList)) { $body['shiftVOList'] = $request->shiftVOList; } if (!Utils::isUnset($request->skipHolidays)) { $body['skipHolidays'] = $request->skipHolidays; } if (!Utils::isUnset($request->trimDistance)) { $body['trimDistance'] = $request->trimDistance; } if (!Utils::isUnset($request->workdayClassList)) { $body['workdayClassList'] = $request->workdayClassList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GroupUpdate', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/groups', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GroupUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 修改考勤组 * * * @param GroupUpdateRequest $request GroupUpdateRequest * * @return GroupUpdateResponse GroupUpdateResponse */ public function groupUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new GroupUpdateHeaders([]); return $this->groupUpdateWithOptions($request, $headers, $runtime); } /** * @summary 生态系统假期初始化查询余额接口 * * * @param InitAndGetLeaveALlocationQuotasRequest $request InitAndGetLeaveALlocationQuotasRequest * @param InitAndGetLeaveALlocationQuotasHeaders $headers InitAndGetLeaveALlocationQuotasHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return InitAndGetLeaveALlocationQuotasResponse InitAndGetLeaveALlocationQuotasResponse */ public function initAndGetLeaveALlocationQuotasWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->leaveCode)) { $query['leaveCode'] = $request->leaveCode; } if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'InitAndGetLeaveALlocationQuotas', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/leaves/initializations/balances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InitAndGetLeaveALlocationQuotasResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 生态系统假期初始化查询余额接口 * * * @param InitAndGetLeaveALlocationQuotasRequest $request InitAndGetLeaveALlocationQuotasRequest * * @return InitAndGetLeaveALlocationQuotasResponse InitAndGetLeaveALlocationQuotasResponse */ public function initAndGetLeaveALlocationQuotas($request) { $runtime = new RuntimeOptions([]); $headers = new InitAndGetLeaveALlocationQuotasHeaders([]); return $this->initAndGetLeaveALlocationQuotasWithOptions($request, $headers, $runtime); } /** * @summary 获取用户某段时间内同步到考勤的审批单信息 * * * @param ListApproveByUsersRequest $request ListApproveByUsersRequest * @param ListApproveByUsersHeaders $headers ListApproveByUsersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListApproveByUsersResponse ListApproveByUsersResponse */ public function listApproveByUsersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizTypes)) { $body['bizTypes'] = $request->bizTypes; } if (!Utils::isUnset($request->fromDateTime)) { $body['fromDateTime'] = $request->fromDateTime; } if (!Utils::isUnset($request->toDateTime)) { $body['toDateTime'] = $request->toDateTime; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListApproveByUsers', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/approvals/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListApproveByUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用户某段时间内同步到考勤的审批单信息 * * * @param ListApproveByUsersRequest $request ListApproveByUsersRequest * * @return ListApproveByUsersResponse ListApproveByUsersResponse */ public function listApproveByUsers($request) { $runtime = new RuntimeOptions([]); $headers = new ListApproveByUsersHeaders([]); return $this->listApproveByUsersWithOptions($request, $headers, $runtime); } /** * @summary 修改水印模板 * * * @param ModifyWaterMarkTemplateRequest $request ModifyWaterMarkTemplateRequest * @param ModifyWaterMarkTemplateHeaders $headers ModifyWaterMarkTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ModifyWaterMarkTemplateResponse ModifyWaterMarkTemplateResponse */ public function modifyWaterMarkTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->layoutDesignId)) { $body['layoutDesignId'] = $request->layoutDesignId; } if (!Utils::isUnset($request->schemaContent)) { $body['schemaContent'] = $request->schemaContent; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->waterMarkId)) { $body['waterMarkId'] = $request->waterMarkId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ModifyWaterMarkTemplate', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/watermarks/templates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ModifyWaterMarkTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 修改水印模板 * * * @param ModifyWaterMarkTemplateRequest $request ModifyWaterMarkTemplateRequest * * @return ModifyWaterMarkTemplateResponse ModifyWaterMarkTemplateResponse */ public function modifyWaterMarkTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new ModifyWaterMarkTemplateHeaders([]); return $this->modifyWaterMarkTemplateWithOptions($request, $headers, $runtime); } /** * @summary 创建考勤打卡审批单 * * * @param ProcessApproveCreateRequest $request ProcessApproveCreateRequest * @param ProcessApproveCreateHeaders $headers ProcessApproveCreateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ProcessApproveCreateResponse ProcessApproveCreateResponse */ public function processApproveCreateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->approveId)) { $body['approveId'] = $request->approveId; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->punchParam)) { $body['punchParam'] = $request->punchParam; } if (!Utils::isUnset($request->subType)) { $body['subType'] = $request->subType; } if (!Utils::isUnset($request->tagName)) { $body['tagName'] = $request->tagName; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ProcessApproveCreate', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/workflows/checkInForms', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ProcessApproveCreateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建考勤打卡审批单 * * * @param ProcessApproveCreateRequest $request ProcessApproveCreateRequest * * @return ProcessApproveCreateResponse ProcessApproveCreateResponse */ public function processApproveCreate($request) { $runtime = new RuntimeOptions([]); $headers = new ProcessApproveCreateHeaders([]); return $this->processApproveCreateWithOptions($request, $headers, $runtime); } /** * @summary 通知审批通过 * * * @param ProcessApproveFinishRequest $request ProcessApproveFinishRequest * @param ProcessApproveFinishHeaders $headers ProcessApproveFinishHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ProcessApproveFinishResponse ProcessApproveFinishResponse */ public function processApproveFinishWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->approveId)) { $body['approveId'] = $request->approveId; } if (!Utils::isUnset($request->jumpUrl)) { $body['jumpUrl'] = $request->jumpUrl; } if (!Utils::isUnset($request->overTimeToMore)) { $body['overTimeToMore'] = $request->overTimeToMore; } if (!Utils::isUnset($request->overtimeDuration)) { $body['overtimeDuration'] = $request->overtimeDuration; } if (!Utils::isUnset($request->subType)) { $body['subType'] = $request->subType; } if (!Utils::isUnset($request->tagName)) { $body['tagName'] = $request->tagName; } if (!Utils::isUnset($request->topCalculateApproveDurationParam)) { $body['topCalculateApproveDurationParam'] = $request->topCalculateApproveDurationParam; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ProcessApproveFinish', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/approvals/finish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ProcessApproveFinishResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通知审批通过 * * * @param ProcessApproveFinishRequest $request ProcessApproveFinishRequest * * @return ProcessApproveFinishResponse ProcessApproveFinishResponse */ public function processApproveFinish($request) { $runtime = new RuntimeOptions([]); $headers = new ProcessApproveFinishHeaders([]); return $this->processApproveFinishWithOptions($request, $headers, $runtime); } /** * @summary 扣减员工假期余额 * * * @param string $unionId * @param ReduceQuotaWithLeaveRecordRequest $request ReduceQuotaWithLeaveRecordRequest * @param ReduceQuotaWithLeaveRecordHeaders $headers ReduceQuotaWithLeaveRecordHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ReduceQuotaWithLeaveRecordResponse ReduceQuotaWithLeaveRecordResponse */ public function reduceQuotaWithLeaveRecordWithOptions($unionId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->leaveCode)) { $body['leaveCode'] = $request->leaveCode; } if (!Utils::isUnset($request->outerId)) { $body['outerId'] = $request->outerId; } if (!Utils::isUnset($request->quotaNum)) { $body['quotaNum'] = $request->quotaNum; } if (!Utils::isUnset($request->reason)) { $body['reason'] = $request->reason; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReduceQuotaWithLeaveRecord', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/users/' . $unionId . '/vacations/records/modify', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReduceQuotaWithLeaveRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 扣减员工假期余额 * * * @param string $unionId * @param ReduceQuotaWithLeaveRecordRequest $request ReduceQuotaWithLeaveRecordRequest * * @return ReduceQuotaWithLeaveRecordResponse ReduceQuotaWithLeaveRecordResponse */ public function reduceQuotaWithLeaveRecord($unionId, $request) { $runtime = new RuntimeOptions([]); $headers = new ReduceQuotaWithLeaveRecordHeaders([]); return $this->reduceQuotaWithLeaveRecordWithOptions($unionId, $request, $headers, $runtime); } /** * @summary 修改假期规则来源 * * * @param RetainLeaveTypesRequest $request RetainLeaveTypesRequest * @param RetainLeaveTypesHeaders $headers RetainLeaveTypesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RetainLeaveTypesResponse RetainLeaveTypesResponse */ public function retainLeaveTypesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->leaveCodes)) { $body['leaveCodes'] = $request->leaveCodes; } if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RetainLeaveTypes', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/vacations/types/change', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RetainLeaveTypesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 修改假期规则来源 * * * @param RetainLeaveTypesRequest $request RetainLeaveTypesRequest * * @return RetainLeaveTypesResponse RetainLeaveTypesResponse */ public function retainLeaveTypes($request) { $runtime = new RuntimeOptions([]); $headers = new RetainLeaveTypesHeaders([]); return $this->retainLeaveTypesWithOptions($request, $headers, $runtime); } /** * @summary 提供给高级假期的试用订单回退 * * * @param ReverseTrialAdvancedLeaveRequest $request ReverseTrialAdvancedLeaveRequest * @param ReverseTrialAdvancedLeaveHeaders $headers ReverseTrialAdvancedLeaveHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ReverseTrialAdvancedLeaveResponse ReverseTrialAdvancedLeaveResponse */ public function reverseTrialAdvancedLeaveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->servCode)) { $query['servCode'] = $request->servCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ReverseTrialAdvancedLeave', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/leaves/reverse', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ReverseTrialAdvancedLeaveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 提供给高级假期的试用订单回退 * * * @param ReverseTrialAdvancedLeaveRequest $request ReverseTrialAdvancedLeaveRequest * * @return ReverseTrialAdvancedLeaveResponse ReverseTrialAdvancedLeaveResponse */ public function reverseTrialAdvancedLeave($request) { $runtime = new RuntimeOptions([]); $headers = new ReverseTrialAdvancedLeaveHeaders([]); return $this->reverseTrialAdvancedLeaveWithOptions($request, $headers, $runtime); } /** * @summary 新增水印签到模板 * * * @param SaveCustomWaterMarkTemplateRequest $request SaveCustomWaterMarkTemplateRequest * @param SaveCustomWaterMarkTemplateHeaders $headers SaveCustomWaterMarkTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SaveCustomWaterMarkTemplateResponse SaveCustomWaterMarkTemplateResponse */ public function saveCustomWaterMarkTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->bizCode)) { $body['bizCode'] = $request->bizCode; } if (!Utils::isUnset($request->icon)) { $body['icon'] = $request->icon; } if (!Utils::isUnset($request->layoutDesignId)) { $body['layoutDesignId'] = $request->layoutDesignId; } if (!Utils::isUnset($request->sceneCode)) { $body['sceneCode'] = $request->sceneCode; } if (!Utils::isUnset($request->schemaContent)) { $body['schemaContent'] = $request->schemaContent; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveCustomWaterMarkTemplate', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/watermarks/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveCustomWaterMarkTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增水印签到模板 * * * @param SaveCustomWaterMarkTemplateRequest $request SaveCustomWaterMarkTemplateRequest * * @return SaveCustomWaterMarkTemplateResponse SaveCustomWaterMarkTemplateResponse */ public function saveCustomWaterMarkTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new SaveCustomWaterMarkTemplateHeaders([]); return $this->saveCustomWaterMarkTemplateWithOptions($request, $headers, $runtime); } /** * @summary 创建班次 * * * @param ShiftAddRequest $request ShiftAddRequest * @param ShiftAddHeaders $headers ShiftAddHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ShiftAddResponse ShiftAddResponse */ public function shiftAddWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->owner)) { $body['owner'] = $request->owner; } if (!Utils::isUnset($request->sections)) { $body['sections'] = $request->sections; } if (!Utils::isUnset($request->serviceId)) { $body['serviceId'] = $request->serviceId; } if (!Utils::isUnset($request->setting)) { $body['setting'] = $request->setting; } if (!Utils::isUnset($request->shiftId)) { $body['shiftId'] = $request->shiftId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ShiftAdd', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/shifts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ShiftAddResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建班次 * * * @param ShiftAddRequest $request ShiftAddRequest * * @return ShiftAddResponse ShiftAddResponse */ public function shiftAdd($request) { $runtime = new RuntimeOptions([]); $headers = new ShiftAddHeaders([]); return $this->shiftAddWithOptions($request, $headers, $runtime); } /** * @summary 用于考勤排班附加信息,例如打卡位置,打卡wifi等 * * * @param SyncScheduleInfoRequest $request SyncScheduleInfoRequest * @param SyncScheduleInfoHeaders $headers SyncScheduleInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SyncScheduleInfoResponse SyncScheduleInfoResponse */ public function syncScheduleInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->opUserId)) { $body['opUserId'] = $request->opUserId; } if (!Utils::isUnset($request->scheduleInfos)) { $body['scheduleInfos'] = $request->scheduleInfos; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncScheduleInfo', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/schedules/additionalInfo', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return SyncScheduleInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 用于考勤排班附加信息,例如打卡位置,打卡wifi等 * * * @param SyncScheduleInfoRequest $request SyncScheduleInfoRequest * * @return SyncScheduleInfoResponse SyncScheduleInfoResponse */ public function syncScheduleInfo($request) { $runtime = new RuntimeOptions([]); $headers = new SyncScheduleInfoHeaders([]); return $this->syncScheduleInfoWithOptions($request, $headers, $runtime); } /** * @summary 更新假期规则 * * * @param UpdateLeaveTypeRequest $request UpdateLeaveTypeRequest * @param UpdateLeaveTypeHeaders $headers UpdateLeaveTypeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateLeaveTypeResponse UpdateLeaveTypeResponse */ public function updateLeaveTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->opUserId)) { $query['opUserId'] = $request->opUserId; } $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->extras)) { $body['extras'] = $request->extras; } if (!Utils::isUnset($request->hoursInPerDay)) { $body['hoursInPerDay'] = $request->hoursInPerDay; } if (!Utils::isUnset($request->leaveCertificate)) { $body['leaveCertificate'] = $request->leaveCertificate; } if (!Utils::isUnset($request->leaveCode)) { $body['leaveCode'] = $request->leaveCode; } if (!Utils::isUnset($request->leaveName)) { $body['leaveName'] = $request->leaveName; } if (!Utils::isUnset($request->leaveViewUnit)) { $body['leaveViewUnit'] = $request->leaveViewUnit; } if (!Utils::isUnset($request->naturalDayLeave)) { $body['naturalDayLeave'] = $request->naturalDayLeave; } if (!Utils::isUnset($request->submitTimeRule)) { $body['submitTimeRule'] = $request->submitTimeRule; } if (!Utils::isUnset($request->visibilityRules)) { $body['visibilityRules'] = $request->visibilityRules; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateLeaveType', 'version' => 'attendance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/attendance/leaves/types', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateLeaveTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新假期规则 * * * @param UpdateLeaveTypeRequest $request UpdateLeaveTypeRequest * * @return UpdateLeaveTypeResponse UpdateLeaveTypeResponse */ public function updateLeaveType($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateLeaveTypeHeaders([]); return $this->updateLeaveTypeWithOptions($request, $headers, $runtime); } } src/attendance_1_0/Models/AddLeaveTypeHeaders.php 0000644 00000002332 14713400346 0015641 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddLeaveTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/AddLeaveTypeRequest.php 0000644 00000020244 14713400346 0015720 0 ustar 00 'bizType', 'extras' => 'extras', 'freedomLeave' => 'freedomLeave', 'hoursInPerDay' => 'hoursInPerDay', 'leaveCertificate' => 'leaveCertificate', 'leaveHourCeil' => 'leaveHourCeil', 'leaveName' => 'leaveName', 'leaveTimeCeil' => 'leaveTimeCeil', 'leaveTimeCeilMinUnit' => 'leaveTimeCeilMinUnit', 'leaveViewUnit' => 'leaveViewUnit', 'maxLeaveTime' => 'maxLeaveTime', 'minLeaveHour' => 'minLeaveHour', 'naturalDayLeave' => 'naturalDayLeave', 'paidLeave' => 'paidLeave', 'submitTimeRule' => 'submitTimeRule', 'visibilityRules' => 'visibilityRules', 'whenCanLeave' => 'whenCanLeave', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->extras) { $res['extras'] = $this->extras; } if (null !== $this->freedomLeave) { $res['freedomLeave'] = $this->freedomLeave; } if (null !== $this->hoursInPerDay) { $res['hoursInPerDay'] = $this->hoursInPerDay; } if (null !== $this->leaveCertificate) { $res['leaveCertificate'] = null !== $this->leaveCertificate ? $this->leaveCertificate->toMap() : null; } if (null !== $this->leaveHourCeil) { $res['leaveHourCeil'] = $this->leaveHourCeil; } if (null !== $this->leaveName) { $res['leaveName'] = $this->leaveName; } if (null !== $this->leaveTimeCeil) { $res['leaveTimeCeil'] = $this->leaveTimeCeil; } if (null !== $this->leaveTimeCeilMinUnit) { $res['leaveTimeCeilMinUnit'] = $this->leaveTimeCeilMinUnit; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->maxLeaveTime) { $res['maxLeaveTime'] = $this->maxLeaveTime; } if (null !== $this->minLeaveHour) { $res['minLeaveHour'] = $this->minLeaveHour; } if (null !== $this->naturalDayLeave) { $res['naturalDayLeave'] = $this->naturalDayLeave; } if (null !== $this->paidLeave) { $res['paidLeave'] = $this->paidLeave; } if (null !== $this->submitTimeRule) { $res['submitTimeRule'] = null !== $this->submitTimeRule ? $this->submitTimeRule->toMap() : null; } if (null !== $this->visibilityRules) { $res['visibilityRules'] = []; if (null !== $this->visibilityRules && \is_array($this->visibilityRules)) { $n = 0; foreach ($this->visibilityRules as $item) { $res['visibilityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->whenCanLeave) { $res['whenCanLeave'] = $this->whenCanLeave; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return AddLeaveTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['extras'])) { $model->extras = $map['extras']; } if (isset($map['freedomLeave'])) { $model->freedomLeave = $map['freedomLeave']; } if (isset($map['hoursInPerDay'])) { $model->hoursInPerDay = $map['hoursInPerDay']; } if (isset($map['leaveCertificate'])) { $model->leaveCertificate = leaveCertificate::fromMap($map['leaveCertificate']); } if (isset($map['leaveHourCeil'])) { $model->leaveHourCeil = $map['leaveHourCeil']; } if (isset($map['leaveName'])) { $model->leaveName = $map['leaveName']; } if (isset($map['leaveTimeCeil'])) { $model->leaveTimeCeil = $map['leaveTimeCeil']; } if (isset($map['leaveTimeCeilMinUnit'])) { $model->leaveTimeCeilMinUnit = $map['leaveTimeCeilMinUnit']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['maxLeaveTime'])) { $model->maxLeaveTime = $map['maxLeaveTime']; } if (isset($map['minLeaveHour'])) { $model->minLeaveHour = $map['minLeaveHour']; } if (isset($map['naturalDayLeave'])) { $model->naturalDayLeave = $map['naturalDayLeave']; } if (isset($map['paidLeave'])) { $model->paidLeave = $map['paidLeave']; } if (isset($map['submitTimeRule'])) { $model->submitTimeRule = submitTimeRule::fromMap($map['submitTimeRule']); } if (isset($map['visibilityRules'])) { if (!empty($map['visibilityRules'])) { $model->visibilityRules = []; $n = 0; foreach ($map['visibilityRules'] as $item) { $model->visibilityRules[$n++] = null !== $item ? visibilityRules::fromMap($item) : $item; } } } if (isset($map['whenCanLeave'])) { $model->whenCanLeave = $map['whenCanLeave']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/AddLeaveTypeRequest/leaveCertificate.php 0000644 00000003542 14713400346 0021161 0 ustar 00 'duration', 'enable' => 'enable', 'promptInformation' => 'promptInformation', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->promptInformation) { $res['promptInformation'] = $this->promptInformation; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return leaveCertificate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['promptInformation'])) { $model->promptInformation = $map['promptInformation']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/attendance_1_0/Models/AddLeaveTypeRequest/submitTimeRule.php 0000644 00000003564 14713400346 0020700 0 ustar 00 'enableTimeLimit', 'timeType' => 'timeType', 'timeUnit' => 'timeUnit', 'timeValue' => 'timeValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableTimeLimit) { $res['enableTimeLimit'] = $this->enableTimeLimit; } if (null !== $this->timeType) { $res['timeType'] = $this->timeType; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } if (null !== $this->timeValue) { $res['timeValue'] = $this->timeValue; } return $res; } /** * @param array $map * * @return submitTimeRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableTimeLimit'])) { $model->enableTimeLimit = $map['enableTimeLimit']; } if (isset($map['timeType'])) { $model->timeType = $map['timeType']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } if (isset($map['timeValue'])) { $model->timeValue = $map['timeValue']; } return $model; } } src/attendance_1_0/Models/AddLeaveTypeRequest/visibilityRules.php 0000644 00000002243 14713400346 0021121 0 ustar 00 'type', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return visibilityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visible'])) { if (!empty($map['visible'])) { $model->visible = $map['visible']; } } return $model; } } src/attendance_1_0/Models/AddLeaveTypeResponse.php 0000644 00000002720 14713400346 0016065 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddLeaveTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddLeaveTypeResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/AddLeaveTypeResponseBody.php 0000644 00000002004 14713400346 0016676 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return AddLeaveTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/AddLeaveTypeResponseBody/result.php 0000644 00000011247 14713400346 0020225 0 ustar 00 'bizType', 'hoursInPerDay' => 'hoursInPerDay', 'leaveCertificate' => 'leaveCertificate', 'leaveCode' => 'leaveCode', 'leaveName' => 'leaveName', 'leaveViewUnit' => 'leaveViewUnit', 'naturalDayLeave' => 'naturalDayLeave', 'submitTimeRule' => 'submitTimeRule', 'visibilityRules' => 'visibilityRules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->hoursInPerDay) { $res['hoursInPerDay'] = $this->hoursInPerDay; } if (null !== $this->leaveCertificate) { $res['leaveCertificate'] = null !== $this->leaveCertificate ? $this->leaveCertificate->toMap() : null; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->leaveName) { $res['leaveName'] = $this->leaveName; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->naturalDayLeave) { $res['naturalDayLeave'] = $this->naturalDayLeave; } if (null !== $this->submitTimeRule) { $res['submitTimeRule'] = null !== $this->submitTimeRule ? $this->submitTimeRule->toMap() : null; } if (null !== $this->visibilityRules) { $res['visibilityRules'] = []; if (null !== $this->visibilityRules && \is_array($this->visibilityRules)) { $n = 0; foreach ($this->visibilityRules as $item) { $res['visibilityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['hoursInPerDay'])) { $model->hoursInPerDay = $map['hoursInPerDay']; } if (isset($map['leaveCertificate'])) { $model->leaveCertificate = leaveCertificate::fromMap($map['leaveCertificate']); } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['leaveName'])) { $model->leaveName = $map['leaveName']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['naturalDayLeave'])) { $model->naturalDayLeave = $map['naturalDayLeave']; } if (isset($map['submitTimeRule'])) { $model->submitTimeRule = submitTimeRule::fromMap($map['submitTimeRule']); } if (isset($map['visibilityRules'])) { if (!empty($map['visibilityRules'])) { $model->visibilityRules = []; $n = 0; foreach ($map['visibilityRules'] as $item) { $model->visibilityRules[$n++] = null !== $item ? visibilityRules::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/AddLeaveTypeResponseBody/result/leaveCertificate.php 0000644 00000003556 14713400346 0023470 0 ustar 00 'duration', 'enable' => 'enable', 'promptInformation' => 'promptInformation', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->promptInformation) { $res['promptInformation'] = $this->promptInformation; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return leaveCertificate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['promptInformation'])) { $model->promptInformation = $map['promptInformation']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/attendance_1_0/Models/AddLeaveTypeResponseBody/result/submitTimeRule.php 0000644 00000003601 14713400346 0023172 0 ustar 00 'enableTimeLimit', 'timeType' => 'timeType', 'timeUnit' => 'timeUnit', 'timeValue' => 'timeValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableTimeLimit) { $res['enableTimeLimit'] = $this->enableTimeLimit; } if (null !== $this->timeType) { $res['timeType'] = $this->timeType; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } if (null !== $this->timeValue) { $res['timeValue'] = $this->timeValue; } return $res; } /** * @param array $map * * @return submitTimeRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableTimeLimit'])) { $model->enableTimeLimit = $map['enableTimeLimit']; } if (isset($map['timeType'])) { $model->timeType = $map['timeType']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } if (isset($map['timeValue'])) { $model->timeValue = $map['timeValue']; } return $model; } } src/attendance_1_0/Models/AddLeaveTypeResponseBody/result/visibilityRules.php 0000644 00000002257 14713400346 0023430 0 ustar 00 'type', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return visibilityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visible'])) { if (!empty($map['visible'])) { $model->visible = $map['visible']; } } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddHeaders.php 0000644 00000002360 14713400346 0017740 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesAddHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddRequest.php 0000644 00000003317 14713400346 0020020 0 ustar 00 'deviceIdList', 'groupKey' => 'groupKey', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceIdList) { $res['deviceIdList'] = $this->deviceIdList; } if (null !== $this->groupKey) { $res['groupKey'] = $this->groupKey; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesAddRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceIdList'])) { if (!empty($map['deviceIdList'])) { $model->deviceIdList = $map['deviceIdList']; } } if (isset($map['groupKey'])) { $model->groupKey = $map['groupKey']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddResponse.php 0000644 00000002774 14713400346 0020174 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesAddResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AttendanceBleDevicesAddResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddResponseBody.php 0000644 00000004631 14713400346 0021004 0 ustar 00 'errorList', 'successList' => 'successList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorList) { $res['errorList'] = []; if (null !== $this->errorList && \is_array($this->errorList)) { $n = 0; foreach ($this->errorList as $item) { $res['errorList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->successList) { $res['successList'] = []; if (null !== $this->successList && \is_array($this->successList)) { $n = 0; foreach ($this->successList as $item) { $res['successList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AttendanceBleDevicesAddResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorList'])) { if (!empty($map['errorList'])) { $model->errorList = []; $n = 0; foreach ($map['errorList'] as $item) { $model->errorList[$n++] = null !== $item ? errorList::fromMap($item) : $item; } } } if (isset($map['successList'])) { if (!empty($map['successList'])) { $model->successList = []; $n = 0; foreach ($map['successList'] as $item) { $model->successList[$n++] = null !== $item ? successList::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddResponseBody/errorList.php 0000644 00000004063 14713400346 0022770 0 ustar 00 'code', 'failureList' => 'failureList', 'msg' => 'msg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->failureList) { $res['failureList'] = []; if (null !== $this->failureList && \is_array($this->failureList)) { $n = 0; foreach ($this->failureList as $item) { $res['failureList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->msg) { $res['msg'] = $this->msg; } return $res; } /** * @param array $map * * @return errorList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['failureList'])) { if (!empty($map['failureList'])) { $model->failureList = []; $n = 0; foreach ($map['failureList'] as $item) { $model->failureList[$n++] = null !== $item ? failureList::fromMap($item) : $item; } } } if (isset($map['msg'])) { $model->msg = $map['msg']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddResponseBody/errorList/failureList.php 0000644 00000002756 14713400346 0025262 0 ustar 00 'deviceId', 'deviceName' => 'deviceName', 'sn' => 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return failureList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesAddResponseBody/successList.php 0000644 00000002745 14713400346 0023314 0 ustar 00 'deviceId', 'deviceName' => 'deviceName', 'sn' => 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return successList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesQueryHeaders.php 0000644 00000002364 14713400346 0020361 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesQueryRequest.php 0000644 00000002417 14713400346 0020435 0 ustar 00 'groupKey', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupKey) { $res['groupKey'] = $this->groupKey; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupKey'])) { $model->groupKey = $map['groupKey']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesQueryResponse.php 0000644 00000003004 14713400346 0020574 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AttendanceBleDevicesQueryResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesQueryResponseBody.php 0000644 00000002654 14713400346 0021424 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AttendanceBleDevicesQueryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesQueryResponseBody/result.php 0000644 00000002734 14713400346 0022741 0 ustar 00 'deviceId', 'deviceName' => 'deviceName', 'sn' => 'sn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->sn) { $res['sn'] = $this->sn; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['sn'])) { $model->sn = $map['sn']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesRemoveHeaders.php 0000644 00000002366 14713400346 0020513 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesRemoveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesRemoveRequest.php 0000644 00000003325 14713400346 0020564 0 ustar 00 'deviceIdList', 'groupKey' => 'groupKey', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceIdList) { $res['deviceIdList'] = $this->deviceIdList; } if (null !== $this->groupKey) { $res['groupKey'] = $this->groupKey; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesRemoveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceIdList'])) { if (!empty($map['deviceIdList'])) { $model->deviceIdList = $map['deviceIdList']; } } if (isset($map['groupKey'])) { $model->groupKey = $map['groupKey']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesRemoveResponse.php 0000644 00000003010 14713400346 0020721 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesRemoveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AttendanceBleDevicesRemoveResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesRemoveResponseBody.php 0000644 00000003542 14713400346 0021551 0 ustar 00 'errorList', 'successList' => 'successList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorList) { $res['errorList'] = []; if (null !== $this->errorList && \is_array($this->errorList)) { $n = 0; foreach ($this->errorList as $item) { $res['errorList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->successList) { $res['successList'] = $this->successList; } return $res; } /** * @param array $map * * @return AttendanceBleDevicesRemoveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorList'])) { if (!empty($map['errorList'])) { $model->errorList = []; $n = 0; foreach ($map['errorList'] as $item) { $model->errorList[$n++] = null !== $item ? errorList::fromMap($item) : $item; } } } if (isset($map['successList'])) { if (!empty($map['successList'])) { $model->successList = $map['successList']; } } return $model; } } src/attendance_1_0/Models/AttendanceBleDevicesRemoveResponseBody/errorList.php 0000644 00000002754 14713400346 0023542 0 ustar 00 'code', 'failureList' => 'failureList', 'msg' => 'msg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->failureList) { $res['failureList'] = $this->failureList; } if (null !== $this->msg) { $res['msg'] = $this->msg; } return $res; } /** * @param array $map * * @return errorList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['failureList'])) { if (!empty($map['failureList'])) { $model->failureList = $map['failureList']; } } if (isset($map['msg'])) { $model->msg = $map['msg']; } return $model; } } src/attendance_1_0/Models/BatchBossCheckHeaders.php 0000644 00000002336 14713400346 0016144 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchBossCheckHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/BatchBossCheckRequest.php 0000644 00000003325 14713400346 0016220 0 ustar 00 'models', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->models) { $res['models'] = []; if (null !== $this->models && \is_array($this->models)) { $n = 0; foreach ($this->models as $item) { $res['models'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return BatchBossCheckRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['models'])) { if (!empty($map['models'])) { $model->models = []; $n = 0; foreach ($map['models'] as $item) { $model->models[$n++] = null !== $item ? models::fromMap($item) : $item; } } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/BatchBossCheckRequest/models.php 0000644 00000003533 14713400346 0017504 0 ustar 00 'absentMin', 'planId' => 'planId', 'remark' => 'remark', 'timeResult' => 'timeResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->absentMin) { $res['absentMin'] = $this->absentMin; } if (null !== $this->planId) { $res['planId'] = $this->planId; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->timeResult) { $res['timeResult'] = $this->timeResult; } return $res; } /** * @param array $map * * @return models */ public static function fromMap($map = []) { $model = new self(); if (isset($map['absentMin'])) { $model->absentMin = $map['absentMin']; } if (isset($map['planId'])) { $model->planId = $map['planId']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['timeResult'])) { $model->timeResult = $map['timeResult']; } return $model; } } src/attendance_1_0/Models/BatchBossCheckResponse.php 0000644 00000002730 14713400346 0016365 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchBossCheckResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchBossCheckResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/BatchBossCheckResponseBody.php 0000644 00000001622 14713400346 0017202 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchBossCheckResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/attendance_1_0/Models/CalculateDurationHeaders.php 0000644 00000002344 14713400346 0016740 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CalculateDurationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/CalculateDurationRequest.php 0000644 00000005503 14713400346 0017015 0 ustar 00 'bizType', 'calculateModel' => 'calculateModel', 'durationUnit' => 'durationUnit', 'fromTime' => 'fromTime', 'leaveCode' => 'leaveCode', 'toTime' => 'toTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->calculateModel) { $res['calculateModel'] = $this->calculateModel; } if (null !== $this->durationUnit) { $res['durationUnit'] = $this->durationUnit; } if (null !== $this->fromTime) { $res['fromTime'] = $this->fromTime; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->toTime) { $res['toTime'] = $this->toTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CalculateDurationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['calculateModel'])) { $model->calculateModel = $map['calculateModel']; } if (isset($map['durationUnit'])) { $model->durationUnit = $map['durationUnit']; } if (isset($map['fromTime'])) { $model->fromTime = $map['fromTime']; } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['toTime'])) { $model->toTime = $map['toTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/CalculateDurationResponse.php 0000644 00000002744 14713400346 0017167 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CalculateDurationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CalculateDurationResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/CalculateDurationResponseBody.php 0000644 00000002362 14713400346 0020001 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CalculateDurationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/CalculateDurationResponseBody/result.php 0000644 00000003533 14713400346 0021320 0 ustar 00 'duration', 'durationDetail' => 'durationDetail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationDetail) { $res['durationDetail'] = []; if (null !== $this->durationDetail && \is_array($this->durationDetail)) { $n = 0; foreach ($this->durationDetail as $item) { $res['durationDetail'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationDetail'])) { if (!empty($map['durationDetail'])) { $model->durationDetail = []; $n = 0; foreach ($map['durationDetail'] as $item) { $model->durationDetail[$n++] = null !== $item ? durationDetail::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/CalculateDurationResponseBody/result/durationDetail.php 0000644 00000002234 14713400346 0024265 0 ustar 00 'date', 'duration' => 'duration', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->duration) { $res['duration'] = $this->duration; } return $res; } /** * @param array $map * * @return durationDetail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } return $model; } } src/attendance_1_0/Models/CheckClosingAccountHeaders.php 0000644 00000002350 14713400346 0017203 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckClosingAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/CheckClosingAccountRequest.php 0000644 00000004447 14713400346 0017271 0 ustar 00 'bizCode', 'userIds' => 'userIds', 'userTimeRange' => 'userTimeRange', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->userTimeRange) { $res['userTimeRange'] = []; if (null !== $this->userTimeRange && \is_array($this->userTimeRange)) { $n = 0; foreach ($this->userTimeRange as $item) { $res['userTimeRange'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CheckClosingAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['userTimeRange'])) { if (!empty($map['userTimeRange'])) { $model->userTimeRange = []; $n = 0; foreach ($map['userTimeRange'] as $item) { $model->userTimeRange[$n++] = null !== $item ? userTimeRange::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/CheckClosingAccountRequest/userTimeRange.php 0000644 00000002336 14713400346 0022036 0 ustar 00 'endTime', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return userTimeRange */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/attendance_1_0/Models/CheckClosingAccountResponse.php 0000644 00000002754 14713400346 0017436 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckClosingAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckClosingAccountResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/CheckClosingAccountResponseBody.php 0000644 00000002752 14713400346 0020252 0 ustar 00 'code', 'mesage' => 'mesage', 'pass' => 'pass', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->mesage) { $res['mesage'] = $this->mesage; } if (null !== $this->pass) { $res['pass'] = $this->pass; } return $res; } /** * @param array $map * * @return CheckClosingAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['mesage'])) { $model->mesage = $map['mesage']; } if (isset($map['pass'])) { $model->pass = $map['pass']; } return $model; } } src/attendance_1_0/Models/CheckWritePermissionHeaders.php 0000644 00000002352 14713400346 0017435 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckWritePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/CheckWritePermissionRequest.php 0000644 00000004134 14713400346 0017512 0 ustar 00 'category', 'entityIds' => 'entityIds', 'opUserId' => 'opUserId', 'resourceKey' => 'resourceKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->category) { $res['category'] = $this->category; } if (null !== $this->entityIds) { $res['entityIds'] = $this->entityIds; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->resourceKey) { $res['resourceKey'] = $this->resourceKey; } return $res; } /** * @param array $map * * @return CheckWritePermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['category'])) { $model->category = $map['category']; } if (isset($map['entityIds'])) { if (!empty($map['entityIds'])) { $model->entityIds = $map['entityIds']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['resourceKey'])) { $model->resourceKey = $map['resourceKey']; } return $model; } } src/attendance_1_0/Models/CheckWritePermissionResponse.php 0000644 00000002760 14713400346 0017663 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckWritePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckWritePermissionResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/CheckWritePermissionResponseBody.php 0000644 00000001771 14713400346 0020502 0 ustar 00 'entityPermissionMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->entityPermissionMap) { $res['entityPermissionMap'] = $this->entityPermissionMap; } return $res; } /** * @param array $map * * @return CheckWritePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['entityPermissionMap'])) { $model->entityPermissionMap = $map['entityPermissionMap']; } return $model; } } src/attendance_1_0/Models/CreateApproveHeaders.php 0000644 00000002334 14713400346 0016074 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateApproveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/CreateApproveRequest.php 0000644 00000005136 14713400346 0016154 0 ustar 00 'approveId', 'opUserid' => 'opUserid', 'punchParam' => 'punchParam', 'subType' => 'subType', 'tagName' => 'tagName', 'userid' => 'userid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveId) { $res['approveId'] = $this->approveId; } if (null !== $this->opUserid) { $res['opUserid'] = $this->opUserid; } if (null !== $this->punchParam) { $res['punchParam'] = null !== $this->punchParam ? $this->punchParam->toMap() : null; } if (null !== $this->subType) { $res['subType'] = $this->subType; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } if (null !== $this->userid) { $res['userid'] = $this->userid; } return $res; } /** * @param array $map * * @return CreateApproveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveId'])) { $model->approveId = $map['approveId']; } if (isset($map['opUserid'])) { $model->opUserid = $map['opUserid']; } if (isset($map['punchParam'])) { $model->punchParam = punchParam::fromMap($map['punchParam']); } if (isset($map['subType'])) { $model->subType = $map['subType']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } if (isset($map['userid'])) { $model->userid = $map['userid']; } return $model; } } src/attendance_1_0/Models/CreateApproveRequest/punchParam.php 0000644 00000003646 14713400346 0020256 0 ustar 00 'positionId', 'positionName' => 'positionName', 'positionType' => 'positionType', 'punchTime' => 'punchTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->positionId) { $res['positionId'] = $this->positionId; } if (null !== $this->positionName) { $res['positionName'] = $this->positionName; } if (null !== $this->positionType) { $res['positionType'] = $this->positionType; } if (null !== $this->punchTime) { $res['punchTime'] = $this->punchTime; } return $res; } /** * @param array $map * * @return punchParam */ public static function fromMap($map = []) { $model = new self(); if (isset($map['positionId'])) { $model->positionId = $map['positionId']; } if (isset($map['positionName'])) { $model->positionName = $map['positionName']; } if (isset($map['positionType'])) { $model->positionType = $map['positionType']; } if (isset($map['punchTime'])) { $model->punchTime = $map['punchTime']; } return $model; } } src/attendance_1_0/Models/CreateApproveResponse.php 0000644 00000002724 14713400346 0016322 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateApproveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateApproveResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/CreateApproveResponseBody.php 0000644 00000001642 14713400346 0017136 0 ustar 00 'dingtalkApproveId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingtalkApproveId) { $res['dingtalkApproveId'] = $this->dingtalkApproveId; } return $res; } /** * @param array $map * * @return CreateApproveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingtalkApproveId'])) { $model->dingtalkApproveId = $map['dingtalkApproveId']; } return $model; } } src/attendance_1_0/Models/DeleteLeaveRequestHeaders.php 0000644 00000002346 14713400346 0017067 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteLeaveRequestHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/DeleteLeaveRequestRequest.php 0000644 00000001644 14713400346 0017144 0 ustar 00 'outerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } return $res; } /** * @param array $map * * @return DeleteLeaveRequestRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } return $model; } } src/attendance_1_0/Models/DeleteLeaveRequestResponse.php 0000644 00000002750 14713400346 0017311 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteLeaveRequestResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteLeaveRequestResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/DeleteLeaveRequestResponseBody.php 0000644 00000002135 14713400346 0020124 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteLeaveRequestResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/DeleteWaterMarkTemplateHeaders.php 0000644 00000002360 14713400346 0020047 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteWaterMarkTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/DeleteWaterMarkTemplateRequest.php 0000644 00000006744 14713400346 0020136 0 ustar 00 'formCode', 'formContent' => 'formContent', 'openConversationId' => 'openConversationId', 'systemTemplate' => 'systemTemplate', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->formContent) { $res['formContent'] = $this->formContent; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->systemTemplate) { $res['systemTemplate'] = $this->systemTemplate; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DeleteWaterMarkTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['formContent'])) { $model->formContent = $map['formContent']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['systemTemplate'])) { $model->systemTemplate = $map['systemTemplate']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/DeleteWaterMarkTemplateResponse.php 0000644 00000002774 14713400346 0020303 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteWaterMarkTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteWaterMarkTemplateResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/DeleteWaterMarkTemplateResponseBody.php 0000644 00000001623 14713400346 0021111 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteWaterMarkTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/attendance_1_0/Models/DingTalkSecurityCheckHeaders.php 0000644 00000002354 14713400346 0017521 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DingTalkSecurityCheckHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/DingTalkSecurityCheckRequest.php 0000644 00000004623 14713400346 0017577 0 ustar 00 'clientVer', 'platform' => 'platform', 'platformVer' => 'platformVer', 'sec' => 'sec', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clientVer) { $res['clientVer'] = $this->clientVer; } if (null !== $this->platform) { $res['platform'] = $this->platform; } if (null !== $this->platformVer) { $res['platformVer'] = $this->platformVer; } if (null !== $this->sec) { $res['sec'] = $this->sec; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DingTalkSecurityCheckRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clientVer'])) { $model->clientVer = $map['clientVer']; } if (isset($map['platform'])) { $model->platform = $map['platform']; } if (isset($map['platformVer'])) { $model->platformVer = $map['platformVer']; } if (isset($map['sec'])) { $model->sec = $map['sec']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/DingTalkSecurityCheckResponse.php 0000644 00000002764 14713400346 0017751 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DingTalkSecurityCheckResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DingTalkSecurityCheckResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/DingTalkSecurityCheckResponseBody.php 0000644 00000002037 14713400346 0020560 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return DingTalkSecurityCheckResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/DingTalkSecurityCheckResponseBody/result.php 0000644 00000002332 14713400346 0022074 0 ustar 00 'hasRisk', 'riskInfo' => 'riskInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasRisk) { $res['hasRisk'] = $this->hasRisk; } if (null !== $this->riskInfo) { $res['riskInfo'] = $this->riskInfo; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasRisk'])) { $model->hasRisk = $map['hasRisk']; } if (isset($map['riskInfo'])) { $model->riskInfo = $map['riskInfo']; } return $model; } } src/attendance_1_0/Models/GetATManageScopeHeaders.php 0000644 00000002342 14713400346 0016402 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetATManageScopeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetATManageScopeRequest.php 0000644 00000003216 14713400346 0016460 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetATManageScopeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetATManageScopeResponse.php 0000644 00000002740 14713400346 0016627 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetATManageScopeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetATManageScopeResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetATManageScopeResponseBody.php 0000644 00000002621 14713400346 0017443 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetATManageScopeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetATManageScopeResponseBody/result.php 0000644 00000003200 14713400346 0020753 0 ustar 00 'hasMore', 'manageScope' => 'manageScope', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->manageScope) { $res['manageScope'] = $this->manageScope; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['manageScope'])) { $model->manageScope = $map['manageScope']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/attendance_1_0/Models/GetAdjustmentsHeaders.php 0000644 00000002336 14713400346 0016277 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAdjustmentsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetAdjustmentsRequest.php 0000644 00000002430 14713400346 0016347 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return GetAdjustmentsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/attendance_1_0/Models/GetAdjustmentsResponse.php 0000644 00000002730 14713400346 0016520 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAdjustmentsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAdjustmentsResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetAdjustmentsResponseBody.php 0000644 00000001723 14713400346 0017337 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetAdjustmentsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetAdjustmentsResponseBody/result.php 0000644 00000004000 14713400346 0020644 0 ustar 00 'items', 'pageNumber' => 'pageNumber', 'totalPage' => 'totalPage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->items) { $res['items'] = []; if (null !== $this->items && \is_array($this->items)) { $n = 0; foreach ($this->items as $item) { $res['items'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalPage) { $res['totalPage'] = $this->totalPage; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['items'])) { if (!empty($map['items'])) { $model->items = []; $n = 0; foreach ($map['items'] as $item) { $model->items[$n++] = null !== $item ? items::fromMap($item) : $item; } } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalPage'])) { $model->totalPage = $map['totalPage']; } return $model; } } src/attendance_1_0/Models/GetAdjustmentsResponseBody/result/items.php 0000644 00000002562 14713400346 0022000 0 ustar 00 'id', 'name' => 'name', 'settingId' => 'settingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->settingId) { $res['settingId'] = $this->settingId; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['settingId'])) { $model->settingId = $map['settingId']; } return $model; } } src/attendance_1_0/Models/GetCheckInSchemaTemplateHeaders.php 0000644 00000002362 14713400346 0020116 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCheckInSchemaTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetCheckInSchemaTemplateRequest.php 0000644 00000004136 14713400346 0020174 0 ustar 00 'bizCode', 'openConversationId' => 'openConversationId', 'sceneCode' => 'sceneCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->sceneCode) { $res['sceneCode'] = $this->sceneCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetCheckInSchemaTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['sceneCode'])) { $model->sceneCode = $map['sceneCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetCheckInSchemaTemplateResponse.php 0000644 00000003000 14713400346 0020327 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCheckInSchemaTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCheckInSchemaTemplateResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetCheckInSchemaTemplateResponseBody.php 0000644 00000001761 14713400346 0021161 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetCheckInSchemaTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetCheckInSchemaTemplateResponseBody/result.php 0000644 00000010372 14713400346 0022475 0 ustar 00 'bizCode', 'canModifyAndAddTemplate' => 'canModifyAndAddTemplate', 'conversationAdmin' => 'conversationAdmin', 'customTemplateMaxSize' => 'customTemplateMaxSize', 'openConversationId' => 'openConversationId', 'showStat' => 'showStat', 'templateDegrade' => 'templateDegrade', 'waterMarkTemplateModels' => 'waterMarkTemplateModels', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->canModifyAndAddTemplate) { $res['canModifyAndAddTemplate'] = $this->canModifyAndAddTemplate; } if (null !== $this->conversationAdmin) { $res['conversationAdmin'] = $this->conversationAdmin; } if (null !== $this->customTemplateMaxSize) { $res['customTemplateMaxSize'] = $this->customTemplateMaxSize; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->showStat) { $res['showStat'] = $this->showStat; } if (null !== $this->templateDegrade) { $res['templateDegrade'] = $this->templateDegrade; } if (null !== $this->waterMarkTemplateModels) { $res['waterMarkTemplateModels'] = []; if (null !== $this->waterMarkTemplateModels && \is_array($this->waterMarkTemplateModels)) { $n = 0; foreach ($this->waterMarkTemplateModels as $item) { $res['waterMarkTemplateModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['canModifyAndAddTemplate'])) { $model->canModifyAndAddTemplate = $map['canModifyAndAddTemplate']; } if (isset($map['conversationAdmin'])) { $model->conversationAdmin = $map['conversationAdmin']; } if (isset($map['customTemplateMaxSize'])) { $model->customTemplateMaxSize = $map['customTemplateMaxSize']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['showStat'])) { $model->showStat = $map['showStat']; } if (isset($map['templateDegrade'])) { $model->templateDegrade = $map['templateDegrade']; } if (isset($map['waterMarkTemplateModels'])) { if (!empty($map['waterMarkTemplateModels'])) { $model->waterMarkTemplateModels = []; $n = 0; foreach ($map['waterMarkTemplateModels'] as $item) { $model->waterMarkTemplateModels[$n++] = null !== $item ? waterMarkTemplateModels::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetCheckInSchemaTemplateResponseBody/result/waterMarkTemplateModels.php 0000644 00000012164 14713400346 0027273 0 ustar 00 'canModify', 'formCode' => 'formCode', 'icon' => 'icon', 'layoutDesign' => 'layoutDesign', 'sceneCode' => 'sceneCode', 'schemaContent' => 'schemaContent', 'suiteKey' => 'suiteKey', 'systemTemplate' => 'systemTemplate', 'title' => 'title', 'waterMarkId' => 'waterMarkId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->canModify) { $res['canModify'] = $this->canModify; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->layoutDesign) { $res['layoutDesign'] = $this->layoutDesign; } if (null !== $this->sceneCode) { $res['sceneCode'] = $this->sceneCode; } if (null !== $this->schemaContent) { $res['schemaContent'] = $this->schemaContent; } if (null !== $this->suiteKey) { $res['suiteKey'] = $this->suiteKey; } if (null !== $this->systemTemplate) { $res['systemTemplate'] = $this->systemTemplate; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->waterMarkId) { $res['waterMarkId'] = $this->waterMarkId; } return $res; } /** * @param array $map * * @return waterMarkTemplateModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['canModify'])) { $model->canModify = $map['canModify']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['layoutDesign'])) { $model->layoutDesign = $map['layoutDesign']; } if (isset($map['sceneCode'])) { $model->sceneCode = $map['sceneCode']; } if (isset($map['schemaContent'])) { $model->schemaContent = $map['schemaContent']; } if (isset($map['suiteKey'])) { $model->suiteKey = $map['suiteKey']; } if (isset($map['systemTemplate'])) { $model->systemTemplate = $map['systemTemplate']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['waterMarkId'])) { $model->waterMarkId = $map['waterMarkId']; } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserHeaders.php 0000644 00000002356 14713400346 0017635 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserRequest.php 0000644 00000005365 14713400346 0017715 0 ustar 00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operatorUserId' => 'operatorUserId', 'startTime' => 'startTime', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserResponse.php 0000644 00000002770 14713400346 0020060 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCheckinRecordByUserResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserResponseBody.php 0000644 00000001753 14713400346 0020676 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserResponseBody/result.php 0000644 00000003340 14713400346 0022206 0 ustar 00 'nextToken', 'pageList' => 'pageList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->pageList) { $res['pageList'] = []; if (null !== $this->pageList && \is_array($this->pageList)) { $n = 0; foreach ($this->pageList as $item) { $res['pageList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['pageList'])) { if (!empty($map['pageList'])) { $model->pageList = []; $n = 0; foreach ($map['pageList'] as $item) { $model->pageList[$n++] = null !== $item ? pageList::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserResponseBody/result/pageList.php 0000644 00000010335 14713400346 0023760 0 ustar 00 'checkinTime', 'customDataList' => 'customDataList', 'detailPlace' => 'detailPlace', 'imageList' => 'imageList', 'latitude' => 'latitude', 'longitude' => 'longitude', 'place' => 'place', 'remark' => 'remark', 'userId' => 'userId', 'visitUser' => 'visitUser', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkinTime) { $res['checkinTime'] = $this->checkinTime; } if (null !== $this->customDataList) { $res['customDataList'] = []; if (null !== $this->customDataList && \is_array($this->customDataList)) { $n = 0; foreach ($this->customDataList as $item) { $res['customDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->detailPlace) { $res['detailPlace'] = $this->detailPlace; } if (null !== $this->imageList) { $res['imageList'] = $this->imageList; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->place) { $res['place'] = $this->place; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->visitUser) { $res['visitUser'] = $this->visitUser; } return $res; } /** * @param array $map * * @return pageList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkinTime'])) { $model->checkinTime = $map['checkinTime']; } if (isset($map['customDataList'])) { if (!empty($map['customDataList'])) { $model->customDataList = []; $n = 0; foreach ($map['customDataList'] as $item) { $model->customDataList[$n++] = null !== $item ? customDataList::fromMap($item) : $item; } } } if (isset($map['detailPlace'])) { $model->detailPlace = $map['detailPlace']; } if (isset($map['imageList'])) { if (!empty($map['imageList'])) { $model->imageList = $map['imageList']; } } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['place'])) { $model->place = $map['place']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['visitUser'])) { $model->visitUser = $map['visitUser']; } return $model; } } src/attendance_1_0/Models/GetCheckinRecordByUserResponseBody/result/pageList/customDataList.php 0000644 00000002515 14713400346 0026721 0 ustar 00 'key', 'label' => 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return customDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedHeaders.php 0000644 00000002350 14713400346 0017162 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetClassWithDeletedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponse.php 0000644 00000002754 14713400346 0017415 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetClassWithDeletedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetClassWithDeletedResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody.php 0000644 00000001742 14713400346 0020227 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetClassWithDeletedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result.php 0000644 00000006232 14713400346 0021544 0 ustar 00 'classId', 'classSetting' => 'classSetting', 'corpId' => 'corpId', 'name' => 'name', 'sections' => 'sections', 'workDays' => 'workDays', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->classSetting) { $res['classSetting'] = null !== $this->classSetting ? $this->classSetting->toMap() : null; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sections) { $res['sections'] = []; if (null !== $this->sections && \is_array($this->sections)) { $n = 0; foreach ($this->sections as $item) { $res['sections'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->workDays) { $res['workDays'] = $this->workDays; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['classSetting'])) { $model->classSetting = classSetting::fromMap($map['classSetting']); } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sections'])) { if (!empty($map['sections'])) { $model->sections = []; $n = 0; foreach ($map['sections'] as $item) { $model->sections[$n++] = null !== $item ? sections::fromMap($item) : $item; } } } if (isset($map['workDays'])) { if (!empty($map['workDays'])) { $model->workDays = $map['workDays']; } } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result/classSetting.php 0000644 00000003611 14713400346 0024205 0 ustar 00 'classSettingId', 'restTimeList' => 'restTimeList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classSettingId) { $res['classSettingId'] = $this->classSettingId; } if (null !== $this->restTimeList) { $res['restTimeList'] = []; if (null !== $this->restTimeList && \is_array($this->restTimeList)) { $n = 0; foreach ($this->restTimeList as $item) { $res['restTimeList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return classSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classSettingId'])) { $model->classSettingId = $map['classSettingId']; } if (isset($map['restTimeList'])) { if (!empty($map['restTimeList'])) { $model->restTimeList = []; $n = 0; foreach ($map['restTimeList'] as $item) { $model->restTimeList[$n++] = null !== $item ? restTimeList::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result/classSetting/restTimeList.php 0000644 00000002645 14713400346 0026643 0 ustar 00 'begin', 'end' => 'end', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->begin) { $res['begin'] = null !== $this->begin ? $this->begin->toMap() : null; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } return $res; } /** * @param array $map * * @return restTimeList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['begin'])) { $model->begin = begin::fromMap($map['begin']); } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result/classSetting/restTimeList/begin.php0000644 00000002303 14713400346 0027716 0 ustar 00 'across', 'checkTime' => 'checkTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } return $res; } /** * @param array $map * * @return begin */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result/classSetting/restTimeList/end.php 0000644 00000002277 14713400346 0027412 0 ustar 00 'across', 'checkTime' => 'checkTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result/sections.php 0000644 00000002621 14713400346 0023371 0 ustar 00 'times', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->times) { $res['times'] = []; if (null !== $this->times && \is_array($this->times)) { $n = 0; foreach ($this->times as $item) { $res['times'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['times'])) { if (!empty($map['times'])) { $model->times = []; $n = 0; foreach ($map['times'] as $item) { $model->times[$n++] = null !== $item ? times::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetClassWithDeletedResponseBody/result/sections/times.php 0000644 00000004131 14713400346 0024510 0 ustar 00 'across', 'beginMin' => 'beginMin', 'checkTime' => 'checkTime', 'checkType' => 'checkType', 'endMin' => 'endMin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->beginMin) { $res['beginMin'] = $this->beginMin; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->checkType) { $res['checkType'] = $this->checkType; } if (null !== $this->endMin) { $res['endMin'] = $this->endMin; } return $res; } /** * @param array $map * * @return times */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['beginMin'])) { $model->beginMin = $map['beginMin']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['checkType'])) { $model->checkType = $map['checkType']; } if (isset($map['endMin'])) { $model->endMin = $map['endMin']; } return $model; } } src/attendance_1_0/Models/GetClosingAccountsHeaders.php 0000644 00000002346 14713400346 0017075 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetClosingAccountsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetClosingAccountsRequest.php 0000644 00000001676 14713400346 0017157 0 ustar 00 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetClosingAccountsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/attendance_1_0/Models/GetClosingAccountsResponse.php 0000644 00000002750 14713400346 0017317 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetClosingAccountsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetClosingAccountsResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetClosingAccountsResponseBody.php 0000644 00000002716 14713400346 0020137 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetClosingAccountsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetClosingAccountsResponseBody/result.php 0000644 00000005122 14713400346 0021447 0 ustar 00 'closingAccountModel', 'switchOn' => 'switchOn', 'unsealClosingAccountModel' => 'unsealClosingAccountModel', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->closingAccountModel) { $res['closingAccountModel'] = null !== $this->closingAccountModel ? $this->closingAccountModel->toMap() : null; } if (null !== $this->switchOn) { $res['switchOn'] = $this->switchOn; } if (null !== $this->unsealClosingAccountModel) { $res['unsealClosingAccountModel'] = null !== $this->unsealClosingAccountModel ? $this->unsealClosingAccountModel->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['closingAccountModel'])) { $model->closingAccountModel = closingAccountModel::fromMap($map['closingAccountModel']); } if (isset($map['switchOn'])) { $model->switchOn = $map['switchOn']; } if (isset($map['unsealClosingAccountModel'])) { $model->unsealClosingAccountModel = unsealClosingAccountModel::fromMap($map['unsealClosingAccountModel']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetClosingAccountsResponseBody/result/closingAccountModel.php 0000644 00000005337 14713400346 0025413 0 ustar 00 'closingDay', 'closingHourMinutes' => 'closingHourMinutes', 'endDay' => 'endDay', 'endMonth' => 'endMonth', 'startDay' => 'startDay', 'startMonth' => 'startMonth', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->closingDay) { $res['closingDay'] = $this->closingDay; } if (null !== $this->closingHourMinutes) { $res['closingHourMinutes'] = $this->closingHourMinutes; } if (null !== $this->endDay) { $res['endDay'] = $this->endDay; } if (null !== $this->endMonth) { $res['endMonth'] = $this->endMonth; } if (null !== $this->startDay) { $res['startDay'] = $this->startDay; } if (null !== $this->startMonth) { $res['startMonth'] = $this->startMonth; } return $res; } /** * @param array $map * * @return closingAccountModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['closingDay'])) { $model->closingDay = $map['closingDay']; } if (isset($map['closingHourMinutes'])) { $model->closingHourMinutes = $map['closingHourMinutes']; } if (isset($map['endDay'])) { $model->endDay = $map['endDay']; } if (isset($map['endMonth'])) { $model->endMonth = $map['endMonth']; } if (isset($map['startDay'])) { $model->startDay = $map['startDay']; } if (isset($map['startMonth'])) { $model->startMonth = $map['startMonth']; } return $model; } } src/attendance_1_0/Models/GetClosingAccountsResponseBody/result/unsealClosingAccountModel.php 0000644 00000001763 14713400346 0026562 0 ustar 00 'invalidTimeStamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invalidTimeStamp) { $res['invalidTimeStamp'] = $this->invalidTimeStamp; } return $res; } /** * @param array $map * * @return unsealClosingAccountModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invalidTimeStamp'])) { $model->invalidTimeStamp = $map['invalidTimeStamp']; } return $model; } } src/attendance_1_0/Models/GetColumnvalsHeaders.php 0000644 00000002334 14713400346 0016117 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetColumnvalsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetColumnvalsRequest.php 0000644 00000004142 14713400346 0016173 0 ustar 00 'columnIdList', 'fromDate' => 'fromDate', 'toDate' => 'toDate', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->columnIdList) { $res['columnIdList'] = $this->columnIdList; } if (null !== $this->fromDate) { $res['fromDate'] = $this->fromDate; } if (null !== $this->toDate) { $res['toDate'] = $this->toDate; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetColumnvalsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['columnIdList'])) { if (!empty($map['columnIdList'])) { $model->columnIdList = $map['columnIdList']; } } if (isset($map['fromDate'])) { $model->fromDate = $map['fromDate']; } if (isset($map['toDate'])) { $model->toDate = $map['toDate']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/attendance_1_0/Models/GetColumnvalsResponse.php 0000644 00000002724 14713400346 0016345 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetColumnvalsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetColumnvalsResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetColumnvalsResponseBody.php 0000644 00000002610 14713400346 0017155 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetColumnvalsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetColumnvalsResponseBody/result.php 0000644 00000003377 14713400346 0020506 0 ustar 00 'columnData', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->columnData) { $res['columnData'] = []; if (null !== $this->columnData && \is_array($this->columnData)) { $n = 0; foreach ($this->columnData as $item) { $res['columnData'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['columnData'])) { if (!empty($map['columnData'])) { $model->columnData = []; $n = 0; foreach ($map['columnData'] as $item) { $model->columnData[$n++] = null !== $item ? columnData::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetColumnvalsResponseBody/result/columnData.php 0000644 00000004150 14713400346 0022563 0 ustar 00 'columnValues', 'fixedValue' => 'fixedValue', 'id' => 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->columnValues) { $res['columnValues'] = []; if (null !== $this->columnValues && \is_array($this->columnValues)) { $n = 0; foreach ($this->columnValues as $item) { $res['columnValues'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->fixedValue) { $res['fixedValue'] = $this->fixedValue; } if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return columnData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['columnValues'])) { if (!empty($map['columnValues'])) { $model->columnValues = []; $n = 0; foreach ($map['columnValues'] as $item) { $model->columnValues[$n++] = null !== $item ? columnValues::fromMap($item) : $item; } } } if (isset($map['fixedValue'])) { $model->fixedValue = $map['fixedValue']; } if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/attendance_1_0/Models/GetColumnvalsResponseBody/result/columnData/columnValues.php 0000644 00000002147 14713400346 0025244 0 ustar 00 'date', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return columnValues */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/attendance_1_0/Models/GetLeaveRecordsHeaders.php 0000644 00000002340 14713400346 0016347 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetLeaveRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetLeaveRecordsRequest.php 0000644 00000004644 14713400346 0016435 0 ustar 00 'leaveCode', 'opUserId' => 'opUserId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetLeaveRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/attendance_1_0/Models/GetLeaveRecordsResponse.php 0000644 00000002734 14713400346 0016601 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetLeaveRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetLeaveRecordsResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetLeaveRecordsResponseBody.php 0000644 00000002354 14713400346 0017415 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetLeaveRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/GetLeaveRecordsResponseBody/result.php 0000644 00000003415 14713400346 0020732 0 ustar 00 'hasMore', 'leaveRecords' => 'leaveRecords', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->leaveRecords) { $res['leaveRecords'] = []; if (null !== $this->leaveRecords && \is_array($this->leaveRecords)) { $n = 0; foreach ($this->leaveRecords as $item) { $res['leaveRecords'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['leaveRecords'])) { if (!empty($map['leaveRecords'])) { $model->leaveRecords = []; $n = 0; foreach ($map['leaveRecords'] as $item) { $model->leaveRecords[$n++] = null !== $item ? leaveRecords::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetLeaveRecordsResponseBody/result/leaveRecords.php 0000644 00000013703 14713400346 0023351 0 ustar 00 'calType', 'endTime' => 'endTime', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'leaveCode' => 'leaveCode', 'leaveReason' => 'leaveReason', 'leaveRecordType' => 'leaveRecordType', 'leaveStatus' => 'leaveStatus', 'leaveViewUnit' => 'leaveViewUnit', 'opUserId' => 'opUserId', 'quotaId' => 'quotaId', 'recordId' => 'recordId', 'recordNumPerDay' => 'recordNumPerDay', 'recordNumPerHour' => 'recordNumPerHour', 'startTime' => 'startTime', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->calType) { $res['calType'] = $this->calType; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->leaveReason) { $res['leaveReason'] = $this->leaveReason; } if (null !== $this->leaveRecordType) { $res['leaveRecordType'] = $this->leaveRecordType; } if (null !== $this->leaveStatus) { $res['leaveStatus'] = $this->leaveStatus; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->quotaId) { $res['quotaId'] = $this->quotaId; } if (null !== $this->recordId) { $res['recordId'] = $this->recordId; } if (null !== $this->recordNumPerDay) { $res['recordNumPerDay'] = $this->recordNumPerDay; } if (null !== $this->recordNumPerHour) { $res['recordNumPerHour'] = $this->recordNumPerHour; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return leaveRecords */ public static function fromMap($map = []) { $model = new self(); if (isset($map['calType'])) { $model->calType = $map['calType']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['leaveReason'])) { $model->leaveReason = $map['leaveReason']; } if (isset($map['leaveRecordType'])) { $model->leaveRecordType = $map['leaveRecordType']; } if (isset($map['leaveStatus'])) { $model->leaveStatus = $map['leaveStatus']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['quotaId'])) { $model->quotaId = $map['quotaId']; } if (isset($map['recordId'])) { $model->recordId = $map['recordId']; } if (isset($map['recordNumPerDay'])) { $model->recordNumPerDay = $map['recordNumPerDay']; } if (isset($map['recordNumPerHour'])) { $model->recordNumPerHour = $map['recordNumPerHour']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetLeaveTypeHeaders.php 0000644 00000002332 14713400346 0015670 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetLeaveTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetLeaveTypeRequest.php 0000644 00000002421 14713400346 0015744 0 ustar 00 'opUserId', 'vacationSource' => 'vacationSource', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->vacationSource) { $res['vacationSource'] = $this->vacationSource; } return $res; } /** * @param array $map * * @return GetLeaveTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['vacationSource'])) { $model->vacationSource = $map['vacationSource']; } return $model; } } src/attendance_1_0/Models/GetLeaveTypeResponse.php 0000644 00000002720 14713400346 0016114 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetLeaveTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetLeaveTypeResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetLeaveTypeResponseBody.php 0000644 00000002674 14713400346 0016742 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetLeaveTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetLeaveTypeResponseBody/result.php 0000644 00000013271 14713400346 0020253 0 ustar 00 'bizType', 'hoursInPerDay' => 'hoursInPerDay', 'leaveCertificate' => 'leaveCertificate', 'leaveCode' => 'leaveCode', 'leaveName' => 'leaveName', 'leaveViewUnit' => 'leaveViewUnit', 'naturalDayLeave' => 'naturalDayLeave', 'source' => 'source', 'submitTimeRule' => 'submitTimeRule', 'validityType' => 'validityType', 'validityValue' => 'validityValue', 'visibilityRules' => 'visibilityRules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->hoursInPerDay) { $res['hoursInPerDay'] = $this->hoursInPerDay; } if (null !== $this->leaveCertificate) { $res['leaveCertificate'] = null !== $this->leaveCertificate ? $this->leaveCertificate->toMap() : null; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->leaveName) { $res['leaveName'] = $this->leaveName; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->naturalDayLeave) { $res['naturalDayLeave'] = $this->naturalDayLeave; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->submitTimeRule) { $res['submitTimeRule'] = null !== $this->submitTimeRule ? $this->submitTimeRule->toMap() : null; } if (null !== $this->validityType) { $res['validityType'] = $this->validityType; } if (null !== $this->validityValue) { $res['validityValue'] = $this->validityValue; } if (null !== $this->visibilityRules) { $res['visibilityRules'] = []; if (null !== $this->visibilityRules && \is_array($this->visibilityRules)) { $n = 0; foreach ($this->visibilityRules as $item) { $res['visibilityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['hoursInPerDay'])) { $model->hoursInPerDay = $map['hoursInPerDay']; } if (isset($map['leaveCertificate'])) { $model->leaveCertificate = leaveCertificate::fromMap($map['leaveCertificate']); } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['leaveName'])) { $model->leaveName = $map['leaveName']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['naturalDayLeave'])) { $model->naturalDayLeave = $map['naturalDayLeave']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['submitTimeRule'])) { $model->submitTimeRule = submitTimeRule::fromMap($map['submitTimeRule']); } if (isset($map['validityType'])) { $model->validityType = $map['validityType']; } if (isset($map['validityValue'])) { $model->validityValue = $map['validityValue']; } if (isset($map['visibilityRules'])) { if (!empty($map['visibilityRules'])) { $model->visibilityRules = []; $n = 0; foreach ($map['visibilityRules'] as $item) { $model->visibilityRules[$n++] = null !== $item ? visibilityRules::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetLeaveTypeResponseBody/result/leaveCertificate.php 0000644 00000003556 14713400346 0023517 0 ustar 00 'duration', 'enable' => 'enable', 'promptInformation' => 'promptInformation', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->promptInformation) { $res['promptInformation'] = $this->promptInformation; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return leaveCertificate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['promptInformation'])) { $model->promptInformation = $map['promptInformation']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/attendance_1_0/Models/GetLeaveTypeResponseBody/result/submitTimeRule.php 0000644 00000003601 14713400346 0023221 0 ustar 00 'enableTimeLimit', 'timeType' => 'timeType', 'timeUnit' => 'timeUnit', 'timeValue' => 'timeValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableTimeLimit) { $res['enableTimeLimit'] = $this->enableTimeLimit; } if (null !== $this->timeType) { $res['timeType'] = $this->timeType; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } if (null !== $this->timeValue) { $res['timeValue'] = $this->timeValue; } return $res; } /** * @param array $map * * @return submitTimeRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableTimeLimit'])) { $model->enableTimeLimit = $map['enableTimeLimit']; } if (isset($map['timeType'])) { $model->timeType = $map['timeType']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } if (isset($map['timeValue'])) { $model->timeValue = $map['timeValue']; } return $model; } } src/attendance_1_0/Models/GetLeaveTypeResponseBody/result/visibilityRules.php 0000644 00000002257 14713400346 0023457 0 ustar 00 'type', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return visibilityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visible'])) { if (!empty($map['visible'])) { $model->visible = $map['visible']; } } return $model; } } src/attendance_1_0/Models/GetMachineHeaders.php 0000644 00000002326 14713400346 0015341 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMachineHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetMachineResponse.php 0000644 00000002710 14713400346 0015561 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMachineResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMachineResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetMachineResponseBody.php 0000644 00000001776 14713400346 0016412 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetMachineResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetMachineResponseBody/result.php 0000644 00000012115 14713400346 0017715 0 ustar 00 'atmManagerList', 'devId' => 'devId', 'deviceId' => 'deviceId', 'deviceName' => 'deviceName', 'deviceSn' => 'deviceSn', 'machineBluetoothVO' => 'machineBluetoothVO', 'maxFace' => 'maxFace', 'netStatus' => 'netStatus', 'productName' => 'productName', 'productVersion' => 'productVersion', 'voiceMode' => 'voiceMode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atmManagerList) { $res['atmManagerList'] = $this->atmManagerList; } if (null !== $this->devId) { $res['devId'] = $this->devId; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceSn) { $res['deviceSn'] = $this->deviceSn; } if (null !== $this->machineBluetoothVO) { $res['machineBluetoothVO'] = null !== $this->machineBluetoothVO ? $this->machineBluetoothVO->toMap() : null; } if (null !== $this->maxFace) { $res['maxFace'] = $this->maxFace; } if (null !== $this->netStatus) { $res['netStatus'] = $this->netStatus; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->productVersion) { $res['productVersion'] = $this->productVersion; } if (null !== $this->voiceMode) { $res['voiceMode'] = $this->voiceMode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atmManagerList'])) { if (!empty($map['atmManagerList'])) { $model->atmManagerList = $map['atmManagerList']; } } if (isset($map['devId'])) { $model->devId = $map['devId']; } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceSn'])) { $model->deviceSn = $map['deviceSn']; } if (isset($map['machineBluetoothVO'])) { $model->machineBluetoothVO = machineBluetoothVO::fromMap($map['machineBluetoothVO']); } if (isset($map['maxFace'])) { $model->maxFace = $map['maxFace']; } if (isset($map['netStatus'])) { $model->netStatus = $map['netStatus']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['productVersion'])) { $model->productVersion = $map['productVersion']; } if (isset($map['voiceMode'])) { $model->voiceMode = $map['voiceMode']; } return $model; } } src/attendance_1_0/Models/GetMachineResponseBody/result/machineBluetoothVO.php 0000644 00000012067 14713400346 0023462 0 ustar 00 'address', 'bluetoothCheckWithFace' => 'bluetoothCheckWithFace', 'bluetoothDistanceMode' => 'bluetoothDistanceMode', 'bluetoothDistanceModeDesc' => 'bluetoothDistanceModeDesc', 'bluetoothValue' => 'bluetoothValue', 'latitude' => 'latitude', 'limitUserDeviceCount' => 'limitUserDeviceCount', 'longitude' => 'longitude', 'monitorLocationAbnormal' => 'monitorLocationAbnormal', 'userDeviceCount' => 'userDeviceCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->bluetoothCheckWithFace) { $res['bluetoothCheckWithFace'] = $this->bluetoothCheckWithFace; } if (null !== $this->bluetoothDistanceMode) { $res['bluetoothDistanceMode'] = $this->bluetoothDistanceMode; } if (null !== $this->bluetoothDistanceModeDesc) { $res['bluetoothDistanceModeDesc'] = $this->bluetoothDistanceModeDesc; } if (null !== $this->bluetoothValue) { $res['bluetoothValue'] = $this->bluetoothValue; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->limitUserDeviceCount) { $res['limitUserDeviceCount'] = $this->limitUserDeviceCount; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->monitorLocationAbnormal) { $res['monitorLocationAbnormal'] = $this->monitorLocationAbnormal; } if (null !== $this->userDeviceCount) { $res['userDeviceCount'] = $this->userDeviceCount; } return $res; } /** * @param array $map * * @return machineBluetoothVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['bluetoothCheckWithFace'])) { $model->bluetoothCheckWithFace = $map['bluetoothCheckWithFace']; } if (isset($map['bluetoothDistanceMode'])) { $model->bluetoothDistanceMode = $map['bluetoothDistanceMode']; } if (isset($map['bluetoothDistanceModeDesc'])) { $model->bluetoothDistanceModeDesc = $map['bluetoothDistanceModeDesc']; } if (isset($map['bluetoothValue'])) { $model->bluetoothValue = $map['bluetoothValue']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['limitUserDeviceCount'])) { $model->limitUserDeviceCount = $map['limitUserDeviceCount']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['monitorLocationAbnormal'])) { $model->monitorLocationAbnormal = $map['monitorLocationAbnormal']; } if (isset($map['userDeviceCount'])) { $model->userDeviceCount = $map['userDeviceCount']; } return $model; } } src/attendance_1_0/Models/GetMachineUserHeaders.php 0000644 00000002336 14713400346 0016201 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMachineUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetMachineUserRequest.php 0000644 00000002360 14713400346 0016253 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetMachineUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/attendance_1_0/Models/GetMachineUserResponse.php 0000644 00000002730 14713400346 0016422 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMachineUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMachineUserResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetMachineUserResponseBody.php 0000644 00000002012 14713400346 0017231 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetMachineUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetMachineUserResponseBody/result.php 0000644 00000004217 14713400346 0020560 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->userList) { $res['userList'] = []; if (null !== $this->userList && \is_array($this->userList)) { $n = 0; foreach ($this->userList as $item) { $res['userList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['userList'])) { if (!empty($map['userList'])) { $model->userList = []; $n = 0; foreach ($map['userList'] as $item) { $model->userList[$n++] = null !== $item ? userList::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetMachineUserResponseBody/result/userList.php 0000644 00000002771 14713400346 0022375 0 ustar 00 'hasFace', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasFace) { $res['hasFace'] = $this->hasFace; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return userList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasFace'])) { $model->hasFace = $map['hasFace']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingHeaders.php 0000644 00000002346 14713400346 0017127 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOvertimeSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingRequest.php 0000644 00000001762 14713400346 0017205 0 ustar 00 'overtimeSettingIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->overtimeSettingIds) { $res['overtimeSettingIds'] = $this->overtimeSettingIds; } return $res; } /** * @param array $map * * @return GetOvertimeSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['overtimeSettingIds'])) { if (!empty($map['overtimeSettingIds'])) { $model->overtimeSettingIds = $map['overtimeSettingIds']; } } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingResponse.php 0000644 00000002750 14713400346 0017351 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOvertimeSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOvertimeSettingResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingResponseBody.php 0000644 00000002716 14713400346 0020171 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetOvertimeSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingResponseBody/result.php 0000644 00000012567 14713400346 0021514 0 ustar 00 'default', 'durationSettings' => 'durationSettings', 'id' => 'id', 'name' => 'name', 'overtimeDivisions' => 'overtimeDivisions', 'settingId' => 'settingId', 'stepType' => 'stepType', 'stepValue' => 'stepValue', 'warningSettings' => 'warningSettings', 'workMinutesPerDay' => 'workMinutesPerDay', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->default) { $res['default'] = $this->default; } if (null !== $this->durationSettings) { $res['durationSettings'] = []; if (null !== $this->durationSettings && \is_array($this->durationSettings)) { foreach ($this->durationSettings as $key => $val) { $res['durationSettings'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->overtimeDivisions) { $res['overtimeDivisions'] = []; if (null !== $this->overtimeDivisions && \is_array($this->overtimeDivisions)) { $n = 0; foreach ($this->overtimeDivisions as $item) { $res['overtimeDivisions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->settingId) { $res['settingId'] = $this->settingId; } if (null !== $this->stepType) { $res['stepType'] = $this->stepType; } if (null !== $this->stepValue) { $res['stepValue'] = $this->stepValue; } if (null !== $this->warningSettings) { $res['warningSettings'] = []; if (null !== $this->warningSettings && \is_array($this->warningSettings)) { $n = 0; foreach ($this->warningSettings as $item) { $res['warningSettings'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->workMinutesPerDay) { $res['workMinutesPerDay'] = $this->workMinutesPerDay; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['default'])) { $model->default = $map['default']; } if (isset($map['durationSettings'])) { $model->durationSettings = $map['durationSettings']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['overtimeDivisions'])) { if (!empty($map['overtimeDivisions'])) { $model->overtimeDivisions = []; $n = 0; foreach ($map['overtimeDivisions'] as $item) { $model->overtimeDivisions[$n++] = null !== $item ? overtimeDivisions::fromMap($item) : $item; } } } if (isset($map['settingId'])) { $model->settingId = $map['settingId']; } if (isset($map['stepType'])) { $model->stepType = $map['stepType']; } if (isset($map['stepValue'])) { $model->stepValue = $map['stepValue']; } if (isset($map['warningSettings'])) { if (!empty($map['warningSettings'])) { $model->warningSettings = []; $n = 0; foreach ($map['warningSettings'] as $item) { $model->warningSettings[$n++] = null !== $item ? warningSettings::fromMap($item) : $item; } } } if (isset($map['workMinutesPerDay'])) { $model->workMinutesPerDay = $map['workMinutesPerDay']; } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingResponseBody/result/overtimeDivisions.php 0000644 00000003074 14713400346 0025227 0 ustar 00 'nextDayType', 'previousDayType' => 'previousDayType', 'timeSplitPoint' => 'timeSplitPoint', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextDayType) { $res['nextDayType'] = $this->nextDayType; } if (null !== $this->previousDayType) { $res['previousDayType'] = $this->previousDayType; } if (null !== $this->timeSplitPoint) { $res['timeSplitPoint'] = $this->timeSplitPoint; } return $res; } /** * @param array $map * * @return overtimeDivisions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextDayType'])) { $model->nextDayType = $map['nextDayType']; } if (isset($map['previousDayType'])) { $model->previousDayType = $map['previousDayType']; } if (isset($map['timeSplitPoint'])) { $model->timeSplitPoint = $map['timeSplitPoint']; } return $model; } } src/attendance_1_0/Models/GetOvertimeSettingResponseBody/result/warningSettings.php 0000644 00000002573 14713400346 0024676 0 ustar 00 'action', 'threshold' => 'threshold', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->threshold) { $res['threshold'] = $this->threshold; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return warningSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['threshold'])) { $model->threshold = $map['threshold']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/attendance_1_0/Models/GetShiftHeaders.php 0000644 00000002322 14713400346 0015046 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetShiftHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetShiftRequest.php 0000644 00000002243 14713400346 0015125 0 ustar 00 'opUserId', 'shiftId' => 'shiftId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->shiftId) { $res['shiftId'] = $this->shiftId; } return $res; } /** * @param array $map * * @return GetShiftRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['shiftId'])) { $model->shiftId = $map['shiftId']; } return $model; } } src/attendance_1_0/Models/GetShiftResponse.php 0000644 00000002700 14713400346 0015271 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetShiftResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetShiftResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody.php 0000644 00000001701 14713400346 0016107 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetShiftResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody/result.php 0000644 00000007351 14713400346 0017434 0 ustar 00 'corpId', 'id' => 'id', 'name' => 'name', 'owner' => 'owner', 'sections' => 'sections', 'shiftGroupId' => 'shiftGroupId', 'shiftGroupName' => 'shiftGroupName', 'shiftSetting' => 'shiftSetting', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->sections) { $res['sections'] = []; if (null !== $this->sections && \is_array($this->sections)) { $n = 0; foreach ($this->sections as $item) { $res['sections'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->shiftGroupId) { $res['shiftGroupId'] = $this->shiftGroupId; } if (null !== $this->shiftGroupName) { $res['shiftGroupName'] = $this->shiftGroupName; } if (null !== $this->shiftSetting) { $res['shiftSetting'] = null !== $this->shiftSetting ? $this->shiftSetting->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['sections'])) { if (!empty($map['sections'])) { $model->sections = []; $n = 0; foreach ($map['sections'] as $item) { $model->sections[$n++] = null !== $item ? sections::fromMap($item) : $item; } } } if (isset($map['shiftGroupId'])) { $model->shiftGroupId = $map['shiftGroupId']; } if (isset($map['shiftGroupName'])) { $model->shiftGroupName = $map['shiftGroupName']; } if (isset($map['shiftSetting'])) { $model->shiftSetting = shiftSetting::fromMap($map['shiftSetting']); } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody/result/sections.php 0000644 00000005033 14713400346 0021256 0 ustar 00 'punches', 'rests' => 'rests', 'sectionId' => 'sectionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->punches) { $res['punches'] = []; if (null !== $this->punches && \is_array($this->punches)) { $n = 0; foreach ($this->punches as $item) { $res['punches'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->rests) { $res['rests'] = []; if (null !== $this->rests && \is_array($this->rests)) { $n = 0; foreach ($this->rests as $item) { $res['rests'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sectionId) { $res['sectionId'] = $this->sectionId; } return $res; } /** * @param array $map * * @return sections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['punches'])) { if (!empty($map['punches'])) { $model->punches = []; $n = 0; foreach ($map['punches'] as $item) { $model->punches[$n++] = null !== $item ? punches::fromMap($item) : $item; } } } if (isset($map['rests'])) { if (!empty($map['rests'])) { $model->rests = []; $n = 0; foreach ($map['rests'] as $item) { $model->rests[$n++] = null !== $item ? rests::fromMap($item) : $item; } } } if (isset($map['sectionId'])) { $model->sectionId = $map['sectionId']; } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody/result/sections/punches.php 0000644 00000011566 14713400346 0022733 0 ustar 00 'absenteeismLateMinutes', 'across' => 'across', 'beginMin' => 'beginMin', 'checkTime' => 'checkTime', 'checkType' => 'checkType', 'endMin' => 'endMin', 'flexMinutes' => 'flexMinutes', 'freeCheck' => 'freeCheck', 'lateBackSetting' => 'lateBackSetting', 'permitMinutes' => 'permitMinutes', 'puncheId' => 'puncheId', 'seriousLateMinutes' => 'seriousLateMinutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->absenteeismLateMinutes) { $res['absenteeismLateMinutes'] = $this->absenteeismLateMinutes; } if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->beginMin) { $res['beginMin'] = $this->beginMin; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->checkType) { $res['checkType'] = $this->checkType; } if (null !== $this->endMin) { $res['endMin'] = $this->endMin; } if (null !== $this->flexMinutes) { $res['flexMinutes'] = $this->flexMinutes; } if (null !== $this->freeCheck) { $res['freeCheck'] = $this->freeCheck; } if (null !== $this->lateBackSetting) { $res['lateBackSetting'] = null !== $this->lateBackSetting ? $this->lateBackSetting->toMap() : null; } if (null !== $this->permitMinutes) { $res['permitMinutes'] = $this->permitMinutes; } if (null !== $this->puncheId) { $res['puncheId'] = $this->puncheId; } if (null !== $this->seriousLateMinutes) { $res['seriousLateMinutes'] = $this->seriousLateMinutes; } return $res; } /** * @param array $map * * @return punches */ public static function fromMap($map = []) { $model = new self(); if (isset($map['absenteeismLateMinutes'])) { $model->absenteeismLateMinutes = $map['absenteeismLateMinutes']; } if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['beginMin'])) { $model->beginMin = $map['beginMin']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['checkType'])) { $model->checkType = $map['checkType']; } if (isset($map['endMin'])) { $model->endMin = $map['endMin']; } if (isset($map['flexMinutes'])) { if (!empty($map['flexMinutes'])) { $model->flexMinutes = $map['flexMinutes']; } } if (isset($map['freeCheck'])) { $model->freeCheck = $map['freeCheck']; } if (isset($map['lateBackSetting'])) { $model->lateBackSetting = lateBackSetting::fromMap($map['lateBackSetting']); } if (isset($map['permitMinutes'])) { $model->permitMinutes = $map['permitMinutes']; } if (isset($map['puncheId'])) { $model->puncheId = $map['puncheId']; } if (isset($map['seriousLateMinutes'])) { $model->seriousLateMinutes = $map['seriousLateMinutes']; } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody/result/sections/punches/lateBackSetting.php 0000644 00000003102 14713400346 0025762 0 ustar 00 'lateBackPairs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lateBackPairs) { $res['lateBackPairs'] = []; if (null !== $this->lateBackPairs && \is_array($this->lateBackPairs)) { $n = 0; foreach ($this->lateBackPairs as $item) { $res['lateBackPairs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return lateBackSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lateBackPairs'])) { if (!empty($map['lateBackPairs'])) { $model->lateBackPairs = []; $n = 0; foreach ($map['lateBackPairs'] as $item) { $model->lateBackPairs[$n++] = null !== $item ? lateBackPairs::fromMap($item) : $item; } } } return $model; } } attendance_1_0/Models/GetShiftResponseBody/result/sections/punches/lateBackSetting/lateBackPairs.php0000644 00000002122 14713400346 0030411 0 ustar 00 src 'extra', 'late' => 'late', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extra) { $res['extra'] = $this->extra; } if (null !== $this->late) { $res['late'] = $this->late; } return $res; } /** * @param array $map * * @return lateBackPairs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extra'])) { $model->extra = $map['extra']; } if (isset($map['late'])) { $model->late = $map['late']; } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody/result/sections/rests.php 0000644 00000003342 14713400346 0022417 0 ustar 00 'across', 'checkTime' => 'checkTime', 'checkType' => 'checkType', 'restId' => 'restId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->checkType) { $res['checkType'] = $this->checkType; } if (null !== $this->restId) { $res['restId'] = $this->restId; } return $res; } /** * @param array $map * * @return rests */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['checkType'])) { $model->checkType = $map['checkType']; } if (isset($map['restId'])) { $model->restId = $map['restId']; } return $model; } } src/attendance_1_0/Models/GetShiftResponseBody/result/shiftSetting.php 0000644 00000006071 14713400346 0022105 0 ustar 00 'attendDays', 'corpId' => 'corpId', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'shiftId' => 'shiftId', 'shiftSettingId' => 'shiftSettingId', 'workTimeMinutes' => 'workTimeMinutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendDays) { $res['attendDays'] = $this->attendDays; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->shiftId) { $res['shiftId'] = $this->shiftId; } if (null !== $this->shiftSettingId) { $res['shiftSettingId'] = $this->shiftSettingId; } if (null !== $this->workTimeMinutes) { $res['workTimeMinutes'] = $this->workTimeMinutes; } return $res; } /** * @param array $map * * @return shiftSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendDays'])) { $model->attendDays = $map['attendDays']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['shiftId'])) { $model->shiftId = $map['shiftId']; } if (isset($map['shiftSettingId'])) { $model->shiftSettingId = $map['shiftSettingId']; } if (isset($map['workTimeMinutes'])) { $model->workTimeMinutes = $map['workTimeMinutes']; } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsHeaders.php 0000644 00000002340 14713400346 0016422 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSimpleGroupsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsRequest.php 0000644 00000002442 14713400346 0016502 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetSimpleGroupsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponse.php 0000644 00000002734 14713400346 0016654 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSimpleGroupsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSimpleGroupsResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody.php 0000644 00000001726 14713400346 0017472 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetSimpleGroupsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody/result.php 0000644 00000003323 14713400346 0021003 0 ustar 00 'groups', 'hasMore' => 'hasMore', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groups) { $res['groups'] = []; if (null !== $this->groups && \is_array($this->groups)) { $n = 0; foreach ($this->groups as $item) { $res['groups'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groups'])) { if (!empty($map['groups'])) { $model->groups = []; $n = 0; foreach ($map['groups'] as $item) { $model->groups[$n++] = null !== $item ? groups::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody/result/groups.php 0000644 00000020633 14713400346 0022325 0 ustar 00 'classesList', 'defaultClassId' => 'defaultClassId', 'deptIds' => 'deptIds', 'deptNameList' => 'deptNameList', 'disableCheckWhenRest' => 'disableCheckWhenRest', 'disableCheckWithoutSchedule' => 'disableCheckWithoutSchedule', 'enableEmpSelectClass' => 'enableEmpSelectClass', 'freeCheckDayStartMinOffset' => 'freeCheckDayStartMinOffset', 'freecheckWorkDays' => 'freecheckWorkDays', 'groupId' => 'groupId', 'groupName' => 'groupName', 'isDefault' => 'isDefault', 'managerList' => 'managerList', 'memberCount' => 'memberCount', 'ownerUserId' => 'ownerUserId', 'selectedClass' => 'selectedClass', 'type' => 'type', 'userIds' => 'userIds', 'workDayList' => 'workDayList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classesList) { $res['classesList'] = $this->classesList; } if (null !== $this->defaultClassId) { $res['defaultClassId'] = $this->defaultClassId; } if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->deptNameList) { $res['deptNameList'] = $this->deptNameList; } if (null !== $this->disableCheckWhenRest) { $res['disableCheckWhenRest'] = $this->disableCheckWhenRest; } if (null !== $this->disableCheckWithoutSchedule) { $res['disableCheckWithoutSchedule'] = $this->disableCheckWithoutSchedule; } if (null !== $this->enableEmpSelectClass) { $res['enableEmpSelectClass'] = $this->enableEmpSelectClass; } if (null !== $this->freeCheckDayStartMinOffset) { $res['freeCheckDayStartMinOffset'] = $this->freeCheckDayStartMinOffset; } if (null !== $this->freecheckWorkDays) { $res['freecheckWorkDays'] = $this->freecheckWorkDays; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->isDefault) { $res['isDefault'] = $this->isDefault; } if (null !== $this->managerList) { $res['managerList'] = $this->managerList; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->selectedClass) { $res['selectedClass'] = []; if (null !== $this->selectedClass && \is_array($this->selectedClass)) { $n = 0; foreach ($this->selectedClass as $item) { $res['selectedClass'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->workDayList) { $res['workDayList'] = $this->workDayList; } return $res; } /** * @param array $map * * @return groups */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classesList'])) { if (!empty($map['classesList'])) { $model->classesList = $map['classesList']; } } if (isset($map['defaultClassId'])) { $model->defaultClassId = $map['defaultClassId']; } if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['deptNameList'])) { if (!empty($map['deptNameList'])) { $model->deptNameList = $map['deptNameList']; } } if (isset($map['disableCheckWhenRest'])) { $model->disableCheckWhenRest = $map['disableCheckWhenRest']; } if (isset($map['disableCheckWithoutSchedule'])) { $model->disableCheckWithoutSchedule = $map['disableCheckWithoutSchedule']; } if (isset($map['enableEmpSelectClass'])) { $model->enableEmpSelectClass = $map['enableEmpSelectClass']; } if (isset($map['freeCheckDayStartMinOffset'])) { $model->freeCheckDayStartMinOffset = $map['freeCheckDayStartMinOffset']; } if (isset($map['freecheckWorkDays'])) { if (!empty($map['freecheckWorkDays'])) { $model->freecheckWorkDays = $map['freecheckWorkDays']; } } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['isDefault'])) { $model->isDefault = $map['isDefault']; } if (isset($map['managerList'])) { if (!empty($map['managerList'])) { $model->managerList = $map['managerList']; } } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['selectedClass'])) { if (!empty($map['selectedClass'])) { $model->selectedClass = []; $n = 0; foreach ($map['selectedClass'] as $item) { $model->selectedClass[$n++] = null !== $item ? selectedClass::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['workDayList'])) { if (!empty($map['workDayList'])) { $model->workDayList = $map['workDayList']; } } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody/result/groups/selectedClass.php 0000644 00000005046 14713400346 0025104 0 ustar 00 'classId', 'className' => 'className', 'sections' => 'sections', 'setting' => 'setting', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->classId) { $res['classId'] = $this->classId; } if (null !== $this->className) { $res['className'] = $this->className; } if (null !== $this->sections) { $res['sections'] = []; if (null !== $this->sections && \is_array($this->sections)) { $n = 0; foreach ($this->sections as $item) { $res['sections'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->setting) { $res['setting'] = null !== $this->setting ? $this->setting->toMap() : null; } return $res; } /** * @param array $map * * @return selectedClass */ public static function fromMap($map = []) { $model = new self(); if (isset($map['classId'])) { $model->classId = $map['classId']; } if (isset($map['className'])) { $model->className = $map['className']; } if (isset($map['sections'])) { if (!empty($map['sections'])) { $model->sections = []; $n = 0; foreach ($map['sections'] as $item) { $model->sections[$n++] = null !== $item ? sections::fromMap($item) : $item; } } } if (isset($map['setting'])) { $model->setting = setting::fromMap($map['setting']); } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody/result/groups/selectedClass/sections.php 0000644 00000002663 14713400346 0026735 0 ustar 00 'times', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->times) { $res['times'] = []; if (null !== $this->times && \is_array($this->times)) { $n = 0; foreach ($this->times as $item) { $res['times'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['times'])) { if (!empty($map['times'])) { $model->times = []; $n = 0; foreach ($map['times'] as $item) { $model->times[$n++] = null !== $item ? times::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody/result/groups/selectedClass/sections/times.php0000644 00000003012 14713400346 0030043 0 ustar 00 'across', 'checkTime' => 'checkTime', 'checkType' => 'checkType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->checkType) { $res['checkType'] = $this->checkType; } return $res; } /** * @param array $map * * @return times */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['checkType'])) { $model->checkType = $map['checkType']; } return $model; } } src/attendance_1_0/Models/GetSimpleGroupsResponseBody/result/groups/selectedClass/setting.php 0000644 00000007627 14713400346 0026570 0 ustar 00 'absenteeismLateMinutes', 'classSettingId' => 'classSettingId', 'isOffDutyFreeCheck' => 'isOffDutyFreeCheck', 'permitLateMinutes' => 'permitLateMinutes', 'restTimeList' => 'restTimeList', 'seriousLateMinutes' => 'seriousLateMinutes', 'workTimeMinutes' => 'workTimeMinutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->absenteeismLateMinutes) { $res['absenteeismLateMinutes'] = $this->absenteeismLateMinutes; } if (null !== $this->classSettingId) { $res['classSettingId'] = $this->classSettingId; } if (null !== $this->isOffDutyFreeCheck) { $res['isOffDutyFreeCheck'] = $this->isOffDutyFreeCheck; } if (null !== $this->permitLateMinutes) { $res['permitLateMinutes'] = $this->permitLateMinutes; } if (null !== $this->restTimeList) { $res['restTimeList'] = []; if (null !== $this->restTimeList && \is_array($this->restTimeList)) { $n = 0; foreach ($this->restTimeList as $item) { $res['restTimeList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->seriousLateMinutes) { $res['seriousLateMinutes'] = $this->seriousLateMinutes; } if (null !== $this->workTimeMinutes) { $res['workTimeMinutes'] = $this->workTimeMinutes; } return $res; } /** * @param array $map * * @return setting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['absenteeismLateMinutes'])) { $model->absenteeismLateMinutes = $map['absenteeismLateMinutes']; } if (isset($map['classSettingId'])) { $model->classSettingId = $map['classSettingId']; } if (isset($map['isOffDutyFreeCheck'])) { $model->isOffDutyFreeCheck = $map['isOffDutyFreeCheck']; } if (isset($map['permitLateMinutes'])) { $model->permitLateMinutes = $map['permitLateMinutes']; } if (isset($map['restTimeList'])) { if (!empty($map['restTimeList'])) { $model->restTimeList = []; $n = 0; foreach ($map['restTimeList'] as $item) { $model->restTimeList[$n++] = null !== $item ? restTimeList::fromMap($item) : $item; } } } if (isset($map['seriousLateMinutes'])) { $model->seriousLateMinutes = $map['seriousLateMinutes']; } if (isset($map['workTimeMinutes'])) { $model->workTimeMinutes = $map['workTimeMinutes']; } return $model; } } Models/GetSimpleGroupsResponseBody/result/groups/selectedClass/setting/restTimeList.php 0000644 00000002711 14713400346 0031126 0 ustar 00 src/attendance_1_0 'begin', 'end' => 'end', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->begin) { $res['begin'] = null !== $this->begin ? $this->begin->toMap() : null; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } return $res; } /** * @param array $map * * @return restTimeList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['begin'])) { $model->begin = begin::fromMap($map['begin']); } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } return $model; } } Models/GetSimpleGroupsResponseBody/result/groups/selectedClass/setting/restTimeList/begin.php 0000644 00000002317 14713400346 0032214 0 ustar 00 src/attendance_1_0 'across', 'checkTime' => 'checkTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } return $res; } /** * @param array $map * * @return begin */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } return $model; } } Models/GetSimpleGroupsResponseBody/result/groups/selectedClass/setting/restTimeList/end.php 0000644 00000002313 14713400346 0031672 0 ustar 00 src/attendance_1_0 'across', 'checkTime' => 'checkTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } return $model; } } src/attendance_1_0/Models/GetSimpleOvertimeSettingHeaders.php 0000644 00000002362 14713400346 0020277 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSimpleOvertimeSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetSimpleOvertimeSettingRequest.php 0000644 00000002454 14713400346 0020356 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return GetSimpleOvertimeSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/attendance_1_0/Models/GetSimpleOvertimeSettingResponse.php 0000644 00000003000 14713400346 0020510 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSimpleOvertimeSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSimpleOvertimeSettingResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetSimpleOvertimeSettingResponseBody.php 0000644 00000001761 14713400346 0021342 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetSimpleOvertimeSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/GetSimpleOvertimeSettingResponseBody/result.php 0000644 00000004024 14713400346 0022653 0 ustar 00 'items', 'pageNumber' => 'pageNumber', 'totalPage' => 'totalPage', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->items) { $res['items'] = []; if (null !== $this->items && \is_array($this->items)) { $n = 0; foreach ($this->items as $item) { $res['items'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->totalPage) { $res['totalPage'] = $this->totalPage; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['items'])) { if (!empty($map['items'])) { $model->items = []; $n = 0; foreach ($map['items'] as $item) { $model->items[$n++] = null !== $item ? items::fromMap($item) : $item; } } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['totalPage'])) { $model->totalPage = $map['totalPage']; } return $model; } } src/attendance_1_0/Models/GetSimpleOvertimeSettingResponseBody/result/items.php 0000644 00000002574 14713400346 0024004 0 ustar 00 'id', 'name' => 'name', 'settingId' => 'settingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->settingId) { $res['settingId'] = $this->settingId; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['settingId'])) { $model->settingId = $map['settingId']; } return $model; } } src/attendance_1_0/Models/GetUserHolidaysHeaders.php 0000644 00000002340 14713400346 0016404 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserHolidaysHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GetUserHolidaysRequest.php 0000644 00000003235 14713400346 0016465 0 ustar 00 'userIds', 'workDateFrom' => 'workDateFrom', 'workDateTo' => 'workDateTo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->workDateFrom) { $res['workDateFrom'] = $this->workDateFrom; } if (null !== $this->workDateTo) { $res['workDateTo'] = $this->workDateTo; } return $res; } /** * @param array $map * * @return GetUserHolidaysRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['workDateFrom'])) { $model->workDateFrom = $map['workDateFrom']; } if (isset($map['workDateTo'])) { $model->workDateTo = $map['workDateTo']; } return $model; } } src/attendance_1_0/Models/GetUserHolidaysResponse.php 0000644 00000002734 14713400346 0016636 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserHolidaysResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserHolidaysResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GetUserHolidaysResponseBody.php 0000644 00000002616 14713400346 0017453 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetUserHolidaysResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/GetUserHolidaysResponseBody/result.php 0000644 00000003273 14713400346 0020771 0 ustar 00 'holidays', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->holidays) { $res['holidays'] = []; if (null !== $this->holidays && \is_array($this->holidays)) { $n = 0; foreach ($this->holidays as $item) { $res['holidays'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['holidays'])) { if (!empty($map['holidays'])) { $model->holidays = []; $n = 0; foreach ($map['holidays'] as $item) { $model->holidays[$n++] = null !== $item ? holidays::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GetUserHolidaysResponseBody/result/holidays.php 0000644 00000003414 14713400346 0022602 0 ustar 00 'holidayName', 'holidayType' => 'holidayType', 'realWorkDate' => 'realWorkDate', 'workDate' => 'workDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->holidayName) { $res['holidayName'] = $this->holidayName; } if (null !== $this->holidayType) { $res['holidayType'] = $this->holidayType; } if (null !== $this->realWorkDate) { $res['realWorkDate'] = $this->realWorkDate; } if (null !== $this->workDate) { $res['workDate'] = $this->workDate; } return $res; } /** * @param array $map * * @return holidays */ public static function fromMap($map = []) { $model = new self(); if (isset($map['holidayName'])) { $model->holidayName = $map['holidayName']; } if (isset($map['holidayType'])) { $model->holidayType = $map['holidayType']; } if (isset($map['realWorkDate'])) { $model->realWorkDate = $map['realWorkDate']; } if (isset($map['workDate'])) { $model->workDate = $map['workDate']; } return $model; } } src/attendance_1_0/Models/GroupAddHeaders.php 0000644 00000002322 14713400346 0015036 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupAddHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest.php 0000644 00000052166 14713400346 0015126 0 ustar 00 'adjustmentSettingId', 'bleDeviceList' => 'bleDeviceList', 'checkNeedHealthyCode' => 'checkNeedHealthyCode', 'defaultClassId' => 'defaultClassId', 'disableCheckWhenRest' => 'disableCheckWhenRest', 'disableCheckWithoutSchedule' => 'disableCheckWithoutSchedule', 'enableCameraCheck' => 'enableCameraCheck', 'enableEmpSelectClass' => 'enableEmpSelectClass', 'enableFaceCheck' => 'enableFaceCheck', 'enableFaceStrictMode' => 'enableFaceStrictMode', 'enableNextDay' => 'enableNextDay', 'enableOutSideUpdateNormalCheck' => 'enableOutSideUpdateNormalCheck', 'enableOutsideApply' => 'enableOutsideApply', 'enableOutsideCameraCheck' => 'enableOutsideCameraCheck', 'enableOutsideCheck' => 'enableOutsideCheck', 'enableOutsideRemark' => 'enableOutsideRemark', 'enablePositionBle' => 'enablePositionBle', 'enableTrimDistance' => 'enableTrimDistance', 'forbidHideOutSideAddress' => 'forbidHideOutSideAddress', 'freeCheckSetting' => 'freeCheckSetting', 'freeCheckTypeId' => 'freeCheckTypeId', 'freecheckDayStartMinOffset' => 'freecheckDayStartMinOffset', 'freecheckWorkDays' => 'freecheckWorkDays', 'groupId' => 'groupId', 'groupName' => 'groupName', 'managerList' => 'managerList', 'members' => 'members', 'modifyMember' => 'modifyMember', 'offset' => 'offset', 'onlyMachineCheck' => 'onlyMachineCheck', 'openCameraCheck' => 'openCameraCheck', 'openFaceCheck' => 'openFaceCheck', 'outsideCheckApproveModeId' => 'outsideCheckApproveModeId', 'overtimeSettingId' => 'overtimeSettingId', 'owner' => 'owner', 'positions' => 'positions', 'resourcePermissionMap' => 'resourcePermissionMap', 'shiftVOList' => 'shiftVOList', 'skipHolidays' => 'skipHolidays', 'specialDays' => 'specialDays', 'trimDistance' => 'trimDistance', 'type' => 'type', 'wifis' => 'wifis', 'workdayClassList' => 'workdayClassList', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adjustmentSettingId) { $res['adjustmentSettingId'] = $this->adjustmentSettingId; } if (null !== $this->bleDeviceList) { $res['bleDeviceList'] = []; if (null !== $this->bleDeviceList && \is_array($this->bleDeviceList)) { $n = 0; foreach ($this->bleDeviceList as $item) { $res['bleDeviceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->checkNeedHealthyCode) { $res['checkNeedHealthyCode'] = $this->checkNeedHealthyCode; } if (null !== $this->defaultClassId) { $res['defaultClassId'] = $this->defaultClassId; } if (null !== $this->disableCheckWhenRest) { $res['disableCheckWhenRest'] = $this->disableCheckWhenRest; } if (null !== $this->disableCheckWithoutSchedule) { $res['disableCheckWithoutSchedule'] = $this->disableCheckWithoutSchedule; } if (null !== $this->enableCameraCheck) { $res['enableCameraCheck'] = $this->enableCameraCheck; } if (null !== $this->enableEmpSelectClass) { $res['enableEmpSelectClass'] = $this->enableEmpSelectClass; } if (null !== $this->enableFaceCheck) { $res['enableFaceCheck'] = $this->enableFaceCheck; } if (null !== $this->enableFaceStrictMode) { $res['enableFaceStrictMode'] = $this->enableFaceStrictMode; } if (null !== $this->enableNextDay) { $res['enableNextDay'] = $this->enableNextDay; } if (null !== $this->enableOutSideUpdateNormalCheck) { $res['enableOutSideUpdateNormalCheck'] = $this->enableOutSideUpdateNormalCheck; } if (null !== $this->enableOutsideApply) { $res['enableOutsideApply'] = $this->enableOutsideApply; } if (null !== $this->enableOutsideCameraCheck) { $res['enableOutsideCameraCheck'] = $this->enableOutsideCameraCheck; } if (null !== $this->enableOutsideCheck) { $res['enableOutsideCheck'] = $this->enableOutsideCheck; } if (null !== $this->enableOutsideRemark) { $res['enableOutsideRemark'] = $this->enableOutsideRemark; } if (null !== $this->enablePositionBle) { $res['enablePositionBle'] = $this->enablePositionBle; } if (null !== $this->enableTrimDistance) { $res['enableTrimDistance'] = $this->enableTrimDistance; } if (null !== $this->forbidHideOutSideAddress) { $res['forbidHideOutSideAddress'] = $this->forbidHideOutSideAddress; } if (null !== $this->freeCheckSetting) { $res['freeCheckSetting'] = null !== $this->freeCheckSetting ? $this->freeCheckSetting->toMap() : null; } if (null !== $this->freeCheckTypeId) { $res['freeCheckTypeId'] = $this->freeCheckTypeId; } if (null !== $this->freecheckDayStartMinOffset) { $res['freecheckDayStartMinOffset'] = $this->freecheckDayStartMinOffset; } if (null !== $this->freecheckWorkDays) { $res['freecheckWorkDays'] = $this->freecheckWorkDays; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->managerList) { $res['managerList'] = $this->managerList; } if (null !== $this->members) { $res['members'] = []; if (null !== $this->members && \is_array($this->members)) { $n = 0; foreach ($this->members as $item) { $res['members'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->modifyMember) { $res['modifyMember'] = $this->modifyMember; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->onlyMachineCheck) { $res['onlyMachineCheck'] = $this->onlyMachineCheck; } if (null !== $this->openCameraCheck) { $res['openCameraCheck'] = $this->openCameraCheck; } if (null !== $this->openFaceCheck) { $res['openFaceCheck'] = $this->openFaceCheck; } if (null !== $this->outsideCheckApproveModeId) { $res['outsideCheckApproveModeId'] = $this->outsideCheckApproveModeId; } if (null !== $this->overtimeSettingId) { $res['overtimeSettingId'] = $this->overtimeSettingId; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->positions) { $res['positions'] = []; if (null !== $this->positions && \is_array($this->positions)) { $n = 0; foreach ($this->positions as $item) { $res['positions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourcePermissionMap) { $res['resourcePermissionMap'] = $this->resourcePermissionMap; } if (null !== $this->shiftVOList) { $res['shiftVOList'] = []; if (null !== $this->shiftVOList && \is_array($this->shiftVOList)) { $n = 0; foreach ($this->shiftVOList as $item) { $res['shiftVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->skipHolidays) { $res['skipHolidays'] = $this->skipHolidays; } if (null !== $this->specialDays) { $res['specialDays'] = $this->specialDays; } if (null !== $this->trimDistance) { $res['trimDistance'] = $this->trimDistance; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->wifis) { $res['wifis'] = []; if (null !== $this->wifis && \is_array($this->wifis)) { $n = 0; foreach ($this->wifis as $item) { $res['wifis'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->workdayClassList) { $res['workdayClassList'] = $this->workdayClassList; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return GroupAddRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adjustmentSettingId'])) { $model->adjustmentSettingId = $map['adjustmentSettingId']; } if (isset($map['bleDeviceList'])) { if (!empty($map['bleDeviceList'])) { $model->bleDeviceList = []; $n = 0; foreach ($map['bleDeviceList'] as $item) { $model->bleDeviceList[$n++] = null !== $item ? bleDeviceList::fromMap($item) : $item; } } } if (isset($map['checkNeedHealthyCode'])) { $model->checkNeedHealthyCode = $map['checkNeedHealthyCode']; } if (isset($map['defaultClassId'])) { $model->defaultClassId = $map['defaultClassId']; } if (isset($map['disableCheckWhenRest'])) { $model->disableCheckWhenRest = $map['disableCheckWhenRest']; } if (isset($map['disableCheckWithoutSchedule'])) { $model->disableCheckWithoutSchedule = $map['disableCheckWithoutSchedule']; } if (isset($map['enableCameraCheck'])) { $model->enableCameraCheck = $map['enableCameraCheck']; } if (isset($map['enableEmpSelectClass'])) { $model->enableEmpSelectClass = $map['enableEmpSelectClass']; } if (isset($map['enableFaceCheck'])) { $model->enableFaceCheck = $map['enableFaceCheck']; } if (isset($map['enableFaceStrictMode'])) { $model->enableFaceStrictMode = $map['enableFaceStrictMode']; } if (isset($map['enableNextDay'])) { $model->enableNextDay = $map['enableNextDay']; } if (isset($map['enableOutSideUpdateNormalCheck'])) { $model->enableOutSideUpdateNormalCheck = $map['enableOutSideUpdateNormalCheck']; } if (isset($map['enableOutsideApply'])) { $model->enableOutsideApply = $map['enableOutsideApply']; } if (isset($map['enableOutsideCameraCheck'])) { $model->enableOutsideCameraCheck = $map['enableOutsideCameraCheck']; } if (isset($map['enableOutsideCheck'])) { $model->enableOutsideCheck = $map['enableOutsideCheck']; } if (isset($map['enableOutsideRemark'])) { $model->enableOutsideRemark = $map['enableOutsideRemark']; } if (isset($map['enablePositionBle'])) { $model->enablePositionBle = $map['enablePositionBle']; } if (isset($map['enableTrimDistance'])) { $model->enableTrimDistance = $map['enableTrimDistance']; } if (isset($map['forbidHideOutSideAddress'])) { $model->forbidHideOutSideAddress = $map['forbidHideOutSideAddress']; } if (isset($map['freeCheckSetting'])) { $model->freeCheckSetting = freeCheckSetting::fromMap($map['freeCheckSetting']); } if (isset($map['freeCheckTypeId'])) { $model->freeCheckTypeId = $map['freeCheckTypeId']; } if (isset($map['freecheckDayStartMinOffset'])) { $model->freecheckDayStartMinOffset = $map['freecheckDayStartMinOffset']; } if (isset($map['freecheckWorkDays'])) { if (!empty($map['freecheckWorkDays'])) { $model->freecheckWorkDays = $map['freecheckWorkDays']; } } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['managerList'])) { if (!empty($map['managerList'])) { $model->managerList = $map['managerList']; } } if (isset($map['members'])) { if (!empty($map['members'])) { $model->members = []; $n = 0; foreach ($map['members'] as $item) { $model->members[$n++] = null !== $item ? members::fromMap($item) : $item; } } } if (isset($map['modifyMember'])) { $model->modifyMember = $map['modifyMember']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['onlyMachineCheck'])) { $model->onlyMachineCheck = $map['onlyMachineCheck']; } if (isset($map['openCameraCheck'])) { $model->openCameraCheck = $map['openCameraCheck']; } if (isset($map['openFaceCheck'])) { $model->openFaceCheck = $map['openFaceCheck']; } if (isset($map['outsideCheckApproveModeId'])) { $model->outsideCheckApproveModeId = $map['outsideCheckApproveModeId']; } if (isset($map['overtimeSettingId'])) { $model->overtimeSettingId = $map['overtimeSettingId']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['positions'])) { if (!empty($map['positions'])) { $model->positions = []; $n = 0; foreach ($map['positions'] as $item) { $model->positions[$n++] = null !== $item ? positions::fromMap($item) : $item; } } } if (isset($map['resourcePermissionMap'])) { $model->resourcePermissionMap = $map['resourcePermissionMap']; } if (isset($map['shiftVOList'])) { if (!empty($map['shiftVOList'])) { $model->shiftVOList = []; $n = 0; foreach ($map['shiftVOList'] as $item) { $model->shiftVOList[$n++] = null !== $item ? shiftVOList::fromMap($item) : $item; } } } if (isset($map['skipHolidays'])) { $model->skipHolidays = $map['skipHolidays']; } if (isset($map['specialDays'])) { $model->specialDays = $map['specialDays']; } if (isset($map['trimDistance'])) { $model->trimDistance = $map['trimDistance']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['wifis'])) { if (!empty($map['wifis'])) { $model->wifis = []; $n = 0; foreach ($map['wifis'] as $item) { $model->wifis[$n++] = null !== $item ? wifis::fromMap($item) : $item; } } } if (isset($map['workdayClassList'])) { if (!empty($map['workdayClassList'])) { $model->workdayClassList = $map['workdayClassList']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest/bleDeviceList.php 0000644 00000001550 14713400346 0017633 0 ustar 00 'deviceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } return $res; } /** * @param array $map * * @return bleDeviceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest/freeCheckSetting.php 0000644 00000003042 14713400346 0020330 0 ustar 00 'delimitOffsetMinutesBetweenDays', 'freeCheckGap' => 'freeCheckGap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->delimitOffsetMinutesBetweenDays) { $res['delimitOffsetMinutesBetweenDays'] = $this->delimitOffsetMinutesBetweenDays; } if (null !== $this->freeCheckGap) { $res['freeCheckGap'] = null !== $this->freeCheckGap ? $this->freeCheckGap->toMap() : null; } return $res; } /** * @param array $map * * @return freeCheckSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['delimitOffsetMinutesBetweenDays'])) { $model->delimitOffsetMinutesBetweenDays = $map['delimitOffsetMinutesBetweenDays']; } if (isset($map['freeCheckGap'])) { $model->freeCheckGap = freeCheckGap::fromMap($map['freeCheckGap']); } return $model; } } src/attendance_1_0/Models/GroupAddRequest/freeCheckSetting/freeCheckGap.php 0000644 00000002574 14713400346 0022650 0 ustar 00 'offOnCheckGapMinutes', 'onOffCheckGapMinutes' => 'onOffCheckGapMinutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->offOnCheckGapMinutes) { $res['offOnCheckGapMinutes'] = $this->offOnCheckGapMinutes; } if (null !== $this->onOffCheckGapMinutes) { $res['onOffCheckGapMinutes'] = $this->onOffCheckGapMinutes; } return $res; } /** * @param array $map * * @return freeCheckGap */ public static function fromMap($map = []) { $model = new self(); if (isset($map['offOnCheckGapMinutes'])) { $model->offOnCheckGapMinutes = $map['offOnCheckGapMinutes']; } if (isset($map['onOffCheckGapMinutes'])) { $model->onOffCheckGapMinutes = $map['onOffCheckGapMinutes']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest/members.php 0000644 00000003061 14713400346 0016546 0 ustar 00 'role', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest/positions.php 0000644 00000004152 14713400346 0017145 0 ustar 00 'address', 'latitude' => 'latitude', 'longitude' => 'longitude', 'offset' => 'offset', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return positions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest/shiftVOList.php 0000644 00000001524 14713400346 0017334 0 ustar 00 'shiftId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->shiftId) { $res['shiftId'] = $this->shiftId; } return $res; } /** * @param array $map * * @return shiftVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['shiftId'])) { $model->shiftId = $map['shiftId']; } return $model; } } src/attendance_1_0/Models/GroupAddRequest/wifis.php 0000644 00000002173 14713400346 0016240 0 ustar 00 'macAddr', 'ssid' => 'ssid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->macAddr) { $res['macAddr'] = $this->macAddr; } if (null !== $this->ssid) { $res['ssid'] = $this->ssid; } return $res; } /** * @param array $map * * @return wifis */ public static function fromMap($map = []) { $model = new self(); if (isset($map['macAddr'])) { $model->macAddr = $map['macAddr']; } if (isset($map['ssid'])) { $model->ssid = $map['ssid']; } return $model; } } src/attendance_1_0/Models/GroupAddResponse.php 0000644 00000002700 14713400346 0015261 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupAddResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupAddResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GroupAddResponseBody.php 0000644 00000002327 14713400346 0016104 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GroupAddResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/GroupAddResponseBody/result.php 0000644 00000002005 14713400346 0017413 0 ustar 00 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/attendance_1_0/Models/GroupUpdateHeaders.php 0000644 00000002330 14713400346 0015567 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GroupUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/GroupUpdateRequest.php 0000644 00000035474 14713400346 0015663 0 ustar 00 'adjustmentSettingId', 'disableCheckWhenRest' => 'disableCheckWhenRest', 'disableCheckWithoutSchedule' => 'disableCheckWithoutSchedule', 'enableCameraCheck' => 'enableCameraCheck', 'enableEmpSelectClass' => 'enableEmpSelectClass', 'enableFaceCheck' => 'enableFaceCheck', 'enableFaceStrictMode' => 'enableFaceStrictMode', 'enableOutSideUpdateNormalCheck' => 'enableOutSideUpdateNormalCheck', 'enableOutsideApply' => 'enableOutsideApply', 'enableOutsideCheck' => 'enableOutsideCheck', 'enableOutsideRemark' => 'enableOutsideRemark', 'enableTrimDistance' => 'enableTrimDistance', 'forbidHideOutSideAddress' => 'forbidHideOutSideAddress', 'freeCheckSetting' => 'freeCheckSetting', 'freeCheckTypeId' => 'freeCheckTypeId', 'freecheckDayStartMinOffset' => 'freecheckDayStartMinOffset', 'groupId' => 'groupId', 'groupName' => 'groupName', 'managerList' => 'managerList', 'offset' => 'offset', 'onlyMachineCheck' => 'onlyMachineCheck', 'openCameraCheck' => 'openCameraCheck', 'openFaceCheck' => 'openFaceCheck', 'outsideCheckApproveModeId' => 'outsideCheckApproveModeId', 'overtimeSettingId' => 'overtimeSettingId', 'owner' => 'owner', 'positions' => 'positions', 'resourcePermissionMap' => 'resourcePermissionMap', 'shiftVOList' => 'shiftVOList', 'skipHolidays' => 'skipHolidays', 'trimDistance' => 'trimDistance', 'workdayClassList' => 'workdayClassList', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adjustmentSettingId) { $res['adjustmentSettingId'] = $this->adjustmentSettingId; } if (null !== $this->disableCheckWhenRest) { $res['disableCheckWhenRest'] = $this->disableCheckWhenRest; } if (null !== $this->disableCheckWithoutSchedule) { $res['disableCheckWithoutSchedule'] = $this->disableCheckWithoutSchedule; } if (null !== $this->enableCameraCheck) { $res['enableCameraCheck'] = $this->enableCameraCheck; } if (null !== $this->enableEmpSelectClass) { $res['enableEmpSelectClass'] = $this->enableEmpSelectClass; } if (null !== $this->enableFaceCheck) { $res['enableFaceCheck'] = $this->enableFaceCheck; } if (null !== $this->enableFaceStrictMode) { $res['enableFaceStrictMode'] = $this->enableFaceStrictMode; } if (null !== $this->enableOutSideUpdateNormalCheck) { $res['enableOutSideUpdateNormalCheck'] = $this->enableOutSideUpdateNormalCheck; } if (null !== $this->enableOutsideApply) { $res['enableOutsideApply'] = $this->enableOutsideApply; } if (null !== $this->enableOutsideCheck) { $res['enableOutsideCheck'] = $this->enableOutsideCheck; } if (null !== $this->enableOutsideRemark) { $res['enableOutsideRemark'] = $this->enableOutsideRemark; } if (null !== $this->enableTrimDistance) { $res['enableTrimDistance'] = $this->enableTrimDistance; } if (null !== $this->forbidHideOutSideAddress) { $res['forbidHideOutSideAddress'] = $this->forbidHideOutSideAddress; } if (null !== $this->freeCheckSetting) { $res['freeCheckSetting'] = null !== $this->freeCheckSetting ? $this->freeCheckSetting->toMap() : null; } if (null !== $this->freeCheckTypeId) { $res['freeCheckTypeId'] = $this->freeCheckTypeId; } if (null !== $this->freecheckDayStartMinOffset) { $res['freecheckDayStartMinOffset'] = $this->freecheckDayStartMinOffset; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->managerList) { $res['managerList'] = $this->managerList; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->onlyMachineCheck) { $res['onlyMachineCheck'] = $this->onlyMachineCheck; } if (null !== $this->openCameraCheck) { $res['openCameraCheck'] = $this->openCameraCheck; } if (null !== $this->openFaceCheck) { $res['openFaceCheck'] = $this->openFaceCheck; } if (null !== $this->outsideCheckApproveModeId) { $res['outsideCheckApproveModeId'] = $this->outsideCheckApproveModeId; } if (null !== $this->overtimeSettingId) { $res['overtimeSettingId'] = $this->overtimeSettingId; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->positions) { $res['positions'] = []; if (null !== $this->positions && \is_array($this->positions)) { $n = 0; foreach ($this->positions as $item) { $res['positions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourcePermissionMap) { $res['resourcePermissionMap'] = $this->resourcePermissionMap; } if (null !== $this->shiftVOList) { $res['shiftVOList'] = []; if (null !== $this->shiftVOList && \is_array($this->shiftVOList)) { $n = 0; foreach ($this->shiftVOList as $item) { $res['shiftVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->skipHolidays) { $res['skipHolidays'] = $this->skipHolidays; } if (null !== $this->trimDistance) { $res['trimDistance'] = $this->trimDistance; } if (null !== $this->workdayClassList) { $res['workdayClassList'] = $this->workdayClassList; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return GroupUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adjustmentSettingId'])) { $model->adjustmentSettingId = $map['adjustmentSettingId']; } if (isset($map['disableCheckWhenRest'])) { $model->disableCheckWhenRest = $map['disableCheckWhenRest']; } if (isset($map['disableCheckWithoutSchedule'])) { $model->disableCheckWithoutSchedule = $map['disableCheckWithoutSchedule']; } if (isset($map['enableCameraCheck'])) { $model->enableCameraCheck = $map['enableCameraCheck']; } if (isset($map['enableEmpSelectClass'])) { $model->enableEmpSelectClass = $map['enableEmpSelectClass']; } if (isset($map['enableFaceCheck'])) { $model->enableFaceCheck = $map['enableFaceCheck']; } if (isset($map['enableFaceStrictMode'])) { $model->enableFaceStrictMode = $map['enableFaceStrictMode']; } if (isset($map['enableOutSideUpdateNormalCheck'])) { $model->enableOutSideUpdateNormalCheck = $map['enableOutSideUpdateNormalCheck']; } if (isset($map['enableOutsideApply'])) { $model->enableOutsideApply = $map['enableOutsideApply']; } if (isset($map['enableOutsideCheck'])) { $model->enableOutsideCheck = $map['enableOutsideCheck']; } if (isset($map['enableOutsideRemark'])) { $model->enableOutsideRemark = $map['enableOutsideRemark']; } if (isset($map['enableTrimDistance'])) { $model->enableTrimDistance = $map['enableTrimDistance']; } if (isset($map['forbidHideOutSideAddress'])) { $model->forbidHideOutSideAddress = $map['forbidHideOutSideAddress']; } if (isset($map['freeCheckSetting'])) { $model->freeCheckSetting = freeCheckSetting::fromMap($map['freeCheckSetting']); } if (isset($map['freeCheckTypeId'])) { $model->freeCheckTypeId = $map['freeCheckTypeId']; } if (isset($map['freecheckDayStartMinOffset'])) { $model->freecheckDayStartMinOffset = $map['freecheckDayStartMinOffset']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['managerList'])) { if (!empty($map['managerList'])) { $model->managerList = $map['managerList']; } } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['onlyMachineCheck'])) { $model->onlyMachineCheck = $map['onlyMachineCheck']; } if (isset($map['openCameraCheck'])) { $model->openCameraCheck = $map['openCameraCheck']; } if (isset($map['openFaceCheck'])) { $model->openFaceCheck = $map['openFaceCheck']; } if (isset($map['outsideCheckApproveModeId'])) { $model->outsideCheckApproveModeId = $map['outsideCheckApproveModeId']; } if (isset($map['overtimeSettingId'])) { $model->overtimeSettingId = $map['overtimeSettingId']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['positions'])) { if (!empty($map['positions'])) { $model->positions = []; $n = 0; foreach ($map['positions'] as $item) { $model->positions[$n++] = null !== $item ? positions::fromMap($item) : $item; } } } if (isset($map['resourcePermissionMap'])) { $model->resourcePermissionMap = $map['resourcePermissionMap']; } if (isset($map['shiftVOList'])) { if (!empty($map['shiftVOList'])) { $model->shiftVOList = []; $n = 0; foreach ($map['shiftVOList'] as $item) { $model->shiftVOList[$n++] = null !== $item ? shiftVOList::fromMap($item) : $item; } } } if (isset($map['skipHolidays'])) { $model->skipHolidays = $map['skipHolidays']; } if (isset($map['trimDistance'])) { $model->trimDistance = $map['trimDistance']; } if (isset($map['workdayClassList'])) { if (!empty($map['workdayClassList'])) { $model->workdayClassList = $map['workdayClassList']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/GroupUpdateRequest/freeCheckSetting.php 0000644 00000003050 14713400346 0021061 0 ustar 00 'delimitOffsetMinutesBetweenDays', 'freeCheckGap' => 'freeCheckGap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->delimitOffsetMinutesBetweenDays) { $res['delimitOffsetMinutesBetweenDays'] = $this->delimitOffsetMinutesBetweenDays; } if (null !== $this->freeCheckGap) { $res['freeCheckGap'] = null !== $this->freeCheckGap ? $this->freeCheckGap->toMap() : null; } return $res; } /** * @param array $map * * @return freeCheckSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['delimitOffsetMinutesBetweenDays'])) { $model->delimitOffsetMinutesBetweenDays = $map['delimitOffsetMinutesBetweenDays']; } if (isset($map['freeCheckGap'])) { $model->freeCheckGap = freeCheckGap::fromMap($map['freeCheckGap']); } return $model; } } src/attendance_1_0/Models/GroupUpdateRequest/freeCheckSetting/freeCheckGap.php 0000644 00000002577 14713400346 0023405 0 ustar 00 'offOnCheckGapMinutes', 'onOffCheckGapMinutes' => 'onOffCheckGapMinutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->offOnCheckGapMinutes) { $res['offOnCheckGapMinutes'] = $this->offOnCheckGapMinutes; } if (null !== $this->onOffCheckGapMinutes) { $res['onOffCheckGapMinutes'] = $this->onOffCheckGapMinutes; } return $res; } /** * @param array $map * * @return freeCheckGap */ public static function fromMap($map = []) { $model = new self(); if (isset($map['offOnCheckGapMinutes'])) { $model->offOnCheckGapMinutes = $map['offOnCheckGapMinutes']; } if (isset($map['onOffCheckGapMinutes'])) { $model->onOffCheckGapMinutes = $map['onOffCheckGapMinutes']; } return $model; } } src/attendance_1_0/Models/GroupUpdateRequest/positions.php 0000644 00000004155 14713400346 0017702 0 ustar 00 'address', 'latitude' => 'latitude', 'longitude' => 'longitude', 'offset' => 'offset', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->latitude) { $res['latitude'] = $this->latitude; } if (null !== $this->longitude) { $res['longitude'] = $this->longitude; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return positions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['latitude'])) { $model->latitude = $map['latitude']; } if (isset($map['longitude'])) { $model->longitude = $map['longitude']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/attendance_1_0/Models/GroupUpdateRequest/shiftVOList.php 0000644 00000001527 14713400346 0020071 0 ustar 00 'shiftId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->shiftId) { $res['shiftId'] = $this->shiftId; } return $res; } /** * @param array $map * * @return shiftVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['shiftId'])) { $model->shiftId = $map['shiftId']; } return $model; } } src/attendance_1_0/Models/GroupUpdateResponse.php 0000644 00000002714 14713400346 0016020 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GroupUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GroupUpdateResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/GroupUpdateResponseBody.php 0000644 00000002340 14713400346 0016631 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GroupUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/GroupUpdateResponseBody/result.php 0000644 00000002010 14713400346 0020141 0 ustar 00 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/attendance_1_0/Models/InitAndGetLeaveALlocationQuotasHeaders.php 0000644 00000002400 14713400346 0021434 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InitAndGetLeaveALlocationQuotasHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/InitAndGetLeaveALlocationQuotasRequest.php 0000644 00000003177 14713400346 0021525 0 ustar 00 'leaveCode', 'opUserId' => 'opUserId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return InitAndGetLeaveALlocationQuotasRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/InitAndGetLeaveALlocationQuotasResponse.php 0000644 00000003034 14713400346 0021663 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InitAndGetLeaveALlocationQuotasResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InitAndGetLeaveALlocationQuotasResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/InitAndGetLeaveALlocationQuotasResponseBody.php 0000644 00000002676 14713400346 0022514 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return InitAndGetLeaveALlocationQuotasResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/InitAndGetLeaveALlocationQuotasResponseBody/result.php 0000644 00000007660 14713400346 0024030 0 ustar 00 'endTime', 'leaveCode' => 'leaveCode', 'quotaCycle' => 'quotaCycle', 'quotaId' => 'quotaId', 'quotaNumPerDay' => 'quotaNumPerDay', 'quotaNumPerHour' => 'quotaNumPerHour', 'startTime' => 'startTime', 'usedNumPerDay' => 'usedNumPerDay', 'usedNumPerHour' => 'usedNumPerHour', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->quotaCycle) { $res['quotaCycle'] = $this->quotaCycle; } if (null !== $this->quotaId) { $res['quotaId'] = $this->quotaId; } if (null !== $this->quotaNumPerDay) { $res['quotaNumPerDay'] = $this->quotaNumPerDay; } if (null !== $this->quotaNumPerHour) { $res['quotaNumPerHour'] = $this->quotaNumPerHour; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->usedNumPerDay) { $res['usedNumPerDay'] = $this->usedNumPerDay; } if (null !== $this->usedNumPerHour) { $res['usedNumPerHour'] = $this->usedNumPerHour; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['quotaCycle'])) { $model->quotaCycle = $map['quotaCycle']; } if (isset($map['quotaId'])) { $model->quotaId = $map['quotaId']; } if (isset($map['quotaNumPerDay'])) { $model->quotaNumPerDay = $map['quotaNumPerDay']; } if (isset($map['quotaNumPerHour'])) { $model->quotaNumPerHour = $map['quotaNumPerHour']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['usedNumPerDay'])) { $model->usedNumPerDay = $map['usedNumPerDay']; } if (isset($map['usedNumPerHour'])) { $model->usedNumPerHour = $map['usedNumPerHour']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/ListApproveByUsersHeaders.php 0000644 00000002346 14713400346 0017124 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListApproveByUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ListApproveByUsersRequest.php 0000644 00000003615 14713400346 0017201 0 ustar 00 'bizTypes', 'fromDateTime' => 'fromDateTime', 'toDateTime' => 'toDateTime', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTypes) { $res['bizTypes'] = $this->bizTypes; } if (null !== $this->fromDateTime) { $res['fromDateTime'] = $this->fromDateTime; } if (null !== $this->toDateTime) { $res['toDateTime'] = $this->toDateTime; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return ListApproveByUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTypes'])) { if (!empty($map['bizTypes'])) { $model->bizTypes = $map['bizTypes']; } } if (isset($map['fromDateTime'])) { $model->fromDateTime = $map['fromDateTime']; } if (isset($map['toDateTime'])) { $model->toDateTime = $map['toDateTime']; } if (isset($map['userIds'])) { $model->userIds = $map['userIds']; } return $model; } } src/attendance_1_0/Models/ListApproveByUsersResponse.php 0000644 00000002750 14713400346 0017346 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListApproveByUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListApproveByUsersResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ListApproveByUsersResponseBody.php 0000644 00000002627 14713400346 0020167 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListApproveByUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/ListApproveByUsersResponseBody/result.php 0000644 00000006700 14713400346 0021501 0 ustar 00 'approveId', 'beginTime' => 'beginTime', 'bizType' => 'bizType', 'calculateModel' => 'calculateModel', 'durationUnit' => 'durationUnit', 'endTime' => 'endTime', 'subType' => 'subType', 'tagName' => 'tagName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveId) { $res['approveId'] = $this->approveId; } if (null !== $this->beginTime) { $res['beginTime'] = $this->beginTime; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->calculateModel) { $res['calculateModel'] = $this->calculateModel; } if (null !== $this->durationUnit) { $res['durationUnit'] = $this->durationUnit; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->subType) { $res['subType'] = $this->subType; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveId'])) { $model->approveId = $map['approveId']; } if (isset($map['beginTime'])) { $model->beginTime = $map['beginTime']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['calculateModel'])) { $model->calculateModel = $map['calculateModel']; } if (isset($map['durationUnit'])) { $model->durationUnit = $map['durationUnit']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['subType'])) { $model->subType = $map['subType']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/ModifyWaterMarkTemplateHeaders.php 0000644 00000002360 14713400346 0020074 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ModifyWaterMarkTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ModifyWaterMarkTemplateRequest.php 0000644 00000010151 14713400346 0020146 0 ustar 00 'formCode', 'icon' => 'icon', 'layoutDesignId' => 'layoutDesignId', 'schemaContent' => 'schemaContent', 'title' => 'title', 'waterMarkId' => 'waterMarkId', 'openConversationId' => 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->layoutDesignId) { $res['layoutDesignId'] = $this->layoutDesignId; } if (null !== $this->schemaContent) { $res['schemaContent'] = $this->schemaContent; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->waterMarkId) { $res['waterMarkId'] = $this->waterMarkId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ModifyWaterMarkTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['layoutDesignId'])) { $model->layoutDesignId = $map['layoutDesignId']; } if (isset($map['schemaContent'])) { $model->schemaContent = $map['schemaContent']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['waterMarkId'])) { $model->waterMarkId = $map['waterMarkId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/ModifyWaterMarkTemplateResponse.php 0000644 00000002774 14713400346 0020330 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ModifyWaterMarkTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ModifyWaterMarkTemplateResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ModifyWaterMarkTemplateResponseBody.php 0000644 00000001623 14713400346 0021136 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ModifyWaterMarkTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/attendance_1_0/Models/ProcessApproveCreateHeaders.php 0000644 00000002352 14713400346 0017433 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ProcessApproveCreateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ProcessApproveCreateRequest.php 0000644 00000005636 14713400346 0017520 0 ustar 00 'approveId', 'opUserId' => 'opUserId', 'punchParam' => 'punchParam', 'subType' => 'subType', 'tagName' => 'tagName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveId) { $res['approveId'] = $this->approveId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->punchParam) { $res['punchParam'] = null !== $this->punchParam ? $this->punchParam->toMap() : null; } if (null !== $this->subType) { $res['subType'] = $this->subType; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ProcessApproveCreateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveId'])) { $model->approveId = $map['approveId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['punchParam'])) { $model->punchParam = punchParam::fromMap($map['punchParam']); } if (isset($map['subType'])) { $model->subType = $map['subType']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/ProcessApproveCreateRequest/punchParam.php 0000644 00000003727 14713400346 0021615 0 ustar 00 'positionId', 'positionName' => 'positionName', 'positionType' => 'positionType', 'punchTime' => 'punchTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->positionId) { $res['positionId'] = $this->positionId; } if (null !== $this->positionName) { $res['positionName'] = $this->positionName; } if (null !== $this->positionType) { $res['positionType'] = $this->positionType; } if (null !== $this->punchTime) { $res['punchTime'] = $this->punchTime; } return $res; } /** * @param array $map * * @return punchParam */ public static function fromMap($map = []) { $model = new self(); if (isset($map['positionId'])) { $model->positionId = $map['positionId']; } if (isset($map['positionName'])) { $model->positionName = $map['positionName']; } if (isset($map['positionType'])) { $model->positionType = $map['positionType']; } if (isset($map['punchTime'])) { $model->punchTime = $map['punchTime']; } return $model; } } src/attendance_1_0/Models/ProcessApproveCreateResponse.php 0000644 00000002760 14713400346 0017661 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ProcessApproveCreateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ProcessApproveCreateResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ProcessApproveCreateResponseBody.php 0000644 00000001745 14713400346 0020501 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return ProcessApproveCreateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/ProcessApproveCreateResponseBody/result.php 0000644 00000001774 14713400346 0022021 0 ustar 00 'dingtalkApproveId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingtalkApproveId) { $res['dingtalkApproveId'] = $this->dingtalkApproveId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingtalkApproveId'])) { $model->dingtalkApproveId = $map['dingtalkApproveId']; } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishHeaders.php 0000644 00000002352 14713400346 0017450 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ProcessApproveFinishHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishRequest.php 0000644 00000007342 14713400346 0017531 0 ustar 00 'approveId', 'jumpUrl' => 'jumpUrl', 'overTimeToMore' => 'overTimeToMore', 'overtimeDuration' => 'overtimeDuration', 'subType' => 'subType', 'tagName' => 'tagName', 'topCalculateApproveDurationParam' => 'topCalculateApproveDurationParam', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->approveId) { $res['approveId'] = $this->approveId; } if (null !== $this->jumpUrl) { $res['jumpUrl'] = $this->jumpUrl; } if (null !== $this->overTimeToMore) { $res['overTimeToMore'] = $this->overTimeToMore; } if (null !== $this->overtimeDuration) { $res['overtimeDuration'] = $this->overtimeDuration; } if (null !== $this->subType) { $res['subType'] = $this->subType; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } if (null !== $this->topCalculateApproveDurationParam) { $res['topCalculateApproveDurationParam'] = null !== $this->topCalculateApproveDurationParam ? $this->topCalculateApproveDurationParam->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ProcessApproveFinishRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['approveId'])) { $model->approveId = $map['approveId']; } if (isset($map['jumpUrl'])) { $model->jumpUrl = $map['jumpUrl']; } if (isset($map['overTimeToMore'])) { $model->overTimeToMore = $map['overTimeToMore']; } if (isset($map['overtimeDuration'])) { $model->overtimeDuration = $map['overtimeDuration']; } if (isset($map['subType'])) { $model->subType = $map['subType']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } if (isset($map['topCalculateApproveDurationParam'])) { $model->topCalculateApproveDurationParam = topCalculateApproveDurationParam::fromMap($map['topCalculateApproveDurationParam']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishRequest/topCalculateApproveDurationParam.php 0000644 00000005067 14713400346 0026177 0 ustar 00 'bizType', 'calculateModel' => 'calculateModel', 'durationUnit' => 'durationUnit', 'fromTime' => 'fromTime', 'leaveCode' => 'leaveCode', 'toTime' => 'toTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->calculateModel) { $res['calculateModel'] = $this->calculateModel; } if (null !== $this->durationUnit) { $res['durationUnit'] = $this->durationUnit; } if (null !== $this->fromTime) { $res['fromTime'] = $this->fromTime; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->toTime) { $res['toTime'] = $this->toTime; } return $res; } /** * @param array $map * * @return topCalculateApproveDurationParam */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['calculateModel'])) { $model->calculateModel = $map['calculateModel']; } if (isset($map['durationUnit'])) { $model->durationUnit = $map['durationUnit']; } if (isset($map['fromTime'])) { $model->fromTime = $map['fromTime']; } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['toTime'])) { $model->toTime = $map['toTime']; } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishResponse.php 0000644 00000002760 14713400346 0017676 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ProcessApproveFinishResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ProcessApproveFinishResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishResponseBody.php 0000644 00000002373 14713400346 0020514 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ProcessApproveFinishResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishResponseBody/result.php 0000644 00000003541 14713400346 0022030 0 ustar 00 'duration', 'durationDetail' => 'durationDetail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationDetail) { $res['durationDetail'] = []; if (null !== $this->durationDetail && \is_array($this->durationDetail)) { $n = 0; foreach ($this->durationDetail as $item) { $res['durationDetail'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationDetail'])) { if (!empty($map['durationDetail'])) { $model->durationDetail = []; $n = 0; foreach ($map['durationDetail'] as $item) { $model->durationDetail[$n++] = null !== $item ? durationDetail::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/ProcessApproveFinishResponseBody/result/durationDetail.php 0000644 00000002237 14713400346 0025001 0 ustar 00 'date', 'duration' => 'duration', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->duration) { $res['duration'] = $this->duration; } return $res; } /** * @param array $map * * @return durationDetail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } return $model; } } src/attendance_1_0/Models/ReduceQuotaWithLeaveRecordHeaders.php 0000644 00000002366 14713400346 0020532 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReduceQuotaWithLeaveRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ReduceQuotaWithLeaveRecordRequest.php 0000644 00000005231 14713400346 0020601 0 ustar 00 'endTime', 'leaveCode' => 'leaveCode', 'outerId' => 'outerId', 'quotaNum' => 'quotaNum', 'reason' => 'reason', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->outerId) { $res['outerId'] = $this->outerId; } if (null !== $this->quotaNum) { $res['quotaNum'] = $this->quotaNum; } if (null !== $this->reason) { $res['reason'] = $this->reason; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return ReduceQuotaWithLeaveRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['outerId'])) { $model->outerId = $map['outerId']; } if (isset($map['quotaNum'])) { $model->quotaNum = $map['quotaNum']; } if (isset($map['reason'])) { $model->reason = $map['reason']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/attendance_1_0/Models/ReduceQuotaWithLeaveRecordResponse.php 0000644 00000003010 14713400346 0020740 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReduceQuotaWithLeaveRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReduceQuotaWithLeaveRecordResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ReduceQuotaWithLeaveRecordResponseBody.php 0000644 00000002155 14713400346 0021567 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ReduceQuotaWithLeaveRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/ResultDurationSettingsValue.php 0000644 00000014377 14713400346 0017554 0 ustar 00 'calcType', 'durationType' => 'durationType', 'overtimeRedress' => 'overtimeRedress', 'settings' => 'settings', 'overtimeRedressBy' => 'overtimeRedressBy', 'vacationRate' => 'vacationRate', 'skipTime' => 'skipTime', 'skipTimeByFrames' => 'skipTimeByFrames', 'skipTimeByDurations' => 'skipTimeByDurations', 'holidayPlanOvertimeRedress' => 'holidayPlanOvertimeRedress', 'holidayPlanOvertimeRedressBy' => 'holidayPlanOvertimeRedressBy', 'holidayPlanVacationRate' => 'holidayPlanVacationRate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->calcType) { $res['calcType'] = $this->calcType; } if (null !== $this->durationType) { $res['durationType'] = $this->durationType; } if (null !== $this->overtimeRedress) { $res['overtimeRedress'] = $this->overtimeRedress; } if (null !== $this->settings) { $res['settings'] = $this->settings; } if (null !== $this->overtimeRedressBy) { $res['overtimeRedressBy'] = $this->overtimeRedressBy; } if (null !== $this->vacationRate) { $res['vacationRate'] = $this->vacationRate; } if (null !== $this->skipTime) { $res['skipTime'] = $this->skipTime; } if (null !== $this->skipTimeByFrames) { $res['skipTimeByFrames'] = []; if (null !== $this->skipTimeByFrames && \is_array($this->skipTimeByFrames)) { $n = 0; foreach ($this->skipTimeByFrames as $item) { $res['skipTimeByFrames'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->skipTimeByDurations) { $res['skipTimeByDurations'] = []; if (null !== $this->skipTimeByDurations && \is_array($this->skipTimeByDurations)) { $n = 0; foreach ($this->skipTimeByDurations as $item) { $res['skipTimeByDurations'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->holidayPlanOvertimeRedress) { $res['holidayPlanOvertimeRedress'] = $this->holidayPlanOvertimeRedress; } if (null !== $this->holidayPlanOvertimeRedressBy) { $res['holidayPlanOvertimeRedressBy'] = $this->holidayPlanOvertimeRedressBy; } if (null !== $this->holidayPlanVacationRate) { $res['holidayPlanVacationRate'] = $this->holidayPlanVacationRate; } return $res; } /** * @param array $map * * @return ResultDurationSettingsValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['calcType'])) { $model->calcType = $map['calcType']; } if (isset($map['durationType'])) { $model->durationType = $map['durationType']; } if (isset($map['overtimeRedress'])) { $model->overtimeRedress = $map['overtimeRedress']; } if (isset($map['settings'])) { $model->settings = $map['settings']; } if (isset($map['overtimeRedressBy'])) { $model->overtimeRedressBy = $map['overtimeRedressBy']; } if (isset($map['vacationRate'])) { $model->vacationRate = $map['vacationRate']; } if (isset($map['skipTime'])) { $model->skipTime = $map['skipTime']; } if (isset($map['skipTimeByFrames'])) { if (!empty($map['skipTimeByFrames'])) { $model->skipTimeByFrames = []; $n = 0; foreach ($map['skipTimeByFrames'] as $item) { $model->skipTimeByFrames[$n++] = null !== $item ? skipTimeByFrames::fromMap($item) : $item; } } } if (isset($map['skipTimeByDurations'])) { if (!empty($map['skipTimeByDurations'])) { $model->skipTimeByDurations = []; $n = 0; foreach ($map['skipTimeByDurations'] as $item) { $model->skipTimeByDurations[$n++] = null !== $item ? skipTimeByDurations::fromMap($item) : $item; } } } if (isset($map['holidayPlanOvertimeRedress'])) { $model->holidayPlanOvertimeRedress = $map['holidayPlanOvertimeRedress']; } if (isset($map['holidayPlanOvertimeRedressBy'])) { $model->holidayPlanOvertimeRedressBy = $map['holidayPlanOvertimeRedressBy']; } if (isset($map['holidayPlanVacationRate'])) { $model->holidayPlanVacationRate = $map['holidayPlanVacationRate']; } return $model; } } src/attendance_1_0/Models/ResultDurationSettingsValue/skipTimeByDurations.php 0000644 00000002143 14713400346 0023511 0 ustar 00 'duration', 'minus' => 'minus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->minus) { $res['minus'] = $this->minus; } return $res; } /** * @param array $map * * @return skipTimeByDurations */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['minus'])) { $model->minus = $map['minus']; } return $model; } } src/attendance_1_0/Models/ResultDurationSettingsValue/skipTimeByFrames.php 0000644 00000002604 14713400346 0022760 0 ustar 00 'startTime', 'endTime' => 'endTime', 'valid' => 'valid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->valid) { $res['valid'] = $this->valid; } return $res; } /** * @param array $map * * @return skipTimeByFrames */ public static function fromMap($map = []) { $model = new self(); if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['valid'])) { $model->valid = $map['valid']; } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesHeaders.php 0000644 00000002342 14713400346 0016557 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RetainLeaveTypesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesRequest.php 0000644 00000003104 14713400346 0016631 0 ustar 00 'leaveCodes', 'opUserId' => 'opUserId', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->leaveCodes) { $res['leaveCodes'] = $this->leaveCodes; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return RetainLeaveTypesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['leaveCodes'])) { if (!empty($map['leaveCodes'])) { $model->leaveCodes = $map['leaveCodes']; } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesResponse.php 0000644 00000002740 14713400346 0017004 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RetainLeaveTypesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RetainLeaveTypesResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesResponseBody.php 0000644 00000002621 14713400346 0017620 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RetainLeaveTypesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesResponseBody/result.php 0000644 00000017536 14713400346 0021151 0 ustar 00 'bizType', 'hoursInPerDay' => 'hoursInPerDay', 'leaveCertificate' => 'leaveCertificate', 'leaveCode' => 'leaveCode', 'leaveHourCeil' => 'leaveHourCeil', 'leaveName' => 'leaveName', 'leaveTimeCeil' => 'leaveTimeCeil', 'leaveTimeCeilMinUnit' => 'leaveTimeCeilMinUnit', 'leaveViewUnit' => 'leaveViewUnit', 'lieuDelayNum' => 'lieuDelayNum', 'lieuDelayUnit' => 'lieuDelayUnit', 'maxLeaveTime' => 'maxLeaveTime', 'minLeaveHour' => 'minLeaveHour', 'naturalDayLeave' => 'naturalDayLeave', 'paidLeave' => 'paidLeave', 'submitTimeRule' => 'submitTimeRule', 'visibilityRules' => 'visibilityRules', 'whenCanLeave' => 'whenCanLeave', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->hoursInPerDay) { $res['hoursInPerDay'] = $this->hoursInPerDay; } if (null !== $this->leaveCertificate) { $res['leaveCertificate'] = null !== $this->leaveCertificate ? $this->leaveCertificate->toMap() : null; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->leaveHourCeil) { $res['leaveHourCeil'] = $this->leaveHourCeil; } if (null !== $this->leaveName) { $res['leaveName'] = $this->leaveName; } if (null !== $this->leaveTimeCeil) { $res['leaveTimeCeil'] = $this->leaveTimeCeil; } if (null !== $this->leaveTimeCeilMinUnit) { $res['leaveTimeCeilMinUnit'] = $this->leaveTimeCeilMinUnit; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->lieuDelayNum) { $res['lieuDelayNum'] = $this->lieuDelayNum; } if (null !== $this->lieuDelayUnit) { $res['lieuDelayUnit'] = $this->lieuDelayUnit; } if (null !== $this->maxLeaveTime) { $res['maxLeaveTime'] = $this->maxLeaveTime; } if (null !== $this->minLeaveHour) { $res['minLeaveHour'] = $this->minLeaveHour; } if (null !== $this->naturalDayLeave) { $res['naturalDayLeave'] = $this->naturalDayLeave; } if (null !== $this->paidLeave) { $res['paidLeave'] = $this->paidLeave; } if (null !== $this->submitTimeRule) { $res['submitTimeRule'] = null !== $this->submitTimeRule ? $this->submitTimeRule->toMap() : null; } if (null !== $this->visibilityRules) { $res['visibilityRules'] = []; if (null !== $this->visibilityRules && \is_array($this->visibilityRules)) { $n = 0; foreach ($this->visibilityRules as $item) { $res['visibilityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->whenCanLeave) { $res['whenCanLeave'] = $this->whenCanLeave; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['hoursInPerDay'])) { $model->hoursInPerDay = $map['hoursInPerDay']; } if (isset($map['leaveCertificate'])) { $model->leaveCertificate = leaveCertificate::fromMap($map['leaveCertificate']); } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['leaveHourCeil'])) { $model->leaveHourCeil = $map['leaveHourCeil']; } if (isset($map['leaveName'])) { $model->leaveName = $map['leaveName']; } if (isset($map['leaveTimeCeil'])) { $model->leaveTimeCeil = $map['leaveTimeCeil']; } if (isset($map['leaveTimeCeilMinUnit'])) { $model->leaveTimeCeilMinUnit = $map['leaveTimeCeilMinUnit']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['lieuDelayNum'])) { $model->lieuDelayNum = $map['lieuDelayNum']; } if (isset($map['lieuDelayUnit'])) { $model->lieuDelayUnit = $map['lieuDelayUnit']; } if (isset($map['maxLeaveTime'])) { $model->maxLeaveTime = $map['maxLeaveTime']; } if (isset($map['minLeaveHour'])) { $model->minLeaveHour = $map['minLeaveHour']; } if (isset($map['naturalDayLeave'])) { $model->naturalDayLeave = $map['naturalDayLeave']; } if (isset($map['paidLeave'])) { $model->paidLeave = $map['paidLeave']; } if (isset($map['submitTimeRule'])) { $model->submitTimeRule = submitTimeRule::fromMap($map['submitTimeRule']); } if (isset($map['visibilityRules'])) { if (!empty($map['visibilityRules'])) { $model->visibilityRules = []; $n = 0; foreach ($map['visibilityRules'] as $item) { $model->visibilityRules[$n++] = null !== $item ? visibilityRules::fromMap($item) : $item; } } } if (isset($map['whenCanLeave'])) { $model->whenCanLeave = $map['whenCanLeave']; } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesResponseBody/result/leaveCertificate.php 0000644 00000003531 14713400346 0024376 0 ustar 00 'duration', 'enable' => 'enable', 'promptInformation' => 'promptInformation', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->promptInformation) { $res['promptInformation'] = $this->promptInformation; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return leaveCertificate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['promptInformation'])) { $model->promptInformation = $map['promptInformation']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesResponseBody/result/submitTimeRule.php 0000644 00000003551 14713400346 0024113 0 ustar 00 'enableTimeLimit', 'timeType' => 'timeType', 'timeUnit' => 'timeUnit', 'timeValue' => 'timeValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableTimeLimit) { $res['enableTimeLimit'] = $this->enableTimeLimit; } if (null !== $this->timeType) { $res['timeType'] = $this->timeType; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } if (null !== $this->timeValue) { $res['timeValue'] = $this->timeValue; } return $res; } /** * @param array $map * * @return submitTimeRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableTimeLimit'])) { $model->enableTimeLimit = $map['enableTimeLimit']; } if (isset($map['timeType'])) { $model->timeType = $map['timeType']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } if (isset($map['timeValue'])) { $model->timeValue = $map['timeValue']; } return $model; } } src/attendance_1_0/Models/RetainLeaveTypesResponseBody/result/visibilityRules.php 0000644 00000002262 14713400346 0024341 0 ustar 00 'type', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return visibilityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visible'])) { if (!empty($map['visible'])) { $model->visible = $map['visible']; } } return $model; } } src/attendance_1_0/Models/ReverseTrialAdvancedLeaveHeaders.php 0000644 00000002364 14713400346 0020351 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReverseTrialAdvancedLeaveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ReverseTrialAdvancedLeaveRequest.php 0000644 00000002267 14713400346 0020430 0 ustar 00 'opUserId', 'servCode' => 'servCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->servCode) { $res['servCode'] = $this->servCode; } return $res; } /** * @param array $map * * @return ReverseTrialAdvancedLeaveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['servCode'])) { $model->servCode = $map['servCode']; } return $model; } } src/attendance_1_0/Models/ReverseTrialAdvancedLeaveResponse.php 0000644 00000003004 14713400346 0020564 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReverseTrialAdvancedLeaveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReverseTrialAdvancedLeaveResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ReverseTrialAdvancedLeaveResponseBody.php 0000644 00000002153 14713400346 0021406 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ReverseTrialAdvancedLeaveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/SaveCustomWaterMarkTemplateHeaders.php 0000644 00000002370 14713400346 0020737 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveCustomWaterMarkTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/SaveCustomWaterMarkTemplateRequest.php 0000644 00000010416 14713400346 0021014 0 ustar 00 'bizCode', 'icon' => 'icon', 'layoutDesignId' => 'layoutDesignId', 'sceneCode' => 'sceneCode', 'schemaContent' => 'schemaContent', 'title' => 'title', 'openConversationId' => 'openConversationId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizCode) { $res['bizCode'] = $this->bizCode; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->layoutDesignId) { $res['layoutDesignId'] = $this->layoutDesignId; } if (null !== $this->sceneCode) { $res['sceneCode'] = $this->sceneCode; } if (null !== $this->schemaContent) { $res['schemaContent'] = $this->schemaContent; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SaveCustomWaterMarkTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizCode'])) { $model->bizCode = $map['bizCode']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['layoutDesignId'])) { $model->layoutDesignId = $map['layoutDesignId']; } if (isset($map['sceneCode'])) { $model->sceneCode = $map['sceneCode']; } if (isset($map['schemaContent'])) { $model->schemaContent = $map['schemaContent']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/attendance_1_0/Models/SaveCustomWaterMarkTemplateResponse.php 0000644 00000003014 14713400346 0021156 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveCustomWaterMarkTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveCustomWaterMarkTemplateResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/SaveCustomWaterMarkTemplateResponseBody.php 0000644 00000001772 14713400346 0022005 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return SaveCustomWaterMarkTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/SaveCustomWaterMarkTemplateResponseBody/result.php 0000644 00000002421 14713400346 0023313 0 ustar 00 'formCode', 'waterMarkId' => 'waterMarkId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->waterMarkId) { $res['waterMarkId'] = $this->waterMarkId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['waterMarkId'])) { $model->waterMarkId = $map['waterMarkId']; } return $model; } } src/attendance_1_0/Models/ShiftAddHeaders.php 0000644 00000002322 14713400346 0015017 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ShiftAddHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/ShiftAddRequest.php 0000644 00000006720 14713400346 0015102 0 ustar 00 'name', 'owner' => 'owner', 'sections' => 'sections', 'serviceId' => 'serviceId', 'setting' => 'setting', 'shiftId' => 'shiftId', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->owner) { $res['owner'] = $this->owner; } if (null !== $this->sections) { $res['sections'] = []; if (null !== $this->sections && \is_array($this->sections)) { $n = 0; foreach ($this->sections as $item) { $res['sections'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->serviceId) { $res['serviceId'] = $this->serviceId; } if (null !== $this->setting) { $res['setting'] = null !== $this->setting ? $this->setting->toMap() : null; } if (null !== $this->shiftId) { $res['shiftId'] = $this->shiftId; } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return ShiftAddRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['owner'])) { $model->owner = $map['owner']; } if (isset($map['sections'])) { if (!empty($map['sections'])) { $model->sections = []; $n = 0; foreach ($map['sections'] as $item) { $model->sections[$n++] = null !== $item ? sections::fromMap($item) : $item; } } } if (isset($map['serviceId'])) { $model->serviceId = $map['serviceId']; } if (isset($map['setting'])) { $model->setting = setting::fromMap($map['setting']); } if (isset($map['shiftId'])) { $model->shiftId = $map['shiftId']; } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/ShiftAddRequest/sections.php 0000644 00000002632 14713400346 0016727 0 ustar 00 'times', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->times) { $res['times'] = []; if (null !== $this->times && \is_array($this->times)) { $n = 0; foreach ($this->times as $item) { $res['times'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['times'])) { if (!empty($map['times'])) { $model->times = []; $n = 0; foreach ($map['times'] as $item) { $model->times[$n++] = null !== $item ? times::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/ShiftAddRequest/sections/times.php 0000644 00000005616 14713400346 0020055 0 ustar 00 'across', 'beginMin' => 'beginMin', 'checkTime' => 'checkTime', 'checkType' => 'checkType', 'endMin' => 'endMin', 'flexMinutes' => 'flexMinutes', 'freeCheck' => 'freeCheck', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->beginMin) { $res['beginMin'] = $this->beginMin; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->checkType) { $res['checkType'] = $this->checkType; } if (null !== $this->endMin) { $res['endMin'] = $this->endMin; } if (null !== $this->flexMinutes) { $res['flexMinutes'] = $this->flexMinutes; } if (null !== $this->freeCheck) { $res['freeCheck'] = $this->freeCheck; } return $res; } /** * @param array $map * * @return times */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['beginMin'])) { $model->beginMin = $map['beginMin']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['checkType'])) { $model->checkType = $map['checkType']; } if (isset($map['endMin'])) { $model->endMin = $map['endMin']; } if (isset($map['flexMinutes'])) { if (!empty($map['flexMinutes'])) { $model->flexMinutes = $map['flexMinutes']; } } if (isset($map['freeCheck'])) { $model->freeCheck = $map['freeCheck']; } return $model; } } src/attendance_1_0/Models/ShiftAddRequest/setting.php 0000644 00000011652 14713400346 0016557 0 ustar 00 'absenteeismLateMinutes', 'attendDays' => 'attendDays', 'demandWorkTimeMinutes' => 'demandWorkTimeMinutes', 'enableOutsideLateBack' => 'enableOutsideLateBack', 'extras' => 'extras', 'isFlexible' => 'isFlexible', 'lateBackSetting' => 'lateBackSetting', 'seriousLateMinutes' => 'seriousLateMinutes', 'tags' => 'tags', 'topRestTimeList' => 'topRestTimeList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->absenteeismLateMinutes) { $res['absenteeismLateMinutes'] = $this->absenteeismLateMinutes; } if (null !== $this->attendDays) { $res['attendDays'] = $this->attendDays; } if (null !== $this->demandWorkTimeMinutes) { $res['demandWorkTimeMinutes'] = $this->demandWorkTimeMinutes; } if (null !== $this->enableOutsideLateBack) { $res['enableOutsideLateBack'] = $this->enableOutsideLateBack; } if (null !== $this->extras) { $res['extras'] = $this->extras; } if (null !== $this->isFlexible) { $res['isFlexible'] = $this->isFlexible; } if (null !== $this->lateBackSetting) { $res['lateBackSetting'] = null !== $this->lateBackSetting ? $this->lateBackSetting->toMap() : null; } if (null !== $this->seriousLateMinutes) { $res['seriousLateMinutes'] = $this->seriousLateMinutes; } if (null !== $this->tags) { $res['tags'] = $this->tags; } if (null !== $this->topRestTimeList) { $res['topRestTimeList'] = []; if (null !== $this->topRestTimeList && \is_array($this->topRestTimeList)) { $n = 0; foreach ($this->topRestTimeList as $item) { $res['topRestTimeList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return setting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['absenteeismLateMinutes'])) { $model->absenteeismLateMinutes = $map['absenteeismLateMinutes']; } if (isset($map['attendDays'])) { $model->attendDays = $map['attendDays']; } if (isset($map['demandWorkTimeMinutes'])) { $model->demandWorkTimeMinutes = $map['demandWorkTimeMinutes']; } if (isset($map['enableOutsideLateBack'])) { $model->enableOutsideLateBack = $map['enableOutsideLateBack']; } if (isset($map['extras'])) { $model->extras = $map['extras']; } if (isset($map['isFlexible'])) { $model->isFlexible = $map['isFlexible']; } if (isset($map['lateBackSetting'])) { $model->lateBackSetting = lateBackSetting::fromMap($map['lateBackSetting']); } if (isset($map['seriousLateMinutes'])) { $model->seriousLateMinutes = $map['seriousLateMinutes']; } if (isset($map['tags'])) { $model->tags = $map['tags']; } if (isset($map['topRestTimeList'])) { if (!empty($map['topRestTimeList'])) { $model->topRestTimeList = []; $n = 0; foreach ($map['topRestTimeList'] as $item) { $model->topRestTimeList[$n++] = null !== $item ? topRestTimeList::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/ShiftAddRequest/setting/lateBackSetting.php 0000644 00000003314 14713400346 0021617 0 ustar 00 'enable', 'sections' => 'sections', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->sections) { $res['sections'] = []; if (null !== $this->sections && \is_array($this->sections)) { $n = 0; foreach ($this->sections as $item) { $res['sections'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return lateBackSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['sections'])) { if (!empty($map['sections'])) { $model->sections = []; $n = 0; foreach ($map['sections'] as $item) { $model->sections[$n++] = null !== $item ? sections::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/ShiftAddRequest/setting/lateBackSetting/sections.php 0000644 00000002150 14713400346 0023443 0 ustar 00 'extra', 'late' => 'late', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extra) { $res['extra'] = $this->extra; } if (null !== $this->late) { $res['late'] = $this->late; } return $res; } /** * @param array $map * * @return sections */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extra'])) { $model->extra = $map['extra']; } if (isset($map['late'])) { $model->late = $map['late']; } return $model; } } src/attendance_1_0/Models/ShiftAddRequest/setting/topRestTimeList.php 0000644 00000002756 14713400346 0021677 0 ustar 00 'across', 'checkTime' => 'checkTime', 'checkType' => 'checkType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->across) { $res['across'] = $this->across; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->checkType) { $res['checkType'] = $this->checkType; } return $res; } /** * @param array $map * * @return topRestTimeList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['across'])) { $model->across = $map['across']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['checkType'])) { $model->checkType = $map['checkType']; } return $model; } } src/attendance_1_0/Models/ShiftAddResponse.php 0000644 00000002700 14713400346 0015242 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ShiftAddResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ShiftAddResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/ShiftAddResponseBody.php 0000644 00000002327 14713400346 0016065 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ShiftAddResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/attendance_1_0/Models/ShiftAddResponseBody/result.php 0000644 00000002155 14713400346 0017402 0 ustar 00 'name', 'shiftId' => 'shiftId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->shiftId) { $res['shiftId'] = $this->shiftId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['shiftId'])) { $model->shiftId = $map['shiftId']; } return $model; } } src/attendance_1_0/Models/SyncScheduleInfoHeaders.php 0000644 00000002342 14713400346 0016540 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncScheduleInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/SyncScheduleInfoRequest.php 0000644 00000003623 14713400346 0016620 0 ustar 00 'opUserId', 'scheduleInfos' => 'scheduleInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } if (null !== $this->scheduleInfos) { $res['scheduleInfos'] = []; if (null !== $this->scheduleInfos && \is_array($this->scheduleInfos)) { $n = 0; foreach ($this->scheduleInfos as $item) { $res['scheduleInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SyncScheduleInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } if (isset($map['scheduleInfos'])) { if (!empty($map['scheduleInfos'])) { $model->scheduleInfos = []; $n = 0; foreach ($map['scheduleInfos'] as $item) { $model->scheduleInfos[$n++] = null !== $item ? scheduleInfos::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/SyncScheduleInfoRequest/scheduleInfos.php 0000644 00000004023 14713400346 0021406 0 ustar 00 'planId', 'positionKeys' => 'positionKeys', 'retainAttendanceCheck' => 'retainAttendanceCheck', 'wifiKeys' => 'wifiKeys', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->planId) { $res['planId'] = $this->planId; } if (null !== $this->positionKeys) { $res['positionKeys'] = $this->positionKeys; } if (null !== $this->retainAttendanceCheck) { $res['retainAttendanceCheck'] = $this->retainAttendanceCheck; } if (null !== $this->wifiKeys) { $res['wifiKeys'] = $this->wifiKeys; } return $res; } /** * @param array $map * * @return scheduleInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['planId'])) { $model->planId = $map['planId']; } if (isset($map['positionKeys'])) { if (!empty($map['positionKeys'])) { $model->positionKeys = $map['positionKeys']; } } if (isset($map['retainAttendanceCheck'])) { $model->retainAttendanceCheck = $map['retainAttendanceCheck']; } if (isset($map['wifiKeys'])) { if (!empty($map['wifiKeys'])) { $model->wifiKeys = $map['wifiKeys']; } } return $model; } } src/attendance_1_0/Models/SyncScheduleInfoResponse.php 0000644 00000002172 14713400346 0016764 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return SyncScheduleInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeHeaders.php 0000644 00000002340 14713400346 0016372 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateLeaveTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeRequest.php 0000644 00000013037 14713400346 0016454 0 ustar 00 'bizType', 'extras' => 'extras', 'hoursInPerDay' => 'hoursInPerDay', 'leaveCertificate' => 'leaveCertificate', 'leaveCode' => 'leaveCode', 'leaveName' => 'leaveName', 'leaveViewUnit' => 'leaveViewUnit', 'naturalDayLeave' => 'naturalDayLeave', 'submitTimeRule' => 'submitTimeRule', 'visibilityRules' => 'visibilityRules', 'opUserId' => 'opUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->extras) { $res['extras'] = $this->extras; } if (null !== $this->hoursInPerDay) { $res['hoursInPerDay'] = $this->hoursInPerDay; } if (null !== $this->leaveCertificate) { $res['leaveCertificate'] = null !== $this->leaveCertificate ? $this->leaveCertificate->toMap() : null; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->leaveName) { $res['leaveName'] = $this->leaveName; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->naturalDayLeave) { $res['naturalDayLeave'] = $this->naturalDayLeave; } if (null !== $this->submitTimeRule) { $res['submitTimeRule'] = null !== $this->submitTimeRule ? $this->submitTimeRule->toMap() : null; } if (null !== $this->visibilityRules) { $res['visibilityRules'] = []; if (null !== $this->visibilityRules && \is_array($this->visibilityRules)) { $n = 0; foreach ($this->visibilityRules as $item) { $res['visibilityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->opUserId) { $res['opUserId'] = $this->opUserId; } return $res; } /** * @param array $map * * @return UpdateLeaveTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['extras'])) { $model->extras = $map['extras']; } if (isset($map['hoursInPerDay'])) { $model->hoursInPerDay = $map['hoursInPerDay']; } if (isset($map['leaveCertificate'])) { $model->leaveCertificate = leaveCertificate::fromMap($map['leaveCertificate']); } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['leaveName'])) { $model->leaveName = $map['leaveName']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['naturalDayLeave'])) { $model->naturalDayLeave = $map['naturalDayLeave']; } if (isset($map['submitTimeRule'])) { $model->submitTimeRule = submitTimeRule::fromMap($map['submitTimeRule']); } if (isset($map['visibilityRules'])) { if (!empty($map['visibilityRules'])) { $model->visibilityRules = []; $n = 0; foreach ($map['visibilityRules'] as $item) { $model->visibilityRules[$n++] = null !== $item ? visibilityRules::fromMap($item) : $item; } } } if (isset($map['opUserId'])) { $model->opUserId = $map['opUserId']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeRequest/leaveCertificate.php 0000644 00000003545 14713400346 0021716 0 ustar 00 'duration', 'enable' => 'enable', 'promptInformation' => 'promptInformation', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->promptInformation) { $res['promptInformation'] = $this->promptInformation; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return leaveCertificate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['promptInformation'])) { $model->promptInformation = $map['promptInformation']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeRequest/submitTimeRule.php 0000644 00000003567 14713400346 0021435 0 ustar 00 'enableTimeLimit', 'timeType' => 'timeType', 'timeUnit' => 'timeUnit', 'timeValue' => 'timeValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableTimeLimit) { $res['enableTimeLimit'] = $this->enableTimeLimit; } if (null !== $this->timeType) { $res['timeType'] = $this->timeType; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } if (null !== $this->timeValue) { $res['timeValue'] = $this->timeValue; } return $res; } /** * @param array $map * * @return submitTimeRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableTimeLimit'])) { $model->enableTimeLimit = $map['enableTimeLimit']; } if (isset($map['timeType'])) { $model->timeType = $map['timeType']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } if (isset($map['timeValue'])) { $model->timeValue = $map['timeValue']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeRequest/visibilityRules.php 0000644 00000002246 14713400346 0021656 0 ustar 00 'type', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return visibilityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visible'])) { if (!empty($map['visible'])) { $model->visible = $map['visible']; } } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeResponse.php 0000644 00000002734 14713400346 0016624 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateLeaveTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateLeaveTypeResponseBody::fromMap($map['body']); } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeResponseBody.php 0000644 00000002015 14713400346 0017432 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateLeaveTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeResponseBody/result.php 0000644 00000011263 14713400346 0020755 0 ustar 00 'bizType', 'hoursInPerDay' => 'hoursInPerDay', 'leaveCertificate' => 'leaveCertificate', 'leaveCode' => 'leaveCode', 'leaveName' => 'leaveName', 'leaveViewUnit' => 'leaveViewUnit', 'naturalDayLeave' => 'naturalDayLeave', 'submitTimeRule' => 'submitTimeRule', 'visibilityRules' => 'visibilityRules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->hoursInPerDay) { $res['hoursInPerDay'] = $this->hoursInPerDay; } if (null !== $this->leaveCertificate) { $res['leaveCertificate'] = null !== $this->leaveCertificate ? $this->leaveCertificate->toMap() : null; } if (null !== $this->leaveCode) { $res['leaveCode'] = $this->leaveCode; } if (null !== $this->leaveName) { $res['leaveName'] = $this->leaveName; } if (null !== $this->leaveViewUnit) { $res['leaveViewUnit'] = $this->leaveViewUnit; } if (null !== $this->naturalDayLeave) { $res['naturalDayLeave'] = $this->naturalDayLeave; } if (null !== $this->submitTimeRule) { $res['submitTimeRule'] = null !== $this->submitTimeRule ? $this->submitTimeRule->toMap() : null; } if (null !== $this->visibilityRules) { $res['visibilityRules'] = []; if (null !== $this->visibilityRules && \is_array($this->visibilityRules)) { $n = 0; foreach ($this->visibilityRules as $item) { $res['visibilityRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['hoursInPerDay'])) { $model->hoursInPerDay = $map['hoursInPerDay']; } if (isset($map['leaveCertificate'])) { $model->leaveCertificate = leaveCertificate::fromMap($map['leaveCertificate']); } if (isset($map['leaveCode'])) { $model->leaveCode = $map['leaveCode']; } if (isset($map['leaveName'])) { $model->leaveName = $map['leaveName']; } if (isset($map['leaveViewUnit'])) { $model->leaveViewUnit = $map['leaveViewUnit']; } if (isset($map['naturalDayLeave'])) { $model->naturalDayLeave = $map['naturalDayLeave']; } if (isset($map['submitTimeRule'])) { $model->submitTimeRule = submitTimeRule::fromMap($map['submitTimeRule']); } if (isset($map['visibilityRules'])) { if (!empty($map['visibilityRules'])) { $model->visibilityRules = []; $n = 0; foreach ($map['visibilityRules'] as $item) { $model->visibilityRules[$n++] = null !== $item ? visibilityRules::fromMap($item) : $item; } } } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeResponseBody/result/leaveCertificate.php 0000644 00000003561 14713400346 0024216 0 ustar 00 'duration', 'enable' => 'enable', 'promptInformation' => 'promptInformation', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->enable) { $res['enable'] = $this->enable; } if (null !== $this->promptInformation) { $res['promptInformation'] = $this->promptInformation; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return leaveCertificate */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['enable'])) { $model->enable = $map['enable']; } if (isset($map['promptInformation'])) { $model->promptInformation = $map['promptInformation']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeResponseBody/result/submitTimeRule.php 0000644 00000003604 14713400346 0023727 0 ustar 00 'enableTimeLimit', 'timeType' => 'timeType', 'timeUnit' => 'timeUnit', 'timeValue' => 'timeValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableTimeLimit) { $res['enableTimeLimit'] = $this->enableTimeLimit; } if (null !== $this->timeType) { $res['timeType'] = $this->timeType; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } if (null !== $this->timeValue) { $res['timeValue'] = $this->timeValue; } return $res; } /** * @param array $map * * @return submitTimeRule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableTimeLimit'])) { $model->enableTimeLimit = $map['enableTimeLimit']; } if (isset($map['timeType'])) { $model->timeType = $map['timeType']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } if (isset($map['timeValue'])) { $model->timeValue = $map['timeValue']; } return $model; } } src/attendance_1_0/Models/UpdateLeaveTypeResponseBody/result/visibilityRules.php 0000644 00000002262 14713400346 0024156 0 ustar 00 'type', 'visible' => 'visible', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visible) { $res['visible'] = $this->visible; } return $res; } /** * @param array $map * * @return visibilityRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visible'])) { if (!empty($map['visible'])) { $model->visible = $map['visible']; } } return $model; } } src/badge_1_0/Dingtalk.php 0000644 00000066012 14713400346 0011311 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建钉工牌码用户实例 * * * @param CreateBadgeCodeUserInstanceRequest $request CreateBadgeCodeUserInstanceRequest * @param CreateBadgeCodeUserInstanceHeaders $headers CreateBadgeCodeUserInstanceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateBadgeCodeUserInstanceResponse CreateBadgeCodeUserInstanceResponse */ public function createBadgeCodeUserInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->availableTimes)) { $body['availableTimes'] = $request->availableTimes; } if (!Utils::isUnset($request->codeIdentity)) { $body['codeIdentity'] = $request->codeIdentity; } if (!Utils::isUnset($request->codeValue)) { $body['codeValue'] = $request->codeValue; } if (!Utils::isUnset($request->codeValueType)) { $body['codeValueType'] = $request->codeValueType; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extInfo)) { $body['extInfo'] = $request->extInfo; } if (!Utils::isUnset($request->gmtExpired)) { $body['gmtExpired'] = $request->gmtExpired; } if (!Utils::isUnset($request->requestId)) { $body['requestId'] = $request->requestId; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->userCorpRelationType)) { $body['userCorpRelationType'] = $request->userCorpRelationType; } if (!Utils::isUnset($request->userIdentity)) { $body['userIdentity'] = $request->userIdentity; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateBadgeCodeUserInstance', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/userInstances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateBadgeCodeUserInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建钉工牌码用户实例 * * * @param CreateBadgeCodeUserInstanceRequest $request CreateBadgeCodeUserInstanceRequest * * @return CreateBadgeCodeUserInstanceResponse CreateBadgeCodeUserInstanceResponse */ public function createBadgeCodeUserInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateBadgeCodeUserInstanceHeaders([]); return $this->createBadgeCodeUserInstanceWithOptions($request, $headers, $runtime); } /** * @summary 创建钉工牌通知消息 * * * @param CreateBadgeNotifyRequest $request CreateBadgeNotifyRequest * @param CreateBadgeNotifyHeaders $headers CreateBadgeNotifyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateBadgeNotifyResponse CreateBadgeNotifyResponse */ public function createBadgeNotifyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->msgId)) { $body['msgId'] = $request->msgId; } if (!Utils::isUnset($request->msgType)) { $body['msgType'] = $request->msgType; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateBadgeNotify', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/notices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateBadgeNotifyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建钉工牌通知消息 * * * @param CreateBadgeNotifyRequest $request CreateBadgeNotifyRequest * * @return CreateBadgeNotifyResponse CreateBadgeNotifyResponse */ public function createBadgeNotify($request) { $runtime = new RuntimeOptions([]); $headers = new CreateBadgeNotifyHeaders([]); return $this->createBadgeNotifyWithOptions($request, $headers, $runtime); } /** * @summary 钉工牌解码 * * * @param DecodeBadgeCodeRequest $request DecodeBadgeCodeRequest * @param DecodeBadgeCodeHeaders $headers DecodeBadgeCodeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DecodeBadgeCodeResponse DecodeBadgeCodeResponse */ public function decodeBadgeCodeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->payCode)) { $body['payCode'] = $request->payCode; } if (!Utils::isUnset($request->requestId)) { $body['requestId'] = $request->requestId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DecodeBadgeCode', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/decode', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DecodeBadgeCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 钉工牌解码 * * * @param DecodeBadgeCodeRequest $request DecodeBadgeCodeRequest * * @return DecodeBadgeCodeResponse DecodeBadgeCodeResponse */ public function decodeBadgeCode($request) { $runtime = new RuntimeOptions([]); $headers = new DecodeBadgeCodeHeaders([]); return $this->decodeBadgeCodeWithOptions($request, $headers, $runtime); } /** * @summary 通知钉工牌码付款结果 * * * @param NotifyBadgeCodePayResultRequest $request NotifyBadgeCodePayResultRequest * @param NotifyBadgeCodePayResultHeaders $headers NotifyBadgeCodePayResultHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return NotifyBadgeCodePayResultResponse NotifyBadgeCodePayResultResponse */ public function notifyBadgeCodePayResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->amount)) { $body['amount'] = $request->amount; } if (!Utils::isUnset($request->chargeAmount)) { $body['chargeAmount'] = $request->chargeAmount; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extInfo)) { $body['extInfo'] = $request->extInfo; } if (!Utils::isUnset($request->gmtTradeCreate)) { $body['gmtTradeCreate'] = $request->gmtTradeCreate; } if (!Utils::isUnset($request->gmtTradeFinish)) { $body['gmtTradeFinish'] = $request->gmtTradeFinish; } if (!Utils::isUnset($request->merchantName)) { $body['merchantName'] = $request->merchantName; } if (!Utils::isUnset($request->payChannelDetailList)) { $body['payChannelDetailList'] = $request->payChannelDetailList; } if (!Utils::isUnset($request->payCode)) { $body['payCode'] = $request->payCode; } if (!Utils::isUnset($request->promotionAmount)) { $body['promotionAmount'] = $request->promotionAmount; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->tradeErrorCode)) { $body['tradeErrorCode'] = $request->tradeErrorCode; } if (!Utils::isUnset($request->tradeErrorMsg)) { $body['tradeErrorMsg'] = $request->tradeErrorMsg; } if (!Utils::isUnset($request->tradeNo)) { $body['tradeNo'] = $request->tradeNo; } if (!Utils::isUnset($request->tradeStatus)) { $body['tradeStatus'] = $request->tradeStatus; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'NotifyBadgeCodePayResult', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/payResults', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return NotifyBadgeCodePayResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通知钉工牌码付款结果 * * * @param NotifyBadgeCodePayResultRequest $request NotifyBadgeCodePayResultRequest * * @return NotifyBadgeCodePayResultResponse NotifyBadgeCodePayResultResponse */ public function notifyBadgeCodePayResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyBadgeCodePayResultHeaders([]); return $this->notifyBadgeCodePayResultWithOptions($request, $headers, $runtime); } /** * @summary 通知钉工牌码退款结果 * * * @param NotifyBadgeCodeRefundResultRequest $request NotifyBadgeCodeRefundResultRequest * @param NotifyBadgeCodeRefundResultHeaders $headers NotifyBadgeCodeRefundResultHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return NotifyBadgeCodeRefundResultResponse NotifyBadgeCodeRefundResultResponse */ public function notifyBadgeCodeRefundResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->gmtRefund)) { $body['gmtRefund'] = $request->gmtRefund; } if (!Utils::isUnset($request->payChannelDetailList)) { $body['payChannelDetailList'] = $request->payChannelDetailList; } if (!Utils::isUnset($request->payCode)) { $body['payCode'] = $request->payCode; } if (!Utils::isUnset($request->refundAmount)) { $body['refundAmount'] = $request->refundAmount; } if (!Utils::isUnset($request->refundOrderNo)) { $body['refundOrderNo'] = $request->refundOrderNo; } if (!Utils::isUnset($request->refundPromotionAmount)) { $body['refundPromotionAmount'] = $request->refundPromotionAmount; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->tradeNo)) { $body['tradeNo'] = $request->tradeNo; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'NotifyBadgeCodeRefundResult', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/refundResults', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return NotifyBadgeCodeRefundResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通知钉工牌码退款结果 * * * @param NotifyBadgeCodeRefundResultRequest $request NotifyBadgeCodeRefundResultRequest * * @return NotifyBadgeCodeRefundResultResponse NotifyBadgeCodeRefundResultResponse */ public function notifyBadgeCodeRefundResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyBadgeCodeRefundResultHeaders([]); return $this->notifyBadgeCodeRefundResultWithOptions($request, $headers, $runtime); } /** * @summary 通知钉工牌码验证结果 * * * @param NotifyBadgeCodeVerifyResultRequest $request NotifyBadgeCodeVerifyResultRequest * @param NotifyBadgeCodeVerifyResultHeaders $headers NotifyBadgeCodeVerifyResultHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return NotifyBadgeCodeVerifyResultResponse NotifyBadgeCodeVerifyResultResponse */ public function notifyBadgeCodeVerifyResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->payCode)) { $body['payCode'] = $request->payCode; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->userCorpRelationType)) { $body['userCorpRelationType'] = $request->userCorpRelationType; } if (!Utils::isUnset($request->userIdentity)) { $body['userIdentity'] = $request->userIdentity; } if (!Utils::isUnset($request->verifyEvent)) { $body['verifyEvent'] = $request->verifyEvent; } if (!Utils::isUnset($request->verifyLocation)) { $body['verifyLocation'] = $request->verifyLocation; } if (!Utils::isUnset($request->verifyNo)) { $body['verifyNo'] = $request->verifyNo; } if (!Utils::isUnset($request->verifyResult)) { $body['verifyResult'] = $request->verifyResult; } if (!Utils::isUnset($request->verifyTime)) { $body['verifyTime'] = $request->verifyTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'NotifyBadgeCodeVerifyResult', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/verifyResults', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return NotifyBadgeCodeVerifyResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通知钉工牌码验证结果 * * * @param NotifyBadgeCodeVerifyResultRequest $request NotifyBadgeCodeVerifyResultRequest * * @return NotifyBadgeCodeVerifyResultResponse NotifyBadgeCodeVerifyResultResponse */ public function notifyBadgeCodeVerifyResult($request) { $runtime = new RuntimeOptions([]); $headers = new NotifyBadgeCodeVerifyResultHeaders([]); return $this->notifyBadgeCodeVerifyResultWithOptions($request, $headers, $runtime); } /** * @summary 保存钉工牌企业实例 * * * @param SaveBadgeCodeCorpInstanceRequest $request SaveBadgeCodeCorpInstanceRequest * @param SaveBadgeCodeCorpInstanceHeaders $headers SaveBadgeCodeCorpInstanceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SaveBadgeCodeCorpInstanceResponse SaveBadgeCodeCorpInstanceResponse */ public function saveBadgeCodeCorpInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->codeIdentity)) { $body['codeIdentity'] = $request->codeIdentity; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extInfo)) { $body['extInfo'] = $request->extInfo; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveBadgeCodeCorpInstance', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/corpInstances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveBadgeCodeCorpInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 保存钉工牌企业实例 * * * @param SaveBadgeCodeCorpInstanceRequest $request SaveBadgeCodeCorpInstanceRequest * * @return SaveBadgeCodeCorpInstanceResponse SaveBadgeCodeCorpInstanceResponse */ public function saveBadgeCodeCorpInstance($request) { $runtime = new RuntimeOptions([]); $headers = new SaveBadgeCodeCorpInstanceHeaders([]); return $this->saveBadgeCodeCorpInstanceWithOptions($request, $headers, $runtime); } /** * @summary 更新钉工牌码用户实例 * * * @param UpdateBadgeCodeUserInstanceRequest $request UpdateBadgeCodeUserInstanceRequest * @param UpdateBadgeCodeUserInstanceHeaders $headers UpdateBadgeCodeUserInstanceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateBadgeCodeUserInstanceResponse UpdateBadgeCodeUserInstanceResponse */ public function updateBadgeCodeUserInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->availableTimes)) { $body['availableTimes'] = $request->availableTimes; } if (!Utils::isUnset($request->codeId)) { $body['codeId'] = $request->codeId; } if (!Utils::isUnset($request->codeIdentity)) { $body['codeIdentity'] = $request->codeIdentity; } if (!Utils::isUnset($request->codeValue)) { $body['codeValue'] = $request->codeValue; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extInfo)) { $body['extInfo'] = $request->extInfo; } if (!Utils::isUnset($request->gmtExpired)) { $body['gmtExpired'] = $request->gmtExpired; } if (!Utils::isUnset($request->status)) { $body['status'] = $request->status; } if (!Utils::isUnset($request->userCorpRelationType)) { $body['userCorpRelationType'] = $request->userCorpRelationType; } if (!Utils::isUnset($request->userIdentity)) { $body['userIdentity'] = $request->userIdentity; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateBadgeCodeUserInstance', 'version' => 'badge_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/badge/codes/userInstances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateBadgeCodeUserInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新钉工牌码用户实例 * * * @param UpdateBadgeCodeUserInstanceRequest $request UpdateBadgeCodeUserInstanceRequest * * @return UpdateBadgeCodeUserInstanceResponse UpdateBadgeCodeUserInstanceResponse */ public function updateBadgeCodeUserInstance($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBadgeCodeUserInstanceHeaders([]); return $this->updateBadgeCodeUserInstanceWithOptions($request, $headers, $runtime); } } src/badge_1_0/Models/CreateBadgeCodeUserInstanceHeaders.php 0000644 00000002363 14713400346 0017537 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateBadgeCodeUserInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/CreateBadgeCodeUserInstanceRequest.php 0000644 00000012652 14713400346 0017616 0 ustar 00 'availableTimes', 'codeIdentity' => 'codeIdentity', 'codeValue' => 'codeValue', 'codeValueType' => 'codeValueType', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'gmtExpired' => 'gmtExpired', 'requestId' => 'requestId', 'status' => 'status', 'userCorpRelationType' => 'userCorpRelationType', 'userIdentity' => 'userIdentity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->availableTimes) { $res['availableTimes'] = []; if (null !== $this->availableTimes && \is_array($this->availableTimes)) { $n = 0; foreach ($this->availableTimes as $item) { $res['availableTimes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->codeIdentity) { $res['codeIdentity'] = $this->codeIdentity; } if (null !== $this->codeValue) { $res['codeValue'] = $this->codeValue; } if (null !== $this->codeValueType) { $res['codeValueType'] = $this->codeValueType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->gmtExpired) { $res['gmtExpired'] = $this->gmtExpired; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userCorpRelationType) { $res['userCorpRelationType'] = $this->userCorpRelationType; } if (null !== $this->userIdentity) { $res['userIdentity'] = $this->userIdentity; } return $res; } /** * @param array $map * * @return CreateBadgeCodeUserInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['availableTimes'])) { if (!empty($map['availableTimes'])) { $model->availableTimes = []; $n = 0; foreach ($map['availableTimes'] as $item) { $model->availableTimes[$n++] = null !== $item ? availableTimes::fromMap($item) : $item; } } } if (isset($map['codeIdentity'])) { $model->codeIdentity = $map['codeIdentity']; } if (isset($map['codeValue'])) { $model->codeValue = $map['codeValue']; } if (isset($map['codeValueType'])) { $model->codeValueType = $map['codeValueType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['gmtExpired'])) { $model->gmtExpired = $map['gmtExpired']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userCorpRelationType'])) { $model->userCorpRelationType = $map['userCorpRelationType']; } if (isset($map['userIdentity'])) { $model->userIdentity = $map['userIdentity']; } return $model; } } src/badge_1_0/Models/CreateBadgeCodeUserInstanceRequest/availableTimes.php 0000644 00000002455 14713400346 0022540 0 ustar 00 'gmtEnd', 'gmtStart' => 'gmtStart', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtEnd) { $res['gmtEnd'] = $this->gmtEnd; } if (null !== $this->gmtStart) { $res['gmtStart'] = $this->gmtStart; } return $res; } /** * @param array $map * * @return availableTimes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtEnd'])) { $model->gmtEnd = $map['gmtEnd']; } if (isset($map['gmtStart'])) { $model->gmtStart = $map['gmtStart']; } return $model; } } src/badge_1_0/Models/CreateBadgeCodeUserInstanceResponse.php 0000644 00000003007 14713400346 0017756 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateBadgeCodeUserInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateBadgeCodeUserInstanceResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/CreateBadgeCodeUserInstanceResponseBody.php 0000644 00000002403 14713400346 0020573 0 ustar 00 'codeDetailUrl', 'codeId' => 'codeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->codeDetailUrl) { $res['codeDetailUrl'] = $this->codeDetailUrl; } if (null !== $this->codeId) { $res['codeId'] = $this->codeId; } return $res; } /** * @param array $map * * @return CreateBadgeCodeUserInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['codeDetailUrl'])) { $model->codeDetailUrl = $map['codeDetailUrl']; } if (isset($map['codeId'])) { $model->codeId = $map['codeId']; } return $model; } } src/badge_1_0/Models/CreateBadgeNotifyHeaders.php 0000644 00000002337 14713400346 0015612 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateBadgeNotifyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/CreateBadgeNotifyRequest.php 0000644 00000003512 14713400346 0015663 0 ustar 00 'content', 'msgId' => 'msgId', 'msgType' => 'msgType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->msgId) { $res['msgId'] = $this->msgId; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateBadgeNotifyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['msgId'])) { $model->msgId = $map['msgId']; } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/badge_1_0/Models/CreateBadgeNotifyResponse.php 0000644 00000002737 14713400346 0016041 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateBadgeNotifyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateBadgeNotifyResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/CreateBadgeNotifyResponseBody.php 0000644 00000001626 14713400346 0016653 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateBadgeNotifyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/badge_1_0/Models/DecodeBadgeCodeHeaders.php 0000644 00000002333 14713400346 0015170 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DecodeBadgeCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/DecodeBadgeCodeRequest.php 0000644 00000002326 14713400346 0015247 0 ustar 00 'payCode', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->payCode) { $res['payCode'] = $this->payCode; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DecodeBadgeCodeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['payCode'])) { $model->payCode = $map['payCode']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/badge_1_0/Models/DecodeBadgeCodeResponse.php 0000644 00000002727 14713400346 0015422 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DecodeBadgeCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DecodeBadgeCodeResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/DecodeBadgeCodeResponseBody.php 0000644 00000007452 14713400346 0016240 0 ustar 00 'alipayCode', 'codeId' => 'codeId', 'codeIdentity' => 'codeIdentity', 'codeType' => 'codeType', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'outBizId' => 'outBizId', 'userCorpRelationType' => 'userCorpRelationType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alipayCode) { $res['alipayCode'] = $this->alipayCode; } if (null !== $this->codeId) { $res['codeId'] = $this->codeId; } if (null !== $this->codeIdentity) { $res['codeIdentity'] = $this->codeIdentity; } if (null !== $this->codeType) { $res['codeType'] = $this->codeType; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->outBizId) { $res['outBizId'] = $this->outBizId; } if (null !== $this->userCorpRelationType) { $res['userCorpRelationType'] = $this->userCorpRelationType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DecodeBadgeCodeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alipayCode'])) { $model->alipayCode = $map['alipayCode']; } if (isset($map['codeId'])) { $model->codeId = $map['codeId']; } if (isset($map['codeIdentity'])) { $model->codeIdentity = $map['codeIdentity']; } if (isset($map['codeType'])) { $model->codeType = $map['codeType']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['outBizId'])) { $model->outBizId = $map['outBizId']; } if (isset($map['userCorpRelationType'])) { $model->userCorpRelationType = $map['userCorpRelationType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodePayResultHeaders.php 0000644 00000002355 14713400346 0017132 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyBadgeCodePayResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodePayResultRequest.php 0000644 00000017624 14713400346 0017214 0 ustar 00 'amount', 'chargeAmount' => 'chargeAmount', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'gmtTradeCreate' => 'gmtTradeCreate', 'gmtTradeFinish' => 'gmtTradeFinish', 'merchantName' => 'merchantName', 'payChannelDetailList' => 'payChannelDetailList', 'payCode' => 'payCode', 'promotionAmount' => 'promotionAmount', 'remark' => 'remark', 'title' => 'title', 'tradeErrorCode' => 'tradeErrorCode', 'tradeErrorMsg' => 'tradeErrorMsg', 'tradeNo' => 'tradeNo', 'tradeStatus' => 'tradeStatus', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->chargeAmount) { $res['chargeAmount'] = $this->chargeAmount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->gmtTradeCreate) { $res['gmtTradeCreate'] = $this->gmtTradeCreate; } if (null !== $this->gmtTradeFinish) { $res['gmtTradeFinish'] = $this->gmtTradeFinish; } if (null !== $this->merchantName) { $res['merchantName'] = $this->merchantName; } if (null !== $this->payChannelDetailList) { $res['payChannelDetailList'] = []; if (null !== $this->payChannelDetailList && \is_array($this->payChannelDetailList)) { $n = 0; foreach ($this->payChannelDetailList as $item) { $res['payChannelDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payCode) { $res['payCode'] = $this->payCode; } if (null !== $this->promotionAmount) { $res['promotionAmount'] = $this->promotionAmount; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->tradeErrorCode) { $res['tradeErrorCode'] = $this->tradeErrorCode; } if (null !== $this->tradeErrorMsg) { $res['tradeErrorMsg'] = $this->tradeErrorMsg; } if (null !== $this->tradeNo) { $res['tradeNo'] = $this->tradeNo; } if (null !== $this->tradeStatus) { $res['tradeStatus'] = $this->tradeStatus; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return NotifyBadgeCodePayResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['chargeAmount'])) { $model->chargeAmount = $map['chargeAmount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['gmtTradeCreate'])) { $model->gmtTradeCreate = $map['gmtTradeCreate']; } if (isset($map['gmtTradeFinish'])) { $model->gmtTradeFinish = $map['gmtTradeFinish']; } if (isset($map['merchantName'])) { $model->merchantName = $map['merchantName']; } if (isset($map['payChannelDetailList'])) { if (!empty($map['payChannelDetailList'])) { $model->payChannelDetailList = []; $n = 0; foreach ($map['payChannelDetailList'] as $item) { $model->payChannelDetailList[$n++] = null !== $item ? payChannelDetailList::fromMap($item) : $item; } } } if (isset($map['payCode'])) { $model->payCode = $map['payCode']; } if (isset($map['promotionAmount'])) { $model->promotionAmount = $map['promotionAmount']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['tradeErrorCode'])) { $model->tradeErrorCode = $map['tradeErrorCode']; } if (isset($map['tradeErrorMsg'])) { $model->tradeErrorMsg = $map['tradeErrorMsg']; } if (isset($map['tradeNo'])) { $model->tradeNo = $map['tradeNo']; } if (isset($map['tradeStatus'])) { $model->tradeStatus = $map['tradeStatus']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodePayResultRequest/payChannelDetailList.php 0000644 00000010714 14713400346 0023246 0 ustar 00 'amount', 'fundToolDetailList' => 'fundToolDetailList', 'gmtCreate' => 'gmtCreate', 'gmtFinish' => 'gmtFinish', 'payChannelName' => 'payChannelName', 'payChannelOrderNo' => 'payChannelOrderNo', 'payChannelType' => 'payChannelType', 'promotionAmount' => 'promotionAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->fundToolDetailList) { $res['fundToolDetailList'] = []; if (null !== $this->fundToolDetailList && \is_array($this->fundToolDetailList)) { $n = 0; foreach ($this->fundToolDetailList as $item) { $res['fundToolDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtFinish) { $res['gmtFinish'] = $this->gmtFinish; } if (null !== $this->payChannelName) { $res['payChannelName'] = $this->payChannelName; } if (null !== $this->payChannelOrderNo) { $res['payChannelOrderNo'] = $this->payChannelOrderNo; } if (null !== $this->payChannelType) { $res['payChannelType'] = $this->payChannelType; } if (null !== $this->promotionAmount) { $res['promotionAmount'] = $this->promotionAmount; } return $res; } /** * @param array $map * * @return payChannelDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['fundToolDetailList'])) { if (!empty($map['fundToolDetailList'])) { $model->fundToolDetailList = []; $n = 0; foreach ($map['fundToolDetailList'] as $item) { $model->fundToolDetailList[$n++] = null !== $item ? fundToolDetailList::fromMap($item) : $item; } } } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtFinish'])) { $model->gmtFinish = $map['gmtFinish']; } if (isset($map['payChannelName'])) { $model->payChannelName = $map['payChannelName']; } if (isset($map['payChannelOrderNo'])) { $model->payChannelOrderNo = $map['payChannelOrderNo']; } if (isset($map['payChannelType'])) { $model->payChannelType = $map['payChannelType']; } if (isset($map['promotionAmount'])) { $model->promotionAmount = $map['promotionAmount']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodePayResultRequest/payChannelDetailList/fundToolDetailList.php 0000644 00000005611 14713400346 0027017 0 ustar 00 'amount', 'extInfo' => 'extInfo', 'fundToolName' => 'fundToolName', 'gmtCreate' => 'gmtCreate', 'gmtFinish' => 'gmtFinish', 'promotionFundTool' => 'promotionFundTool', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->fundToolName) { $res['fundToolName'] = $this->fundToolName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtFinish) { $res['gmtFinish'] = $this->gmtFinish; } if (null !== $this->promotionFundTool) { $res['promotionFundTool'] = $this->promotionFundTool; } return $res; } /** * @param array $map * * @return fundToolDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['fundToolName'])) { $model->fundToolName = $map['fundToolName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtFinish'])) { $model->gmtFinish = $map['gmtFinish']; } if (isset($map['promotionFundTool'])) { $model->promotionFundTool = $map['promotionFundTool']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodePayResultResponse.php 0000644 00000002773 14713400346 0017361 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyBadgeCodePayResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyBadgeCodePayResultResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/NotifyBadgeCodePayResultResponseBody.php 0000644 00000001646 14713400346 0020175 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyBadgeCodePayResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeRefundResultHeaders.php 0000644 00000002363 14713400346 0017623 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeRefundResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeRefundResultRequest.php 0000644 00000012361 14713400346 0017677 0 ustar 00 'corpId', 'gmtRefund' => 'gmtRefund', 'payChannelDetailList' => 'payChannelDetailList', 'payCode' => 'payCode', 'refundAmount' => 'refundAmount', 'refundOrderNo' => 'refundOrderNo', 'refundPromotionAmount' => 'refundPromotionAmount', 'remark' => 'remark', 'tradeNo' => 'tradeNo', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->gmtRefund) { $res['gmtRefund'] = $this->gmtRefund; } if (null !== $this->payChannelDetailList) { $res['payChannelDetailList'] = []; if (null !== $this->payChannelDetailList && \is_array($this->payChannelDetailList)) { $n = 0; foreach ($this->payChannelDetailList as $item) { $res['payChannelDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payCode) { $res['payCode'] = $this->payCode; } if (null !== $this->refundAmount) { $res['refundAmount'] = $this->refundAmount; } if (null !== $this->refundOrderNo) { $res['refundOrderNo'] = $this->refundOrderNo; } if (null !== $this->refundPromotionAmount) { $res['refundPromotionAmount'] = $this->refundPromotionAmount; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->tradeNo) { $res['tradeNo'] = $this->tradeNo; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeRefundResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['gmtRefund'])) { $model->gmtRefund = $map['gmtRefund']; } if (isset($map['payChannelDetailList'])) { if (!empty($map['payChannelDetailList'])) { $model->payChannelDetailList = []; $n = 0; foreach ($map['payChannelDetailList'] as $item) { $model->payChannelDetailList[$n++] = null !== $item ? payChannelDetailList::fromMap($item) : $item; } } } if (isset($map['payCode'])) { $model->payCode = $map['payCode']; } if (isset($map['refundAmount'])) { $model->refundAmount = $map['refundAmount']; } if (isset($map['refundOrderNo'])) { $model->refundOrderNo = $map['refundOrderNo']; } if (isset($map['refundPromotionAmount'])) { $model->refundPromotionAmount = $map['refundPromotionAmount']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['tradeNo'])) { $model->tradeNo = $map['tradeNo']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeRefundResultRequest/payChannelDetailList.php 0000644 00000010467 14713400346 0023745 0 ustar 00 'amount', 'fundToolDetailList' => 'fundToolDetailList', 'payChannelName' => 'payChannelName', 'payChannelOrderNo' => 'payChannelOrderNo', 'payChannelRefundOrderNo' => 'payChannelRefundOrderNo', 'payChannelType' => 'payChannelType', 'promotionAmount' => 'promotionAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->fundToolDetailList) { $res['fundToolDetailList'] = []; if (null !== $this->fundToolDetailList && \is_array($this->fundToolDetailList)) { $n = 0; foreach ($this->fundToolDetailList as $item) { $res['fundToolDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payChannelName) { $res['payChannelName'] = $this->payChannelName; } if (null !== $this->payChannelOrderNo) { $res['payChannelOrderNo'] = $this->payChannelOrderNo; } if (null !== $this->payChannelRefundOrderNo) { $res['payChannelRefundOrderNo'] = $this->payChannelRefundOrderNo; } if (null !== $this->payChannelType) { $res['payChannelType'] = $this->payChannelType; } if (null !== $this->promotionAmount) { $res['promotionAmount'] = $this->promotionAmount; } return $res; } /** * @param array $map * * @return payChannelDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['fundToolDetailList'])) { if (!empty($map['fundToolDetailList'])) { $model->fundToolDetailList = []; $n = 0; foreach ($map['fundToolDetailList'] as $item) { $model->fundToolDetailList[$n++] = null !== $item ? fundToolDetailList::fromMap($item) : $item; } } } if (isset($map['payChannelName'])) { $model->payChannelName = $map['payChannelName']; } if (isset($map['payChannelOrderNo'])) { $model->payChannelOrderNo = $map['payChannelOrderNo']; } if (isset($map['payChannelRefundOrderNo'])) { $model->payChannelRefundOrderNo = $map['payChannelRefundOrderNo']; } if (isset($map['payChannelType'])) { $model->payChannelType = $map['payChannelType']; } if (isset($map['promotionAmount'])) { $model->promotionAmount = $map['promotionAmount']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeRefundResultRequest/payChannelDetailList/fundToolDetailList.php 0000644 00000005551 14713400346 0027514 0 ustar 00 'amount', 'extInfo' => 'extInfo', 'fundToolName' => 'fundToolName', 'gmtCreate' => 'gmtCreate', 'gmtFinish' => 'gmtFinish', 'promotionFundTool' => 'promotionFundTool', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->fundToolName) { $res['fundToolName'] = $this->fundToolName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtFinish) { $res['gmtFinish'] = $this->gmtFinish; } if (null !== $this->promotionFundTool) { $res['promotionFundTool'] = $this->promotionFundTool; } return $res; } /** * @param array $map * * @return fundToolDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['fundToolName'])) { $model->fundToolName = $map['fundToolName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtFinish'])) { $model->gmtFinish = $map['gmtFinish']; } if (isset($map['promotionFundTool'])) { $model->promotionFundTool = $map['promotionFundTool']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeRefundResultResponse.php 0000644 00000003007 14713400346 0020042 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeRefundResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyBadgeCodeRefundResultResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeRefundResultResponseBody.php 0000644 00000001654 14713400346 0020666 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeRefundResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeVerifyResultHeaders.php 0000644 00000002363 14713400346 0017644 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeVerifyResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeVerifyResultRequest.php 0000644 00000010512 14713400346 0017714 0 ustar 00 'corpId', 'payCode' => 'payCode', 'remark' => 'remark', 'userCorpRelationType' => 'userCorpRelationType', 'userIdentity' => 'userIdentity', 'verifyEvent' => 'verifyEvent', 'verifyLocation' => 'verifyLocation', 'verifyNo' => 'verifyNo', 'verifyResult' => 'verifyResult', 'verifyTime' => 'verifyTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->payCode) { $res['payCode'] = $this->payCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->userCorpRelationType) { $res['userCorpRelationType'] = $this->userCorpRelationType; } if (null !== $this->userIdentity) { $res['userIdentity'] = $this->userIdentity; } if (null !== $this->verifyEvent) { $res['verifyEvent'] = $this->verifyEvent; } if (null !== $this->verifyLocation) { $res['verifyLocation'] = $this->verifyLocation; } if (null !== $this->verifyNo) { $res['verifyNo'] = $this->verifyNo; } if (null !== $this->verifyResult) { $res['verifyResult'] = $this->verifyResult; } if (null !== $this->verifyTime) { $res['verifyTime'] = $this->verifyTime; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeVerifyResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['payCode'])) { $model->payCode = $map['payCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['userCorpRelationType'])) { $model->userCorpRelationType = $map['userCorpRelationType']; } if (isset($map['userIdentity'])) { $model->userIdentity = $map['userIdentity']; } if (isset($map['verifyEvent'])) { $model->verifyEvent = $map['verifyEvent']; } if (isset($map['verifyLocation'])) { $model->verifyLocation = $map['verifyLocation']; } if (isset($map['verifyNo'])) { $model->verifyNo = $map['verifyNo']; } if (isset($map['verifyResult'])) { $model->verifyResult = $map['verifyResult']; } if (isset($map['verifyTime'])) { $model->verifyTime = $map['verifyTime']; } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeVerifyResultResponse.php 0000644 00000003007 14713400346 0020063 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeVerifyResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = NotifyBadgeCodeVerifyResultResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/NotifyBadgeCodeVerifyResultResponseBody.php 0000644 00000001654 14713400346 0020707 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return NotifyBadgeCodeVerifyResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/badge_1_0/Models/SaveBadgeCodeCorpInstanceHeaders.php 0000644 00000002357 14713400346 0017222 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveBadgeCodeCorpInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/SaveBadgeCodeCorpInstanceRequest.php 0000644 00000003713 14713400346 0017274 0 ustar 00 'codeIdentity', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->codeIdentity) { $res['codeIdentity'] = $this->codeIdentity; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return SaveBadgeCodeCorpInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['codeIdentity'])) { $model->codeIdentity = $map['codeIdentity']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/badge_1_0/Models/SaveBadgeCodeCorpInstanceResponse.php 0000644 00000002777 14713400346 0017453 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveBadgeCodeCorpInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveBadgeCodeCorpInstanceResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/SaveBadgeCodeCorpInstanceResponseBody.php 0000644 00000003316 14713400346 0020257 0 ustar 00 'codeIdentity', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->codeIdentity) { $res['codeIdentity'] = $this->codeIdentity; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return SaveBadgeCodeCorpInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['codeIdentity'])) { $model->codeIdentity = $map['codeIdentity']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/badge_1_0/Models/UpdateBadgeCodeUserInstanceHeaders.php 0000644 00000002363 14713400346 0017556 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateBadgeCodeUserInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/badge_1_0/Models/UpdateBadgeCodeUserInstanceRequest.php 0000644 00000011667 14713400346 0017642 0 ustar 00 'availableTimes', 'codeId' => 'codeId', 'codeIdentity' => 'codeIdentity', 'codeValue' => 'codeValue', 'corpId' => 'corpId', 'extInfo' => 'extInfo', 'gmtExpired' => 'gmtExpired', 'status' => 'status', 'userCorpRelationType' => 'userCorpRelationType', 'userIdentity' => 'userIdentity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->availableTimes) { $res['availableTimes'] = []; if (null !== $this->availableTimes && \is_array($this->availableTimes)) { $n = 0; foreach ($this->availableTimes as $item) { $res['availableTimes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->codeId) { $res['codeId'] = $this->codeId; } if (null !== $this->codeIdentity) { $res['codeIdentity'] = $this->codeIdentity; } if (null !== $this->codeValue) { $res['codeValue'] = $this->codeValue; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extInfo) { $res['extInfo'] = $this->extInfo; } if (null !== $this->gmtExpired) { $res['gmtExpired'] = $this->gmtExpired; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userCorpRelationType) { $res['userCorpRelationType'] = $this->userCorpRelationType; } if (null !== $this->userIdentity) { $res['userIdentity'] = $this->userIdentity; } return $res; } /** * @param array $map * * @return UpdateBadgeCodeUserInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['availableTimes'])) { if (!empty($map['availableTimes'])) { $model->availableTimes = []; $n = 0; foreach ($map['availableTimes'] as $item) { $model->availableTimes[$n++] = null !== $item ? availableTimes::fromMap($item) : $item; } } } if (isset($map['codeId'])) { $model->codeId = $map['codeId']; } if (isset($map['codeIdentity'])) { $model->codeIdentity = $map['codeIdentity']; } if (isset($map['codeValue'])) { $model->codeValue = $map['codeValue']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extInfo'])) { $model->extInfo = $map['extInfo']; } if (isset($map['gmtExpired'])) { $model->gmtExpired = $map['gmtExpired']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userCorpRelationType'])) { $model->userCorpRelationType = $map['userCorpRelationType']; } if (isset($map['userIdentity'])) { $model->userIdentity = $map['userIdentity']; } return $model; } } src/badge_1_0/Models/UpdateBadgeCodeUserInstanceRequest/availableTimes.php 0000644 00000002455 14713400346 0022557 0 ustar 00 'gmtEnd', 'gmtStart' => 'gmtStart', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtEnd) { $res['gmtEnd'] = $this->gmtEnd; } if (null !== $this->gmtStart) { $res['gmtStart'] = $this->gmtStart; } return $res; } /** * @param array $map * * @return availableTimes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtEnd'])) { $model->gmtEnd = $map['gmtEnd']; } if (isset($map['gmtStart'])) { $model->gmtStart = $map['gmtStart']; } return $model; } } src/badge_1_0/Models/UpdateBadgeCodeUserInstanceResponse.php 0000644 00000003007 14713400346 0017775 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateBadgeCodeUserInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateBadgeCodeUserInstanceResponseBody::fromMap($map['body']); } return $model; } } src/badge_1_0/Models/UpdateBadgeCodeUserInstanceResponseBody.php 0000644 00000001570 14713400346 0020616 0 ustar 00 'codeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->codeId) { $res['codeId'] = $this->codeId; } return $res; } /** * @param array $map * * @return UpdateBadgeCodeUserInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['codeId'])) { $model->codeId = $map['codeId']; } return $model; } } src/bay_max_1_0/Dingtalk.php 0000644 00000006473 14713400346 0011674 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary Baymax技能执行日志 * * * @param QueryBaymaxSkillLogRequest $request QueryBaymaxSkillLogRequest * @param QueryBaymaxSkillLogHeaders $headers QueryBaymaxSkillLogHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBaymaxSkillLogResponse QueryBaymaxSkillLogResponse */ public function queryBaymaxSkillLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->from)) { $query['from'] = $request->from; } if (!Utils::isUnset($request->skillExecuteId)) { $query['skillExecuteId'] = $request->skillExecuteId; } if (!Utils::isUnset($request->to)) { $query['to'] = $request->to; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBaymaxSkillLog', 'version' => 'bayMax_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bayMax/skills/logs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBaymaxSkillLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary Baymax技能执行日志 * * * @param QueryBaymaxSkillLogRequest $request QueryBaymaxSkillLogRequest * * @return QueryBaymaxSkillLogResponse QueryBaymaxSkillLogResponse */ public function queryBaymaxSkillLog($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBaymaxSkillLogHeaders([]); return $this->queryBaymaxSkillLogWithOptions($request, $headers, $runtime); } } src/bay_max_1_0/Models/QueryBaymaxSkillLogHeaders.php 0000644 00000002345 14713400346 0016560 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bay_max_1_0/Models/QueryBaymaxSkillLogRequest.php 0000644 00000002727 14713400346 0016641 0 ustar 00 'from', 'skillExecuteId' => 'skillExecuteId', 'to' => 'to', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->from) { $res['from'] = $this->from; } if (null !== $this->skillExecuteId) { $res['skillExecuteId'] = $this->skillExecuteId; } if (null !== $this->to) { $res['to'] = $this->to; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['from'])) { $model->from = $map['from']; } if (isset($map['skillExecuteId'])) { $model->skillExecuteId = $map['skillExecuteId']; } if (isset($map['to'])) { $model->to = $map['to']; } return $model; } } src/bay_max_1_0/Models/QueryBaymaxSkillLogResponse.php 0000644 00000002751 14713400346 0017004 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBaymaxSkillLogResponseBody::fromMap($map['body']); } return $model; } } src/bay_max_1_0/Models/QueryBaymaxSkillLogResponseBody.php 0000644 00000001643 14713400346 0017621 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryBaymaxSkillLogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Dingtalk.php 0000644 00000503573 14713400346 0012367 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 追加角色权限点 * * * @param AppendRolePermissionRequest $tmpReq AppendRolePermissionRequest * @param AppendRolePermissionHeaders $headers AppendRolePermissionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AppendRolePermissionResponse AppendRolePermissionResponse */ public function appendRolePermissionWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new AppendRolePermissionShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->rolePermissionItemList)) { $request->rolePermissionItemListShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->rolePermissionItemList, 'rolePermissionItemList', 'json'); } $query = []; if (!Utils::isUnset($request->rolePermissionItemListShrink)) { $query['rolePermissionItemList'] = $request->rolePermissionItemListShrink; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AppendRolePermission', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/roles/permissions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AppendRolePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 追加角色权限点 * * * @param AppendRolePermissionRequest $request AppendRolePermissionRequest * * @return AppendRolePermissionResponse AppendRolePermissionResponse */ public function appendRolePermission($request) { $runtime = new RuntimeOptions([]); $headers = new AppendRolePermissionHeaders([]); return $this->appendRolePermissionWithOptions($request, $headers, $runtime); } /** * @summary 发票数据批量写入 * * * @param BatchAddInvoiceRequest $request BatchAddInvoiceRequest * @param BatchAddInvoiceHeaders $headers BatchAddInvoiceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchAddInvoiceResponse BatchAddInvoiceResponse */ public function batchAddInvoiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->generalInvoiceVOList)) { $body['generalInvoiceVOList'] = $request->generalInvoiceVOList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchAddInvoice', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchAddInvoiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发票数据批量写入 * * * @param BatchAddInvoiceRequest $request BatchAddInvoiceRequest * * @return BatchAddInvoiceResponse BatchAddInvoiceResponse */ public function batchAddInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddInvoiceHeaders([]); return $this->batchAddInvoiceWithOptions($request, $headers, $runtime); } /** * @summary 批量增加用户信息 * * * @param BatchCreateCustomerRequest $request BatchCreateCustomerRequest * @param BatchCreateCustomerHeaders $headers BatchCreateCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchCreateCustomerResponse BatchCreateCustomerResponse */ public function batchCreateCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->createCustomerRequestList)) { $body['createCustomerRequestList'] = $request->createCustomerRequestList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchCreateCustomer', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/auxiliaries/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchCreateCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量增加用户信息 * * * @param BatchCreateCustomerRequest $request BatchCreateCustomerRequest * * @return BatchCreateCustomerResponse BatchCreateCustomerResponse */ public function batchCreateCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateCustomerHeaders([]); return $this->batchCreateCustomerWithOptions($request, $headers, $runtime); } /** * @summary 预核销智能财务的权益 * * * @param BeginConsumeRequest $request BeginConsumeRequest * @param BeginConsumeHeaders $headers BeginConsumeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BeginConsumeResponse BeginConsumeResponse */ public function beginConsumeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->benefitCode)) { $query['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->bizRequestId)) { $query['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->quota)) { $query['quota'] = $request->quota; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BeginConsume', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/consumedBenefits/prepare', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BeginConsumeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 预核销智能财务的权益 * * * @param BeginConsumeRequest $request BeginConsumeRequest * * @return BeginConsumeResponse BeginConsumeResponse */ public function beginConsume($request) { $runtime = new RuntimeOptions([]); $headers = new BeginConsumeHeaders([]); return $this->beginConsumeWithOptions($request, $headers, $runtime); } /** * @summary 绑定钉钉智能财务企业主体的账套信息 * * * @param BindCompanyAccountantBookRequest $request BindCompanyAccountantBookRequest * @param BindCompanyAccountantBookHeaders $headers BindCompanyAccountantBookHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BindCompanyAccountantBookResponse BindCompanyAccountantBookResponse */ public function bindCompanyAccountantBookWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountantBookId)) { $query['accountantBookId'] = $request->accountantBookId; } if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'BindCompanyAccountantBook', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/companies/accountantBooks/bind', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BindCompanyAccountantBookResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 绑定钉钉智能财务企业主体的账套信息 * * * @param BindCompanyAccountantBookRequest $request BindCompanyAccountantBookRequest * * @return BindCompanyAccountantBookResponse BindCompanyAccountantBookResponse */ public function bindCompanyAccountantBook($request) { $runtime = new RuntimeOptions([]); $headers = new BindCompanyAccountantBookHeaders([]); return $this->bindCompanyAccountantBookWithOptions($request, $headers, $runtime); } /** * @summary 取消核销智能财务的权益 * * * @param CancelConsumeRequest $request CancelConsumeRequest * @param CancelConsumeHeaders $headers CancelConsumeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CancelConsumeResponse CancelConsumeResponse */ public function cancelConsumeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->benefitCode)) { $query['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->bizRequestId)) { $query['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->quota)) { $query['quota'] = $request->quota; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CancelConsume', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/consumedBenefits/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelConsumeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 取消核销智能财务的权益 * * * @param CancelConsumeRequest $request CancelConsumeRequest * * @return CancelConsumeResponse CancelConsumeResponse */ public function cancelConsume($request) { $runtime = new RuntimeOptions([]); $headers = new CancelConsumeHeaders([]); return $this->cancelConsumeWithOptions($request, $headers, $runtime); } /** * @summary 查验发票是否生成凭证 * * * @param CheckVoucherStatusRequest $request CheckVoucherStatusRequest * @param CheckVoucherStatusHeaders $headers CheckVoucherStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CheckVoucherStatusResponse CheckVoucherStatusResponse */ public function checkVoucherStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->financeType)) { $body['financeType'] = $request->financeType; } if (!Utils::isUnset($request->invoiceCode)) { $body['invoiceCode'] = $request->invoiceCode; } if (!Utils::isUnset($request->invoiceNo)) { $body['invoiceNo'] = $request->invoiceNo; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->taxNo)) { $body['taxNo'] = $request->taxNo; } if (!Utils::isUnset($request->verifyStatus)) { $body['verifyStatus'] = $request->verifyStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CheckVoucherStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/checkVoucherStatus/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CheckVoucherStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查验发票是否生成凭证 * * * @param CheckVoucherStatusRequest $request CheckVoucherStatusRequest * * @return CheckVoucherStatusResponse CheckVoucherStatusResponse */ public function checkVoucherStatus($request) { $runtime = new RuntimeOptions([]); $headers = new CheckVoucherStatusHeaders([]); return $this->checkVoucherStatusWithOptions($request, $headers, $runtime); } /** * @summary 确认核销智能财务的权益 * * * @param CommitConsumeRequest $request CommitConsumeRequest * @param CommitConsumeHeaders $headers CommitConsumeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CommitConsumeResponse CommitConsumeResponse */ public function commitConsumeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->benefitCode)) { $query['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->bizRequestId)) { $query['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->quota)) { $query['quota'] = $request->quota; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CommitConsume', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/consumedBenefits/commit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CommitConsumeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 确认核销智能财务的权益 * * * @param CommitConsumeRequest $request CommitConsumeRequest * * @return CommitConsumeResponse CommitConsumeResponse */ public function commitConsume($request) { $runtime = new RuntimeOptions([]); $headers = new CommitConsumeHeaders([]); return $this->commitConsumeWithOptions($request, $headers, $runtime); } /** * @summary 创建智能财务的客户信息 * * * @param CreateCustomerRequest $request CreateCustomerRequest * @param CreateCustomerHeaders $headers CreateCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateCustomerResponse CreateCustomerResponse */ public function createCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creator)) { $body['creator'] = $request->creator; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->drawerEmail)) { $body['drawerEmail'] = $request->drawerEmail; } if (!Utils::isUnset($request->drawerTelephone)) { $body['drawerTelephone'] = $request->drawerTelephone; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->purchaserAccount)) { $body['purchaserAccount'] = $request->purchaserAccount; } if (!Utils::isUnset($request->purchaserAddress)) { $body['purchaserAddress'] = $request->purchaserAddress; } if (!Utils::isUnset($request->purchaserBankName)) { $body['purchaserBankName'] = $request->purchaserBankName; } if (!Utils::isUnset($request->purchaserName)) { $body['purchaserName'] = $request->purchaserName; } if (!Utils::isUnset($request->purchaserTaxNo)) { $body['purchaserTaxNo'] = $request->purchaserTaxNo; } if (!Utils::isUnset($request->purchaserTel)) { $body['purchaserTel'] = $request->purchaserTel; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCustomer', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/auxiliaries/customers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建智能财务的客户信息 * * * @param CreateCustomerRequest $request CreateCustomerRequest * * @return CreateCustomerResponse CreateCustomerResponse */ public function createCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomerHeaders([]); return $this->createCustomerWithOptions($request, $headers, $runtime); } /** * @summary 创建智能财务单据 * * * @param CreateReceiptRequest $request CreateReceiptRequest * @param CreateReceiptHeaders $headers CreateReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateReceiptResponse CreateReceiptResponse */ public function createReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->receipts)) { $body['receipts'] = $request->receipts; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateReceipt', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/receipts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建智能财务单据 * * * @param CreateReceiptRequest $request CreateReceiptRequest * * @return CreateReceiptResponse CreateReceiptResponse */ public function createReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new CreateReceiptHeaders([]); return $this->createReceiptWithOptions($request, $headers, $runtime); } /** * @summary 删除智能财务单据 * * * @param DeleteReceiptRequest $request DeleteReceiptRequest * @param DeleteReceiptHeaders $headers DeleteReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteReceiptResponse DeleteReceiptResponse */ public function deleteReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->receipts)) { $body['receipts'] = $request->receipts; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteReceipt', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/receipts/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除智能财务单据 * * * @param DeleteReceiptRequest $request DeleteReceiptRequest * * @return DeleteReceiptResponse DeleteReceiptResponse */ public function deleteReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteReceiptHeaders([]); return $this->deleteReceiptWithOptions($request, $headers, $runtime); } /** * @summary 获取可以查看账本的用户列表 * * * @param GetBookkeepingUserListHeaders $headers GetBookkeepingUserListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetBookkeepingUserListResponse GetBookkeepingUserListResponse */ public function getBookkeepingUserListWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetBookkeepingUserList', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/bookkeeping/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBookkeepingUserListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取可以查看账本的用户列表 * * * @return GetBookkeepingUserListResponse GetBookkeepingUserListResponse */ public function getBookkeepingUserList() { $runtime = new RuntimeOptions([]); $headers = new GetBookkeepingUserListHeaders([]); return $this->getBookkeepingUserListWithOptions($headers, $runtime); } /** * @summary 获取费用类别 * * * @param GetCategoryRequest $request GetCategoryRequest * @param GetCategoryHeaders $headers GetCategoryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCategoryResponse GetCategoryResponse */ public function getCategoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCategory', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/categories/get', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCategoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取费用类别 * * * @param GetCategoryRequest $request GetCategoryRequest * * @return GetCategoryResponse GetCategoryResponse */ public function getCategory($request) { $runtime = new RuntimeOptions([]); $headers = new GetCategoryHeaders([]); return $this->getCategoryWithOptions($request, $headers, $runtime); } /** * @summary 获取智能财务应用内维护的客户信息 * * * @param GetCustomerRequest $request GetCustomerRequest * @param GetCustomerHeaders $headers GetCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCustomerResponse GetCustomerResponse */ public function getCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCustomer', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/customers/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能财务应用内维护的客户信息 * * * @param GetCustomerRequest $request GetCustomerRequest * * @return GetCustomerResponse GetCustomerResponse */ public function getCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new GetCustomerHeaders([]); return $this->getCustomerWithOptions($request, $headers, $runtime); } /** * @summary 获取企业账户 * * * @param GetFinanceAccountRequest $request GetFinanceAccountRequest * @param GetFinanceAccountHeaders $headers GetFinanceAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFinanceAccountResponse GetFinanceAccountResponse */ public function getFinanceAccountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountCode)) { $query['accountCode'] = $request->accountCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFinanceAccount', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/financeAccounts/get', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFinanceAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业账户 * * * @param GetFinanceAccountRequest $request GetFinanceAccountRequest * * @return GetFinanceAccountResponse GetFinanceAccountResponse */ public function getFinanceAccount($request) { $runtime = new RuntimeOptions([]); $headers = new GetFinanceAccountHeaders([]); return $this->getFinanceAccountWithOptions($request, $headers, $runtime); } /** * @summary 获取智能财务套件模版信息 * * * @param GetFormTemplateInfoHeaders $headers GetFormTemplateInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFormTemplateInfoResponse GetFormTemplateInfoResponse */ public function getFormTemplateInfoWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetFormTemplateInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/formTemplates/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFormTemplateInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能财务套件模版信息 * * * @return GetFormTemplateInfoResponse GetFormTemplateInfoResponse */ public function getFormTemplateInfo() { $runtime = new RuntimeOptions([]); $headers = new GetFormTemplateInfoHeaders([]); return $this->getFormTemplateInfoWithOptions($headers, $runtime); } /** * @summary 发票分页查询接口 * * * @param GetInvoiceByPageRequest $tmpReq GetInvoiceByPageRequest * @param GetInvoiceByPageHeaders $headers GetInvoiceByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetInvoiceByPageResponse GetInvoiceByPageResponse */ public function getInvoiceByPageWithOptions($tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new GetInvoiceByPageShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->request)) { $request->requestShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->request, 'request', 'json'); } $query = []; if (!Utils::isUnset($request->requestShrink)) { $query['request'] = $request->requestShrink; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetInvoiceByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInvoiceByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发票分页查询接口 * * * @param GetInvoiceByPageRequest $request GetInvoiceByPageRequest * * @return GetInvoiceByPageResponse GetInvoiceByPageResponse */ public function getInvoiceByPage($request) { $runtime = new RuntimeOptions([]); $headers = new GetInvoiceByPageHeaders([]); return $this->getInvoiceByPageWithOptions($request, $headers, $runtime); } /** * @summary 用来给isv提供是否使用智能账本的判断接口 * * * @param GetIsNewVersionHeaders $headers GetIsNewVersionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetIsNewVersionResponse GetIsNewVersionResponse */ public function getIsNewVersionWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetIsNewVersion', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/accounts/uses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetIsNewVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 用来给isv提供是否使用智能账本的判断接口 * * * @return GetIsNewVersionResponse GetIsNewVersionResponse */ public function getIsNewVersion() { $runtime = new RuntimeOptions([]); $headers = new GetIsNewVersionHeaders([]); return $this->getIsNewVersionWithOptions($headers, $runtime); } /** * @summary 根据comanyCode查询钉钉智能财务多主体信息 * * * @param string $companyCode * @param GetMultiCompanyInfoByCodeHeaders $headers GetMultiCompanyInfoByCodeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMultiCompanyInfoByCodeResponse GetMultiCompanyInfoByCodeResponse */ public function getMultiCompanyInfoByCodeWithOptions($companyCode, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetMultiCompanyInfoByCode', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/multiCompanies/' . $companyCode . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMultiCompanyInfoByCodeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据comanyCode查询钉钉智能财务多主体信息 * * * @param string $companyCode * * @return GetMultiCompanyInfoByCodeResponse GetMultiCompanyInfoByCodeResponse */ public function getMultiCompanyInfoByCode($companyCode) { $runtime = new RuntimeOptions([]); $headers = new GetMultiCompanyInfoByCodeHeaders([]); return $this->getMultiCompanyInfoByCodeWithOptions($companyCode, $headers, $runtime); } /** * @summary 获取商品信息 * * * @param GetProductRequest $request GetProductRequest * @param GetProductHeaders $headers GetProductHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetProductResponse GetProductResponse */ public function getProductWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProduct', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/products', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProductResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取商品信息 * * * @param GetProductRequest $request GetProductRequest * * @return GetProductResponse GetProductResponse */ public function getProduct($request) { $runtime = new RuntimeOptions([]); $headers = new GetProductHeaders([]); return $this->getProductWithOptions($request, $headers, $runtime); } /** * @summary 获取单条项目 * * * @param GetProjectRequest $request GetProjectRequest * @param GetProjectHeaders $headers GetProjectHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetProjectResponse GetProjectResponse */ public function getProjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProject', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/projects/get', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取单条项目 * * * @param GetProjectRequest $request GetProjectRequest * * @return GetProjectResponse GetProjectResponse */ public function getProject($request) { $runtime = new RuntimeOptions([]); $headers = new GetProjectHeaders([]); return $this->getProjectWithOptions($request, $headers, $runtime); } /** * @summary 获取智能财务单据详情 * * * @param GetReceiptRequest $request GetReceiptRequest * @param GetReceiptHeaders $headers GetReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetReceiptResponse GetReceiptResponse */ public function getReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->modelId)) { $query['modelId'] = $request->modelId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetReceipt', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/receipts/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能财务单据详情 * * * @param GetReceiptRequest $request GetReceiptRequest * * @return GetReceiptResponse GetReceiptResponse */ public function getReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new GetReceiptHeaders([]); return $this->getReceiptWithOptions($request, $headers, $runtime); } /** * @summary 获取智能财务应用内维护的供应商信息 * * * @param GetSupplierRequest $request GetSupplierRequest * @param GetSupplierHeaders $headers GetSupplierHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSupplierResponse GetSupplierResponse */ public function getSupplierWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSupplier', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/suppliers/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSupplierResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能财务应用内维护的供应商信息 * * * @param GetSupplierRequest $request GetSupplierRequest * * @return GetSupplierResponse GetSupplierResponse */ public function getSupplier($request) { $runtime = new RuntimeOptions([]); $headers = new GetSupplierHeaders([]); return $this->getSupplierWithOptions($request, $headers, $runtime); } /** * @summary 获取用友开放平台接口鉴权信息 * * * @param GetYongYouOpenApiTokenRequest $request GetYongYouOpenApiTokenRequest * @param GetYongYouOpenApiTokenHeaders $headers GetYongYouOpenApiTokenHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetYongYouOpenApiTokenResponse GetYongYouOpenApiTokenResponse */ public function getYongYouOpenApiTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetYongYouOpenApiToken', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/yongyou/token', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetYongYouOpenApiTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用友开放平台接口鉴权信息 * * * @param GetYongYouOpenApiTokenRequest $request GetYongYouOpenApiTokenRequest * * @return GetYongYouOpenApiTokenResponse GetYongYouOpenApiTokenResponse */ public function getYongYouOpenApiToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetYongYouOpenApiTokenHeaders([]); return $this->getYongYouOpenApiTokenWithOptions($request, $headers, $runtime); } /** * @summary 查询钉钉组织绑定的畅捷通组织 * * * @param GetYongYouOrgRelationHeaders $headers GetYongYouOrgRelationHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetYongYouOrgRelationResponse GetYongYouOrgRelationResponse */ public function getYongYouOrgRelationWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetYongYouOrgRelation', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/yongyou/relations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetYongYouOrgRelationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询钉钉组织绑定的畅捷通组织 * * * @return GetYongYouOrgRelationResponse GetYongYouOrgRelationResponse */ public function getYongYouOrgRelation() { $runtime = new RuntimeOptions([]); $headers = new GetYongYouOrgRelationHeaders([]); return $this->getYongYouOrgRelationWithOptions($headers, $runtime); } /** * @summary 权益核销 * * * @param ProfessionBenefitConsumeRequest $request ProfessionBenefitConsumeRequest * @param ProfessionBenefitConsumeHeaders $headers ProfessionBenefitConsumeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ProfessionBenefitConsumeResponse ProfessionBenefitConsumeResponse */ public function professionBenefitConsumeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->benefitCode)) { $body['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->bizRequestId)) { $body['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->quota)) { $body['quota'] = $request->quota; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ProfessionBenefitConsume', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/professions/benefits/consume', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ProfessionBenefitConsumeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 权益核销 * * * @param ProfessionBenefitConsumeRequest $request ProfessionBenefitConsumeRequest * * @return ProfessionBenefitConsumeResponse ProfessionBenefitConsumeResponse */ public function professionBenefitConsume($request) { $runtime = new RuntimeOptions([]); $headers = new ProfessionBenefitConsumeHeaders([]); return $this->professionBenefitConsumeWithOptions($request, $headers, $runtime); } /** * @summary 触发单据同步给有成 * * * @param PushHistoricalReceiptsRequest $request PushHistoricalReceiptsRequest * @param PushHistoricalReceiptsHeaders $headers PushHistoricalReceiptsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushHistoricalReceiptsResponse PushHistoricalReceiptsResponse */ public function pushHistoricalReceiptsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->forcedIgnoreDup)) { $body['forcedIgnoreDup'] = $request->forcedIgnoreDup; } if (!Utils::isUnset($request->formCodeList)) { $body['formCodeList'] = $request->formCodeList; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushHistoricalReceipts', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/budgets/historicalReceipts/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushHistoricalReceiptsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 触发单据同步给有成 * * * @param PushHistoricalReceiptsRequest $request PushHistoricalReceiptsRequest * * @return PushHistoricalReceiptsResponse PushHistoricalReceiptsResponse */ public function pushHistoricalReceipts($request) { $runtime = new RuntimeOptions([]); $headers = new PushHistoricalReceiptsHeaders([]); return $this->pushHistoricalReceiptsWithOptions($request, $headers, $runtime); } /** * @summary 查询智能财务计量型权益 * * * @param QueryBenefitRequest $request QueryBenefitRequest * @param QueryBenefitHeaders $headers QueryBenefitHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBenefitResponse QueryBenefitResponse */ public function queryBenefitWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->benefitCode)) { $query['benefitCode'] = $request->benefitCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBenefit', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/benefits', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBenefitResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询智能财务计量型权益 * * * @param QueryBenefitRequest $request QueryBenefitRequest * * @return QueryBenefitResponse QueryBenefitResponse */ public function queryBenefit($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBenefitHeaders([]); return $this->queryBenefitWithOptions($request, $headers, $runtime); } /** * @summary 批量获取费用类别 * * * @param QueryCategoryByPageRequest $request QueryCategoryByPageRequest * @param QueryCategoryByPageHeaders $headers QueryCategoryByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCategoryByPageResponse QueryCategoryByPageResponse */ public function queryCategoryByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCategoryByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/categories/list', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCategoryByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取费用类别 * * * @param QueryCategoryByPageRequest $request QueryCategoryByPageRequest * * @return QueryCategoryByPageResponse QueryCategoryByPageResponse */ public function queryCategoryByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCategoryByPageHeaders([]); return $this->queryCategoryByPageWithOptions($request, $headers, $runtime); } /** * @summary 查询某个主体的开票申请单的提单数量 * * * @param QueryCompanyInvoiceRelationCountRequest $request QueryCompanyInvoiceRelationCountRequest * @param QueryCompanyInvoiceRelationCountHeaders $headers QueryCompanyInvoiceRelationCountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCompanyInvoiceRelationCountResponse QueryCompanyInvoiceRelationCountResponse */ public function queryCompanyInvoiceRelationCountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCompanyInvoiceRelationCount', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/companyRelationReceipts/counts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCompanyInvoiceRelationCountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询某个主体的开票申请单的提单数量 * * * @param QueryCompanyInvoiceRelationCountRequest $request QueryCompanyInvoiceRelationCountRequest * * @return QueryCompanyInvoiceRelationCountResponse QueryCompanyInvoiceRelationCountResponse */ public function queryCompanyInvoiceRelationCount($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCompanyInvoiceRelationCountHeaders([]); return $this->queryCompanyInvoiceRelationCountWithOptions($request, $headers, $runtime); } /** * @summary 分页批量获取智能财务应用内维护的客户信息 * * * @param QueryCustomerByPageRequest $request QueryCustomerByPageRequest * @param QueryCustomerByPageHeaders $headers QueryCustomerByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCustomerByPageResponse QueryCustomerByPageResponse */ public function queryCustomerByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCustomerByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/customers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCustomerByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页批量获取智能财务应用内维护的客户信息 * * * @param QueryCustomerByPageRequest $request QueryCustomerByPageRequest * * @return QueryCustomerByPageResponse QueryCustomerByPageResponse */ public function queryCustomerByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerByPageHeaders([]); return $this->queryCustomerByPageWithOptions($request, $headers, $runtime); } /** * @summary 提供给合作伙伴,查询智能财务的客户配置信息 * * * @param QueryCustomerInfoRequest $request QueryCustomerInfoRequest * @param QueryCustomerInfoHeaders $headers QueryCustomerInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCustomerInfoResponse QueryCustomerInfoResponse */ public function queryCustomerInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCustomerInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/auxiliaries/customers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCustomerInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 提供给合作伙伴,查询智能财务的客户配置信息 * * * @param QueryCustomerInfoRequest $request QueryCustomerInfoRequest * * @return QueryCustomerInfoResponse QueryCustomerInfoResponse */ public function queryCustomerInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerInfoHeaders([]); return $this->queryCustomerInfoWithOptions($request, $headers, $runtime); } /** * @summary 批量获取企业账户 * * * @param QueryEnterpriseAccountByPageRequest $request QueryEnterpriseAccountByPageRequest * @param QueryEnterpriseAccountByPageHeaders $headers QueryEnterpriseAccountByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryEnterpriseAccountByPageResponse QueryEnterpriseAccountByPageResponse */ public function queryEnterpriseAccountByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryEnterpriseAccountByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/financeAccounts/list', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryEnterpriseAccountByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取企业账户 * * * @param QueryEnterpriseAccountByPageRequest $request QueryEnterpriseAccountByPageRequest * * @return QueryEnterpriseAccountByPageResponse QueryEnterpriseAccountByPageResponse */ public function queryEnterpriseAccountByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEnterpriseAccountByPageHeaders([]); return $this->queryEnterpriseAccountByPageWithOptions($request, $headers, $runtime); } /** * @summary 查询智能财务配置的企业信息 * * * @param QueryFinanceCompanyInfoHeaders $headers QueryFinanceCompanyInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryFinanceCompanyInfoResponse QueryFinanceCompanyInfoResponse */ public function queryFinanceCompanyInfoWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryFinanceCompanyInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/companies', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryFinanceCompanyInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询智能财务配置的企业信息 * * * @return QueryFinanceCompanyInfoResponse QueryFinanceCompanyInfoResponse */ public function queryFinanceCompanyInfo() { $runtime = new RuntimeOptions([]); $headers = new QueryFinanceCompanyInfoHeaders([]); return $this->queryFinanceCompanyInfoWithOptions($headers, $runtime); } /** * @summary 查询开票申请单的提单数量 * * * @param QueryInvoiceRelationCountHeaders $headers QueryInvoiceRelationCountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryInvoiceRelationCountResponse QueryInvoiceRelationCountResponse */ public function queryInvoiceRelationCountWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryInvoiceRelationCount', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/relationReceipts/counts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryInvoiceRelationCountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询开票申请单的提单数量 * * * @return QueryInvoiceRelationCountResponse QueryInvoiceRelationCountResponse */ public function queryInvoiceRelationCount() { $runtime = new RuntimeOptions([]); $headers = new QueryInvoiceRelationCountHeaders([]); return $this->queryInvoiceRelationCountWithOptions($headers, $runtime); } /** * @summary 查询钉钉智能财务多主体信息 * * * @param QueryMultiCompanyInfoHeaders $headers QueryMultiCompanyInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMultiCompanyInfoResponse QueryMultiCompanyInfoResponse */ public function queryMultiCompanyInfoWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryMultiCompanyInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/multiCompanies', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMultiCompanyInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询钉钉智能财务多主体信息 * * * @return QueryMultiCompanyInfoResponse QueryMultiCompanyInfoResponse */ public function queryMultiCompanyInfo() { $runtime = new RuntimeOptions([]); $headers = new QueryMultiCompanyInfoHeaders([]); return $this->queryMultiCompanyInfoWithOptions($headers, $runtime); } /** * @summary 提供给小望,查询当前用户所具有的的小望权限点信息 * * * @param QueryPermissionByUserIdRequest $request QueryPermissionByUserIdRequest * @param QueryPermissionByUserIdHeaders $headers QueryPermissionByUserIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryPermissionByUserIdResponse QueryPermissionByUserIdResponse */ public function queryPermissionByUserIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryPermissionByUserId', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/permissions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPermissionByUserIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 提供给小望,查询当前用户所具有的的小望权限点信息 * * * @param QueryPermissionByUserIdRequest $request QueryPermissionByUserIdRequest * * @return QueryPermissionByUserIdResponse QueryPermissionByUserIdResponse */ public function queryPermissionByUserId($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPermissionByUserIdHeaders([]); return $this->queryPermissionByUserIdWithOptions($request, $headers, $runtime); } /** * @summary 查询智能财务角色下的成员信息 * * * @param QueryPermissionRoleMemberRequest $request QueryPermissionRoleMemberRequest * @param QueryPermissionRoleMemberHeaders $headers QueryPermissionRoleMemberHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryPermissionRoleMemberResponse QueryPermissionRoleMemberResponse */ public function queryPermissionRoleMemberWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->roleCodeList)) { $body['roleCodeList'] = $request->roleCodeList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryPermissionRoleMember', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/roles/members/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryPermissionRoleMemberResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询智能财务角色下的成员信息 * * * @param QueryPermissionRoleMemberRequest $request QueryPermissionRoleMemberRequest * * @return QueryPermissionRoleMemberResponse QueryPermissionRoleMemberResponse */ public function queryPermissionRoleMember($request) { $runtime = new RuntimeOptions([]); $headers = new QueryPermissionRoleMemberHeaders([]); return $this->queryPermissionRoleMemberWithOptions($request, $headers, $runtime); } /** * @summary 批量获取商品信息 * * * @param QueryProductByPageRequest $request QueryProductByPageRequest * @param QueryProductByPageHeaders $headers QueryProductByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryProductByPageResponse QueryProductByPageResponse */ public function queryProductByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryProductByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/products/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProductByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取商品信息 * * * @param QueryProductByPageRequest $request QueryProductByPageRequest * * @return QueryProductByPageResponse QueryProductByPageResponse */ public function queryProductByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProductByPageHeaders([]); return $this->queryProductByPageWithOptions($request, $headers, $runtime); } /** * @summary 批量获取项目信息 * * * @param QueryProjectByPageRequest $request QueryProjectByPageRequest * @param QueryProjectByPageHeaders $headers QueryProjectByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryProjectByPageResponse QueryProjectByPageResponse */ public function queryProjectByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryProjectByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/projects/list', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProjectByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取项目信息 * * * @param QueryProjectByPageRequest $request QueryProjectByPageRequest * * @return QueryProjectByPageResponse QueryProjectByPageResponse */ public function queryProjectByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProjectByPageHeaders([]); return $this->queryProjectByPageWithOptions($request, $headers, $runtime); } /** * @summary 查询开票申请单详情 * * * @param QueryReceiptDetailForInvoiceRequest $request QueryReceiptDetailForInvoiceRequest * @param QueryReceiptDetailForInvoiceHeaders $headers QueryReceiptDetailForInvoiceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryReceiptDetailForInvoiceResponse QueryReceiptDetailForInvoiceResponse */ public function queryReceiptDetailForInvoiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->instanceId)) { $query['instanceId'] = $request->instanceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryReceiptDetailForInvoice', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/receipts/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryReceiptDetailForInvoiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询开票申请单详情 * * * @param QueryReceiptDetailForInvoiceRequest $request QueryReceiptDetailForInvoiceRequest * * @return QueryReceiptDetailForInvoiceResponse QueryReceiptDetailForInvoiceResponse */ public function queryReceiptDetailForInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptDetailForInvoiceHeaders([]); return $this->queryReceiptDetailForInvoiceWithOptions($request, $headers, $runtime); } /** * @summary 批量查询智能财务单据主数据信息 * * * @param QueryReceiptForInvoiceRequest $request QueryReceiptForInvoiceRequest * @param QueryReceiptForInvoiceHeaders $headers QueryReceiptForInvoiceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryReceiptForInvoiceResponse QueryReceiptForInvoiceResponse */ public function queryReceiptForInvoiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountantBookId)) { $body['accountantBookId'] = $request->accountantBookId; } if (!Utils::isUnset($request->applyStatusList)) { $body['applyStatusList'] = $request->applyStatusList; } if (!Utils::isUnset($request->bizStatusList)) { $body['bizStatusList'] = $request->bizStatusList; } if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->receiptStatusList)) { $body['receiptStatusList'] = $request->receiptStatusList; } if (!Utils::isUnset($request->searchParams)) { $body['searchParams'] = $request->searchParams; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryReceiptForInvoice', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/receipts/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryReceiptForInvoiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询智能财务单据主数据信息 * * * @param QueryReceiptForInvoiceRequest $request QueryReceiptForInvoiceRequest * * @return QueryReceiptForInvoiceResponse QueryReceiptForInvoiceResponse */ public function queryReceiptForInvoice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptForInvoiceHeaders([]); return $this->queryReceiptForInvoiceWithOptions($request, $headers, $runtime); } /** * @summary 批量查询智能财务的单据主数据基本信息 * * * @param QueryReceiptsBaseInfoRequest $request QueryReceiptsBaseInfoRequest * @param QueryReceiptsBaseInfoHeaders $headers QueryReceiptsBaseInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryReceiptsBaseInfoResponse QueryReceiptsBaseInfoResponse */ public function queryReceiptsBaseInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountantBookId)) { $query['accountantBookId'] = $request->accountantBookId; } if (!Utils::isUnset($request->amountEnd)) { $query['amountEnd'] = $request->amountEnd; } if (!Utils::isUnset($request->amountStart)) { $query['amountStart'] = $request->amountStart; } if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->timeFilterField)) { $query['timeFilterField'] = $request->timeFilterField; } if (!Utils::isUnset($request->title)) { $query['title'] = $request->title; } if (!Utils::isUnset($request->voucherStatus)) { $query['voucherStatus'] = $request->voucherStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryReceiptsBaseInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/receipts/dataInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryReceiptsBaseInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询智能财务的单据主数据基本信息 * * * @param QueryReceiptsBaseInfoRequest $request QueryReceiptsBaseInfoRequest * * @return QueryReceiptsBaseInfoResponse QueryReceiptsBaseInfoResponse */ public function queryReceiptsBaseInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptsBaseInfoHeaders([]); return $this->queryReceiptsBaseInfoWithOptions($request, $headers, $runtime); } /** * @summary 分页获取智能财务单据详情列表 * * * @param QueryReceiptsByPageRequest $request QueryReceiptsByPageRequest * @param QueryReceiptsByPageHeaders $headers QueryReceiptsByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryReceiptsByPageResponse QueryReceiptsByPageResponse */ public function queryReceiptsByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->modelId)) { $query['modelId'] = $request->modelId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->timeFilterField)) { $query['timeFilterField'] = $request->timeFilterField; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryReceiptsByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/receipts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryReceiptsByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取智能财务单据详情列表 * * * @param QueryReceiptsByPageRequest $request QueryReceiptsByPageRequest * * @return QueryReceiptsByPageResponse QueryReceiptsByPageResponse */ public function queryReceiptsByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReceiptsByPageHeaders([]); return $this->queryReceiptsByPageWithOptions($request, $headers, $runtime); } /** * @summary 分页查询智能财务角色下的成员信息 * * * @param QueryRoleMemberByPageRequest $request QueryRoleMemberByPageRequest * @param QueryRoleMemberByPageHeaders $headers QueryRoleMemberByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryRoleMemberByPageResponse QueryRoleMemberByPageResponse */ public function queryRoleMemberByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->roleCode)) { $query['roleCode'] = $request->roleCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRoleMemberByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/roles/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRoleMemberByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页查询智能财务角色下的成员信息 * * * @param QueryRoleMemberByPageRequest $request QueryRoleMemberByPageRequest * * @return QueryRoleMemberByPageResponse QueryRoleMemberByPageResponse */ public function queryRoleMemberByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRoleMemberByPageHeaders([]); return $this->queryRoleMemberByPageWithOptions($request, $headers, $runtime); } /** * @summary 分页批量获取智能财务应用内维护的供应商信息 * * * @param QuerySupplierByPageRequest $request QuerySupplierByPageRequest * @param QuerySupplierByPageHeaders $headers QuerySupplierByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QuerySupplierByPageResponse QuerySupplierByPageResponse */ public function querySupplierByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySupplierByPage', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/suppliers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySupplierByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页批量获取智能财务应用内维护的供应商信息 * * * @param QuerySupplierByPageRequest $request QuerySupplierByPageRequest * * @return QuerySupplierByPageResponse QuerySupplierByPageResponse */ public function querySupplierByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySupplierByPageHeaders([]); return $this->querySupplierByPageWithOptions($request, $headers, $runtime); } /** * @summary 查询用户角色 * * * @param QueryUserRoleListRequest $request QueryUserRoleListRequest * @param QueryUserRoleListHeaders $headers QueryUserRoleListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryUserRoleListResponse QueryUserRoleListResponse */ public function queryUserRoleListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryUserRoleList', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/users/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserRoleListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户角色 * * * @param QueryUserRoleListRequest $request QueryUserRoleListRequest * * @return QueryUserRoleListResponse QueryUserRoleListResponse */ public function queryUserRoleList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserRoleListHeaders([]); return $this->queryUserRoleListWithOptions($request, $headers, $runtime); } /** * @summary 解绑开票申请单关联的发票 * * * @param UnbindApplyReceiptAndInvoiceRelatedRequest $request UnbindApplyReceiptAndInvoiceRelatedRequest * @param UnbindApplyReceiptAndInvoiceRelatedHeaders $headers UnbindApplyReceiptAndInvoiceRelatedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UnbindApplyReceiptAndInvoiceRelatedResponse UnbindApplyReceiptAndInvoiceRelatedResponse */ public function unbindApplyReceiptAndInvoiceRelatedWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->invoiceKeyVOList)) { $body['invoiceKeyVOList'] = $request->invoiceKeyVOList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UnbindApplyReceiptAndInvoiceRelated', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/unbind', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnbindApplyReceiptAndInvoiceRelatedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 解绑开票申请单关联的发票 * * * @param UnbindApplyReceiptAndInvoiceRelatedRequest $request UnbindApplyReceiptAndInvoiceRelatedRequest * * @return UnbindApplyReceiptAndInvoiceRelatedResponse UnbindApplyReceiptAndInvoiceRelatedResponse */ public function unbindApplyReceiptAndInvoiceRelated($request) { $runtime = new RuntimeOptions([]); $headers = new UnbindApplyReceiptAndInvoiceRelatedHeaders([]); return $this->unbindApplyReceiptAndInvoiceRelatedWithOptions($request, $headers, $runtime); } /** * @summary 开票申请单关联发票 * * * @param UpdateApplyReceiptAndInvoiceRelatedRequest $request UpdateApplyReceiptAndInvoiceRelatedRequest * @param UpdateApplyReceiptAndInvoiceRelatedHeaders $headers UpdateApplyReceiptAndInvoiceRelatedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateApplyReceiptAndInvoiceRelatedResponse UpdateApplyReceiptAndInvoiceRelatedResponse */ public function updateApplyReceiptAndInvoiceRelatedWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->generalInvoiceVOList)) { $body['generalInvoiceVOList'] = $request->generalInvoiceVOList; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateApplyReceiptAndInvoiceRelated', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/applyReceipts/relate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateApplyReceiptAndInvoiceRelatedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 开票申请单关联发票 * * * @param UpdateApplyReceiptAndInvoiceRelatedRequest $request UpdateApplyReceiptAndInvoiceRelatedRequest * * @return UpdateApplyReceiptAndInvoiceRelatedResponse UpdateApplyReceiptAndInvoiceRelatedResponse */ public function updateApplyReceiptAndInvoiceRelated($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateApplyReceiptAndInvoiceRelatedHeaders([]); return $this->updateApplyReceiptAndInvoiceRelatedWithOptions($request, $headers, $runtime); } /** * @summary 更新全电发票企业信息 * * * @param UpdateDigitalInvoiceOrgInfoRequest $request UpdateDigitalInvoiceOrgInfoRequest * @param UpdateDigitalInvoiceOrgInfoHeaders $headers UpdateDigitalInvoiceOrgInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateDigitalInvoiceOrgInfoResponse UpdateDigitalInvoiceOrgInfoResponse */ public function updateDigitalInvoiceOrgInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->digitalInvoiceType)) { $body['digitalInvoiceType'] = $request->digitalInvoiceType; } if (!Utils::isUnset($request->isDigitalOrg)) { $body['isDigitalOrg'] = $request->isDigitalOrg; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateDigitalInvoiceOrgInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/organizationInfos', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateDigitalInvoiceOrgInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新全电发票企业信息 * * * @param UpdateDigitalInvoiceOrgInfoRequest $request UpdateDigitalInvoiceOrgInfoRequest * * @return UpdateDigitalInvoiceOrgInfoResponse UpdateDigitalInvoiceOrgInfoResponse */ public function updateDigitalInvoiceOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDigitalInvoiceOrgInfoHeaders([]); return $this->updateDigitalInvoiceOrgInfoWithOptions($request, $headers, $runtime); } /** * @summary 更新智能财务配置的企业信息 * * * @param UpdateFinanceCompanyInfoRequest $request UpdateFinanceCompanyInfoRequest * @param UpdateFinanceCompanyInfoHeaders $headers UpdateFinanceCompanyInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateFinanceCompanyInfoResponse UpdateFinanceCompanyInfoResponse */ public function updateFinanceCompanyInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->companyName)) { $query['companyName'] = $request->companyName; } if (!Utils::isUnset($request->taxNature)) { $query['taxNature'] = $request->taxNature; } if (!Utils::isUnset($request->taxNo)) { $query['taxNo'] = $request->taxNo; } if (!Utils::isUnset($request->taxOrInvoiceHasInit)) { $query['taxOrInvoiceHasInit'] = $request->taxOrInvoiceHasInit; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateFinanceCompanyInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/companies', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateFinanceCompanyInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新智能财务配置的企业信息 * * * @param UpdateFinanceCompanyInfoRequest $request UpdateFinanceCompanyInfoRequest * * @return UpdateFinanceCompanyInfoResponse UpdateFinanceCompanyInfoResponse */ public function updateFinanceCompanyInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateFinanceCompanyInfoHeaders([]); return $this->updateFinanceCompanyInfoWithOptions($request, $headers, $runtime); } /** * @summary 更新钉钉智能财务多主体信息 * * * @param UpdateFinanceMultiCompanyInfoRequest $request UpdateFinanceMultiCompanyInfoRequest * @param UpdateFinanceMultiCompanyInfoHeaders $headers UpdateFinanceMultiCompanyInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateFinanceMultiCompanyInfoResponse UpdateFinanceMultiCompanyInfoResponse */ public function updateFinanceMultiCompanyInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->companyName)) { $query['companyName'] = $request->companyName; } if (!Utils::isUnset($request->taxNature)) { $query['taxNature'] = $request->taxNature; } if (!Utils::isUnset($request->taxNo)) { $query['taxNo'] = $request->taxNo; } if (!Utils::isUnset($request->taxOrInvoiceHasInit)) { $query['taxOrInvoiceHasInit'] = $request->taxOrInvoiceHasInit; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateFinanceMultiCompanyInfo', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/multiCompanies', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateFinanceMultiCompanyInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新钉钉智能财务多主体信息 * * * @param UpdateFinanceMultiCompanyInfoRequest $request UpdateFinanceMultiCompanyInfoRequest * * @return UpdateFinanceMultiCompanyInfoResponse UpdateFinanceMultiCompanyInfoResponse */ public function updateFinanceMultiCompanyInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateFinanceMultiCompanyInfoHeaders([]); return $this->updateFinanceMultiCompanyInfoWithOptions($request, $headers, $runtime); } /** * @summary 发票红冲/废弃状态变更接口 * * * @param UpdateInvoiceAbandonStatusRequest $request UpdateInvoiceAbandonStatusRequest * @param UpdateInvoiceAbandonStatusHeaders $headers UpdateInvoiceAbandonStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceAbandonStatusResponse UpdateInvoiceAbandonStatusResponse */ public function updateInvoiceAbandonStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->blueGeneralInvoiceVO)) { $body['blueGeneralInvoiceVO'] = $request->blueGeneralInvoiceVO; } if (!Utils::isUnset($request->blueInvoiceCode)) { $body['blueInvoiceCode'] = $request->blueInvoiceCode; } if (!Utils::isUnset($request->blueInvoiceNo)) { $body['blueInvoiceNo'] = $request->blueInvoiceNo; } if (!Utils::isUnset($request->blueInvoiceStatus)) { $body['blueInvoiceStatus'] = $request->blueInvoiceStatus; } if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->redGeneralInvoiceVO)) { $body['redGeneralInvoiceVO'] = $request->redGeneralInvoiceVO; } if (!Utils::isUnset($request->redInvoiceCode)) { $body['redInvoiceCode'] = $request->redInvoiceCode; } if (!Utils::isUnset($request->redInvoiceNo)) { $body['redInvoiceNo'] = $request->redInvoiceNo; } if (!Utils::isUnset($request->redInvoiceStatus)) { $body['redInvoiceStatus'] = $request->redInvoiceStatus; } if (!Utils::isUnset($request->targetInvoice)) { $body['targetInvoice'] = $request->targetInvoice; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceAbandonStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/abandonStatus', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceAbandonStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发票红冲/废弃状态变更接口 * * * @param UpdateInvoiceAbandonStatusRequest $request UpdateInvoiceAbandonStatusRequest * * @return UpdateInvoiceAbandonStatusResponse UpdateInvoiceAbandonStatusResponse */ public function updateInvoiceAbandonStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAbandonStatusHeaders([]); return $this->updateInvoiceAbandonStatusWithOptions($request, $headers, $runtime); } /** * @summary 更新发票账期状态 * * * @param UpdateInvoiceAccountPeriodRequest $request UpdateInvoiceAccountPeriodRequest * @param UpdateInvoiceAccountPeriodHeaders $headers UpdateInvoiceAccountPeriodHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceAccountPeriodResponse UpdateInvoiceAccountPeriodResponse */ public function updateInvoiceAccountPeriodWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountPeriod)) { $body['accountPeriod'] = $request->accountPeriod; } if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->generalInvoiceVOList)) { $body['generalInvoiceVOList'] = $request->generalInvoiceVOList; } if (!Utils::isUnset($request->invoiceKeyVOList)) { $body['invoiceKeyVOList'] = $request->invoiceKeyVOList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceAccountPeriod', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/accountPeriods', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceAccountPeriodResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新发票账期状态 * * * @param UpdateInvoiceAccountPeriodRequest $request UpdateInvoiceAccountPeriodRequest * * @return UpdateInvoiceAccountPeriodResponse UpdateInvoiceAccountPeriodResponse */ public function updateInvoiceAccountPeriod($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAccountPeriodHeaders([]); return $this->updateInvoiceAccountPeriodWithOptions($request, $headers, $runtime); } /** * @summary 更新全电企业入账时间 * * * @param UpdateInvoiceAccountingPeriodDateRequest $request UpdateInvoiceAccountingPeriodDateRequest * @param UpdateInvoiceAccountingPeriodDateHeaders $headers UpdateInvoiceAccountingPeriodDateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceAccountingPeriodDateResponse UpdateInvoiceAccountingPeriodDateResponse */ public function updateInvoiceAccountingPeriodDateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->invoiceFinanceInfoVOList)) { $body['invoiceFinanceInfoVOList'] = $request->invoiceFinanceInfoVOList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceAccountingPeriodDate', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/accounts/periodDates', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceAccountingPeriodDateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新全电企业入账时间 * * * @param UpdateInvoiceAccountingPeriodDateRequest $request UpdateInvoiceAccountingPeriodDateRequest * * @return UpdateInvoiceAccountingPeriodDateResponse UpdateInvoiceAccountingPeriodDateResponse */ public function updateInvoiceAccountingPeriodDate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAccountingPeriodDateHeaders([]); return $this->updateInvoiceAccountingPeriodDateWithOptions($request, $headers, $runtime); } /** * @summary 更新全电企业入账状态 * * * @param UpdateInvoiceAccountingStatusRequest $request UpdateInvoiceAccountingStatusRequest * @param UpdateInvoiceAccountingStatusHeaders $headers UpdateInvoiceAccountingStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceAccountingStatusResponse UpdateInvoiceAccountingStatusResponse */ public function updateInvoiceAccountingStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->invoiceFinanceInfoVOList)) { $body['invoiceFinanceInfoVOList'] = $request->invoiceFinanceInfoVOList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceAccountingStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/accounts/statuses', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceAccountingStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新全电企业入账状态 * * * @param UpdateInvoiceAccountingStatusRequest $request UpdateInvoiceAccountingStatusRequest * * @return UpdateInvoiceAccountingStatusResponse UpdateInvoiceAccountingStatusResponse */ public function updateInvoiceAccountingStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAccountingStatusHeaders([]); return $this->updateInvoiceAccountingStatusWithOptions($request, $headers, $runtime); } /** * @summary 更新发票关联审批单 * * * @param UpdateInvoiceAndReceiptRelatedRequest $request UpdateInvoiceAndReceiptRelatedRequest * @param UpdateInvoiceAndReceiptRelatedHeaders $headers UpdateInvoiceAndReceiptRelatedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceAndReceiptRelatedResponse UpdateInvoiceAndReceiptRelatedResponse */ public function updateInvoiceAndReceiptRelatedWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->generalInvoiceVO)) { $body['generalInvoiceVO'] = $request->generalInvoiceVO; } if (!Utils::isUnset($request->invoiceCode)) { $body['invoiceCode'] = $request->invoiceCode; } if (!Utils::isUnset($request->invoiceNo)) { $body['invoiceNo'] = $request->invoiceNo; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->receiptCode)) { $body['receiptCode'] = $request->receiptCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceAndReceiptRelated', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/approvalReceipts', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceAndReceiptRelatedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新发票关联审批单 * * * @param UpdateInvoiceAndReceiptRelatedRequest $request UpdateInvoiceAndReceiptRelatedRequest * * @return UpdateInvoiceAndReceiptRelatedResponse UpdateInvoiceAndReceiptRelatedResponse */ public function updateInvoiceAndReceiptRelated($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceAndReceiptRelatedHeaders([]); return $this->updateInvoiceAndReceiptRelatedWithOptions($request, $headers, $runtime); } /** * @summary 更新发票忽略状态 * * * @param UpdateInvoiceIgnoreStatusRequest $request UpdateInvoiceIgnoreStatusRequest * @param UpdateInvoiceIgnoreStatusHeaders $headers UpdateInvoiceIgnoreStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceIgnoreStatusResponse UpdateInvoiceIgnoreStatusResponse */ public function updateInvoiceIgnoreStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->instanceId)) { $query['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } if (!Utils::isUnset($request->status)) { $query['status'] = $request->status; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateInvoiceIgnoreStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/ignoreStatus', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceIgnoreStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新发票忽略状态 * * * @param UpdateInvoiceIgnoreStatusRequest $request UpdateInvoiceIgnoreStatusRequest * * @return UpdateInvoiceIgnoreStatusResponse UpdateInvoiceIgnoreStatusResponse */ public function updateInvoiceIgnoreStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceIgnoreStatusHeaders([]); return $this->updateInvoiceIgnoreStatusWithOptions($request, $headers, $runtime); } /** * @summary 发票认证状态变更接口 * * * @param UpdateInvoiceVerifyStatusRequest $request UpdateInvoiceVerifyStatusRequest * @param UpdateInvoiceVerifyStatusHeaders $headers UpdateInvoiceVerifyStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceVerifyStatusResponse UpdateInvoiceVerifyStatusResponse */ public function updateInvoiceVerifyStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->companyCode)) { $body['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->deductStatus)) { $body['deductStatus'] = $request->deductStatus; } if (!Utils::isUnset($request->generalInvoiceVOList)) { $body['generalInvoiceVOList'] = $request->generalInvoiceVOList; } if (!Utils::isUnset($request->invoiceKeyVOList)) { $body['invoiceKeyVOList'] = $request->invoiceKeyVOList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->verifyStatus)) { $body['verifyStatus'] = $request->verifyStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceVerifyStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/verifyStatus', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceVerifyStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发票认证状态变更接口 * * * @param UpdateInvoiceVerifyStatusRequest $request UpdateInvoiceVerifyStatusRequest * * @return UpdateInvoiceVerifyStatusResponse UpdateInvoiceVerifyStatusResponse */ public function updateInvoiceVerifyStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceVerifyStatusHeaders([]); return $this->updateInvoiceVerifyStatusWithOptions($request, $headers, $runtime); } /** * @summary 更新发票生成凭证状态 * * * @param UpdateInvoiceVoucherStatusRequest $request UpdateInvoiceVoucherStatusRequest * @param UpdateInvoiceVoucherStatusHeaders $headers UpdateInvoiceVoucherStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInvoiceVoucherStatusResponse UpdateInvoiceVoucherStatusResponse */ public function updateInvoiceVoucherStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountantBookId)) { $body['accountantBookId'] = $request->accountantBookId; } if (!Utils::isUnset($request->actionType)) { $body['actionType'] = $request->actionType; } if (!Utils::isUnset($request->invoiceCode)) { $body['invoiceCode'] = $request->invoiceCode; } if (!Utils::isUnset($request->invoiceNo)) { $body['invoiceNo'] = $request->invoiceNo; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->voucherId)) { $body['voucherId'] = $request->voucherId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateInvoiceVoucherStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/invoices/vouchers/states', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInvoiceVoucherStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新发票生成凭证状态 * * * @param UpdateInvoiceVoucherStatusRequest $request UpdateInvoiceVoucherStatusRequest * * @return UpdateInvoiceVoucherStatusResponse UpdateInvoiceVoucherStatusResponse */ public function updateInvoiceVoucherStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInvoiceVoucherStatusHeaders([]); return $this->updateInvoiceVoucherStatusWithOptions($request, $headers, $runtime); } /** * @summary 更新智能财务单据 * * * @param UpdateReceiptRequest $request UpdateReceiptRequest * @param UpdateReceiptHeaders $headers UpdateReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateReceiptResponse UpdateReceiptResponse */ public function updateReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->receipts)) { $body['receipts'] = $request->receipts; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateReceipt', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/receipts', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新智能财务单据 * * * @param UpdateReceiptRequest $request UpdateReceiptRequest * * @return UpdateReceiptResponse UpdateReceiptResponse */ public function updateReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateReceiptHeaders([]); return $this->updateReceiptWithOptions($request, $headers, $runtime); } /** * @summary 更新智能财务审批单的凭证状态 * * * @param UpdateReceiptVoucherStatusRequest $request UpdateReceiptVoucherStatusRequest * @param UpdateReceiptVoucherStatusHeaders $headers UpdateReceiptVoucherStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateReceiptVoucherStatusResponse UpdateReceiptVoucherStatusResponse */ public function updateReceiptVoucherStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountPeriod)) { $body['accountPeriod'] = $request->accountPeriod; } if (!Utils::isUnset($request->actionType)) { $body['actionType'] = $request->actionType; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->receiptId)) { $body['receiptId'] = $request->receiptId; } if (!Utils::isUnset($request->voucherCode)) { $body['voucherCode'] = $request->voucherCode; } if (!Utils::isUnset($request->voucherId)) { $body['voucherId'] = $request->voucherId; } if (!Utils::isUnset($request->voucherNo)) { $body['voucherNo'] = $request->voucherNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateReceiptVoucherStatus', 'version' => 'bizfinance_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/bizfinance/vouchers/recepits', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateReceiptVoucherStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新智能财务审批单的凭证状态 * * * @param UpdateReceiptVoucherStatusRequest $request UpdateReceiptVoucherStatusRequest * * @return UpdateReceiptVoucherStatusResponse UpdateReceiptVoucherStatusResponse */ public function updateReceiptVoucherStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateReceiptVoucherStatusHeaders([]); return $this->updateReceiptVoucherStatusWithOptions($request, $headers, $runtime); } } src/bizfinance_1_0/Models/AppendRolePermissionHeaders.php 0000644 00000002352 14713400346 0017440 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AppendRolePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/AppendRolePermissionRequest.php 0000644 00000003753 14713400346 0017523 0 ustar 00 'rolePermissionItemList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->rolePermissionItemList) { $res['rolePermissionItemList'] = []; if (null !== $this->rolePermissionItemList && \is_array($this->rolePermissionItemList)) { $n = 0; foreach ($this->rolePermissionItemList as $item) { $res['rolePermissionItemList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AppendRolePermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['rolePermissionItemList'])) { if (!empty($map['rolePermissionItemList'])) { $model->rolePermissionItemList = []; $n = 0; foreach ($map['rolePermissionItemList'] as $item) { $model->rolePermissionItemList[$n++] = null !== $item ? rolePermissionItemList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/AppendRolePermissionRequest/rolePermissionItemList.php 0000644 00000003623 14713400346 0024204 0 ustar 00 'permissionList', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->permissionList) { $res['permissionList'] = []; if (null !== $this->permissionList && \is_array($this->permissionList)) { $n = 0; foreach ($this->permissionList as $item) { $res['permissionList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return rolePermissionItemList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['permissionList'])) { if (!empty($map['permissionList'])) { $model->permissionList = []; $n = 0; foreach ($map['permissionList'] as $item) { $model->permissionList[$n++] = null !== $item ? permissionList::fromMap($item) : $item; } } } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/bizfinance_1_0/Models/AppendRolePermissionRequest/rolePermissionItemList/permissionList.php 0000644 00000002542 14713400346 0027227 0 ustar 00 'actionIdList', 'resourceIdentity' => 'resourceIdentity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionIdList) { $res['actionIdList'] = $this->actionIdList; } if (null !== $this->resourceIdentity) { $res['resourceIdentity'] = $this->resourceIdentity; } return $res; } /** * @param array $map * * @return permissionList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionIdList'])) { if (!empty($map['actionIdList'])) { $model->actionIdList = $map['actionIdList']; } } if (isset($map['resourceIdentity'])) { $model->resourceIdentity = $map['resourceIdentity']; } return $model; } } src/bizfinance_1_0/Models/AppendRolePermissionResponse.php 0000644 00000002760 14713400346 0017666 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AppendRolePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AppendRolePermissionResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/AppendRolePermissionResponseBody.php 0000644 00000001513 14713400346 0020477 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AppendRolePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/AppendRolePermissionShrinkRequest.php 0000644 00000002500 14713400346 0020667 0 ustar 00 'rolePermissionItemList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->rolePermissionItemListShrink) { $res['rolePermissionItemList'] = $this->rolePermissionItemListShrink; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AppendRolePermissionShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['rolePermissionItemList'])) { $model->rolePermissionItemListShrink = $map['rolePermissionItemList']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceHeaders.php 0000644 00000002340 14713400346 0016302 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchAddInvoiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceRequest.php 0000644 00000005644 14713400346 0016371 0 ustar 00 'companyCode', 'generalInvoiceVOList' => 'generalInvoiceVOList', 'operator' => 'operator', 'orderId' => 'orderId', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->generalInvoiceVOList) { $res['generalInvoiceVOList'] = []; if (null !== $this->generalInvoiceVOList && \is_array($this->generalInvoiceVOList)) { $n = 0; foreach ($this->generalInvoiceVOList as $item) { $res['generalInvoiceVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return BatchAddInvoiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['generalInvoiceVOList'])) { if (!empty($map['generalInvoiceVOList'])) { $model->generalInvoiceVOList = []; $n = 0; foreach ($map['generalInvoiceVOList'] as $item) { $model->generalInvoiceVOList[$n++] = null !== $item ? generalInvoiceVOList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceRequest/generalInvoiceVOList.php 0000644 00000051726 14713400346 0022426 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'fileId' => 'fileId', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'receiverEmail' => 'receiverEmail', 'receiverName' => 'receiverName', 'receiverTel' => 'receiverTel', 'remark' => 'remark', 'reviewer' => 'reviewer', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'spaceId' => 'spaceId', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->fileId) { $res['fileId'] = $this->fileId; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->receiverEmail) { $res['receiverEmail'] = $this->receiverEmail; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverTel) { $res['receiverTel'] = $this->receiverTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->reviewer) { $res['reviewer'] = $this->reviewer; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return generalInvoiceVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['fileId'])) { $model->fileId = $map['fileId']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['receiverEmail'])) { $model->receiverEmail = $map['receiverEmail']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverTel'])) { $model->receiverTel = $map['receiverTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['reviewer'])) { $model->reviewer = $map['reviewer']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceRequest/generalInvoiceVOList/generalInvoiceDetailVOList.php0000644 00000010043 14713400346 0027567 0 ustar 00 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } bizfinance_1_0/Models/BatchAddInvoiceRequest/generalInvoiceVOList/secondHandCarInvoiceDetailList.php0000644 00000006705 14713400346 0030334 0 ustar 00 src 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } bizfinance_1_0/Models/BatchAddInvoiceRequest/generalInvoiceVOList/usedVehicleSaleDetailVOList.php 0000644 00000013671 14713400346 0027635 0 ustar 00 src 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceRequest/generalInvoiceVOList/vehicleSaleDetailVOList.php 0000644 00000012606 14713400346 0027070 0 ustar 00 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceResponse.php 0000644 00000002734 14713400346 0016534 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchAddInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchAddInvoiceResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceResponseBody.php 0000644 00000004701 14713400346 0017346 0 ustar 00 'errorResult', 'successResult' => 'successResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorResult) { $res['errorResult'] = []; if (null !== $this->errorResult && \is_array($this->errorResult)) { $n = 0; foreach ($this->errorResult as $item) { $res['errorResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->successResult) { $res['successResult'] = []; if (null !== $this->successResult && \is_array($this->successResult)) { $n = 0; foreach ($this->successResult as $item) { $res['successResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchAddInvoiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorResult'])) { if (!empty($map['errorResult'])) { $model->errorResult = []; $n = 0; foreach ($map['errorResult'] as $item) { $model->errorResult[$n++] = null !== $item ? errorResult::fromMap($item) : $item; } } } if (isset($map['successResult'])) { if (!empty($map['successResult'])) { $model->successResult = []; $n = 0; foreach ($map['successResult'] as $item) { $model->successResult[$n++] = null !== $item ? successResult::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceResponseBody/errorResult.php 0000644 00000002247 14713400346 0021701 0 ustar 00 'errorKey', 'errorMsg' => 'errorMsg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorKey) { $res['errorKey'] = $this->errorKey; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } return $res; } /** * @param array $map * * @return errorResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorKey'])) { $model->errorKey = $map['errorKey']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } return $model; } } src/bizfinance_1_0/Models/BatchAddInvoiceResponseBody/successResult.php 0000644 00000002233 14713400346 0022213 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return successResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/BatchCreateCustomerHeaders.php 0000644 00000002350 14713400346 0017223 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchCreateCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/BatchCreateCustomerRequest.php 0000644 00000004151 14713400346 0017301 0 ustar 00 'createCustomerRequestList', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createCustomerRequestList) { $res['createCustomerRequestList'] = []; if (null !== $this->createCustomerRequestList && \is_array($this->createCustomerRequestList)) { $n = 0; foreach ($this->createCustomerRequestList as $item) { $res['createCustomerRequestList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return BatchCreateCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createCustomerRequestList'])) { if (!empty($map['createCustomerRequestList'])) { $model->createCustomerRequestList = []; $n = 0; foreach ($map['createCustomerRequestList'] as $item) { $model->createCustomerRequestList[$n++] = null !== $item ? createCustomerRequestList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/BatchCreateCustomerRequest/createCustomerRequestList.php 0000644 00000010332 14713400346 0024471 0 ustar 00 'description', 'drawerEmail' => 'drawerEmail', 'drawerTelephone' => 'drawerTelephone', 'name' => 'name', 'purchaserAccount' => 'purchaserAccount', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankName' => 'purchaserBankName', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->drawerEmail) { $res['drawerEmail'] = $this->drawerEmail; } if (null !== $this->drawerTelephone) { $res['drawerTelephone'] = $this->drawerTelephone; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->purchaserAccount) { $res['purchaserAccount'] = $this->purchaserAccount; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankName) { $res['purchaserBankName'] = $this->purchaserBankName; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } return $res; } /** * @param array $map * * @return createCustomerRequestList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['drawerEmail'])) { $model->drawerEmail = $map['drawerEmail']; } if (isset($map['drawerTelephone'])) { $model->drawerTelephone = $map['drawerTelephone']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['purchaserAccount'])) { $model->purchaserAccount = $map['purchaserAccount']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankName'])) { $model->purchaserBankName = $map['purchaserBankName']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } return $model; } } src/bizfinance_1_0/Models/BatchCreateCustomerResponse.php 0000644 00000002754 14713400346 0017456 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchCreateCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchCreateCustomerResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/BatchCreateCustomerResponseBody.php 0000644 00000003415 14713400346 0020267 0 ustar 00 'errorResult', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorResult) { $res['errorResult'] = []; if (null !== $this->errorResult && \is_array($this->errorResult)) { $n = 0; foreach ($this->errorResult as $item) { $res['errorResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return BatchCreateCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorResult'])) { if (!empty($map['errorResult'])) { $model->errorResult = []; $n = 0; foreach ($map['errorResult'] as $item) { $model->errorResult[$n++] = null !== $item ? errorResult::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/BatchCreateCustomerResponseBody/errorResult.php 0000644 00000002165 14713400346 0022620 0 ustar 00 'errorKey', 'errorMsg' => 'errorMsg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorKey) { $res['errorKey'] = $this->errorKey; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } return $res; } /** * @param array $map * * @return errorResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorKey'])) { $model->errorKey = $map['errorKey']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } return $model; } } src/bizfinance_1_0/Models/BeginConsumeHeaders.php 0000644 00000002332 14713400346 0015712 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BeginConsumeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/BeginConsumeRequest.php 0000644 00000003406 14713400346 0015772 0 ustar 00 'benefitCode', 'bizRequestId' => 'bizRequestId', 'quota' => 'quota', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BeginConsumeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/BeginConsumeResponse.php 0000644 00000002720 14713400346 0016136 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BeginConsumeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BeginConsumeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/BeginConsumeResponseBody.php 0000644 00000001715 14713400346 0016757 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return BeginConsumeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/BeginConsumeResponseBody/result.php 0000644 00000001513 14713400346 0020271 0 ustar 00 'isSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccess) { $res['isSuccess'] = $this->isSuccess; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccess'])) { $model->isSuccess = $map['isSuccess']; } return $model; } } src/bizfinance_1_0/Models/BindCompanyAccountantBookHeaders.php 0000644 00000002364 14713400346 0020377 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BindCompanyAccountantBookHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/BindCompanyAccountantBookRequest.php 0000644 00000002534 14713400346 0020453 0 ustar 00 'accountantBookId', 'companyCode' => 'companyCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } return $res; } /** * @param array $map * * @return BindCompanyAccountantBookRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } return $model; } } src/bizfinance_1_0/Models/BindCompanyAccountantBookResponse.php 0000644 00000003004 14713400346 0020612 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BindCompanyAccountantBookResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BindCompanyAccountantBookResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/BindCompanyAccountantBookResponseBody.php 0000644 00000001525 14713400346 0021436 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BindCompanyAccountantBookResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/CancelConsumeHeaders.php 0000644 00000002334 14713400346 0016055 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelConsumeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/CancelConsumeRequest.php 0000644 00000003441 14713400346 0016132 0 ustar 00 'benefitCode', 'bizRequestId' => 'bizRequestId', 'quota' => 'quota', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CancelConsumeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/CancelConsumeResponse.php 0000644 00000002724 14713400346 0016303 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelConsumeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelConsumeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/CancelConsumeResponseBody.php 0000644 00000001720 14713400346 0017114 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return CancelConsumeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/CancelConsumeResponseBody/result.php 0000644 00000001514 14713400346 0020433 0 ustar 00 'isSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccess) { $res['isSuccess'] = $this->isSuccess; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccess'])) { $model->isSuccess = $map['isSuccess']; } return $model; } } src/bizfinance_1_0/Models/CheckVoucherStatusHeaders.php 0000644 00000002346 14713400346 0017116 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckVoucherStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/CheckVoucherStatusRequest.php 0000644 00000007473 14713400346 0017201 0 ustar 00 'companyCode', 'endTime' => 'endTime', 'financeType' => 'financeType', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', 'taxNo' => 'taxNo', 'verifyStatus' => 'verifyStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } return $res; } /** * @param array $map * * @return CheckVoucherStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } return $model; } } src/bizfinance_1_0/Models/CheckVoucherStatusResponse.php 0000644 00000002750 14713400346 0017340 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckVoucherStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckVoucherStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/CheckVoucherStatusResponseBody.php 0000644 00000002135 14713400346 0020153 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CheckVoucherStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/CommitConsumeHeaders.php 0000644 00000002334 14713400346 0016120 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CommitConsumeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/CommitConsumeRequest.php 0000644 00000003406 14713400346 0016176 0 ustar 00 'benefitCode', 'bizRequestId' => 'bizRequestId', 'quota' => 'quota', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CommitConsumeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/CommitConsumeResponse.php 0000644 00000002724 14713400346 0016346 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CommitConsumeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CommitConsumeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/CommitConsumeResponseBody.php 0000644 00000001720 14713400346 0017157 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return CommitConsumeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/CommitConsumeResponseBody/result.php 0000644 00000001514 14713400346 0020476 0 ustar 00 'isSuccess', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isSuccess) { $res['isSuccess'] = $this->isSuccess; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isSuccess'])) { $model->isSuccess = $map['isSuccess']; } return $model; } } src/bizfinance_1_0/Models/CreateCustomerHeaders.php 0000644 00000002336 14713400346 0016265 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/CreateCustomerRequest.php 0000644 00000011060 14713400346 0016334 0 ustar 00 'creator', 'description' => 'description', 'drawerEmail' => 'drawerEmail', 'drawerTelephone' => 'drawerTelephone', 'name' => 'name', 'purchaserAccount' => 'purchaserAccount', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankName' => 'purchaserBankName', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->drawerEmail) { $res['drawerEmail'] = $this->drawerEmail; } if (null !== $this->drawerTelephone) { $res['drawerTelephone'] = $this->drawerTelephone; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->purchaserAccount) { $res['purchaserAccount'] = $this->purchaserAccount; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankName) { $res['purchaserBankName'] = $this->purchaserBankName; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } return $res; } /** * @param array $map * * @return CreateCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['drawerEmail'])) { $model->drawerEmail = $map['drawerEmail']; } if (isset($map['drawerTelephone'])) { $model->drawerTelephone = $map['drawerTelephone']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['purchaserAccount'])) { $model->purchaserAccount = $map['purchaserAccount']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankName'])) { $model->purchaserBankName = $map['purchaserBankName']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } return $model; } } src/bizfinance_1_0/Models/CreateCustomerResponse.php 0000644 00000002730 14713400346 0016506 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCustomerResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/CreateCustomerResponseBody.php 0000644 00000001631 14713400346 0017323 0 ustar 00 'customerCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerCode) { $res['customerCode'] = $this->customerCode; } return $res; } /** * @param array $map * * @return CreateCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerCode'])) { $model->customerCode = $map['customerCode']; } return $model; } } src/bizfinance_1_0/Models/CreateReceiptHeaders.php 0000644 00000002334 14713400346 0016055 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/CreateReceiptRequest.php 0000644 00000002724 14713400346 0016135 0 ustar 00 'receipts', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->receipts) { $res['receipts'] = []; if (null !== $this->receipts && \is_array($this->receipts)) { $n = 0; foreach ($this->receipts as $item) { $res['receipts'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['receipts'])) { if (!empty($map['receipts'])) { $model->receipts = []; $n = 0; foreach ($map['receipts'] as $item) { $model->receipts[$n++] = null !== $item ? receipts::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/CreateReceiptRequest/receipts.php 0000644 00000013067 14713400346 0017755 0 ustar 00 'amount', 'categoryCode' => 'categoryCode', 'code' => 'code', 'createTime' => 'createTime', 'createUserId' => 'createUserId', 'customerCode' => 'customerCode', 'enterpriseAcountCode' => 'enterpriseAcountCode', 'occurDate' => 'occurDate', 'principalId' => 'principalId', 'projectCode' => 'projectCode', 'receiptType' => 'receiptType', 'remark' => 'remark', 'supplierCode' => 'supplierCode', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->categoryCode) { $res['categoryCode'] = $this->categoryCode; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->createUserId) { $res['createUserId'] = $this->createUserId; } if (null !== $this->customerCode) { $res['customerCode'] = $this->customerCode; } if (null !== $this->enterpriseAcountCode) { $res['enterpriseAcountCode'] = $this->enterpriseAcountCode; } if (null !== $this->occurDate) { $res['occurDate'] = $this->occurDate; } if (null !== $this->principalId) { $res['principalId'] = $this->principalId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->receiptType) { $res['receiptType'] = $this->receiptType; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->supplierCode) { $res['supplierCode'] = $this->supplierCode; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return receipts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['categoryCode'])) { $model->categoryCode = $map['categoryCode']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['createUserId'])) { $model->createUserId = $map['createUserId']; } if (isset($map['customerCode'])) { $model->customerCode = $map['customerCode']; } if (isset($map['enterpriseAcountCode'])) { $model->enterpriseAcountCode = $map['enterpriseAcountCode']; } if (isset($map['occurDate'])) { $model->occurDate = $map['occurDate']; } if (isset($map['principalId'])) { $model->principalId = $map['principalId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['receiptType'])) { $model->receiptType = $map['receiptType']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['supplierCode'])) { $model->supplierCode = $map['supplierCode']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/bizfinance_1_0/Models/CreateReceiptResponse.php 0000644 00000002724 14713400346 0016303 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/CreateReceiptResponseBody.php 0000644 00000002721 14713400346 0017116 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/CreateReceiptResponseBody/results.php 0000644 00000003566 14713400346 0020627 0 ustar 00 'code', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/DeleteReceiptHeaders.php 0000644 00000002334 14713400346 0016054 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/DeleteReceiptRequest.php 0000644 00000002724 14713400346 0016134 0 ustar 00 'receipts', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->receipts) { $res['receipts'] = []; if (null !== $this->receipts && \is_array($this->receipts)) { $n = 0; foreach ($this->receipts as $item) { $res['receipts'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DeleteReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['receipts'])) { if (!empty($map['receipts'])) { $model->receipts = []; $n = 0; foreach ($map['receipts'] as $item) { $model->receipts[$n++] = null !== $item ? receipts::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/DeleteReceiptRequest/receipts.php 0000644 00000003243 14713400346 0017747 0 ustar 00 'code', 'deleteUserId' => 'deleteUserId', 'receiptType' => 'receiptType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->deleteUserId) { $res['deleteUserId'] = $this->deleteUserId; } if (null !== $this->receiptType) { $res['receiptType'] = $this->receiptType; } return $res; } /** * @param array $map * * @return receipts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['deleteUserId'])) { $model->deleteUserId = $map['deleteUserId']; } if (isset($map['receiptType'])) { $model->receiptType = $map['receiptType']; } return $model; } } src/bizfinance_1_0/Models/DeleteReceiptResponse.php 0000644 00000002724 14713400346 0016302 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/DeleteReceiptResponseBody.php 0000644 00000002721 14713400346 0017115 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DeleteReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/DeleteReceiptResponseBody/results.php 0000644 00000003561 14713400346 0020621 0 ustar 00 'code', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/GetBookkeepingUserListHeaders.php 0000644 00000002356 14713400346 0017732 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBookkeepingUserListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetBookkeepingUserListResponse.php 0000644 00000002770 14713400346 0020155 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBookkeepingUserListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBookkeepingUserListResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetBookkeepingUserListResponseBody.php 0000644 00000001706 14713400346 0020771 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetBookkeepingUserListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/bizfinance_1_0/Models/GetCategoryHeaders.php 0000644 00000002330 14713400346 0015547 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCategoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetCategoryRequest.php 0000644 00000001570 14713400346 0015631 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetCategoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_1_0/Models/GetCategoryResponse.php 0000644 00000002714 14713400346 0016000 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCategoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCategoryResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetCategoryResponseBody.php 0000644 00000006571 14713400346 0016623 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', 'remark' => 'remark', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->isDir) { $res['isDir'] = $this->isDir; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentCode) { $res['parentCode'] = $this->parentCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetCategoryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['isDir'])) { $model->isDir = $map['isDir']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentCode'])) { $model->parentCode = $map['parentCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_1_0/Models/GetCustomerHeaders.php 0000644 00000002330 14713400346 0015573 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetCustomerRequest.php 0000644 00000001566 14713400346 0015662 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_1_0/Models/GetCustomerResponse.php 0000644 00000002714 14713400346 0016024 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCustomerResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetCustomerResponseBody.php 0000644 00000006321 14713400346 0016640 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return GetCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/GetFinanceAccountHeaders.php 0000644 00000002344 14713400346 0016657 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFinanceAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetFinanceAccountRequest.php 0000644 00000001641 14713400346 0016733 0 ustar 00 'accountCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountCode) { $res['accountCode'] = $this->accountCode; } return $res; } /** * @param array $map * * @return GetFinanceAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountCode'])) { $model->accountCode = $map['accountCode']; } return $model; } } src/bizfinance_1_0/Models/GetFinanceAccountResponse.php 0000644 00000002744 14713400346 0017106 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFinanceAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFinanceAccountResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetFinanceAccountResponseBody.php 0000644 00000011054 14713400346 0017716 0 ustar 00 'accountCode', 'accountId' => 'accountId', 'accountName' => 'accountName', 'accountRemark' => 'accountRemark', 'accountType' => 'accountType', 'accountantBookIdList' => 'accountantBookIdList', 'amount' => 'amount', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'createTime' => 'createTime', 'creator' => 'creator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountCode) { $res['accountCode'] = $this->accountCode; } if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountRemark) { $res['accountRemark'] = $this->accountRemark; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } return $res; } /** * @param array $map * * @return GetFinanceAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountCode'])) { $model->accountCode = $map['accountCode']; } if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountRemark'])) { $model->accountRemark = $map['accountRemark']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } return $model; } } src/bizfinance_1_0/Models/GetFormTemplateInfoHeaders.php 0000644 00000002350 14713400346 0017207 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFormTemplateInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetFormTemplateInfoResponse.php 0000644 00000002754 14713400346 0017442 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFormTemplateInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFormTemplateInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetFormTemplateInfoResponseBody.php 0000644 00000003513 14713400346 0020252 0 ustar 00 'receiptFormTemplateInfoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->receiptFormTemplateInfoList) { $res['receiptFormTemplateInfoList'] = []; if (null !== $this->receiptFormTemplateInfoList && \is_array($this->receiptFormTemplateInfoList)) { $n = 0; foreach ($this->receiptFormTemplateInfoList as $item) { $res['receiptFormTemplateInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetFormTemplateInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['receiptFormTemplateInfoList'])) { if (!empty($map['receiptFormTemplateInfoList'])) { $model->receiptFormTemplateInfoList = []; $n = 0; foreach ($map['receiptFormTemplateInfoList'] as $item) { $model->receiptFormTemplateInfoList[$n++] = null !== $item ? receiptFormTemplateInfoList::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/GetFormTemplateInfoResponseBody/receiptFormTemplateInfoList.php 0000644 00000005512 14713400346 0025676 0 ustar 00 'componentList', 'name' => 'name', 'processCode' => 'processCode', 'status' => 'status', 'suiteId' => 'suiteId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentList) { $res['componentList'] = []; if (null !== $this->componentList && \is_array($this->componentList)) { $n = 0; foreach ($this->componentList as $item) { $res['componentList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->processCode) { $res['processCode'] = $this->processCode; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->suiteId) { $res['suiteId'] = $this->suiteId; } return $res; } /** * @param array $map * * @return receiptFormTemplateInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentList'])) { if (!empty($map['componentList'])) { $model->componentList = []; $n = 0; foreach ($map['componentList'] as $item) { $model->componentList[$n++] = null !== $item ? componentList::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['processCode'])) { $model->processCode = $map['processCode']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['suiteId'])) { $model->suiteId = $map['suiteId']; } return $model; } } bizfinance_1_0/Models/GetFormTemplateInfoResponseBody/receiptFormTemplateInfoList/componentList.php 0000644 00000003423 14713400346 0030454 0 ustar 00 src 'bindingVal', 'code' => 'code', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingVal) { $res['bindingVal'] = $this->bindingVal; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return componentList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingVal'])) { $model->bindingVal = $map['bindingVal']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageHeaders.php 0000644 00000002342 14713400346 0016461 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInvoiceByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageRequest.php 0000644 00000001727 14713400346 0016544 0 ustar 00 'request', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->request) { $res['request'] = null !== $this->request ? $this->request->toMap() : null; } return $res; } /** * @param array $map * * @return GetInvoiceByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['request'])) { $model->request = request::fromMap($map['request']); } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageRequest/request.php 0000644 00000007016 14713400346 0020231 0 ustar 00 'accountantBookId', 'companyCode' => 'companyCode', 'endTime' => 'endTime', 'financeType' => 'financeType', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', 'taxNo' => 'taxNo', 'verifyStatus' => 'verifyStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } return $res; } /** * @param array $map * * @return request */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponse.php 0000644 00000002740 14713400346 0016706 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInvoiceByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInvoiceByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody.php 0000644 00000003475 14713400346 0017532 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetInvoiceByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody/result.php 0000644 00000004346 14713400346 0021046 0 ustar 00 'hasMore', 'list' => 'list', 'nextCursor' => 'nextCursor', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody/result/list_.php 0000644 00000042030 14713400346 0022150 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'remark' => 'remark', 'sellerAddress' => 'sellerAddress', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'status' => 'status', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'transportFeeDetailVOList' => 'transportFeeDetailVOList', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->transportFeeDetailVOList) { $res['transportFeeDetailVOList'] = []; if (null !== $this->transportFeeDetailVOList && \is_array($this->transportFeeDetailVOList)) { $n = 0; foreach ($this->transportFeeDetailVOList as $item) { $res['transportFeeDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['transportFeeDetailVOList'])) { if (!empty($map['transportFeeDetailVOList'])) { $model->transportFeeDetailVOList = []; $n = 0; foreach ($map['transportFeeDetailVOList'] as $item) { $model->transportFeeDetailVOList[$n++] = null !== $item ? transportFeeDetailVOList::fromMap($item) : $item; } } } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody/result/list_/generalInvoiceDetailVOList.php 0000644 00000007354 14713400346 0027340 0 ustar 00 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody/result/list_/transportFeeDetailVOList.php 0000644 00000006667 14713400346 0027070 0 ustar 00 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return transportFeeDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody/result/list_/usedVehicleSaleDetailVOList.php 0000644 00000013667 14713400346 0027457 0 ustar 00 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageResponseBody/result/list_/vehicleSaleDetailVOList.php 0000644 00000012031 14713400346 0026616 0 ustar 00 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/GetInvoiceByPageShrinkRequest.php 0000644 00000001556 14713400346 0017723 0 ustar 00 'request', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestShrink) { $res['request'] = $this->requestShrink; } return $res; } /** * @param array $map * * @return GetInvoiceByPageShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['request'])) { $model->requestShrink = $map['request']; } return $model; } } src/bizfinance_1_0/Models/GetIsNewVersionHeaders.php 0000644 00000002340 14713400346 0016366 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetIsNewVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetIsNewVersionResponse.php 0000644 00000002734 14713400346 0016620 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetIsNewVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetIsNewVersionResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetIsNewVersionResponseBody.php 0000644 00000002127 14713400346 0017432 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetIsNewVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/GetMultiCompanyInfoByCodeHeaders.php 0000644 00000002364 14713400346 0020324 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMultiCompanyInfoByCodeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetMultiCompanyInfoByCodeResponse.php 0000644 00000003004 14713400346 0020537 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMultiCompanyInfoByCodeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMultiCompanyInfoByCodeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetMultiCompanyInfoByCodeResponseBody.php 0000644 00000007142 14713400346 0021364 0 ustar 00 'advancedSettingList', 'companyCode' => 'companyCode', 'companyName' => 'companyName', 'remark' => 'remark', 'status' => 'status', 'taxNature' => 'taxNature', 'taxNo' => 'taxNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedSettingList) { $res['advancedSettingList'] = []; if (null !== $this->advancedSettingList && \is_array($this->advancedSettingList)) { $n = 0; foreach ($this->advancedSettingList as $item) { $res['advancedSettingList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->companyName) { $res['companyName'] = $this->companyName; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taxNature) { $res['taxNature'] = $this->taxNature; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } return $res; } /** * @param array $map * * @return GetMultiCompanyInfoByCodeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedSettingList'])) { if (!empty($map['advancedSettingList'])) { $model->advancedSettingList = []; $n = 0; foreach ($map['advancedSettingList'] as $item) { $model->advancedSettingList[$n++] = null !== $item ? advancedSettingList::fromMap($item) : $item; } } } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['companyName'])) { $model->companyName = $map['companyName']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taxNature'])) { $model->taxNature = $map['taxNature']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } return $model; } } src/bizfinance_1_0/Models/GetMultiCompanyInfoByCodeResponseBody/advancedSettingList.php 0000644 00000003746 14713400346 0025331 0 ustar 00 'advancedSettingKey', 'advancedSettingName' => 'advancedSettingName', 'endDate' => 'endDate', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedSettingKey) { $res['advancedSettingKey'] = $this->advancedSettingKey; } if (null !== $this->advancedSettingName) { $res['advancedSettingName'] = $this->advancedSettingName; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return advancedSettingList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedSettingKey'])) { $model->advancedSettingKey = $map['advancedSettingKey']; } if (isset($map['advancedSettingName'])) { $model->advancedSettingName = $map['advancedSettingName']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/bizfinance_1_0/Models/GetProductHeaders.php 0000644 00000002326 14713400346 0015417 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProductHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetProductRequest.php 0000644 00000001564 14713400346 0015477 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetProductRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_1_0/Models/GetProductResponse.php 0000644 00000002710 14713400346 0015637 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProductResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProductResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetProductResponseBody.php 0000644 00000007640 14713400346 0016464 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'description' => 'description', 'information' => 'information', 'name' => 'name', 'specification' => 'specification', 'status' => 'status', 'unit' => 'unit', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->information) { $res['information'] = $this->information; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return GetProductResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['information'])) { $model->information = $map['information']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/GetProjectHeaders.php 0000644 00000002326 14713400346 0015405 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetProjectRequest.php 0000644 00000001564 14713400346 0015465 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetProjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_1_0/Models/GetProjectResponse.php 0000644 00000002710 14713400346 0015625 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProjectResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetProjectResponseBody.php 0000644 00000010316 14713400346 0016444 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'creator' => 'creator', 'description' => 'description', 'name' => 'name', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return GetProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/GetReceiptHeaders.php 0000644 00000002326 14713400346 0015372 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetReceiptRequest.php 0000644 00000002424 14713400346 0015446 0 ustar 00 'code', 'modelId' => 'modelId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } return $res; } /** * @param array $map * * @return GetReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } return $model; } } src/bizfinance_1_0/Models/GetReceiptResponse.php 0000644 00000002710 14713400346 0015612 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetReceiptResponseBody.php 0000644 00000005244 14713400346 0016435 0 ustar 00 'appId', 'data' => 'data', 'modelId' => 'modelId', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return GetReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/bizfinance_1_0/Models/GetSupplierHeaders.php 0000644 00000002330 14713400346 0015575 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSupplierHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetSupplierRequest.php 0000644 00000001565 14713400346 0015663 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetSupplierRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_1_0/Models/GetSupplierResponse.php 0000644 00000002714 14713400346 0016026 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSupplierResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSupplierResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetSupplierResponseBody.php 0000644 00000006320 14713400346 0016641 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return GetSupplierResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/GetYongYouOpenApiTokenHeaders.php 0000644 00000002356 14713400346 0017670 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetYongYouOpenApiTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetYongYouOpenApiTokenRequest.php 0000644 00000001641 14713400346 0017741 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetYongYouOpenApiTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/GetYongYouOpenApiTokenResponse.php 0000644 00000002770 14713400346 0020113 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetYongYouOpenApiTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetYongYouOpenApiTokenResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetYongYouOpenApiTokenResponseBody.php 0000644 00000007117 14713400346 0020731 0 ustar 00 'accessToken', 'appName' => 'appName', 'expiresIn' => 'expiresIn', 'refreshExpiresIn' => 'refreshExpiresIn', 'refreshToken' => 'refreshToken', 'scope' => 'scope', 'sid' => 'sid', 'yongyouOrgId' => 'yongyouOrgId', 'yongyouUserId' => 'yongyouUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accessToken) { $res['accessToken'] = $this->accessToken; } if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->expiresIn) { $res['expiresIn'] = $this->expiresIn; } if (null !== $this->refreshExpiresIn) { $res['refreshExpiresIn'] = $this->refreshExpiresIn; } if (null !== $this->refreshToken) { $res['refreshToken'] = $this->refreshToken; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->sid) { $res['sid'] = $this->sid; } if (null !== $this->yongyouOrgId) { $res['yongyouOrgId'] = $this->yongyouOrgId; } if (null !== $this->yongyouUserId) { $res['yongyouUserId'] = $this->yongyouUserId; } return $res; } /** * @param array $map * * @return GetYongYouOpenApiTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accessToken'])) { $model->accessToken = $map['accessToken']; } if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['expiresIn'])) { $model->expiresIn = $map['expiresIn']; } if (isset($map['refreshExpiresIn'])) { $model->refreshExpiresIn = $map['refreshExpiresIn']; } if (isset($map['refreshToken'])) { $model->refreshToken = $map['refreshToken']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['sid'])) { $model->sid = $map['sid']; } if (isset($map['yongyouOrgId'])) { $model->yongyouOrgId = $map['yongyouOrgId']; } if (isset($map['yongyouUserId'])) { $model->yongyouUserId = $map['yongyouUserId']; } return $model; } } src/bizfinance_1_0/Models/GetYongYouOrgRelationHeaders.php 0000644 00000002354 14713400346 0017557 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetYongYouOrgRelationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/GetYongYouOrgRelationResponse.php 0000644 00000002764 14713400346 0020007 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetYongYouOrgRelationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetYongYouOrgRelationResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/GetYongYouOrgRelationResponseBody.php 0000644 00000003651 14713400346 0020621 0 ustar 00 'chanjetCorpId', 'chanjetUserId' => 'chanjetUserId', 'corpId' => 'corpId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chanjetCorpId) { $res['chanjetCorpId'] = $this->chanjetCorpId; } if (null !== $this->chanjetUserId) { $res['chanjetUserId'] = $this->chanjetUserId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetYongYouOrgRelationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chanjetCorpId'])) { $model->chanjetCorpId = $map['chanjetCorpId']; } if (isset($map['chanjetUserId'])) { $model->chanjetUserId = $map['chanjetUserId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/ProfessionBenefitConsumeHeaders.php 0000644 00000002362 14713400346 0020315 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ProfessionBenefitConsumeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/ProfessionBenefitConsumeRequest.php 0000644 00000003012 14713400346 0020363 0 ustar 00 'benefitCode', 'bizRequestId' => 'bizRequestId', 'quota' => 'quota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->quota) { $res['quota'] = $this->quota; } return $res; } /** * @param array $map * * @return ProfessionBenefitConsumeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } return $model; } } src/bizfinance_1_0/Models/ProfessionBenefitConsumeResponse.php 0000644 00000003000 14713400346 0020526 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ProfessionBenefitConsumeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ProfessionBenefitConsumeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/ProfessionBenefitConsumeResponseBody.php 0000644 00000001534 14713400346 0021356 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ProfessionBenefitConsumeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/PushHistoricalReceiptsHeaders.php 0000644 00000002356 14713400346 0020002 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushHistoricalReceiptsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/PushHistoricalReceiptsRequest.php 0000644 00000004435 14713400346 0020057 0 ustar 00 'bizId', 'endTime' => 'endTime', 'forcedIgnoreDup' => 'forcedIgnoreDup', 'formCodeList' => 'formCodeList', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->forcedIgnoreDup) { $res['forcedIgnoreDup'] = $this->forcedIgnoreDup; } if (null !== $this->formCodeList) { $res['formCodeList'] = $this->formCodeList; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return PushHistoricalReceiptsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['forcedIgnoreDup'])) { $model->forcedIgnoreDup = $map['forcedIgnoreDup']; } if (isset($map['formCodeList'])) { if (!empty($map['formCodeList'])) { $model->formCodeList = $map['formCodeList']; } } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/bizfinance_1_0/Models/PushHistoricalReceiptsResponse.php 0000644 00000002770 14713400346 0020225 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushHistoricalReceiptsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushHistoricalReceiptsResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/PushHistoricalReceiptsResponseBody.php 0000644 00000001521 14713400346 0021034 0 ustar 00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return PushHistoricalReceiptsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/bizfinance_1_0/Models/QueryBenefitHeaders.php 0000644 00000002332 14713400346 0015736 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBenefitHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryBenefitRequest.php 0000644 00000001616 14713400346 0016017 0 ustar 00 'benefitCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } return $res; } /** * @param array $map * * @return QueryBenefitRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } return $model; } } src/bizfinance_1_0/Models/QueryBenefitResponse.php 0000644 00000002720 14713400346 0016162 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBenefitResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBenefitResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryBenefitResponseBody.php 0000644 00000001715 14713400346 0017003 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBenefitResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/QueryBenefitResponseBody/result.php 0000644 00000002214 14713400346 0020314 0 ustar 00 'remainQuota', 'totalQuota' => 'totalQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->remainQuota) { $res['remainQuota'] = $this->remainQuota; } if (null !== $this->totalQuota) { $res['totalQuota'] = $this->totalQuota; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['remainQuota'])) { $model->remainQuota = $map['remainQuota']; } if (isset($map['totalQuota'])) { $model->totalQuota = $map['totalQuota']; } return $model; } } src/bizfinance_1_0/Models/QueryCategoryByPageHeaders.php 0000644 00000002350 14713400346 0017227 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCategoryByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryCategoryByPageRequest.php 0000644 00000003164 14713400346 0017310 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return QueryCategoryByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_1_0/Models/QueryCategoryByPageResponse.php 0000644 00000002754 14713400346 0017462 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCategoryByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCategoryByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryCategoryByPageResponseBody.php 0000644 00000003433 14713400346 0020273 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCategoryByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryCategoryByPageResponseBody/list_.php 0000644 00000005531 14713400346 0021406 0 ustar 00 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', 'remark' => 'remark', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->isDir) { $res['isDir'] = $this->isDir; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentCode) { $res['parentCode'] = $this->parentCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['isDir'])) { $model->isDir = $map['isDir']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentCode'])) { $model->parentCode = $map['parentCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_1_0/Models/QueryCompanyInvoiceRelationCountHeaders.php 0000644 00000002402 14713400346 0022012 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCompanyInvoiceRelationCountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryCompanyInvoiceRelationCountRequest.php 0000644 00000001653 14713400346 0022076 0 ustar 00 'companyCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } return $res; } /** * @param array $map * * @return QueryCompanyInvoiceRelationCountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } return $model; } } src/bizfinance_1_0/Models/QueryCompanyInvoiceRelationCountResponse.php 0000644 00000003040 14713400346 0022234 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCompanyInvoiceRelationCountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCompanyInvoiceRelationCountResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryCompanyInvoiceRelationCountResponseBody.php 0000644 00000001676 14713400346 0023067 0 ustar 00 'relationCountMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationCountMap) { $res['relationCountMap'] = $this->relationCountMap; } return $res; } /** * @param array $map * * @return QueryCompanyInvoiceRelationCountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationCountMap'])) { $model->relationCountMap = $map['relationCountMap']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerByPageHeaders.php 0000644 00000002350 14713400346 0017253 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomerByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerByPageRequest.php 0000644 00000002442 14713400346 0017332 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryCustomerByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerByPageResponse.php 0000644 00000002754 14713400346 0017506 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomerByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryCustomerByPageResponseBody.php 0000644 00000003433 14713400346 0020317 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCustomerByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryCustomerByPageResponseBody/list_.php 0000644 00000005320 14713400346 0021426 0 ustar 00 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerInfoHeaders.php 0000644 00000002344 14713400346 0017002 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomerInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerInfoRequest.php 0000644 00000002712 14713400346 0017056 0 ustar 00 'keyword', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryCustomerInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerInfoResponse.php 0000644 00000002744 14713400346 0017231 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomerInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryCustomerInfoResponseBody.php 0000644 00000003767 14713400346 0020055 0 ustar 00 'hasMore', 'list' => 'list', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryCustomerInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/bizfinance_1_0/Models/QueryCustomerInfoResponseBody/list_.php 0000644 00000015666 14713400346 0021170 0 ustar 00 'code', 'contactAddress' => 'contactAddress', 'contactCompanyTelephone' => 'contactCompanyTelephone', 'contactEmail' => 'contactEmail', 'contactName' => 'contactName', 'contactTelephone' => 'contactTelephone', 'description' => 'description', 'drawerEmail' => 'drawerEmail', 'drawerTelephone' => 'drawerTelephone', 'name' => 'name', 'purchaserAccount' => 'purchaserAccount', 'purchaserAddress' => 'purchaserAddress', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'purchaserrBankName' => 'purchaserrBankName', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->contactAddress) { $res['contactAddress'] = $this->contactAddress; } if (null !== $this->contactCompanyTelephone) { $res['contactCompanyTelephone'] = $this->contactCompanyTelephone; } if (null !== $this->contactEmail) { $res['contactEmail'] = $this->contactEmail; } if (null !== $this->contactName) { $res['contactName'] = $this->contactName; } if (null !== $this->contactTelephone) { $res['contactTelephone'] = $this->contactTelephone; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->drawerEmail) { $res['drawerEmail'] = $this->drawerEmail; } if (null !== $this->drawerTelephone) { $res['drawerTelephone'] = $this->drawerTelephone; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->purchaserAccount) { $res['purchaserAccount'] = $this->purchaserAccount; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->purchaserrBankName) { $res['purchaserrBankName'] = $this->purchaserrBankName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['contactAddress'])) { $model->contactAddress = $map['contactAddress']; } if (isset($map['contactCompanyTelephone'])) { $model->contactCompanyTelephone = $map['contactCompanyTelephone']; } if (isset($map['contactEmail'])) { $model->contactEmail = $map['contactEmail']; } if (isset($map['contactName'])) { $model->contactName = $map['contactName']; } if (isset($map['contactTelephone'])) { $model->contactTelephone = $map['contactTelephone']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['drawerEmail'])) { $model->drawerEmail = $map['drawerEmail']; } if (isset($map['drawerTelephone'])) { $model->drawerTelephone = $map['drawerTelephone']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['purchaserAccount'])) { $model->purchaserAccount = $map['purchaserAccount']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['purchaserrBankName'])) { $model->purchaserrBankName = $map['purchaserrBankName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/QueryEnterpriseAccountByPageHeaders.php 0000644 00000002372 14713400346 0021113 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryEnterpriseAccountByPageRequest.php 0000644 00000002464 14713400346 0021172 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_1_0/Models/QueryEnterpriseAccountByPageResponse.php 0000644 00000003020 14713400346 0021325 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryEnterpriseAccountByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryEnterpriseAccountByPageResponseBody.php 0000644 00000003466 14713400346 0022161 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryEnterpriseAccountByPageResponseBody/list_.php 0000644 00000010046 14713400346 0023263 0 ustar 00 'accountCode', 'accountId' => 'accountId', 'accountName' => 'accountName', 'accountRemark' => 'accountRemark', 'accountType' => 'accountType', 'amount' => 'amount', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'createTime' => 'createTime', 'creator' => 'creator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountCode) { $res['accountCode'] = $this->accountCode; } if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountRemark) { $res['accountRemark'] = $this->accountRemark; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountCode'])) { $model->accountCode = $map['accountCode']; } if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountRemark'])) { $model->accountRemark = $map['accountRemark']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } return $model; } } src/bizfinance_1_0/Models/QueryFinanceCompanyInfoHeaders.php 0000644 00000002360 14713400346 0020071 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryFinanceCompanyInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryFinanceCompanyInfoResponse.php 0000644 00000002774 14713400346 0020325 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryFinanceCompanyInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryFinanceCompanyInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryFinanceCompanyInfoResponseBody.php 0000644 00000002666 14713400346 0021143 0 ustar 00 'companyName', 'taxNature' => 'taxNature', 'taxNo' => 'taxNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyName) { $res['companyName'] = $this->companyName; } if (null !== $this->taxNature) { $res['taxNature'] = $this->taxNature; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } return $res; } /** * @param array $map * * @return QueryFinanceCompanyInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyName'])) { $model->companyName = $map['companyName']; } if (isset($map['taxNature'])) { $model->taxNature = $map['taxNature']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } return $model; } } src/bizfinance_1_0/Models/QueryInvoiceRelationCountHeaders.php 0000644 00000002364 14713400346 0020472 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryInvoiceRelationCountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryInvoiceRelationCountResponse.php 0000644 00000003004 14713400346 0020705 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryInvoiceRelationCountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryInvoiceRelationCountResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryInvoiceRelationCountResponseBody.php 0000644 00000001660 14713400346 0021531 0 ustar 00 'relationCountMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationCountMap) { $res['relationCountMap'] = $this->relationCountMap; } return $res; } /** * @param array $map * * @return QueryInvoiceRelationCountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationCountMap'])) { $model->relationCountMap = $map['relationCountMap']; } return $model; } } src/bizfinance_1_0/Models/QueryMultiCompanyInfoHeaders.php 0000644 00000002354 14713400346 0017623 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMultiCompanyInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryMultiCompanyInfoResponse.php 0000644 00000002764 14713400346 0020053 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMultiCompanyInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMultiCompanyInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryMultiCompanyInfoResponseBody.php 0000644 00000002577 14713400346 0020673 0 ustar 00 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryMultiCompanyInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryMultiCompanyInfoResponseBody/list_.php 0000644 00000007642 14713400346 0022003 0 ustar 00 'advancedSettingList', 'companyCode' => 'companyCode', 'companyName' => 'companyName', 'createTime' => 'createTime', 'remark' => 'remark', 'status' => 'status', 'taxNature' => 'taxNature', 'taxNo' => 'taxNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedSettingList) { $res['advancedSettingList'] = []; if (null !== $this->advancedSettingList && \is_array($this->advancedSettingList)) { $n = 0; foreach ($this->advancedSettingList as $item) { $res['advancedSettingList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->companyName) { $res['companyName'] = $this->companyName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->taxNature) { $res['taxNature'] = $this->taxNature; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedSettingList'])) { if (!empty($map['advancedSettingList'])) { $model->advancedSettingList = []; $n = 0; foreach ($map['advancedSettingList'] as $item) { $model->advancedSettingList[$n++] = null !== $item ? advancedSettingList::fromMap($item) : $item; } } } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['companyName'])) { $model->companyName = $map['companyName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['taxNature'])) { $model->taxNature = $map['taxNature']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } return $model; } } src/bizfinance_1_0/Models/QueryMultiCompanyInfoResponseBody/list_/advancedSettingList.php 0000644 00000004370 14713400346 0025735 0 ustar 00 'advancedSettingKey', 'advancedSettingName' => 'advancedSettingName', 'endDate' => 'endDate', 'valid' => 'valid', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->advancedSettingKey) { $res['advancedSettingKey'] = $this->advancedSettingKey; } if (null !== $this->advancedSettingName) { $res['advancedSettingName'] = $this->advancedSettingName; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->valid) { $res['valid'] = $this->valid; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return advancedSettingList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['advancedSettingKey'])) { $model->advancedSettingKey = $map['advancedSettingKey']; } if (isset($map['advancedSettingName'])) { $model->advancedSettingName = $map['advancedSettingName']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['valid'])) { $model->valid = $map['valid']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionByUserIdHeaders.php 0000644 00000002360 14713400346 0020122 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPermissionByUserIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionByUserIdRequest.php 0000644 00000002343 14713400346 0020200 0 ustar 00 'companyCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryPermissionByUserIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionByUserIdResponse.php 0000644 00000002774 14713400346 0020356 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPermissionByUserIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPermissionByUserIdResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryPermissionByUserIdResponseBody.php 0000644 00000004347 14713400346 0021172 0 ustar 00 'companyCode', 'permissionDTOList' => 'permissionDTOList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->permissionDTOList) { $res['permissionDTOList'] = []; if (null !== $this->permissionDTOList && \is_array($this->permissionDTOList)) { $n = 0; foreach ($this->permissionDTOList as $item) { $res['permissionDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryPermissionByUserIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['permissionDTOList'])) { if (!empty($map['permissionDTOList'])) { $model->permissionDTOList = []; $n = 0; foreach ($map['permissionDTOList'] as $item) { $model->permissionDTOList[$n++] = null !== $item ? permissionDTOList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionByUserIdResponseBody/permissionDTOList.php 0000644 00000002471 14713400346 0024561 0 ustar 00 'actionIdList', 'resourceIdentity' => 'resourceIdentity', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionIdList) { $res['actionIdList'] = $this->actionIdList; } if (null !== $this->resourceIdentity) { $res['resourceIdentity'] = $this->resourceIdentity; } return $res; } /** * @param array $map * * @return permissionDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionIdList'])) { if (!empty($map['actionIdList'])) { $model->actionIdList = $map['actionIdList']; } } if (isset($map['resourceIdentity'])) { $model->resourceIdentity = $map['resourceIdentity']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionRoleMemberHeaders.php 0000644 00000002364 14713400346 0020471 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryPermissionRoleMemberHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryPermissionRoleMemberRequest.php 0000644 00000002535 14713400346 0020546 0 ustar 00 'companyCode', 'roleCodeList' => 'roleCodeList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->roleCodeList) { $res['roleCodeList'] = $this->roleCodeList; } return $res; } /** * @param array $map * * @return QueryPermissionRoleMemberRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['roleCodeList'])) { if (!empty($map['roleCodeList'])) { $model->roleCodeList = $map['roleCodeList']; } } return $model; } } src/bizfinance_1_0/Models/QueryPermissionRoleMemberResponse.php 0000644 00000003004 14713400346 0020704 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryPermissionRoleMemberResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryPermissionRoleMemberResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryPermissionRoleMemberResponseBody.php 0000644 00000002237 14713400346 0021531 0 ustar 00 'roleMemberMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleMemberMap) { $res['roleMemberMap'] = []; if (null !== $this->roleMemberMap && \is_array($this->roleMemberMap)) { foreach ($this->roleMemberMap as $key => $val) { $res['roleMemberMap'][$key] = null !== $val ? $val->toMap() : $val; } } } return $res; } /** * @param array $map * * @return QueryPermissionRoleMemberResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleMemberMap'])) { $model->roleMemberMap = $map['roleMemberMap']; } return $model; } } src/bizfinance_1_0/Models/QueryProductByPageHeaders.php 0000644 00000002346 14713400346 0017077 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProductByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryProductByPageRequest.php 0000644 00000002440 14713400346 0017147 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryProductByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_1_0/Models/QueryProductByPageResponse.php 0000644 00000002750 14713400346 0017321 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProductByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProductByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryProductByPageResponseBody.php 0000644 00000003216 14713400346 0020135 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryProductByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryProductByPageResponseBody/list_.php 0000644 00000006243 14713400346 0021252 0 ustar 00 'code', 'createTime' => 'createTime', 'description' => 'description', 'information' => 'information', 'name' => 'name', 'specification' => 'specification', 'status' => 'status', 'unit' => 'unit', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->information) { $res['information'] = $this->information; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['information'])) { $model->information = $map['information']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/QueryProjectByPageHeaders.php 0000644 00000002346 14713400346 0017065 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProjectByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryProjectByPageRequest.php 0000644 00000002440 14713400346 0017135 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryProjectByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_1_0/Models/QueryProjectByPageResponse.php 0000644 00000002750 14713400346 0017307 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProjectByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProjectByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryProjectByPageResponseBody.php 0000644 00000003430 14713400346 0020121 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryProjectByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryProjectByPageResponseBody/list_.php 0000644 00000007622 14713400346 0021242 0 ustar 00 'caode', 'code' => 'code', 'createTime' => 'createTime', 'creator' => 'creator', 'description' => 'description', 'name' => 'name', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->caode) { $res['caode'] = $this->caode; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['caode'])) { $model->caode = $map['caode']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceHeaders.php 0000644 00000002372 14713400346 0021070 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryReceiptDetailForInvoiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceRequest.php 0000644 00000001640 14713400346 0021142 0 ustar 00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return QueryReceiptDetailForInvoiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceResponse.php 0000644 00000003020 14713400346 0021302 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryReceiptDetailForInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryReceiptDetailForInvoiceResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceResponseBody.php 0000644 00000001775 14713400346 0022137 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryReceiptDetailForInvoiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceResponseBody/result.php 0000644 00000024627 14713400346 0023456 0 ustar 00 'accountantBookId', 'amount' => 'amount', 'applyStatus' => 'applyStatus', 'bizStatus' => 'bizStatus', 'businessId' => 'businessId', 'companyCode' => 'companyCode', 'createTime' => 'createTime', 'creator' => 'creator', 'customer' => 'customer', 'drawerEmail' => 'drawerEmail', 'drawerTelephone' => 'drawerTelephone', 'invoiceType' => 'invoiceType', 'modelId' => 'modelId', 'productInfoList' => 'productInfoList', 'purchaserAccount' => 'purchaserAccount', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankName' => 'purchaserBankName', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'receiptId' => 'receiptId', 'recordTime' => 'recordTime', 'remark' => 'remark', 'source' => 'source', 'status' => 'status', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->applyStatus) { $res['applyStatus'] = $this->applyStatus; } if (null !== $this->bizStatus) { $res['bizStatus'] = $this->bizStatus; } if (null !== $this->businessId) { $res['businessId'] = $this->businessId; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->customer) { $res['customer'] = null !== $this->customer ? $this->customer->toMap() : null; } if (null !== $this->drawerEmail) { $res['drawerEmail'] = $this->drawerEmail; } if (null !== $this->drawerTelephone) { $res['drawerTelephone'] = $this->drawerTelephone; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->productInfoList) { $res['productInfoList'] = []; if (null !== $this->productInfoList && \is_array($this->productInfoList)) { $n = 0; foreach ($this->productInfoList as $item) { $res['productInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->purchaserAccount) { $res['purchaserAccount'] = $this->purchaserAccount; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankName) { $res['purchaserBankName'] = $this->purchaserBankName; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->receiptId) { $res['receiptId'] = $this->receiptId; } if (null !== $this->recordTime) { $res['recordTime'] = $this->recordTime; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['applyStatus'])) { $model->applyStatus = $map['applyStatus']; } if (isset($map['bizStatus'])) { $model->bizStatus = $map['bizStatus']; } if (isset($map['businessId'])) { $model->businessId = $map['businessId']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['customer'])) { $model->customer = customer::fromMap($map['customer']); } if (isset($map['drawerEmail'])) { $model->drawerEmail = $map['drawerEmail']; } if (isset($map['drawerTelephone'])) { $model->drawerTelephone = $map['drawerTelephone']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['productInfoList'])) { if (!empty($map['productInfoList'])) { $model->productInfoList = []; $n = 0; foreach ($map['productInfoList'] as $item) { $model->productInfoList[$n++] = null !== $item ? productInfoList::fromMap($item) : $item; } } } if (isset($map['purchaserAccount'])) { $model->purchaserAccount = $map['purchaserAccount']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankName'])) { $model->purchaserBankName = $map['purchaserBankName']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['receiptId'])) { $model->receiptId = $map['receiptId']; } if (isset($map['recordTime'])) { $model->recordTime = $map['recordTime']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceResponseBody/result/creator.php 0000644 00000002734 14713400346 0025110 0 ustar 00 'avatarUrl', 'nick' => 'nick', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceResponseBody/result/customer.php 0000644 00000002166 14713400346 0025311 0 ustar 00 'code', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return customer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptDetailForInvoiceResponseBody/result/productInfoList.php 0000644 00000011405 14713400346 0026574 0 ustar 00 'amountWithTax', 'amountWithoutTax' => 'amountWithoutTax', 'discountAmount' => 'discountAmount', 'name' => 'name', 'quantity' => 'quantity', 'specification' => 'specification', 'taxClassificationCode' => 'taxClassificationCode', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPriceWithTax' => 'unitPriceWithTax', 'unitPriceWithoutTax' => 'unitPriceWithoutTax', 'withTax' => 'withTax', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->amountWithoutTax) { $res['amountWithoutTax'] = $this->amountWithoutTax; } if (null !== $this->discountAmount) { $res['discountAmount'] = $this->discountAmount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxClassificationCode) { $res['taxClassificationCode'] = $this->taxClassificationCode; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPriceWithTax) { $res['unitPriceWithTax'] = $this->unitPriceWithTax; } if (null !== $this->unitPriceWithoutTax) { $res['unitPriceWithoutTax'] = $this->unitPriceWithoutTax; } if (null !== $this->withTax) { $res['withTax'] = $this->withTax; } return $res; } /** * @param array $map * * @return productInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['amountWithoutTax'])) { $model->amountWithoutTax = $map['amountWithoutTax']; } if (isset($map['discountAmount'])) { $model->discountAmount = $map['discountAmount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxClassificationCode'])) { $model->taxClassificationCode = $map['taxClassificationCode']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPriceWithTax'])) { $model->unitPriceWithTax = $map['unitPriceWithTax']; } if (isset($map['unitPriceWithoutTax'])) { $model->unitPriceWithoutTax = $map['unitPriceWithoutTax']; } if (isset($map['withTax'])) { $model->withTax = $map['withTax']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceHeaders.php 0000644 00000002356 14713400346 0017747 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryReceiptForInvoiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceRequest.php 0000644 00000010435 14713400346 0020021 0 ustar 00 'accountantBookId', 'applyStatusList' => 'applyStatusList', 'bizStatusList' => 'bizStatusList', 'companyCode' => 'companyCode', 'endTime' => 'endTime', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'receiptStatusList' => 'receiptStatusList', 'searchParams' => 'searchParams', 'startTime' => 'startTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->applyStatusList) { $res['applyStatusList'] = $this->applyStatusList; } if (null !== $this->bizStatusList) { $res['bizStatusList'] = $this->bizStatusList; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->receiptStatusList) { $res['receiptStatusList'] = $this->receiptStatusList; } if (null !== $this->searchParams) { $res['searchParams'] = $this->searchParams; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return QueryReceiptForInvoiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['applyStatusList'])) { if (!empty($map['applyStatusList'])) { $model->applyStatusList = $map['applyStatusList']; } } if (isset($map['bizStatusList'])) { if (!empty($map['bizStatusList'])) { $model->bizStatusList = $map['bizStatusList']; } } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['receiptStatusList'])) { if (!empty($map['receiptStatusList'])) { $model->receiptStatusList = $map['receiptStatusList']; } } if (isset($map['searchParams'])) { $model->searchParams = $map['searchParams']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceResponse.php 0000644 00000002770 14713400346 0020172 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryReceiptForInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryReceiptForInvoiceResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceResponseBody.php 0000644 00000004010 14713400346 0020775 0 ustar 00 'hasMore', 'list' => 'list', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryReceiptForInvoiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceResponseBody/list_.php 0000644 00000024517 14713400346 0022125 0 ustar 00 'accountantBookId', 'amount' => 'amount', 'applyStatus' => 'applyStatus', 'bizStatus' => 'bizStatus', 'businessId' => 'businessId', 'companyCode' => 'companyCode', 'createTime' => 'createTime', 'creator' => 'creator', 'customer' => 'customer', 'drawerEmail' => 'drawerEmail', 'drawerTelephone' => 'drawerTelephone', 'invoiceType' => 'invoiceType', 'modelId' => 'modelId', 'productInfoList' => 'productInfoList', 'purchaserAccount' => 'purchaserAccount', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankName' => 'purchaserBankName', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'receiptId' => 'receiptId', 'recordTime' => 'recordTime', 'remark' => 'remark', 'source' => 'source', 'status' => 'status', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->applyStatus) { $res['applyStatus'] = $this->applyStatus; } if (null !== $this->bizStatus) { $res['bizStatus'] = $this->bizStatus; } if (null !== $this->businessId) { $res['businessId'] = $this->businessId; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->customer) { $res['customer'] = null !== $this->customer ? $this->customer->toMap() : null; } if (null !== $this->drawerEmail) { $res['drawerEmail'] = $this->drawerEmail; } if (null !== $this->drawerTelephone) { $res['drawerTelephone'] = $this->drawerTelephone; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->productInfoList) { $res['productInfoList'] = []; if (null !== $this->productInfoList && \is_array($this->productInfoList)) { $n = 0; foreach ($this->productInfoList as $item) { $res['productInfoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->purchaserAccount) { $res['purchaserAccount'] = $this->purchaserAccount; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankName) { $res['purchaserBankName'] = $this->purchaserBankName; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->receiptId) { $res['receiptId'] = $this->receiptId; } if (null !== $this->recordTime) { $res['recordTime'] = $this->recordTime; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['applyStatus'])) { $model->applyStatus = $map['applyStatus']; } if (isset($map['bizStatus'])) { $model->bizStatus = $map['bizStatus']; } if (isset($map['businessId'])) { $model->businessId = $map['businessId']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['customer'])) { $model->customer = customer::fromMap($map['customer']); } if (isset($map['drawerEmail'])) { $model->drawerEmail = $map['drawerEmail']; } if (isset($map['drawerTelephone'])) { $model->drawerTelephone = $map['drawerTelephone']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['productInfoList'])) { if (!empty($map['productInfoList'])) { $model->productInfoList = []; $n = 0; foreach ($map['productInfoList'] as $item) { $model->productInfoList[$n++] = null !== $item ? productInfoList::fromMap($item) : $item; } } } if (isset($map['purchaserAccount'])) { $model->purchaserAccount = $map['purchaserAccount']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankName'])) { $model->purchaserBankName = $map['purchaserBankName']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['receiptId'])) { $model->receiptId = $map['receiptId']; } if (isset($map['recordTime'])) { $model->recordTime = $map['recordTime']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceResponseBody/list_/creator.php 0000644 00000002725 14713400346 0023561 0 ustar 00 'avatarUrl', 'nick' => 'nick', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceResponseBody/list_/customer.php 0000644 00000002157 14713400346 0023762 0 ustar 00 'code', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return customer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptForInvoiceResponseBody/list_/productInfoList.php 0000644 00000011376 14713400346 0025254 0 ustar 00 'amountWithTax', 'amountWithoutTax' => 'amountWithoutTax', 'discountAmount' => 'discountAmount', 'name' => 'name', 'quantity' => 'quantity', 'specification' => 'specification', 'taxClassificationCode' => 'taxClassificationCode', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPriceWithTax' => 'unitPriceWithTax', 'unitPriceWithoutTax' => 'unitPriceWithoutTax', 'withTax' => 'withTax', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->amountWithoutTax) { $res['amountWithoutTax'] = $this->amountWithoutTax; } if (null !== $this->discountAmount) { $res['discountAmount'] = $this->discountAmount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxClassificationCode) { $res['taxClassificationCode'] = $this->taxClassificationCode; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPriceWithTax) { $res['unitPriceWithTax'] = $this->unitPriceWithTax; } if (null !== $this->unitPriceWithoutTax) { $res['unitPriceWithoutTax'] = $this->unitPriceWithoutTax; } if (null !== $this->withTax) { $res['withTax'] = $this->withTax; } return $res; } /** * @param array $map * * @return productInfoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['amountWithoutTax'])) { $model->amountWithoutTax = $map['amountWithoutTax']; } if (isset($map['discountAmount'])) { $model->discountAmount = $map['discountAmount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxClassificationCode'])) { $model->taxClassificationCode = $map['taxClassificationCode']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPriceWithTax'])) { $model->unitPriceWithTax = $map['unitPriceWithTax']; } if (isset($map['unitPriceWithoutTax'])) { $model->unitPriceWithoutTax = $map['unitPriceWithoutTax']; } if (isset($map['withTax'])) { $model->withTax = $map['withTax']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoHeaders.php 0000644 00000002354 14713400346 0017553 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryReceiptsBaseInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoRequest.php 0000644 00000010203 14713400346 0017620 0 ustar 00 'accountantBookId', 'amountEnd' => 'amountEnd', 'amountStart' => 'amountStart', 'companyCode' => 'companyCode', 'endTime' => 'endTime', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', 'timeFilterField' => 'timeFilterField', 'title' => 'title', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->amountEnd) { $res['amountEnd'] = $this->amountEnd; } if (null !== $this->amountStart) { $res['amountStart'] = $this->amountStart; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->timeFilterField) { $res['timeFilterField'] = $this->timeFilterField; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return QueryReceiptsBaseInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['amountEnd'])) { $model->amountEnd = $map['amountEnd']; } if (isset($map['amountStart'])) { $model->amountStart = $map['amountStart']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['timeFilterField'])) { $model->timeFilterField = $map['timeFilterField']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponse.php 0000644 00000002764 14713400346 0020003 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryReceiptsBaseInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryReceiptsBaseInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody.php 0000644 00000004005 14713400346 0020607 0 ustar 00 'hasMore', 'list' => 'list', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryReceiptsBaseInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody/list_.php 0000644 00000017372 14713400346 0021734 0 ustar 00 'accountantBookId', 'amount' => 'amount', 'approvedAt' => 'approvedAt', 'businessId' => 'businessId', 'companyCode' => 'companyCode', 'createTime' => 'createTime', 'creator' => 'creator', 'customer' => 'customer', 'instanceJumpUrl' => 'instanceJumpUrl', 'modelId' => 'modelId', 'principal' => 'principal', 'project' => 'project', 'receiptId' => 'receiptId', 'recordTime' => 'recordTime', 'remark' => 'remark', 'source' => 'source', 'status' => 'status', 'supplier' => 'supplier', 'title' => 'title', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->approvedAt) { $res['approvedAt'] = $this->approvedAt; } if (null !== $this->businessId) { $res['businessId'] = $this->businessId; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->customer) { $res['customer'] = null !== $this->customer ? $this->customer->toMap() : null; } if (null !== $this->instanceJumpUrl) { $res['instanceJumpUrl'] = $this->instanceJumpUrl; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->principal) { $res['principal'] = null !== $this->principal ? $this->principal->toMap() : null; } if (null !== $this->project) { $res['project'] = null !== $this->project ? $this->project->toMap() : null; } if (null !== $this->receiptId) { $res['receiptId'] = $this->receiptId; } if (null !== $this->recordTime) { $res['recordTime'] = $this->recordTime; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->supplier) { $res['supplier'] = null !== $this->supplier ? $this->supplier->toMap() : null; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['approvedAt'])) { $model->approvedAt = $map['approvedAt']; } if (isset($map['businessId'])) { $model->businessId = $map['businessId']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = creator::fromMap($map['creator']); } if (isset($map['customer'])) { $model->customer = customer::fromMap($map['customer']); } if (isset($map['instanceJumpUrl'])) { $model->instanceJumpUrl = $map['instanceJumpUrl']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['principal'])) { $model->principal = principal::fromMap($map['principal']); } if (isset($map['project'])) { $model->project = project::fromMap($map['project']); } if (isset($map['receiptId'])) { $model->receiptId = $map['receiptId']; } if (isset($map['recordTime'])) { $model->recordTime = $map['recordTime']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['supplier'])) { $model->supplier = supplier::fromMap($map['supplier']); } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody/list_/creator.php 0000644 00000002724 14713400346 0023366 0 ustar 00 'avatarUrl', 'nick' => 'nick', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return creator */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody/list_/customer.php 0000644 00000002156 14713400346 0023567 0 ustar 00 'code', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return customer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody/list_/principal.php 0000644 00000002564 14713400346 0023712 0 ustar 00 'avatarUrl', 'nick' => 'nick', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return principal */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody/list_/project.php 0000644 00000002055 14713400346 0023372 0 ustar 00 'code', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return project */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsBaseInfoResponseBody/list_/supplier.php 0000644 00000002057 14713400346 0023571 0 ustar 00 'code', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return supplier */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsByPageHeaders.php 0000644 00000002350 14713400346 0017230 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryReceiptsByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsByPageRequest.php 0000644 00000005466 14713400346 0017320 0 ustar 00 'endTime', 'modelId' => 'modelId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', 'timeFilterField' => 'timeFilterField', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->timeFilterField) { $res['timeFilterField'] = $this->timeFilterField; } return $res; } /** * @param array $map * * @return QueryReceiptsByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['timeFilterField'])) { $model->timeFilterField = $map['timeFilterField']; } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsByPageResponse.php 0000644 00000002754 14713400346 0017463 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryReceiptsByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryReceiptsByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsByPageResponseBody.php 0000644 00000003436 14713400346 0020277 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryReceiptsByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryReceiptsByPageResponseBody/list_.php 0000644 00000005242 14713400346 0021406 0 ustar 00 'appId', 'data' => 'data', 'modelId' => 'modelId', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/bizfinance_1_0/Models/QueryRoleMemberByPageHeaders.php 0000644 00000002354 14713400346 0017507 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRoleMemberByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryRoleMemberByPageRequest.php 0000644 00000003557 14713400346 0017572 0 ustar 00 'companyCode', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'roleCode' => 'roleCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } return $res; } /** * @param array $map * * @return QueryRoleMemberByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } return $model; } } src/bizfinance_1_0/Models/QueryRoleMemberByPageResponse.php 0000644 00000002764 14713400346 0017737 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRoleMemberByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRoleMemberByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryRoleMemberByPageResponseBody.php 0000644 00000004363 14713400346 0020552 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryRoleMemberByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/bizfinance_1_0/Models/QueryRoleMemberByPageResponseBody/list_.php 0000644 00000002546 14713400346 0021665 0 ustar 00 'avatarUrl', 'nick' => 'nick', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QuerySupplierByPageHeaders.php 0000644 00000002350 14713400346 0017255 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySupplierByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QuerySupplierByPageRequest.php 0000644 00000002442 14713400346 0017334 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QuerySupplierByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_1_0/Models/QuerySupplierByPageResponse.php 0000644 00000002754 14713400346 0017510 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySupplierByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySupplierByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QuerySupplierByPageResponseBody.php 0000644 00000003433 14713400346 0020321 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QuerySupplierByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QuerySupplierByPageResponseBody/list_.php 0000644 00000005323 14713400346 0021433 0 ustar 00 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_1_0/Models/QueryUserRoleListHeaders.php 0000644 00000002344 14713400346 0016761 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserRoleListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/QueryUserRoleListRequest.php 0000644 00000001540 14713400346 0017033 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserRoleListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/QueryUserRoleListResponse.php 0000644 00000002744 14713400346 0017210 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserRoleListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserRoleListResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/QueryUserRoleListResponseBody.php 0000644 00000005143 14713400346 0020022 0 ustar 00 'financeEmpDeptOpenList', 'roleVOList' => 'roleVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->financeEmpDeptOpenList) { $res['financeEmpDeptOpenList'] = []; if (null !== $this->financeEmpDeptOpenList && \is_array($this->financeEmpDeptOpenList)) { $n = 0; foreach ($this->financeEmpDeptOpenList as $item) { $res['financeEmpDeptOpenList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roleVOList) { $res['roleVOList'] = []; if (null !== $this->roleVOList && \is_array($this->roleVOList)) { $n = 0; foreach ($this->roleVOList as $item) { $res['roleVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryUserRoleListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['financeEmpDeptOpenList'])) { if (!empty($map['financeEmpDeptOpenList'])) { $model->financeEmpDeptOpenList = []; $n = 0; foreach ($map['financeEmpDeptOpenList'] as $item) { $model->financeEmpDeptOpenList[$n++] = null !== $item ? financeEmpDeptOpenList::fromMap($item) : $item; } } } if (isset($map['roleVOList'])) { if (!empty($map['roleVOList'])) { $model->roleVOList = []; $n = 0; foreach ($map['roleVOList'] as $item) { $model->roleVOList[$n++] = null !== $item ? roleVOList::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/QueryUserRoleListResponseBody/financeEmpDeptOpenList.php 0000644 00000003347 14713400346 0024366 0 ustar 00 'cascadeDeptId', 'deptId' => 'deptId', 'name' => 'name', 'superDeptId' => 'superDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cascadeDeptId) { $res['cascadeDeptId'] = $this->cascadeDeptId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->superDeptId) { $res['superDeptId'] = $this->superDeptId; } return $res; } /** * @param array $map * * @return financeEmpDeptOpenList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cascadeDeptId'])) { $model->cascadeDeptId = $map['cascadeDeptId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['superDeptId'])) { $model->superDeptId = $map['superDeptId']; } return $model; } } src/bizfinance_1_0/Models/QueryUserRoleListResponseBody/roleVOList.php 0000644 00000002302 14713400346 0022056 0 ustar 00 'roleCode', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return roleVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/bizfinance_1_0/Models/RoleMemberMapValue.php 0000644 00000004075 14713400346 0015532 0 ustar 00 'roleCode', 'memberList' => 'memberList', 'companyCode' => 'companyCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->memberList) { $res['memberList'] = []; if (null !== $this->memberList && \is_array($this->memberList)) { $n = 0; foreach ($this->memberList as $item) { $res['memberList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } return $res; } /** * @param array $map * * @return RoleMemberMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['memberList'])) { if (!empty($map['memberList'])) { $model->memberList = []; $n = 0; foreach ($map['memberList'] as $item) { $model->memberList[$n++] = null !== $item ? memberList::fromMap($item) : $item; } } } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } return $model; } } src/bizfinance_1_0/Models/RoleMemberMapValue/memberList.php 0000644 00000002701 14713400346 0017627 0 ustar 00 'userId', 'nick' => 'nick', 'avatarUrl' => 'avatarUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } return $res; } /** * @param array $map * * @return memberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } return $model; } } src/bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedHeaders.php 0000644 00000002410 14713400346 0022333 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnbindApplyReceiptAndInvoiceRelatedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedRequest.php 0000644 00000004352 14713400346 0022417 0 ustar 00 'instanceId', 'invoiceKeyVOList' => 'invoiceKeyVOList', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->invoiceKeyVOList) { $res['invoiceKeyVOList'] = []; if (null !== $this->invoiceKeyVOList && \is_array($this->invoiceKeyVOList)) { $n = 0; foreach ($this->invoiceKeyVOList as $item) { $res['invoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return UnbindApplyReceiptAndInvoiceRelatedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['invoiceKeyVOList'])) { if (!empty($map['invoiceKeyVOList'])) { $model->invoiceKeyVOList = []; $n = 0; foreach ($map['invoiceKeyVOList'] as $item) { $model->invoiceKeyVOList[$n++] = null !== $item ? invoiceKeyVOList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedRequest/invoiceKeyVOList.php 0000644 00000002346 14713400346 0025626 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return invoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedResponse.php 0000644 00000003054 14713400346 0022563 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnbindApplyReceiptAndInvoiceRelatedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnbindApplyReceiptAndInvoiceRelatedResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedResponseBody.php 0000644 00000005276 14713400346 0023411 0 ustar 00 'batchUpdateInvoiceResponse', 'errorInvoiceKeyVOList' => 'errorInvoiceKeyVOList', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->batchUpdateInvoiceResponse) { $res['batchUpdateInvoiceResponse'] = null !== $this->batchUpdateInvoiceResponse ? $this->batchUpdateInvoiceResponse->toMap() : null; } if (null !== $this->errorInvoiceKeyVOList) { $res['errorInvoiceKeyVOList'] = []; if (null !== $this->errorInvoiceKeyVOList && \is_array($this->errorInvoiceKeyVOList)) { $n = 0; foreach ($this->errorInvoiceKeyVOList as $item) { $res['errorInvoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UnbindApplyReceiptAndInvoiceRelatedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['batchUpdateInvoiceResponse'])) { $model->batchUpdateInvoiceResponse = batchUpdateInvoiceResponse::fromMap($map['batchUpdateInvoiceResponse']); } if (isset($map['errorInvoiceKeyVOList'])) { if (!empty($map['errorInvoiceKeyVOList'])) { $model->errorInvoiceKeyVOList = []; $n = 0; foreach ($map['errorInvoiceKeyVOList'] as $item) { $model->errorInvoiceKeyVOList[$n++] = null !== $item ? errorInvoiceKeyVOList::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedResponseBody/batchUpdateInvoiceResponse.php0000644 00000003237 14713400346 0030605 0 ustar 00 src 'invoiceKeyVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceKeyVOList) { $res['invoiceKeyVOList'] = []; if (null !== $this->invoiceKeyVOList && \is_array($this->invoiceKeyVOList)) { $n = 0; foreach ($this->invoiceKeyVOList as $item) { $res['invoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return batchUpdateInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceKeyVOList'])) { if (!empty($map['invoiceKeyVOList'])) { $model->invoiceKeyVOList = []; $n = 0; foreach ($map['invoiceKeyVOList'] as $item) { $model->invoiceKeyVOList[$n++] = null !== $item ? invoiceKeyVOList::fromMap($item) : $item; } } } return $model; } } UnbindApplyReceiptAndInvoiceRelatedResponseBody/batchUpdateInvoiceResponse/invoiceKeyVOList.php 0000644 00000002406 14713400346 0034010 0 ustar 00 src/bizfinance_1_0/Models 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return invoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UnbindApplyReceiptAndInvoiceRelatedResponseBody/errorInvoiceKeyVOList.php 0000644 00000002277 14713400346 0027627 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return errorInvoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedHeaders.php 0000644 00000002410 14713400346 0022336 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateApplyReceiptAndInvoiceRelatedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedRequest.php 0000644 00000004472 14713400346 0022425 0 ustar 00 'generalInvoiceVOList', 'instanceId' => 'instanceId', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->generalInvoiceVOList) { $res['generalInvoiceVOList'] = []; if (null !== $this->generalInvoiceVOList && \is_array($this->generalInvoiceVOList)) { $n = 0; foreach ($this->generalInvoiceVOList as $item) { $res['generalInvoiceVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return UpdateApplyReceiptAndInvoiceRelatedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['generalInvoiceVOList'])) { if (!empty($map['generalInvoiceVOList'])) { $model->generalInvoiceVOList = []; $n = 0; foreach ($map['generalInvoiceVOList'] as $item) { $model->generalInvoiceVOList[$n++] = null !== $item ? generalInvoiceVOList::fromMap($item) : $item; } } } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedRequest/generalInvoiceVOList.php 0000644 00000050260 14713400346 0026454 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'receiverEmail' => 'receiverEmail', 'receiverName' => 'receiverName', 'receiverTel' => 'receiverTel', 'remark' => 'remark', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->receiverEmail) { $res['receiverEmail'] = $this->receiverEmail; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverTel) { $res['receiverTel'] = $this->receiverTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return generalInvoiceVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['receiverEmail'])) { $model->receiverEmail = $map['receiverEmail']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverTel'])) { $model->receiverTel = $map['receiverTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } UpdateApplyReceiptAndInvoiceRelatedRequest/generalInvoiceVOList/generalInvoiceDetailVOList.php 0000644 00000010067 14713400346 0033554 0 ustar 00 src/bizfinance_1_0/Models 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } UpdateApplyReceiptAndInvoiceRelatedRequest/generalInvoiceVOList/secondHandCarInvoiceDetailList.php 0000644 00000006731 14713400346 0034371 0 ustar 00 src/bizfinance_1_0/Models 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } UpdateApplyReceiptAndInvoiceRelatedRequest/generalInvoiceVOList/usedVehicleSaleDetailVOList.php 0000644 00000013715 14713400346 0033672 0 ustar 00 src/bizfinance_1_0/Models 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateApplyReceiptAndInvoiceRelatedRequest/generalInvoiceVOList/vehicleSaleDetailVOList.php 0000644 00000012632 14713400346 0033046 0 ustar 00 src/bizfinance_1_0 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedResponse.php 0000644 00000003054 14713400346 0022566 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateApplyReceiptAndInvoiceRelatedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateApplyReceiptAndInvoiceRelatedResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedResponseBody.php 0000644 00000005276 14713400346 0023414 0 ustar 00 'batchUpdateInvoiceResponse', 'errorInvoiceKeyVOList' => 'errorInvoiceKeyVOList', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->batchUpdateInvoiceResponse) { $res['batchUpdateInvoiceResponse'] = null !== $this->batchUpdateInvoiceResponse ? $this->batchUpdateInvoiceResponse->toMap() : null; } if (null !== $this->errorInvoiceKeyVOList) { $res['errorInvoiceKeyVOList'] = []; if (null !== $this->errorInvoiceKeyVOList && \is_array($this->errorInvoiceKeyVOList)) { $n = 0; foreach ($this->errorInvoiceKeyVOList as $item) { $res['errorInvoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateApplyReceiptAndInvoiceRelatedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['batchUpdateInvoiceResponse'])) { $model->batchUpdateInvoiceResponse = batchUpdateInvoiceResponse::fromMap($map['batchUpdateInvoiceResponse']); } if (isset($map['errorInvoiceKeyVOList'])) { if (!empty($map['errorInvoiceKeyVOList'])) { $model->errorInvoiceKeyVOList = []; $n = 0; foreach ($map['errorInvoiceKeyVOList'] as $item) { $model->errorInvoiceKeyVOList[$n++] = null !== $item ? errorInvoiceKeyVOList::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedResponseBody/batchUpdateInvoiceResponse.php0000644 00000003237 14713400346 0030610 0 ustar 00 src 'invoiceKeyVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceKeyVOList) { $res['invoiceKeyVOList'] = []; if (null !== $this->invoiceKeyVOList && \is_array($this->invoiceKeyVOList)) { $n = 0; foreach ($this->invoiceKeyVOList as $item) { $res['invoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return batchUpdateInvoiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceKeyVOList'])) { if (!empty($map['invoiceKeyVOList'])) { $model->invoiceKeyVOList = []; $n = 0; foreach ($map['invoiceKeyVOList'] as $item) { $model->invoiceKeyVOList[$n++] = null !== $item ? invoiceKeyVOList::fromMap($item) : $item; } } } return $model; } } UpdateApplyReceiptAndInvoiceRelatedResponseBody/batchUpdateInvoiceResponse/invoiceKeyVOList.php 0000644 00000002406 14713400346 0034013 0 ustar 00 src/bizfinance_1_0/Models 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return invoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateApplyReceiptAndInvoiceRelatedResponseBody/errorInvoiceKeyVOList.php 0000644 00000002277 14713400346 0027632 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return errorInvoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateDigitalInvoiceOrgInfoHeaders.php 0000644 00000002370 14713400346 0020657 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateDigitalInvoiceOrgInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateDigitalInvoiceOrgInfoRequest.php 0000644 00000003742 14713400346 0020740 0 ustar 00 'digitalInvoiceType', 'isDigitalOrg' => 'isDigitalOrg', 'location' => 'location', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->digitalInvoiceType) { $res['digitalInvoiceType'] = $this->digitalInvoiceType; } if (null !== $this->isDigitalOrg) { $res['isDigitalOrg'] = $this->isDigitalOrg; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return UpdateDigitalInvoiceOrgInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['digitalInvoiceType'])) { if (!empty($map['digitalInvoiceType'])) { $model->digitalInvoiceType = $map['digitalInvoiceType']; } } if (isset($map['isDigitalOrg'])) { $model->isDigitalOrg = $map['isDigitalOrg']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/UpdateDigitalInvoiceOrgInfoResponse.php 0000644 00000003014 14713400346 0021076 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateDigitalInvoiceOrgInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateDigitalInvoiceOrgInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateDigitalInvoiceOrgInfoResponseBody.php 0000644 00000001531 14713400346 0021716 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateDigitalInvoiceOrgInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceCompanyInfoHeaders.php 0000644 00000002362 14713400346 0020210 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateFinanceCompanyInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceCompanyInfoRequest.php 0000644 00000004142 14713400346 0020263 0 ustar 00 'companyName', 'taxNature' => 'taxNature', 'taxNo' => 'taxNo', 'taxOrInvoiceHasInit' => 'taxOrInvoiceHasInit', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyName) { $res['companyName'] = $this->companyName; } if (null !== $this->taxNature) { $res['taxNature'] = $this->taxNature; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->taxOrInvoiceHasInit) { $res['taxOrInvoiceHasInit'] = $this->taxOrInvoiceHasInit; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateFinanceCompanyInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyName'])) { $model->companyName = $map['companyName']; } if (isset($map['taxNature'])) { $model->taxNature = $map['taxNature']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['taxOrInvoiceHasInit'])) { $model->taxOrInvoiceHasInit = $map['taxOrInvoiceHasInit']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceCompanyInfoResponse.php 0000644 00000003000 14713400346 0020421 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateFinanceCompanyInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateFinanceCompanyInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceCompanyInfoResponseBody.php 0000644 00000001523 14713400346 0021247 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateFinanceCompanyInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceMultiCompanyInfoHeaders.php 0000644 00000002374 14713400346 0021226 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateFinanceMultiCompanyInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceMultiCompanyInfoRequest.php 0000644 00000005307 14713400346 0021302 0 ustar 00 'companyCode', 'companyName' => 'companyName', 'taxNature' => 'taxNature', 'taxNo' => 'taxNo', 'taxOrInvoiceHasInit' => 'taxOrInvoiceHasInit', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->companyName) { $res['companyName'] = $this->companyName; } if (null !== $this->taxNature) { $res['taxNature'] = $this->taxNature; } if (null !== $this->taxNo) { $res['taxNo'] = $this->taxNo; } if (null !== $this->taxOrInvoiceHasInit) { $res['taxOrInvoiceHasInit'] = $this->taxOrInvoiceHasInit; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateFinanceMultiCompanyInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['companyName'])) { $model->companyName = $map['companyName']; } if (isset($map['taxNature'])) { $model->taxNature = $map['taxNature']; } if (isset($map['taxNo'])) { $model->taxNo = $map['taxNo']; } if (isset($map['taxOrInvoiceHasInit'])) { $model->taxOrInvoiceHasInit = $map['taxOrInvoiceHasInit']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceMultiCompanyInfoResponse.php 0000644 00000003024 14713400346 0021442 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateFinanceMultiCompanyInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateFinanceMultiCompanyInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateFinanceMultiCompanyInfoResponseBody.php 0000644 00000001535 14713400346 0022265 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateFinanceMultiCompanyInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAbandonStatusHeaders.php 0000644 00000002366 14713400346 0020571 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceAbandonStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAbandonStatusRequest.php 0000644 00000011602 14713400346 0020637 0 ustar 00 'blueGeneralInvoiceVO', 'blueInvoiceCode' => 'blueInvoiceCode', 'blueInvoiceNo' => 'blueInvoiceNo', 'blueInvoiceStatus' => 'blueInvoiceStatus', 'companyCode' => 'companyCode', 'operator' => 'operator', 'redGeneralInvoiceVO' => 'redGeneralInvoiceVO', 'redInvoiceCode' => 'redInvoiceCode', 'redInvoiceNo' => 'redInvoiceNo', 'redInvoiceStatus' => 'redInvoiceStatus', 'targetInvoice' => 'targetInvoice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blueGeneralInvoiceVO) { $res['blueGeneralInvoiceVO'] = null !== $this->blueGeneralInvoiceVO ? $this->blueGeneralInvoiceVO->toMap() : null; } if (null !== $this->blueInvoiceCode) { $res['blueInvoiceCode'] = $this->blueInvoiceCode; } if (null !== $this->blueInvoiceNo) { $res['blueInvoiceNo'] = $this->blueInvoiceNo; } if (null !== $this->blueInvoiceStatus) { $res['blueInvoiceStatus'] = $this->blueInvoiceStatus; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->redGeneralInvoiceVO) { $res['redGeneralInvoiceVO'] = null !== $this->redGeneralInvoiceVO ? $this->redGeneralInvoiceVO->toMap() : null; } if (null !== $this->redInvoiceCode) { $res['redInvoiceCode'] = $this->redInvoiceCode; } if (null !== $this->redInvoiceNo) { $res['redInvoiceNo'] = $this->redInvoiceNo; } if (null !== $this->redInvoiceStatus) { $res['redInvoiceStatus'] = $this->redInvoiceStatus; } if (null !== $this->targetInvoice) { $res['targetInvoice'] = $this->targetInvoice; } return $res; } /** * @param array $map * * @return UpdateInvoiceAbandonStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blueGeneralInvoiceVO'])) { $model->blueGeneralInvoiceVO = blueGeneralInvoiceVO::fromMap($map['blueGeneralInvoiceVO']); } if (isset($map['blueInvoiceCode'])) { $model->blueInvoiceCode = $map['blueInvoiceCode']; } if (isset($map['blueInvoiceNo'])) { $model->blueInvoiceNo = $map['blueInvoiceNo']; } if (isset($map['blueInvoiceStatus'])) { $model->blueInvoiceStatus = $map['blueInvoiceStatus']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['redGeneralInvoiceVO'])) { $model->redGeneralInvoiceVO = redGeneralInvoiceVO::fromMap($map['redGeneralInvoiceVO']); } if (isset($map['redInvoiceCode'])) { $model->redInvoiceCode = $map['redInvoiceCode']; } if (isset($map['redInvoiceNo'])) { $model->redInvoiceNo = $map['redInvoiceNo']; } if (isset($map['redInvoiceStatus'])) { $model->redInvoiceStatus = $map['redInvoiceStatus']; } if (isset($map['targetInvoice'])) { $model->targetInvoice = $map['targetInvoice']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAbandonStatusRequest/blueGeneralInvoiceVO.php 0000644 00000044364 14713400346 0024661 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'remark' => 'remark', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return blueGeneralInvoiceVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/blueGeneralInvoiceVO/generalInvoiceDetailVOList.php 0000644 00000010107 14713400346 0031744 0 ustar 00 src/bizfinance_1_0 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/blueGeneralInvoiceVO/secondHandCarInvoiceDetailList.php 0000644 00000006720 14713400346 0032564 0 ustar 00 src/bizfinance_1_0 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/blueGeneralInvoiceVO/usedVehicleSaleDetailVOList.php 0000644 00000013704 14713400346 0032065 0 ustar 00 src/bizfinance_1_0 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/blueGeneralInvoiceVO/vehicleSaleDetailVOList.php 0000644 00000012654 14713400346 0031247 0 ustar 00 src/bizfinance_1_0 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAbandonStatusRequest/redGeneralInvoiceVO.php 0000644 00000044323 14713400346 0024477 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'remark' => 'remark', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return redGeneralInvoiceVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/redGeneralInvoiceVO/generalInvoiceDetailVOList.php 0000644 00000010110 14713400346 0031561 0 ustar 00 src/bizfinance_1_0 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/redGeneralInvoiceVO/secondHandCarInvoiceDetailList.php 0000644 00000006717 14713400346 0032415 0 ustar 00 src/bizfinance_1_0 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/redGeneralInvoiceVO/usedVehicleSaleDetailVOList.php 0000644 00000013703 14713400346 0031707 0 ustar 00 src/bizfinance_1_0 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAbandonStatusRequest/redGeneralInvoiceVO/vehicleSaleDetailVOList.php 0000644 00000012653 14713400346 0031071 0 ustar 00 src/bizfinance_1_0 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAbandonStatusResponse.php 0000644 00000003010 14713400346 0020777 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAbandonStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceAbandonStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAbandonStatusResponseBody.php 0000644 00000001527 14713400346 0021630 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateInvoiceAbandonStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodHeaders.php 0000644 00000002366 14713400346 0020562 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountPeriodHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodRequest.php 0000644 00000007320 14713400346 0020632 0 ustar 00 'accountPeriod', 'companyCode' => 'companyCode', 'generalInvoiceVOList' => 'generalInvoiceVOList', 'invoiceKeyVOList' => 'invoiceKeyVOList', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->generalInvoiceVOList) { $res['generalInvoiceVOList'] = []; if (null !== $this->generalInvoiceVOList && \is_array($this->generalInvoiceVOList)) { $n = 0; foreach ($this->generalInvoiceVOList as $item) { $res['generalInvoiceVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->invoiceKeyVOList) { $res['invoiceKeyVOList'] = []; if (null !== $this->invoiceKeyVOList && \is_array($this->invoiceKeyVOList)) { $n = 0; foreach ($this->invoiceKeyVOList as $item) { $res['invoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountPeriodRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['generalInvoiceVOList'])) { if (!empty($map['generalInvoiceVOList'])) { $model->generalInvoiceVOList = []; $n = 0; foreach ($map['generalInvoiceVOList'] as $item) { $model->generalInvoiceVOList[$n++] = null !== $item ? generalInvoiceVOList::fromMap($item) : $item; } } } if (isset($map['invoiceKeyVOList'])) { if (!empty($map['invoiceKeyVOList'])) { $model->invoiceKeyVOList = []; $n = 0; foreach ($map['invoiceKeyVOList'] as $item) { $model->invoiceKeyVOList[$n++] = null !== $item ? invoiceKeyVOList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodRequest/generalInvoiceVOList.php 0000644 00000046201 14713400346 0024666 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'remark' => 'remark', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return generalInvoiceVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } Models/UpdateInvoiceAccountPeriodRequest/generalInvoiceVOList/generalInvoiceDetailVOList.php 0000644 00000010056 14713400346 0031764 0 ustar 00 src/bizfinance_1_0 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } Models/UpdateInvoiceAccountPeriodRequest/generalInvoiceVOList/secondHandCarInvoiceDetailList.php 0000644 00000006720 14713400346 0032601 0 ustar 00 src/bizfinance_1_0 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAccountPeriodRequest/generalInvoiceVOList/usedVehicleSaleDetailVOList.php 0000644 00000013704 14713400346 0032102 0 ustar 00 src/bizfinance_1_0 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAccountPeriodRequest/generalInvoiceVOList/vehicleSaleDetailVOList.php 0000644 00000012621 14713400346 0031256 0 ustar 00 src/bizfinance_1_0 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodRequest/invoiceKeyVOList.php 0000644 00000002337 14713400346 0024043 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return invoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodResponse.php 0000644 00000003010 14713400346 0020770 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountPeriodResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceAccountPeriodResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodResponseBody.php 0000644 00000004755 14713400346 0021627 0 ustar 00 'errorResult', 'successResult' => 'successResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorResult) { $res['errorResult'] = []; if (null !== $this->errorResult && \is_array($this->errorResult)) { $n = 0; foreach ($this->errorResult as $item) { $res['errorResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->successResult) { $res['successResult'] = []; if (null !== $this->successResult && \is_array($this->successResult)) { $n = 0; foreach ($this->successResult as $item) { $res['successResult'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountPeriodResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorResult'])) { if (!empty($map['errorResult'])) { $model->errorResult = []; $n = 0; foreach ($map['errorResult'] as $item) { $model->errorResult[$n++] = null !== $item ? errorResult::fromMap($item) : $item; } } } if (isset($map['successResult'])) { if (!empty($map['successResult'])) { $model->successResult = []; $n = 0; foreach ($map['successResult'] as $item) { $model->successResult[$n++] = null !== $item ? successResult::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodResponseBody/errorResult.php 0000644 00000002262 14713400346 0024146 0 ustar 00 'errorKey', 'errorMsg' => 'errorMsg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorKey) { $res['errorKey'] = $this->errorKey; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } return $res; } /** * @param array $map * * @return errorResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorKey'])) { $model->errorKey = $map['errorKey']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountPeriodResponseBody/successResult.php 0000644 00000002246 14713400346 0024467 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return successResult */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateHeaders.php 0000644 00000002404 14713400346 0022047 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingPeriodDateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateRequest.php 0000644 00000004663 14713400346 0022135 0 ustar 00 'companyCode', 'invoiceFinanceInfoVOList' => 'invoiceFinanceInfoVOList', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->invoiceFinanceInfoVOList) { $res['invoiceFinanceInfoVOList'] = []; if (null !== $this->invoiceFinanceInfoVOList && \is_array($this->invoiceFinanceInfoVOList)) { $n = 0; foreach ($this->invoiceFinanceInfoVOList as $item) { $res['invoiceFinanceInfoVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingPeriodDateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['invoiceFinanceInfoVOList'])) { if (!empty($map['invoiceFinanceInfoVOList'])) { $model->invoiceFinanceInfoVOList = []; $n = 0; foreach ($map['invoiceFinanceInfoVOList'] as $item) { $model->invoiceFinanceInfoVOList[$n++] = null !== $item ? invoiceFinanceInfoVOList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateRequest/invoiceFinanceInfoVOList.php 0000644 00000004054 14713400346 0026764 0 ustar 00 'accountingPeriodData', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceType' => 'invoiceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountingPeriodData) { $res['accountingPeriodData'] = $this->accountingPeriodData; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } return $res; } /** * @param array $map * * @return invoiceFinanceInfoVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountingPeriodData'])) { $model->accountingPeriodData = $map['accountingPeriodData']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateResponse.php 0000644 00000003044 14713400346 0022273 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingPeriodDateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceAccountingPeriodDateResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateResponseBody.php 0000644 00000002014 14713400346 0023105 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingPeriodDateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateResponseBody/result.php 0000644 00000004165 14713400346 0024434 0 ustar 00 'failCount', 'failInvoices' => 'failInvoices', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failCount) { $res['failCount'] = $this->failCount; } if (null !== $this->failInvoices) { $res['failInvoices'] = []; if (null !== $this->failInvoices && \is_array($this->failInvoices)) { $n = 0; foreach ($this->failInvoices as $item) { $res['failInvoices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failCount'])) { $model->failCount = $map['failCount']; } if (isset($map['failInvoices'])) { if (!empty($map['failInvoices'])) { $model->failInvoices = []; $n = 0; foreach ($map['failInvoices'] as $item) { $model->failInvoices[$n++] = null !== $item ? failInvoices::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingPeriodDateResponseBody/result/failInvoices.php 0000644 00000003612 14713400346 0027043 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return failInvoices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusHeaders.php 0000644 00000002374 14713400346 0021320 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusRequest.php 0000644 00000004647 14713400346 0021402 0 ustar 00 'companyCode', 'invoiceFinanceInfoVOList' => 'invoiceFinanceInfoVOList', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->invoiceFinanceInfoVOList) { $res['invoiceFinanceInfoVOList'] = []; if (null !== $this->invoiceFinanceInfoVOList && \is_array($this->invoiceFinanceInfoVOList)) { $n = 0; foreach ($this->invoiceFinanceInfoVOList as $item) { $res['invoiceFinanceInfoVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['invoiceFinanceInfoVOList'])) { if (!empty($map['invoiceFinanceInfoVOList'])) { $model->invoiceFinanceInfoVOList = []; $n = 0; foreach ($map['invoiceFinanceInfoVOList'] as $item) { $model->invoiceFinanceInfoVOList[$n++] = null !== $item ? invoiceFinanceInfoVOList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusRequest/invoiceFinanceInfoVOList.php 0000644 00000003767 14713400346 0026241 0 ustar 00 'accountingStatus', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceType' => 'invoiceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountingStatus) { $res['accountingStatus'] = $this->accountingStatus; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } return $res; } /** * @param array $map * * @return invoiceFinanceInfoVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountingStatus'])) { $model->accountingStatus = $map['accountingStatus']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusResponse.php 0000644 00000003024 14713400346 0021534 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceAccountingStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusResponseBody.php 0000644 00000002000 14713400346 0022343 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAccountingStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusResponseBody/result.php 0000644 00000004155 14713400346 0023676 0 ustar 00 'failCount', 'failInvoices' => 'failInvoices', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failCount) { $res['failCount'] = $this->failCount; } if (null !== $this->failInvoices) { $res['failInvoices'] = []; if (null !== $this->failInvoices && \is_array($this->failInvoices)) { $n = 0; foreach ($this->failInvoices as $item) { $res['failInvoices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failCount'])) { $model->failCount = $map['failCount']; } if (isset($map['failInvoices'])) { if (!empty($map['failInvoices'])) { $model->failInvoices = []; $n = 0; foreach ($map['failInvoices'] as $item) { $model->failInvoices[$n++] = null !== $item ? failInvoices::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAccountingStatusResponseBody/result/failInvoices.php 0000644 00000003607 14713400346 0026312 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return failInvoices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAndReceiptRelatedHeaders.php 0000644 00000002376 14713400346 0021343 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceAndReceiptRelatedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAndReceiptRelatedRequest.php 0000644 00000004673 14713400346 0021422 0 ustar 00 'generalInvoiceVO', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'operator' => 'operator', 'receiptCode' => 'receiptCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->generalInvoiceVO) { $res['generalInvoiceVO'] = null !== $this->generalInvoiceVO ? $this->generalInvoiceVO->toMap() : null; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->receiptCode) { $res['receiptCode'] = $this->receiptCode; } return $res; } /** * @param array $map * * @return UpdateInvoiceAndReceiptRelatedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['generalInvoiceVO'])) { $model->generalInvoiceVO = generalInvoiceVO::fromMap($map['generalInvoiceVO']); } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['receiptCode'])) { $model->receiptCode = $map['receiptCode']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAndReceiptRelatedRequest/generalInvoiceVO.php 0000644 00000067372 14713400346 0024626 0 ustar 00 'accountPeriod', 'agentCode' => 'agentCode', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'caacDevelopmentFund' => 'caacDevelopmentFund', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'city' => 'city', 'destination' => 'destination', 'distance' => 'distance', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'entrance' => 'entrance', 'exit' => 'exit', 'financeType' => 'financeType', 'flightItineraryDetails' => 'flightItineraryDetails', 'fuelSurcharge' => 'fuelSurcharge', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'getOffTime' => 'getOffTime', 'getOnTime' => 'getOnTime', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'issueBy' => 'issueBy', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'origin' => 'origin', 'passenger' => 'passenger', 'passengerUserId' => 'passengerUserId', 'payee' => 'payee', 'printSerialNumber' => 'printSerialNumber', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'receiverEmail' => 'receiverEmail', 'receiverName' => 'receiverName', 'receiverTel' => 'receiverTel', 'remark' => 'remark', 'seatClass' => 'seatClass', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'serialNo' => 'serialNo', 'startTime' => 'startTime', 'supplySign' => 'supplySign', 'surcharge' => 'surcharge', 'taxAmount' => 'taxAmount', 'trainNo' => 'trainNo', 'travelDate' => 'travelDate', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->agentCode) { $res['agentCode'] = $this->agentCode; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->caacDevelopmentFund) { $res['caacDevelopmentFund'] = $this->caacDevelopmentFund; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->city) { $res['city'] = $this->city; } if (null !== $this->destination) { $res['destination'] = $this->destination; } if (null !== $this->distance) { $res['distance'] = $this->distance; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->entrance) { $res['entrance'] = $this->entrance; } if (null !== $this->exit) { $res['exit'] = $this->exit; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->flightItineraryDetails) { $res['flightItineraryDetails'] = []; if (null !== $this->flightItineraryDetails && \is_array($this->flightItineraryDetails)) { $n = 0; foreach ($this->flightItineraryDetails as $item) { $res['flightItineraryDetails'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->fuelSurcharge) { $res['fuelSurcharge'] = $this->fuelSurcharge; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->getOffTime) { $res['getOffTime'] = $this->getOffTime; } if (null !== $this->getOnTime) { $res['getOnTime'] = $this->getOnTime; } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->issueBy) { $res['issueBy'] = $this->issueBy; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->origin) { $res['origin'] = $this->origin; } if (null !== $this->passenger) { $res['passenger'] = $this->passenger; } if (null !== $this->passengerUserId) { $res['passengerUserId'] = $this->passengerUserId; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->printSerialNumber) { $res['printSerialNumber'] = $this->printSerialNumber; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->receiverEmail) { $res['receiverEmail'] = $this->receiverEmail; } if (null !== $this->receiverName) { $res['receiverName'] = $this->receiverName; } if (null !== $this->receiverTel) { $res['receiverTel'] = $this->receiverTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->seatClass) { $res['seatClass'] = $this->seatClass; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->serialNo) { $res['serialNo'] = $this->serialNo; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->surcharge) { $res['surcharge'] = $this->surcharge; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->trainNo) { $res['trainNo'] = $this->trainNo; } if (null !== $this->travelDate) { $res['travelDate'] = $this->travelDate; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return generalInvoiceVO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['agentCode'])) { $model->agentCode = $map['agentCode']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['caacDevelopmentFund'])) { $model->caacDevelopmentFund = $map['caacDevelopmentFund']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['city'])) { $model->city = $map['city']; } if (isset($map['destination'])) { $model->destination = $map['destination']; } if (isset($map['distance'])) { $model->distance = $map['distance']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['entrance'])) { $model->entrance = $map['entrance']; } if (isset($map['exit'])) { $model->exit = $map['exit']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['flightItineraryDetails'])) { if (!empty($map['flightItineraryDetails'])) { $model->flightItineraryDetails = []; $n = 0; foreach ($map['flightItineraryDetails'] as $item) { $model->flightItineraryDetails[$n++] = null !== $item ? flightItineraryDetails::fromMap($item) : $item; } } } if (isset($map['fuelSurcharge'])) { $model->fuelSurcharge = $map['fuelSurcharge']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['getOffTime'])) { $model->getOffTime = $map['getOffTime']; } if (isset($map['getOnTime'])) { $model->getOnTime = $map['getOnTime']; } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['issueBy'])) { $model->issueBy = $map['issueBy']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['origin'])) { $model->origin = $map['origin']; } if (isset($map['passenger'])) { $model->passenger = $map['passenger']; } if (isset($map['passengerUserId'])) { $model->passengerUserId = $map['passengerUserId']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['printSerialNumber'])) { $model->printSerialNumber = $map['printSerialNumber']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['receiverEmail'])) { $model->receiverEmail = $map['receiverEmail']; } if (isset($map['receiverName'])) { $model->receiverName = $map['receiverName']; } if (isset($map['receiverTel'])) { $model->receiverTel = $map['receiverTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['seatClass'])) { $model->seatClass = $map['seatClass']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['serialNo'])) { $model->serialNo = $map['serialNo']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['surcharge'])) { $model->surcharge = $map['surcharge']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['trainNo'])) { $model->trainNo = $map['trainNo']; } if (isset($map['travelDate'])) { $model->travelDate = $map['travelDate']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } Models/UpdateInvoiceAndReceiptRelatedRequest/generalInvoiceVO/flightItineraryDetails.php 0000644 00000005412 14713400346 0031204 0 ustar 00 src/bizfinance_1_0 'carrier', 'flightNumber' => 'flightNumber', 'flyDate' => 'flyDate', 'flyFrom' => 'flyFrom', 'flyTime' => 'flyTime', 'flyTo' => 'flyTo', 'seat' => 'seat', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->carrier) { $res['carrier'] = $this->carrier; } if (null !== $this->flightNumber) { $res['flightNumber'] = $this->flightNumber; } if (null !== $this->flyDate) { $res['flyDate'] = $this->flyDate; } if (null !== $this->flyFrom) { $res['flyFrom'] = $this->flyFrom; } if (null !== $this->flyTime) { $res['flyTime'] = $this->flyTime; } if (null !== $this->flyTo) { $res['flyTo'] = $this->flyTo; } if (null !== $this->seat) { $res['seat'] = $this->seat; } return $res; } /** * @param array $map * * @return flightItineraryDetails */ public static function fromMap($map = []) { $model = new self(); if (isset($map['carrier'])) { $model->carrier = $map['carrier']; } if (isset($map['flightNumber'])) { $model->flightNumber = $map['flightNumber']; } if (isset($map['flyDate'])) { $model->flyDate = $map['flyDate']; } if (isset($map['flyFrom'])) { $model->flyFrom = $map['flyFrom']; } if (isset($map['flyTime'])) { $model->flyTime = $map['flyTime']; } if (isset($map['flyTo'])) { $model->flyTo = $map['flyTo']; } if (isset($map['seat'])) { $model->seat = $map['seat']; } return $model; } } Models/UpdateInvoiceAndReceiptRelatedRequest/generalInvoiceVO/generalInvoiceDetailVOList.php 0000644 00000010107 14713400346 0031705 0 ustar 00 src/bizfinance_1_0 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } Models/UpdateInvoiceAndReceiptRelatedRequest/generalInvoiceVO/secondHandCarInvoiceDetailList.php 0000644 00000006720 14713400346 0032525 0 ustar 00 src/bizfinance_1_0 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAndReceiptRelatedRequest/generalInvoiceVO/usedVehicleSaleDetailVOList.php 0000644 00000013704 14713400346 0032026 0 ustar 00 src/bizfinance_1_0 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceAndReceiptRelatedRequest/generalInvoiceVO/vehicleSaleDetailVOList.php 0000644 00000012654 14713400346 0031210 0 ustar 00 src/bizfinance_1_0 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAndReceiptRelatedResponse.php 0000644 00000003030 14713400346 0021552 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceAndReceiptRelatedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceAndReceiptRelatedResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceAndReceiptRelatedResponseBody.php 0000644 00000001537 14713400346 0022402 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateInvoiceAndReceiptRelatedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceIgnoreStatusHeaders.php 0000644 00000002364 14713400346 0020450 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceIgnoreStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceIgnoreStatusRequest.php 0000644 00000002771 14713400346 0020527 0 ustar 00 'instanceId', 'operator' => 'operator', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return UpdateInvoiceIgnoreStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceIgnoreStatusResponse.php 0000644 00000003004 14713400346 0020663 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceIgnoreStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceIgnoreStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceIgnoreStatusResponseBody.php 0000644 00000001525 14713400346 0021507 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateInvoiceIgnoreStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVerifyStatusHeaders.php 0000644 00000002364 14713400346 0020471 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceVerifyStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVerifyStatusRequest.php 0000644 00000010060 14713400346 0020536 0 ustar 00 'companyCode', 'deductStatus' => 'deductStatus', 'generalInvoiceVOList' => 'generalInvoiceVOList', 'invoiceKeyVOList' => 'invoiceKeyVOList', 'operator' => 'operator', 'verifyStatus' => 'verifyStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->deductStatus) { $res['deductStatus'] = $this->deductStatus; } if (null !== $this->generalInvoiceVOList) { $res['generalInvoiceVOList'] = []; if (null !== $this->generalInvoiceVOList && \is_array($this->generalInvoiceVOList)) { $n = 0; foreach ($this->generalInvoiceVOList as $item) { $res['generalInvoiceVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->invoiceKeyVOList) { $res['invoiceKeyVOList'] = []; if (null !== $this->invoiceKeyVOList && \is_array($this->invoiceKeyVOList)) { $n = 0; foreach ($this->invoiceKeyVOList as $item) { $res['invoiceKeyVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } return $res; } /** * @param array $map * * @return UpdateInvoiceVerifyStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['deductStatus'])) { $model->deductStatus = $map['deductStatus']; } if (isset($map['generalInvoiceVOList'])) { if (!empty($map['generalInvoiceVOList'])) { $model->generalInvoiceVOList = []; $n = 0; foreach ($map['generalInvoiceVOList'] as $item) { $model->generalInvoiceVOList[$n++] = null !== $item ? generalInvoiceVOList::fromMap($item) : $item; } } } if (isset($map['invoiceKeyVOList'])) { if (!empty($map['invoiceKeyVOList'])) { $model->invoiceKeyVOList = []; $n = 0; foreach ($map['invoiceKeyVOList'] as $item) { $model->invoiceKeyVOList[$n++] = null !== $item ? invoiceKeyVOList::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVerifyStatusRequest/generalInvoiceVOList.php 0000644 00000046174 14713400346 0024610 0 ustar 00 'accountPeriod', 'amount' => 'amount', 'amountWithTax' => 'amountWithTax', 'checkCode' => 'checkCode', 'checkTime' => 'checkTime', 'drawerName' => 'drawerName', 'drewDate' => 'drewDate', 'electronicUrl' => 'electronicUrl', 'financeType' => 'financeType', 'fundType' => 'fundType', 'generalInvoiceDetailVOList' => 'generalInvoiceDetailVOList', 'imageUrl' => 'imageUrl', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'invoiceStatus' => 'invoiceStatus', 'invoiceType' => 'invoiceType', 'machineCode' => 'machineCode', 'oilFlag' => 'oilFlag', 'payee' => 'payee', 'processInstCode' => 'processInstCode', 'processInstType' => 'processInstType', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankNameAccount' => 'purchaserBankNameAccount', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'remark' => 'remark', 'secondHandCarInvoiceDetailList' => 'secondHandCarInvoiceDetailList', 'sellerAddress' => 'sellerAddress', 'sellerBankAccount' => 'sellerBankAccount', 'sellerBankNameAccount' => 'sellerBankNameAccount', 'sellerName' => 'sellerName', 'sellerTaxNo' => 'sellerTaxNo', 'sellerTel' => 'sellerTel', 'supplySign' => 'supplySign', 'taxAmount' => 'taxAmount', 'usedVehicleSaleDetailVOList' => 'usedVehicleSaleDetailVOList', 'vehicleSaleDetailVOList' => 'vehicleSaleDetailVOList', 'verifyStatus' => 'verifyStatus', 'voucherCode' => 'voucherCode', 'voucherStatus' => 'voucherStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->checkCode) { $res['checkCode'] = $this->checkCode; } if (null !== $this->checkTime) { $res['checkTime'] = $this->checkTime; } if (null !== $this->drawerName) { $res['drawerName'] = $this->drawerName; } if (null !== $this->drewDate) { $res['drewDate'] = $this->drewDate; } if (null !== $this->electronicUrl) { $res['electronicUrl'] = $this->electronicUrl; } if (null !== $this->financeType) { $res['financeType'] = $this->financeType; } if (null !== $this->fundType) { $res['fundType'] = $this->fundType; } if (null !== $this->generalInvoiceDetailVOList) { $res['generalInvoiceDetailVOList'] = []; if (null !== $this->generalInvoiceDetailVOList && \is_array($this->generalInvoiceDetailVOList)) { $n = 0; foreach ($this->generalInvoiceDetailVOList as $item) { $res['generalInvoiceDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->imageUrl) { $res['imageUrl'] = $this->imageUrl; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->invoiceStatus) { $res['invoiceStatus'] = $this->invoiceStatus; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->machineCode) { $res['machineCode'] = $this->machineCode; } if (null !== $this->oilFlag) { $res['oilFlag'] = $this->oilFlag; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->processInstCode) { $res['processInstCode'] = $this->processInstCode; } if (null !== $this->processInstType) { $res['processInstType'] = $this->processInstType; } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankNameAccount) { $res['purchaserBankNameAccount'] = $this->purchaserBankNameAccount; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->secondHandCarInvoiceDetailList) { $res['secondHandCarInvoiceDetailList'] = []; if (null !== $this->secondHandCarInvoiceDetailList && \is_array($this->secondHandCarInvoiceDetailList)) { $n = 0; foreach ($this->secondHandCarInvoiceDetailList as $item) { $res['secondHandCarInvoiceDetailList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sellerAddress) { $res['sellerAddress'] = $this->sellerAddress; } if (null !== $this->sellerBankAccount) { $res['sellerBankAccount'] = $this->sellerBankAccount; } if (null !== $this->sellerBankNameAccount) { $res['sellerBankNameAccount'] = $this->sellerBankNameAccount; } if (null !== $this->sellerName) { $res['sellerName'] = $this->sellerName; } if (null !== $this->sellerTaxNo) { $res['sellerTaxNo'] = $this->sellerTaxNo; } if (null !== $this->sellerTel) { $res['sellerTel'] = $this->sellerTel; } if (null !== $this->supplySign) { $res['supplySign'] = $this->supplySign; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->usedVehicleSaleDetailVOList) { $res['usedVehicleSaleDetailVOList'] = []; if (null !== $this->usedVehicleSaleDetailVOList && \is_array($this->usedVehicleSaleDetailVOList)) { $n = 0; foreach ($this->usedVehicleSaleDetailVOList as $item) { $res['usedVehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->vehicleSaleDetailVOList) { $res['vehicleSaleDetailVOList'] = []; if (null !== $this->vehicleSaleDetailVOList && \is_array($this->vehicleSaleDetailVOList)) { $n = 0; foreach ($this->vehicleSaleDetailVOList as $item) { $res['vehicleSaleDetailVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->verifyStatus) { $res['verifyStatus'] = $this->verifyStatus; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherStatus) { $res['voucherStatus'] = $this->voucherStatus; } return $res; } /** * @param array $map * * @return generalInvoiceVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['checkCode'])) { $model->checkCode = $map['checkCode']; } if (isset($map['checkTime'])) { $model->checkTime = $map['checkTime']; } if (isset($map['drawerName'])) { $model->drawerName = $map['drawerName']; } if (isset($map['drewDate'])) { $model->drewDate = $map['drewDate']; } if (isset($map['electronicUrl'])) { $model->electronicUrl = $map['electronicUrl']; } if (isset($map['financeType'])) { $model->financeType = $map['financeType']; } if (isset($map['fundType'])) { $model->fundType = $map['fundType']; } if (isset($map['generalInvoiceDetailVOList'])) { if (!empty($map['generalInvoiceDetailVOList'])) { $model->generalInvoiceDetailVOList = []; $n = 0; foreach ($map['generalInvoiceDetailVOList'] as $item) { $model->generalInvoiceDetailVOList[$n++] = null !== $item ? generalInvoiceDetailVOList::fromMap($item) : $item; } } } if (isset($map['imageUrl'])) { $model->imageUrl = $map['imageUrl']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['invoiceStatus'])) { $model->invoiceStatus = $map['invoiceStatus']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['machineCode'])) { $model->machineCode = $map['machineCode']; } if (isset($map['oilFlag'])) { $model->oilFlag = $map['oilFlag']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['processInstCode'])) { $model->processInstCode = $map['processInstCode']; } if (isset($map['processInstType'])) { $model->processInstType = $map['processInstType']; } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankNameAccount'])) { $model->purchaserBankNameAccount = $map['purchaserBankNameAccount']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['secondHandCarInvoiceDetailList'])) { if (!empty($map['secondHandCarInvoiceDetailList'])) { $model->secondHandCarInvoiceDetailList = []; $n = 0; foreach ($map['secondHandCarInvoiceDetailList'] as $item) { $model->secondHandCarInvoiceDetailList[$n++] = null !== $item ? secondHandCarInvoiceDetailList::fromMap($item) : $item; } } } if (isset($map['sellerAddress'])) { $model->sellerAddress = $map['sellerAddress']; } if (isset($map['sellerBankAccount'])) { $model->sellerBankAccount = $map['sellerBankAccount']; } if (isset($map['sellerBankNameAccount'])) { $model->sellerBankNameAccount = $map['sellerBankNameAccount']; } if (isset($map['sellerName'])) { $model->sellerName = $map['sellerName']; } if (isset($map['sellerTaxNo'])) { $model->sellerTaxNo = $map['sellerTaxNo']; } if (isset($map['sellerTel'])) { $model->sellerTel = $map['sellerTel']; } if (isset($map['supplySign'])) { $model->supplySign = $map['supplySign']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['usedVehicleSaleDetailVOList'])) { if (!empty($map['usedVehicleSaleDetailVOList'])) { $model->usedVehicleSaleDetailVOList = []; $n = 0; foreach ($map['usedVehicleSaleDetailVOList'] as $item) { $model->usedVehicleSaleDetailVOList[$n++] = null !== $item ? usedVehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['vehicleSaleDetailVOList'])) { if (!empty($map['vehicleSaleDetailVOList'])) { $model->vehicleSaleDetailVOList = []; $n = 0; foreach ($map['vehicleSaleDetailVOList'] as $item) { $model->vehicleSaleDetailVOList[$n++] = null !== $item ? vehicleSaleDetailVOList::fromMap($item) : $item; } } } if (isset($map['verifyStatus'])) { $model->verifyStatus = $map['verifyStatus']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherStatus'])) { $model->voucherStatus = $map['voucherStatus']; } return $model; } } Models/UpdateInvoiceVerifyStatusRequest/generalInvoiceVOList/generalInvoiceDetailVOList.php 0000644 00000010055 14713400346 0031674 0 ustar 00 src/bizfinance_1_0 'amount', 'goodsName' => 'goodsName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'specification' => 'specification', 'taxAmount' => 'taxAmount', 'taxPre' => 'taxPre', 'taxPreType' => 'taxPreType', 'taxRate' => 'taxRate', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxPre) { $res['taxPre'] = $this->taxPre; } if (null !== $this->taxPreType) { $res['taxPreType'] = $this->taxPreType; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return generalInvoiceDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxPre'])) { $model->taxPre = $map['taxPre']; } if (isset($map['taxPreType'])) { $model->taxPreType = $map['taxPreType']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } Models/UpdateInvoiceVerifyStatusRequest/generalInvoiceVOList/secondHandCarInvoiceDetailList.php 0000644 00000006717 14713400346 0032520 0 ustar 00 src/bizfinance_1_0 'amount', 'cardNo' => 'cardNo', 'endDate' => 'endDate', 'goodsName' => 'goodsName', 'revenueCode' => 'revenueCode', 'rowNo' => 'rowNo', 'startDate' => 'startDate', 'taxAmount' => 'taxAmount', 'taxRate' => 'taxRate', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->goodsName) { $res['goodsName'] = $this->goodsName; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->rowNo) { $res['rowNo'] = $this->rowNo; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->taxAmount) { $res['taxAmount'] = $this->taxAmount; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return secondHandCarInvoiceDetailList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['goodsName'])) { $model->goodsName = $map['goodsName']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['rowNo'])) { $model->rowNo = $map['rowNo']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['taxAmount'])) { $model->taxAmount = $map['taxAmount']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceVerifyStatusRequest/generalInvoiceVOList/usedVehicleSaleDetailVOList.php 0000644 00000013703 14713400346 0032012 0 ustar 00 src/bizfinance_1_0 'auctionUnit', 'auctionUnitAddress' => 'auctionUnitAddress', 'auctionUnitBank' => 'auctionUnitBank', 'auctionUnitTaxNo' => 'auctionUnitTaxNo', 'auctionUtilTel' => 'auctionUtilTel', 'carModel' => 'carModel', 'cardNo' => 'cardNo', 'registration' => 'registration', 'transferVehicle' => 'transferVehicle', 'usedCarAddress' => 'usedCarAddress', 'usedCarMarket' => 'usedCarMarket', 'usedCarMarketBank' => 'usedCarMarketBank', 'usedCarMarketPhone' => 'usedCarMarketPhone', 'usedCarMarketTaxNo' => 'usedCarMarketTaxNo', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auctionUnit) { $res['auctionUnit'] = $this->auctionUnit; } if (null !== $this->auctionUnitAddress) { $res['auctionUnitAddress'] = $this->auctionUnitAddress; } if (null !== $this->auctionUnitBank) { $res['auctionUnitBank'] = $this->auctionUnitBank; } if (null !== $this->auctionUnitTaxNo) { $res['auctionUnitTaxNo'] = $this->auctionUnitTaxNo; } if (null !== $this->auctionUtilTel) { $res['auctionUtilTel'] = $this->auctionUtilTel; } if (null !== $this->carModel) { $res['carModel'] = $this->carModel; } if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->registration) { $res['registration'] = $this->registration; } if (null !== $this->transferVehicle) { $res['transferVehicle'] = $this->transferVehicle; } if (null !== $this->usedCarAddress) { $res['usedCarAddress'] = $this->usedCarAddress; } if (null !== $this->usedCarMarket) { $res['usedCarMarket'] = $this->usedCarMarket; } if (null !== $this->usedCarMarketBank) { $res['usedCarMarketBank'] = $this->usedCarMarketBank; } if (null !== $this->usedCarMarketPhone) { $res['usedCarMarketPhone'] = $this->usedCarMarketPhone; } if (null !== $this->usedCarMarketTaxNo) { $res['usedCarMarketTaxNo'] = $this->usedCarMarketTaxNo; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return usedVehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auctionUnit'])) { $model->auctionUnit = $map['auctionUnit']; } if (isset($map['auctionUnitAddress'])) { $model->auctionUnitAddress = $map['auctionUnitAddress']; } if (isset($map['auctionUnitBank'])) { $model->auctionUnitBank = $map['auctionUnitBank']; } if (isset($map['auctionUnitTaxNo'])) { $model->auctionUnitTaxNo = $map['auctionUnitTaxNo']; } if (isset($map['auctionUtilTel'])) { $model->auctionUtilTel = $map['auctionUtilTel']; } if (isset($map['carModel'])) { $model->carModel = $map['carModel']; } if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['registration'])) { $model->registration = $map['registration']; } if (isset($map['transferVehicle'])) { $model->transferVehicle = $map['transferVehicle']; } if (isset($map['usedCarAddress'])) { $model->usedCarAddress = $map['usedCarAddress']; } if (isset($map['usedCarMarket'])) { $model->usedCarMarket = $map['usedCarMarket']; } if (isset($map['usedCarMarketBank'])) { $model->usedCarMarketBank = $map['usedCarMarketBank']; } if (isset($map['usedCarMarketPhone'])) { $model->usedCarMarketPhone = $map['usedCarMarketPhone']; } if (isset($map['usedCarMarketTaxNo'])) { $model->usedCarMarketTaxNo = $map['usedCarMarketTaxNo']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } Models/UpdateInvoiceVerifyStatusRequest/generalInvoiceVOList/vehicleSaleDetailVOList.php 0000644 00000012620 14713400346 0031166 0 ustar 00 src/bizfinance_1_0 'brand', 'certificateNo' => 'certificateNo', 'engineNo' => 'engineNo', 'idCardNo' => 'idCardNo', 'importCertificateNo' => 'importCertificateNo', 'inspectionListNo' => 'inspectionListNo', 'maxPassengers' => 'maxPassengers', 'originPlace' => 'originPlace', 'paymentVoucherNo' => 'paymentVoucherNo', 'taxAuthorityName' => 'taxAuthorityName', 'taxAuthorityNo' => 'taxAuthorityNo', 'taxRate' => 'taxRate', 'tonnage' => 'tonnage', 'vehicleNo' => 'vehicleNo', 'vehicleType' => 'vehicleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->brand) { $res['brand'] = $this->brand; } if (null !== $this->certificateNo) { $res['certificateNo'] = $this->certificateNo; } if (null !== $this->engineNo) { $res['engineNo'] = $this->engineNo; } if (null !== $this->idCardNo) { $res['idCardNo'] = $this->idCardNo; } if (null !== $this->importCertificateNo) { $res['importCertificateNo'] = $this->importCertificateNo; } if (null !== $this->inspectionListNo) { $res['inspectionListNo'] = $this->inspectionListNo; } if (null !== $this->maxPassengers) { $res['maxPassengers'] = $this->maxPassengers; } if (null !== $this->originPlace) { $res['originPlace'] = $this->originPlace; } if (null !== $this->paymentVoucherNo) { $res['paymentVoucherNo'] = $this->paymentVoucherNo; } if (null !== $this->taxAuthorityName) { $res['taxAuthorityName'] = $this->taxAuthorityName; } if (null !== $this->taxAuthorityNo) { $res['taxAuthorityNo'] = $this->taxAuthorityNo; } if (null !== $this->taxRate) { $res['taxRate'] = $this->taxRate; } if (null !== $this->tonnage) { $res['tonnage'] = $this->tonnage; } if (null !== $this->vehicleNo) { $res['vehicleNo'] = $this->vehicleNo; } if (null !== $this->vehicleType) { $res['vehicleType'] = $this->vehicleType; } return $res; } /** * @param array $map * * @return vehicleSaleDetailVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['brand'])) { $model->brand = $map['brand']; } if (isset($map['certificateNo'])) { $model->certificateNo = $map['certificateNo']; } if (isset($map['engineNo'])) { $model->engineNo = $map['engineNo']; } if (isset($map['idCardNo'])) { $model->idCardNo = $map['idCardNo']; } if (isset($map['importCertificateNo'])) { $model->importCertificateNo = $map['importCertificateNo']; } if (isset($map['inspectionListNo'])) { $model->inspectionListNo = $map['inspectionListNo']; } if (isset($map['maxPassengers'])) { $model->maxPassengers = $map['maxPassengers']; } if (isset($map['originPlace'])) { $model->originPlace = $map['originPlace']; } if (isset($map['paymentVoucherNo'])) { $model->paymentVoucherNo = $map['paymentVoucherNo']; } if (isset($map['taxAuthorityName'])) { $model->taxAuthorityName = $map['taxAuthorityName']; } if (isset($map['taxAuthorityNo'])) { $model->taxAuthorityNo = $map['taxAuthorityNo']; } if (isset($map['taxRate'])) { $model->taxRate = $map['taxRate']; } if (isset($map['tonnage'])) { $model->tonnage = $map['tonnage']; } if (isset($map['vehicleNo'])) { $model->vehicleNo = $map['vehicleNo']; } if (isset($map['vehicleType'])) { $model->vehicleType = $map['vehicleType']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVerifyStatusRequest/invoiceKeyVOList.php 0000644 00000002336 14713400346 0023753 0 ustar 00 'invoiceCode', 'invoiceNo' => 'invoiceNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } return $res; } /** * @param array $map * * @return invoiceKeyVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVerifyStatusResponse.php 0000644 00000003004 14713400346 0020704 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceVerifyStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceVerifyStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVerifyStatusResponseBody.php 0000644 00000001525 14713400346 0021530 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateInvoiceVerifyStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVoucherStatusHeaders.php 0000644 00000002366 14713400346 0020642 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInvoiceVoucherStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVoucherStatusRequest.php 0000644 00000005132 14713400346 0020711 0 ustar 00 'accountantBookId', 'actionType' => 'actionType', 'invoiceCode' => 'invoiceCode', 'invoiceNo' => 'invoiceNo', 'operator' => 'operator', 'voucherId' => 'voucherId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookId) { $res['accountantBookId'] = $this->accountantBookId; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->invoiceCode) { $res['invoiceCode'] = $this->invoiceCode; } if (null !== $this->invoiceNo) { $res['invoiceNo'] = $this->invoiceNo; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->voucherId) { $res['voucherId'] = $this->voucherId; } return $res; } /** * @param array $map * * @return UpdateInvoiceVoucherStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookId'])) { $model->accountantBookId = $map['accountantBookId']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['invoiceCode'])) { $model->invoiceCode = $map['invoiceCode']; } if (isset($map['invoiceNo'])) { $model->invoiceNo = $map['invoiceNo']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['voucherId'])) { $model->voucherId = $map['voucherId']; } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVoucherStatusResponse.php 0000644 00000003010 14713400346 0021050 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInvoiceVoucherStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInvoiceVoucherStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateInvoiceVoucherStatusResponseBody.php 0000644 00000002155 14713400346 0021677 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateInvoiceVoucherStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptHeaders.php 0000644 00000002334 14713400346 0016074 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptRequest.php 0000644 00000002724 14713400346 0016154 0 ustar 00 'receipts', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->receipts) { $res['receipts'] = []; if (null !== $this->receipts && \is_array($this->receipts)) { $n = 0; foreach ($this->receipts as $item) { $res['receipts'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['receipts'])) { if (!empty($map['receipts'])) { $model->receipts = []; $n = 0; foreach ($map['receipts'] as $item) { $model->receipts[$n++] = null !== $item ? receipts::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptRequest/receipts.php 0000644 00000013006 14713400346 0017765 0 ustar 00 'amount', 'categoryCode' => 'categoryCode', 'code' => 'code', 'customerCode' => 'customerCode', 'enterpriseAcountCode' => 'enterpriseAcountCode', 'occurDate' => 'occurDate', 'principalId' => 'principalId', 'projectCode' => 'projectCode', 'receiptType' => 'receiptType', 'remark' => 'remark', 'supplierCode' => 'supplierCode', 'title' => 'title', 'updateTime' => 'updateTime', 'updateUserId' => 'updateUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->categoryCode) { $res['categoryCode'] = $this->categoryCode; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->customerCode) { $res['customerCode'] = $this->customerCode; } if (null !== $this->enterpriseAcountCode) { $res['enterpriseAcountCode'] = $this->enterpriseAcountCode; } if (null !== $this->occurDate) { $res['occurDate'] = $this->occurDate; } if (null !== $this->principalId) { $res['principalId'] = $this->principalId; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->receiptType) { $res['receiptType'] = $this->receiptType; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->supplierCode) { $res['supplierCode'] = $this->supplierCode; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } if (null !== $this->updateUserId) { $res['updateUserId'] = $this->updateUserId; } return $res; } /** * @param array $map * * @return receipts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['categoryCode'])) { $model->categoryCode = $map['categoryCode']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['customerCode'])) { $model->customerCode = $map['customerCode']; } if (isset($map['enterpriseAcountCode'])) { $model->enterpriseAcountCode = $map['enterpriseAcountCode']; } if (isset($map['occurDate'])) { $model->occurDate = $map['occurDate']; } if (isset($map['principalId'])) { $model->principalId = $map['principalId']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['receiptType'])) { $model->receiptType = $map['receiptType']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['supplierCode'])) { $model->supplierCode = $map['supplierCode']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } if (isset($map['updateUserId'])) { $model->updateUserId = $map['updateUserId']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptResponse.php 0000644 00000002724 14713400346 0016322 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptResponseBody.php 0000644 00000002632 14713400346 0017136 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptResponseBody/results.php 0000644 00000003566 14713400346 0020646 0 ustar 00 'code', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptVoucherStatusHeaders.php 0000644 00000002366 14713400346 0020641 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateReceiptVoucherStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptVoucherStatusRequest.php 0000644 00000005601 14713400346 0020711 0 ustar 00 'accountPeriod', 'actionType' => 'actionType', 'operatorId' => 'operatorId', 'receiptId' => 'receiptId', 'voucherCode' => 'voucherCode', 'voucherId' => 'voucherId', 'voucherNo' => 'voucherNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountPeriod) { $res['accountPeriod'] = $this->accountPeriod; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->receiptId) { $res['receiptId'] = $this->receiptId; } if (null !== $this->voucherCode) { $res['voucherCode'] = $this->voucherCode; } if (null !== $this->voucherId) { $res['voucherId'] = $this->voucherId; } if (null !== $this->voucherNo) { $res['voucherNo'] = $this->voucherNo; } return $res; } /** * @param array $map * * @return UpdateReceiptVoucherStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountPeriod'])) { $model->accountPeriod = $map['accountPeriod']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['receiptId'])) { $model->receiptId = $map['receiptId']; } if (isset($map['voucherCode'])) { $model->voucherCode = $map['voucherCode']; } if (isset($map['voucherId'])) { $model->voucherId = $map['voucherId']; } if (isset($map['voucherNo'])) { $model->voucherNo = $map['voucherNo']; } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptVoucherStatusResponse.php 0000644 00000003010 14713400346 0021047 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateReceiptVoucherStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateReceiptVoucherStatusResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_1_0/Models/UpdateReceiptVoucherStatusResponseBody.php 0000644 00000001527 14713400346 0021700 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateReceiptVoucherStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_2_0/Dingtalk.php 0000644 00000152153 14713400346 0012362 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 银行接入层通用接口 * * * @param BankGatewayInvokeRequest $request BankGatewayInvokeRequest * @param BankGatewayInvokeHeaders $headers BankGatewayInvokeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BankGatewayInvokeResponse BankGatewayInvokeResponse */ public function bankGatewayInvokeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionType)) { $body['actionType'] = $request->actionType; } if (!Utils::isUnset($request->inputData)) { $body['inputData'] = $request->inputData; } if (!Utils::isUnset($request->url)) { $body['url'] = $request->url; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BankGatewayInvoke', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/bankGateways/invoke', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BankGatewayInvokeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 银行接入层通用接口 * * * @param BankGatewayInvokeRequest $request BankGatewayInvokeRequest * * @return BankGatewayInvokeResponse BankGatewayInvokeResponse */ public function bankGatewayInvoke($request) { $runtime = new RuntimeOptions([]); $headers = new BankGatewayInvokeHeaders([]); return $this->bankGatewayInvokeWithOptions($request, $headers, $runtime); } /** * @summary 批量删除智能财务单据 * * * @param BatchDeleteReceiptRequest $request BatchDeleteReceiptRequest * @param BatchDeleteReceiptHeaders $headers BatchDeleteReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchDeleteReceiptResponse BatchDeleteReceiptResponse */ public function batchDeleteReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->instanceIdList)) { $body['instanceIdList'] = $request->instanceIdList; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchDeleteReceipt', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/instances/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchDeleteReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量删除智能财务单据 * * * @param BatchDeleteReceiptRequest $request BatchDeleteReceiptRequest * * @return BatchDeleteReceiptResponse BatchDeleteReceiptResponse */ public function batchDeleteReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new BatchDeleteReceiptHeaders([]); return $this->batchDeleteReceiptWithOptions($request, $headers, $runtime); } /** * @summary 批量同步银行回单 * * * @param BatchSyncBankReceiptRequest $request BatchSyncBankReceiptRequest * @param BatchSyncBankReceiptHeaders $headers BatchSyncBankReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchSyncBankReceiptResponse BatchSyncBankReceiptResponse */ public function batchSyncBankReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'BatchSyncBankReceipt', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/receipts/batchSync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchSyncBankReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量同步银行回单 * * * @param BatchSyncBankReceiptRequest $request BatchSyncBankReceiptRequest * * @return BatchSyncBankReceiptResponse BatchSyncBankReceiptResponse */ public function batchSyncBankReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new BatchSyncBankReceiptHeaders([]); return $this->batchSyncBankReceiptWithOptions($request, $headers, $runtime); } /** * @summary 获取费用类别 * * * @param GetCategoryRequest $request GetCategoryRequest * @param GetCategoryHeaders $headers GetCategoryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCategoryResponse GetCategoryResponse */ public function getCategoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCategory', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/categories', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCategoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取费用类别 * * * @param GetCategoryRequest $request GetCategoryRequest * * @return GetCategoryResponse GetCategoryResponse */ public function getCategory($request) { $runtime = new RuntimeOptions([]); $headers = new GetCategoryHeaders([]); return $this->getCategoryWithOptions($request, $headers, $runtime); } /** * @summary 获取企业账户 * * * @param GetFinanceAccountRequest $request GetFinanceAccountRequest * @param GetFinanceAccountHeaders $headers GetFinanceAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFinanceAccountResponse GetFinanceAccountResponse */ public function getFinanceAccountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountCode)) { $query['accountCode'] = $request->accountCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFinanceAccount', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/financeAccounts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetFinanceAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业账户 * * * @param GetFinanceAccountRequest $request GetFinanceAccountRequest * * @return GetFinanceAccountResponse GetFinanceAccountResponse */ public function getFinanceAccount($request) { $runtime = new RuntimeOptions([]); $headers = new GetFinanceAccountHeaders([]); return $this->getFinanceAccountWithOptions($request, $headers, $runtime); } /** * @summary 获取单条项目 * * * @param GetProjectRequest $request GetProjectRequest * @param GetProjectHeaders $headers GetProjectHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetProjectResponse GetProjectResponse */ public function getProjectWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetProject', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/projects', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetProjectResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取单条项目 * * * @param GetProjectRequest $request GetProjectRequest * * @return GetProjectResponse GetProjectResponse */ public function getProject($request) { $runtime = new RuntimeOptions([]); $headers = new GetProjectHeaders([]); return $this->getProjectWithOptions($request, $headers, $runtime); } /** * @summary 获取智能财务单据详情 * * * @param GetReceiptRequest $request GetReceiptRequest * @param GetReceiptHeaders $headers GetReceiptHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetReceiptResponse GetReceiptResponse */ public function getReceiptWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } if (!Utils::isUnset($request->modelId)) { $query['modelId'] = $request->modelId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetReceipt', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/receipts/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetReceiptResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能财务单据详情 * * * @param GetReceiptRequest $request GetReceiptRequest * * @return GetReceiptResponse GetReceiptResponse */ public function getReceipt($request) { $runtime = new RuntimeOptions([]); $headers = new GetReceiptHeaders([]); return $this->getReceiptWithOptions($request, $headers, $runtime); } /** * @summary 获取智能财务应用内维护的供应商信息 * * * @param GetSupplierRequest $request GetSupplierRequest * @param GetSupplierHeaders $headers GetSupplierHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSupplierResponse GetSupplierResponse */ public function getSupplierWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSupplier', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/suppliers/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSupplierResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能财务应用内维护的供应商信息 * * * @param GetSupplierRequest $request GetSupplierRequest * * @return GetSupplierResponse GetSupplierResponse */ public function getSupplier($request) { $runtime = new RuntimeOptions([]); $headers = new GetSupplierHeaders([]); return $this->getSupplierWithOptions($request, $headers, $runtime); } /** * @summary 根据不同的bizType查询不同的数据 * * * @param LinkCommonInvokeRequest $request LinkCommonInvokeRequest * @param LinkCommonInvokeHeaders $headers LinkCommonInvokeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return LinkCommonInvokeResponse LinkCommonInvokeResponse */ public function linkCommonInvokeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->invokeId)) { $body['invokeId'] = $request->invokeId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LinkCommonInvoke', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/link/bizTypes/invoke', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LinkCommonInvokeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据不同的bizType查询不同的数据 * * * @param LinkCommonInvokeRequest $request LinkCommonInvokeRequest * * @return LinkCommonInvokeResponse LinkCommonInvokeResponse */ public function linkCommonInvoke($request) { $runtime = new RuntimeOptions([]); $headers = new LinkCommonInvokeHeaders([]); return $this->linkCommonInvokeWithOptions($request, $headers, $runtime); } /** * @summary 订单开票 * * * @param OrderBillingRequest $request OrderBillingRequest * @param OrderBillingHeaders $headers OrderBillingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return OrderBillingResponse OrderBillingResponse */ public function orderBillingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->additionInfos)) { $body['additionInfos'] = $request->additionInfos; } if (!Utils::isUnset($request->appKey)) { $body['appKey'] = $request->appKey; } if (!Utils::isUnset($request->applyPerson)) { $body['applyPerson'] = $request->applyPerson; } if (!Utils::isUnset($request->invoiceRemark)) { $body['invoiceRemark'] = $request->invoiceRemark; } if (!Utils::isUnset($request->invoiceType)) { $body['invoiceType'] = $request->invoiceType; } if (!Utils::isUnset($request->isNaturalPerson)) { $body['isNaturalPerson'] = $request->isNaturalPerson; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->payee)) { $body['payee'] = $request->payee; } if (!Utils::isUnset($request->phone)) { $body['phone'] = $request->phone; } if (!Utils::isUnset($request->products)) { $body['products'] = $request->products; } if (!Utils::isUnset($request->purchaserAddress)) { $body['purchaserAddress'] = $request->purchaserAddress; } if (!Utils::isUnset($request->purchaserBankAccount)) { $body['purchaserBankAccount'] = $request->purchaserBankAccount; } if (!Utils::isUnset($request->purchaserBankName)) { $body['purchaserBankName'] = $request->purchaserBankName; } if (!Utils::isUnset($request->purchaserName)) { $body['purchaserName'] = $request->purchaserName; } if (!Utils::isUnset($request->purchaserTaxNo)) { $body['purchaserTaxNo'] = $request->purchaserTaxNo; } if (!Utils::isUnset($request->purchaserTel)) { $body['purchaserTel'] = $request->purchaserTel; } if (!Utils::isUnset($request->remark)) { $body['remark'] = $request->remark; } if (!Utils::isUnset($request->reviewer)) { $body['reviewer'] = $request->reviewer; } if (!Utils::isUnset($request->signature)) { $body['signature'] = $request->signature; } if (!Utils::isUnset($request->taxSign)) { $body['taxSign'] = $request->taxSign; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OrderBilling', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/billings/order', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OrderBillingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 订单开票 * * * @param OrderBillingRequest $request OrderBillingRequest * * @return OrderBillingResponse OrderBillingResponse */ public function orderBilling($request) { $runtime = new RuntimeOptions([]); $headers = new OrderBillingHeaders([]); return $this->orderBillingWithOptions($request, $headers, $runtime); } /** * @summary 批量获取费用类别 * * * @param QueryCategoryByPageRequest $request QueryCategoryByPageRequest * @param QueryCategoryByPageHeaders $headers QueryCategoryByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCategoryByPageResponse QueryCategoryByPageResponse */ public function queryCategoryByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCategoryByPage', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/categories/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCategoryByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取费用类别 * * * @param QueryCategoryByPageRequest $request QueryCategoryByPageRequest * * @return QueryCategoryByPageResponse QueryCategoryByPageResponse */ public function queryCategoryByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCategoryByPageHeaders([]); return $this->queryCategoryByPageWithOptions($request, $headers, $runtime); } /** * @summary 分页批量获取智能财务应用内维护的客户信息 * * * @param QueryCustomerByPageRequest $request QueryCustomerByPageRequest * @param QueryCustomerByPageHeaders $headers QueryCustomerByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCustomerByPageResponse QueryCustomerByPageResponse */ public function queryCustomerByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCustomerByPage', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/customers/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCustomerByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页批量获取智能财务应用内维护的客户信息 * * * @param QueryCustomerByPageRequest $request QueryCustomerByPageRequest * * @return QueryCustomerByPageResponse QueryCustomerByPageResponse */ public function queryCustomerByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerByPageHeaders([]); return $this->queryCustomerByPageWithOptions($request, $headers, $runtime); } /** * @summary 批量获取企业账户 * * * @param QueryEnterpriseAccountByPageRequest $request QueryEnterpriseAccountByPageRequest * @param QueryEnterpriseAccountByPageHeaders $headers QueryEnterpriseAccountByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryEnterpriseAccountByPageResponse QueryEnterpriseAccountByPageResponse */ public function queryEnterpriseAccountByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryEnterpriseAccountByPage', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/financeAccounts/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryEnterpriseAccountByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取企业账户 * * * @param QueryEnterpriseAccountByPageRequest $request QueryEnterpriseAccountByPageRequest * * @return QueryEnterpriseAccountByPageResponse QueryEnterpriseAccountByPageResponse */ public function queryEnterpriseAccountByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEnterpriseAccountByPageHeaders([]); return $this->queryEnterpriseAccountByPageWithOptions($request, $headers, $runtime); } /** * @summary 查询支付订单详情 * * * @param string $instanceId * @param QueryInstancePaymentOrderDetailRequest $request QueryInstancePaymentOrderDetailRequest * @param QueryInstancePaymentOrderDetailHeaders $headers QueryInstancePaymentOrderDetailHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryInstancePaymentOrderDetailResponse QueryInstancePaymentOrderDetailResponse */ public function queryInstancePaymentOrderDetailWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->orderNo)) { $query['orderNo'] = $request->orderNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryInstancePaymentOrderDetail', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/instances/' . $instanceId . '/paymentOrders/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryInstancePaymentOrderDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询支付订单详情 * * * @param string $instanceId * @param QueryInstancePaymentOrderDetailRequest $request QueryInstancePaymentOrderDetailRequest * * @return QueryInstancePaymentOrderDetailResponse QueryInstancePaymentOrderDetailResponse */ public function queryInstancePaymentOrderDetail($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryInstancePaymentOrderDetailHeaders([]); return $this->queryInstancePaymentOrderDetailWithOptions($instanceId, $request, $headers, $runtime); } /** * @summary 批量获取项目信息 * * * @param QueryProjectByPageRequest $request QueryProjectByPageRequest * @param QueryProjectByPageHeaders $headers QueryProjectByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryProjectByPageResponse QueryProjectByPageResponse */ public function queryProjectByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryProjectByPage', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/projects/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryProjectByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取项目信息 * * * @param QueryProjectByPageRequest $request QueryProjectByPageRequest * * @return QueryProjectByPageResponse QueryProjectByPageResponse */ public function queryProjectByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QueryProjectByPageHeaders([]); return $this->queryProjectByPageWithOptions($request, $headers, $runtime); } /** * @summary 分页批量获取智能财务应用内维护的供应商信息 * * * @param QuerySupplierByPageRequest $request QuerySupplierByPageRequest * @param QuerySupplierByPageHeaders $headers QuerySupplierByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QuerySupplierByPageResponse QuerySupplierByPageResponse */ public function querySupplierByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySupplierByPage', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/suppliers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySupplierByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页批量获取智能财务应用内维护的供应商信息 * * * @param QuerySupplierByPageRequest $request QuerySupplierByPageRequest * * @return QuerySupplierByPageResponse QuerySupplierByPageResponse */ public function querySupplierByPage($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySupplierByPageHeaders([]); return $this->querySupplierByPageWithOptions($request, $headers, $runtime); } /** * @summary 查询用户角色成员,支持分页,可获取某个企业主体下的角色成员 * * * @param QueryUserRoleListRequest $request QueryUserRoleListRequest * @param QueryUserRoleListHeaders $headers QueryUserRoleListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryUserRoleListResponse QueryUserRoleListResponse */ public function queryUserRoleListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->companyCode)) { $query['companyCode'] = $request->companyCode; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryUserRoleList', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/users/roles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserRoleListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户角色成员,支持分页,可获取某个企业主体下的角色成员 * * * @param QueryUserRoleListRequest $request QueryUserRoleListRequest * * @return QueryUserRoleListResponse QueryUserRoleListResponse */ public function queryUserRoleList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserRoleListHeaders([]); return $this->queryUserRoleListWithOptions($request, $headers, $runtime); } /** * @summary 签约企业账户 * * * @param SignEnterpriseAccountRequest $request SignEnterpriseAccountRequest * @param SignEnterpriseAccountHeaders $headers SignEnterpriseAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SignEnterpriseAccountResponse SignEnterpriseAccountResponse */ public function signEnterpriseAccountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bankCardNo)) { $query['bankCardNo'] = $request->bankCardNo; } if (!Utils::isUnset($request->bankOpenId)) { $query['bankOpenId'] = $request->bankOpenId; } if (!Utils::isUnset($request->channelType)) { $query['channelType'] = $request->channelType; } if (!Utils::isUnset($request->operator)) { $query['operator'] = $request->operator; } if (!Utils::isUnset($request->signOperateType)) { $query['signOperateType'] = $request->signOperateType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SignEnterpriseAccount', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/enterpriseAccounts/sign', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SignEnterpriseAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 签约企业账户 * * * @param SignEnterpriseAccountRequest $request SignEnterpriseAccountRequest * * @return SignEnterpriseAccountResponse SignEnterpriseAccountResponse */ public function signEnterpriseAccount($request) { $runtime = new RuntimeOptions([]); $headers = new SignEnterpriseAccountHeaders([]); return $this->signEnterpriseAccountWithOptions($request, $headers, $runtime); } /** * @summary 发送银企支付回单文件信息 * * * @param SyncReceiptRecallRequest $request SyncReceiptRecallRequest * @param SyncReceiptRecallHeaders $headers SyncReceiptRecallHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SyncReceiptRecallResponse SyncReceiptRecallResponse */ public function syncReceiptRecallWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->fileDownloadUrl)) { $query['fileDownloadUrl'] = $request->fileDownloadUrl; } if (!Utils::isUnset($request->fileName)) { $query['fileName'] = $request->fileName; } if (!Utils::isUnset($request->orderNo)) { $query['orderNo'] = $request->orderNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SyncReceiptRecall', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/receipts/syncRecall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncReceiptRecallResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发送银企支付回单文件信息 * * * @param SyncReceiptRecallRequest $request SyncReceiptRecallRequest * * @return SyncReceiptRecallResponse SyncReceiptRecallResponse */ public function syncReceiptRecall($request) { $runtime = new RuntimeOptions([]); $headers = new SyncReceiptRecallHeaders([]); return $this->syncReceiptRecallWithOptions($request, $headers, $runtime); } /** * @summary 更新单据的支付状态 * * * @param string $instanceId * @param UpdateInstanceOrderInfoRequest $tmpReq UpdateInstanceOrderInfoRequest * @param UpdateInstanceOrderInfoHeaders $headers UpdateInstanceOrderInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateInstanceOrderInfoResponse UpdateInstanceOrderInfoResponse */ public function updateInstanceOrderInfoWithOptions($instanceId, $tmpReq, $headers, $runtime) { Utils::validateModel($tmpReq); $request = new UpdateInstanceOrderInfoShrinkRequest([]); OpenApiUtilClient::convert($tmpReq, $request); if (!Utils::isUnset($tmpReq->payerBank)) { $request->payerBankShrink = OpenApiUtilClient::arrayToStringWithSpecifiedStyle($tmpReq->payerBank, 'payerBank', 'json'); } $query = []; if (!Utils::isUnset($request->failReason)) { $query['failReason'] = $request->failReason; } if (!Utils::isUnset($request->orderNo)) { $query['orderNo'] = $request->orderNo; } if (!Utils::isUnset($request->outOrderNo)) { $query['outOrderNo'] = $request->outOrderNo; } if (!Utils::isUnset($request->payerBankShrink)) { $query['payerBank'] = $request->payerBankShrink; } if (!Utils::isUnset($request->paymentTime)) { $query['paymentTime'] = $request->paymentTime; } if (!Utils::isUnset($request->status)) { $query['status'] = $request->status; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UpdateInstanceOrderInfo', 'version' => 'bizfinance_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/bizfinance/instances/' . $instanceId . '/paymentOrders/states', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateInstanceOrderInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新单据的支付状态 * * * @param string $instanceId * @param UpdateInstanceOrderInfoRequest $request UpdateInstanceOrderInfoRequest * * @return UpdateInstanceOrderInfoResponse UpdateInstanceOrderInfoResponse */ public function updateInstanceOrderInfo($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateInstanceOrderInfoHeaders([]); return $this->updateInstanceOrderInfoWithOptions($instanceId, $request, $headers, $runtime); } } src/bizfinance_2_0/Models/BankGatewayInvokeHeaders.php 0000644 00000002344 14713400346 0016711 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BankGatewayInvokeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/BankGatewayInvokeRequest.php 0000644 00000002746 14713400346 0016774 0 ustar 00 'actionType', 'inputData' => 'inputData', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->inputData) { $res['inputData'] = $this->inputData; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return BankGatewayInvokeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['inputData'])) { $model->inputData = $map['inputData']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/bizfinance_2_0/Models/BankGatewayInvokeResponse.php 0000644 00000002744 14713400346 0017140 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BankGatewayInvokeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BankGatewayInvokeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/BankGatewayInvokeResponseBody.php 0000644 00000001553 14713400346 0017753 0 ustar 00 'outputData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outputData) { $res['outputData'] = $this->outputData; } return $res; } /** * @param array $map * * @return BankGatewayInvokeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outputData'])) { $model->outputData = $map['outputData']; } return $model; } } src/bizfinance_2_0/Models/BatchDeleteReceiptHeaders.php 0000644 00000002346 14713400346 0017022 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchDeleteReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/BatchDeleteReceiptRequest.php 0000644 00000002420 14713400346 0017070 0 ustar 00 'instanceIdList', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceIdList) { $res['instanceIdList'] = $this->instanceIdList; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return BatchDeleteReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceIdList'])) { if (!empty($map['instanceIdList'])) { $model->instanceIdList = $map['instanceIdList']; } } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/bizfinance_2_0/Models/BatchDeleteReceiptResponse.php 0000644 00000002750 14713400346 0017244 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchDeleteReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchDeleteReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/BatchDeleteReceiptResponseBody.php 0000644 00000001507 14713400346 0020061 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchDeleteReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_2_0/Models/BatchSyncBankReceiptHeaders.php 0000644 00000002352 14713400346 0017325 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchSyncBankReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/BatchSyncBankReceiptRequest.php 0000644 00000002552 14713400346 0017404 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = []; if (null !== $this->body && \is_array($this->body)) { $n = 0; foreach ($this->body as $item) { $res['body'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchSyncBankReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = []; $n = 0; foreach ($map['body'] as $item) { $model->body[$n++] = null !== $item ? body::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/BatchSyncBankReceiptRequest/body.php 0000644 00000003672 14713400346 0020345 0 ustar 00 'fileDownloadUrl', 'fileName' => 'fileName', 'messageId' => 'messageId', 'messageIdType' => 'messageIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileDownloadUrl) { $res['fileDownloadUrl'] = $this->fileDownloadUrl; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->messageId) { $res['messageId'] = $this->messageId; } if (null !== $this->messageIdType) { $res['messageIdType'] = $this->messageIdType; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileDownloadUrl'])) { $model->fileDownloadUrl = $map['fileDownloadUrl']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['messageId'])) { $model->messageId = $map['messageId']; } if (isset($map['messageIdType'])) { $model->messageIdType = $map['messageIdType']; } return $model; } } src/bizfinance_2_0/Models/BatchSyncBankReceiptResponse.php 0000644 00000002760 14713400346 0017553 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSyncBankReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchSyncBankReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/BatchSyncBankReceiptResponseBody.php 0000644 00000001513 14713400346 0020364 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchSyncBankReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_2_0/Models/GetCategoryHeaders.php 0000644 00000002330 14713400346 0015550 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCategoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/GetCategoryRequest.php 0000644 00000001570 14713400346 0015632 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetCategoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_2_0/Models/GetCategoryResponse.php 0000644 00000002714 14713400346 0016001 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCategoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCategoryResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/GetCategoryResponseBody.php 0000644 00000006571 14713400346 0016624 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', 'remark' => 'remark', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->isDir) { $res['isDir'] = $this->isDir; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentCode) { $res['parentCode'] = $this->parentCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetCategoryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['isDir'])) { $model->isDir = $map['isDir']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentCode'])) { $model->parentCode = $map['parentCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/GetFinanceAccountHeaders.php 0000644 00000002344 14713400346 0016660 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFinanceAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/GetFinanceAccountRequest.php 0000644 00000001641 14713400346 0016734 0 ustar 00 'accountCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountCode) { $res['accountCode'] = $this->accountCode; } return $res; } /** * @param array $map * * @return GetFinanceAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountCode'])) { $model->accountCode = $map['accountCode']; } return $model; } } src/bizfinance_2_0/Models/GetFinanceAccountResponse.php 0000644 00000002744 14713400346 0017107 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFinanceAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFinanceAccountResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/GetFinanceAccountResponseBody.php 0000644 00000011054 14713400346 0017717 0 ustar 00 'accountCode', 'accountId' => 'accountId', 'accountName' => 'accountName', 'accountRemark' => 'accountRemark', 'accountType' => 'accountType', 'accountantBookIdList' => 'accountantBookIdList', 'amount' => 'amount', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'createTime' => 'createTime', 'creator' => 'creator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountCode) { $res['accountCode'] = $this->accountCode; } if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountRemark) { $res['accountRemark'] = $this->accountRemark; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } return $res; } /** * @param array $map * * @return GetFinanceAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountCode'])) { $model->accountCode = $map['accountCode']; } if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountRemark'])) { $model->accountRemark = $map['accountRemark']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } return $model; } } src/bizfinance_2_0/Models/GetProjectHeaders.php 0000644 00000002326 14713400346 0015406 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetProjectHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/GetProjectRequest.php 0000644 00000001564 14713400346 0015466 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetProjectRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_2_0/Models/GetProjectResponse.php 0000644 00000002710 14713400346 0015626 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetProjectResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetProjectResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/GetProjectResponseBody.php 0000644 00000010316 14713400346 0016445 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'creator' => 'creator', 'description' => 'description', 'name' => 'name', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return GetProjectResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_2_0/Models/GetReceiptHeaders.php 0000644 00000002326 14713400346 0015373 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetReceiptHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/GetReceiptRequest.php 0000644 00000002424 14713400346 0015447 0 ustar 00 'code', 'modelId' => 'modelId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } return $res; } /** * @param array $map * * @return GetReceiptRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } return $model; } } src/bizfinance_2_0/Models/GetReceiptResponse.php 0000644 00000002710 14713400346 0015613 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetReceiptResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetReceiptResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/GetReceiptResponseBody.php 0000644 00000005244 14713400346 0016436 0 ustar 00 'appId', 'data' => 'data', 'modelId' => 'modelId', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->modelId) { $res['modelId'] = $this->modelId; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return GetReceiptResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['modelId'])) { $model->modelId = $map['modelId']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/bizfinance_2_0/Models/GetSupplierHeaders.php 0000644 00000002330 14713400346 0015576 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSupplierHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/GetSupplierRequest.php 0000644 00000001565 14713400346 0015664 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetSupplierRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/bizfinance_2_0/Models/GetSupplierResponse.php 0000644 00000002714 14713400346 0016027 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSupplierResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSupplierResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/GetSupplierResponseBody.php 0000644 00000006320 14713400346 0016642 0 ustar 00 'accountantBookIdList', 'code' => 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountantBookIdList) { $res['accountantBookIdList'] = $this->accountantBookIdList; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return GetSupplierResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountantBookIdList'])) { if (!empty($map['accountantBookIdList'])) { $model->accountantBookIdList = $map['accountantBookIdList']; } } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_2_0/Models/LinkCommonInvokeHeaders.php 0000644 00000002342 14713400346 0016560 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LinkCommonInvokeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/LinkCommonInvokeRequest.php 0000644 00000003373 14713400346 0016642 0 ustar 00 'bizType', 'data' => 'data', 'invokeId' => 'invokeId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->invokeId) { $res['invokeId'] = $this->invokeId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return LinkCommonInvokeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['invokeId'])) { $model->invokeId = $map['invokeId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_2_0/Models/LinkCommonInvokeResponse.php 0000644 00000002740 14713400346 0017005 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LinkCommonInvokeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LinkCommonInvokeResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/LinkCommonInvokeResponseBody.php 0000644 00000002557 14713400346 0017631 0 ustar 00 'bizType', 'data' => 'data', 'invokeId' => 'invokeId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->invokeId) { $res['invokeId'] = $this->invokeId; } return $res; } /** * @param array $map * * @return LinkCommonInvokeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['invokeId'])) { $model->invokeId = $map['invokeId']; } return $model; } } src/bizfinance_2_0/Models/OrderBillingHeaders.php 0000644 00000002332 14713400346 0015711 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OrderBillingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/OrderBillingRequest.php 0000644 00000021001 14713400346 0015760 0 ustar 00 'additionInfos', 'appKey' => 'appKey', 'applyPerson' => 'applyPerson', 'invoiceRemark' => 'invoiceRemark', 'invoiceType' => 'invoiceType', 'isNaturalPerson' => 'isNaturalPerson', 'operator' => 'operator', 'orderId' => 'orderId', 'payee' => 'payee', 'phone' => 'phone', 'products' => 'products', 'purchaserAddress' => 'purchaserAddress', 'purchaserBankAccount' => 'purchaserBankAccount', 'purchaserBankName' => 'purchaserBankName', 'purchaserName' => 'purchaserName', 'purchaserTaxNo' => 'purchaserTaxNo', 'purchaserTel' => 'purchaserTel', 'remark' => 'remark', 'reviewer' => 'reviewer', 'signature' => 'signature', 'taxSign' => 'taxSign', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->additionInfos) { $res['additionInfos'] = []; if (null !== $this->additionInfos && \is_array($this->additionInfos)) { $n = 0; foreach ($this->additionInfos as $item) { $res['additionInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->applyPerson) { $res['applyPerson'] = $this->applyPerson; } if (null !== $this->invoiceRemark) { $res['invoiceRemark'] = $this->invoiceRemark; } if (null !== $this->invoiceType) { $res['invoiceType'] = $this->invoiceType; } if (null !== $this->isNaturalPerson) { $res['isNaturalPerson'] = $this->isNaturalPerson; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->payee) { $res['payee'] = $this->payee; } if (null !== $this->phone) { $res['phone'] = $this->phone; } if (null !== $this->products) { $res['products'] = []; if (null !== $this->products && \is_array($this->products)) { $n = 0; foreach ($this->products as $item) { $res['products'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->purchaserAddress) { $res['purchaserAddress'] = $this->purchaserAddress; } if (null !== $this->purchaserBankAccount) { $res['purchaserBankAccount'] = $this->purchaserBankAccount; } if (null !== $this->purchaserBankName) { $res['purchaserBankName'] = $this->purchaserBankName; } if (null !== $this->purchaserName) { $res['purchaserName'] = $this->purchaserName; } if (null !== $this->purchaserTaxNo) { $res['purchaserTaxNo'] = $this->purchaserTaxNo; } if (null !== $this->purchaserTel) { $res['purchaserTel'] = $this->purchaserTel; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->reviewer) { $res['reviewer'] = $this->reviewer; } if (null !== $this->signature) { $res['signature'] = $this->signature; } if (null !== $this->taxSign) { $res['taxSign'] = $this->taxSign; } return $res; } /** * @param array $map * * @return OrderBillingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['additionInfos'])) { if (!empty($map['additionInfos'])) { $model->additionInfos = []; $n = 0; foreach ($map['additionInfos'] as $item) { $model->additionInfos[$n++] = null !== $item ? additionInfos::fromMap($item) : $item; } } } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['applyPerson'])) { $model->applyPerson = $map['applyPerson']; } if (isset($map['invoiceRemark'])) { $model->invoiceRemark = $map['invoiceRemark']; } if (isset($map['invoiceType'])) { $model->invoiceType = $map['invoiceType']; } if (isset($map['isNaturalPerson'])) { $model->isNaturalPerson = $map['isNaturalPerson']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['payee'])) { $model->payee = $map['payee']; } if (isset($map['phone'])) { $model->phone = $map['phone']; } if (isset($map['products'])) { if (!empty($map['products'])) { $model->products = []; $n = 0; foreach ($map['products'] as $item) { $model->products[$n++] = null !== $item ? products::fromMap($item) : $item; } } } if (isset($map['purchaserAddress'])) { $model->purchaserAddress = $map['purchaserAddress']; } if (isset($map['purchaserBankAccount'])) { $model->purchaserBankAccount = $map['purchaserBankAccount']; } if (isset($map['purchaserBankName'])) { $model->purchaserBankName = $map['purchaserBankName']; } if (isset($map['purchaserName'])) { $model->purchaserName = $map['purchaserName']; } if (isset($map['purchaserTaxNo'])) { $model->purchaserTaxNo = $map['purchaserTaxNo']; } if (isset($map['purchaserTel'])) { $model->purchaserTel = $map['purchaserTel']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['reviewer'])) { $model->reviewer = $map['reviewer']; } if (isset($map['signature'])) { $model->signature = $map['signature']; } if (isset($map['taxSign'])) { $model->taxSign = $map['taxSign']; } return $model; } } src/bizfinance_2_0/Models/OrderBillingRequest/additionInfos.php 0000644 00000002767 14713400346 0020574 0 ustar 00 'additionContent', 'additionName' => 'additionName', 'dataType' => 'dataType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->additionContent) { $res['additionContent'] = $this->additionContent; } if (null !== $this->additionName) { $res['additionName'] = $this->additionName; } if (null !== $this->dataType) { $res['dataType'] = $this->dataType; } return $res; } /** * @param array $map * * @return additionInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['additionContent'])) { $model->additionContent = $map['additionContent']; } if (isset($map['additionName'])) { $model->additionName = $map['additionName']; } if (isset($map['dataType'])) { $model->dataType = $map['dataType']; } return $model; } } src/bizfinance_2_0/Models/OrderBillingRequest/products.php 0000644 00000005432 14713400346 0017635 0 ustar 00 'amountWithTax', 'productName' => 'productName', 'quantity' => 'quantity', 'revenueCode' => 'revenueCode', 'specification' => 'specification', 'unit' => 'unit', 'unitPrice' => 'unitPrice', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amountWithTax) { $res['amountWithTax'] = $this->amountWithTax; } if (null !== $this->productName) { $res['productName'] = $this->productName; } if (null !== $this->quantity) { $res['quantity'] = $this->quantity; } if (null !== $this->revenueCode) { $res['revenueCode'] = $this->revenueCode; } if (null !== $this->specification) { $res['specification'] = $this->specification; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->unitPrice) { $res['unitPrice'] = $this->unitPrice; } return $res; } /** * @param array $map * * @return products */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amountWithTax'])) { $model->amountWithTax = $map['amountWithTax']; } if (isset($map['productName'])) { $model->productName = $map['productName']; } if (isset($map['quantity'])) { $model->quantity = $map['quantity']; } if (isset($map['revenueCode'])) { $model->revenueCode = $map['revenueCode']; } if (isset($map['specification'])) { $model->specification = $map['specification']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['unitPrice'])) { $model->unitPrice = $map['unitPrice']; } return $model; } } src/bizfinance_2_0/Models/OrderBillingResponse.php 0000644 00000002720 14713400346 0016135 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OrderBillingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OrderBillingResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/OrderBillingResponseBody.php 0000644 00000001504 14713400346 0016752 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return OrderBillingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/bizfinance_2_0/Models/QueryCategoryByPageHeaders.php 0000644 00000002350 14713400346 0017230 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCategoryByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QueryCategoryByPageRequest.php 0000644 00000003164 14713400346 0017311 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return QueryCategoryByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/QueryCategoryByPageResponse.php 0000644 00000002754 14713400346 0017463 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCategoryByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCategoryByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QueryCategoryByPageResponseBody.php 0000644 00000003433 14713400346 0020274 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCategoryByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/QueryCategoryByPageResponseBody/list_.php 0000644 00000005531 14713400346 0021407 0 ustar 00 'code', 'isDir' => 'isDir', 'name' => 'name', 'parentCode' => 'parentCode', 'remark' => 'remark', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->isDir) { $res['isDir'] = $this->isDir; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentCode) { $res['parentCode'] = $this->parentCode; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['isDir'])) { $model->isDir = $map['isDir']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentCode'])) { $model->parentCode = $map['parentCode']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/QueryCustomerByPageHeaders.php 0000644 00000002350 14713400346 0017254 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomerByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QueryCustomerByPageRequest.php 0000644 00000002442 14713400346 0017333 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryCustomerByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_2_0/Models/QueryCustomerByPageResponse.php 0000644 00000002754 14713400346 0017507 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomerByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QueryCustomerByPageResponseBody.php 0000644 00000003433 14713400346 0020320 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCustomerByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/QueryCustomerByPageResponseBody/list_.php 0000644 00000005320 14713400346 0021427 0 ustar 00 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_2_0/Models/QueryEnterpriseAccountByPageHeaders.php 0000644 00000002372 14713400346 0021114 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QueryEnterpriseAccountByPageRequest.php 0000644 00000002464 14713400346 0021173 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_2_0/Models/QueryEnterpriseAccountByPageResponse.php 0000644 00000003020 14713400346 0021326 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryEnterpriseAccountByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QueryEnterpriseAccountByPageResponseBody.php 0000644 00000003466 14713400346 0022162 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryEnterpriseAccountByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/QueryEnterpriseAccountByPageResponseBody/list_.php 0000644 00000010046 14713400346 0023264 0 ustar 00 'accountCode', 'accountId' => 'accountId', 'accountName' => 'accountName', 'accountRemark' => 'accountRemark', 'accountType' => 'accountType', 'amount' => 'amount', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'createTime' => 'createTime', 'creator' => 'creator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountCode) { $res['accountCode'] = $this->accountCode; } if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->accountRemark) { $res['accountRemark'] = $this->accountRemark; } if (null !== $this->accountType) { $res['accountType'] = $this->accountType; } if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountCode'])) { $model->accountCode = $map['accountCode']; } if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['accountRemark'])) { $model->accountRemark = $map['accountRemark']; } if (isset($map['accountType'])) { $model->accountType = $map['accountType']; } if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } return $model; } } src/bizfinance_2_0/Models/QueryInstancePaymentOrderDetailHeaders.php 0000644 00000002400 14713400346 0021600 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryInstancePaymentOrderDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QueryInstancePaymentOrderDetailRequest.php 0000644 00000001575 14713400346 0021671 0 ustar 00 'orderNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } return $res; } /** * @param array $map * * @return QueryInstancePaymentOrderDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } return $model; } } src/bizfinance_2_0/Models/QueryInstancePaymentOrderDetailResponse.php 0000644 00000003034 14713400346 0022027 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryInstancePaymentOrderDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryInstancePaymentOrderDetailResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QueryInstancePaymentOrderDetailResponseBody.php 0000644 00000006054 14713400346 0022652 0 ustar 00 'amount', 'instanceId' => 'instanceId', 'payeeAccountDTO' => 'payeeAccountDTO', 'payerAccountDTO' => 'payerAccountDTO', 'remark' => 'remark', 'usage' => 'usage', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->amount) { $res['amount'] = $this->amount; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->payeeAccountDTO) { $res['payeeAccountDTO'] = null !== $this->payeeAccountDTO ? $this->payeeAccountDTO->toMap() : null; } if (null !== $this->payerAccountDTO) { $res['payerAccountDTO'] = null !== $this->payerAccountDTO ? $this->payerAccountDTO->toMap() : null; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->usage) { $res['usage'] = $this->usage; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryInstancePaymentOrderDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['amount'])) { $model->amount = $map['amount']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['payeeAccountDTO'])) { $model->payeeAccountDTO = payeeAccountDTO::fromMap($map['payeeAccountDTO']); } if (isset($map['payerAccountDTO'])) { $model->payerAccountDTO = payerAccountDTO::fromMap($map['payerAccountDTO']); } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['usage'])) { $model->usage = $map['usage']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_2_0/Models/QueryInstancePaymentOrderDetailResponseBody/payeeAccountDTO.php 0000644 00000002113 14713400346 0025631 0 ustar 00 'bankOpenDTO', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bankOpenDTO) { $res['bankOpenDTO'] = null !== $this->bankOpenDTO ? $this->bankOpenDTO->toMap() : null; } return $res; } /** * @param array $map * * @return payeeAccountDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bankOpenDTO'])) { $model->bankOpenDTO = bankOpenDTO::fromMap($map['bankOpenDTO']); } return $model; } } bizfinance_2_0/Models/QueryInstancePaymentOrderDetailResponseBody/payeeAccountDTO/bankOpenDTO.php 0000644 00000005303 14713400346 0027662 0 ustar 00 src 'accountName', 'bankBranchCode' => 'bankBranchCode', 'bankBranchName' => 'bankBranchName', 'bankCardNo' => 'bankCardNo', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->bankBranchCode) { $res['bankBranchCode'] = $this->bankBranchCode; } if (null !== $this->bankBranchName) { $res['bankBranchName'] = $this->bankBranchName; } if (null !== $this->bankCardNo) { $res['bankCardNo'] = $this->bankCardNo; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return bankOpenDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['bankBranchCode'])) { $model->bankBranchCode = $map['bankBranchCode']; } if (isset($map['bankBranchName'])) { $model->bankBranchName = $map['bankBranchName']; } if (isset($map['bankCardNo'])) { $model->bankCardNo = $map['bankCardNo']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/QueryInstancePaymentOrderDetailResponseBody/payerAccountDTO.php 0000644 00000002752 14713400346 0025657 0 ustar 00 'bankOpenDTO', 'enterpriseAccountCode' => 'enterpriseAccountCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bankOpenDTO) { $res['bankOpenDTO'] = null !== $this->bankOpenDTO ? $this->bankOpenDTO->toMap() : null; } if (null !== $this->enterpriseAccountCode) { $res['enterpriseAccountCode'] = $this->enterpriseAccountCode; } return $res; } /** * @param array $map * * @return payerAccountDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bankOpenDTO'])) { $model->bankOpenDTO = bankOpenDTO::fromMap($map['bankOpenDTO']); } if (isset($map['enterpriseAccountCode'])) { $model->enterpriseAccountCode = $map['enterpriseAccountCode']; } return $model; } } bizfinance_2_0/Models/QueryInstancePaymentOrderDetailResponseBody/payerAccountDTO/bankOpenDTO.php 0000644 00000005303 14713400346 0027677 0 ustar 00 src 'accountName', 'bankBranchCode' => 'bankBranchCode', 'bankBranchName' => 'bankBranchName', 'bankCardNo' => 'bankCardNo', 'bankCode' => 'bankCode', 'bankName' => 'bankName', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountName) { $res['accountName'] = $this->accountName; } if (null !== $this->bankBranchCode) { $res['bankBranchCode'] = $this->bankBranchCode; } if (null !== $this->bankBranchName) { $res['bankBranchName'] = $this->bankBranchName; } if (null !== $this->bankCardNo) { $res['bankCardNo'] = $this->bankCardNo; } if (null !== $this->bankCode) { $res['bankCode'] = $this->bankCode; } if (null !== $this->bankName) { $res['bankName'] = $this->bankName; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return bankOpenDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountName'])) { $model->accountName = $map['accountName']; } if (isset($map['bankBranchCode'])) { $model->bankBranchCode = $map['bankBranchCode']; } if (isset($map['bankBranchName'])) { $model->bankBranchName = $map['bankBranchName']; } if (isset($map['bankCardNo'])) { $model->bankCardNo = $map['bankCardNo']; } if (isset($map['bankCode'])) { $model->bankCode = $map['bankCode']; } if (isset($map['bankName'])) { $model->bankName = $map['bankName']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/bizfinance_2_0/Models/QueryProjectByPageHeaders.php 0000644 00000002346 14713400346 0017066 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryProjectByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QueryProjectByPageRequest.php 0000644 00000002440 14713400346 0017136 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryProjectByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_2_0/Models/QueryProjectByPageResponse.php 0000644 00000002750 14713400346 0017310 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryProjectByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryProjectByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QueryProjectByPageResponseBody.php 0000644 00000003430 14713400346 0020122 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryProjectByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/QueryProjectByPageResponseBody/list_.php 0000644 00000007622 14713400346 0021243 0 ustar 00 'caode', 'code' => 'code', 'createTime' => 'createTime', 'creator' => 'creator', 'description' => 'description', 'name' => 'name', 'projectCode' => 'projectCode', 'projectName' => 'projectName', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->caode) { $res['caode'] = $this->caode; } if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->projectCode) { $res['projectCode'] = $this->projectCode; } if (null !== $this->projectName) { $res['projectName'] = $this->projectName; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['caode'])) { $model->caode = $map['caode']; } if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['projectCode'])) { $model->projectCode = $map['projectCode']; } if (isset($map['projectName'])) { $model->projectName = $map['projectName']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_2_0/Models/QuerySupplierByPageHeaders.php 0000644 00000002350 14713400346 0017256 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySupplierByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QuerySupplierByPageRequest.php 0000644 00000002442 14713400346 0017335 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QuerySupplierByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/bizfinance_2_0/Models/QuerySupplierByPageResponse.php 0000644 00000002754 14713400346 0017511 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySupplierByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySupplierByPageResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QuerySupplierByPageResponseBody.php 0000644 00000003433 14713400346 0020322 0 ustar 00 'hasMore', 'list' => 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QuerySupplierByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/QuerySupplierByPageResponseBody/list_.php 0000644 00000005323 14713400346 0021434 0 ustar 00 'code', 'createTime' => 'createTime', 'description' => 'description', 'name' => 'name', 'status' => 'status', 'userDefineCode' => 'userDefineCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userDefineCode) { $res['userDefineCode'] = $this->userDefineCode; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userDefineCode'])) { $model->userDefineCode = $map['userDefineCode']; } return $model; } } src/bizfinance_2_0/Models/QueryUserRoleListHeaders.php 0000644 00000002344 14713400346 0016762 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserRoleListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/QueryUserRoleListRequest.php 0000644 00000002303 14713400346 0017032 0 ustar 00 'companyCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryUserRoleListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_2_0/Models/QueryUserRoleListResponse.php 0000644 00000002744 14713400346 0017211 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserRoleListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserRoleListResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/QueryUserRoleListResponseBody.php 0000644 00000005714 14713400346 0020027 0 ustar 00 'companyCode', 'financeEmpDeptOpenList' => 'financeEmpDeptOpenList', 'roleVOList' => 'roleVOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->companyCode) { $res['companyCode'] = $this->companyCode; } if (null !== $this->financeEmpDeptOpenList) { $res['financeEmpDeptOpenList'] = []; if (null !== $this->financeEmpDeptOpenList && \is_array($this->financeEmpDeptOpenList)) { $n = 0; foreach ($this->financeEmpDeptOpenList as $item) { $res['financeEmpDeptOpenList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roleVOList) { $res['roleVOList'] = []; if (null !== $this->roleVOList && \is_array($this->roleVOList)) { $n = 0; foreach ($this->roleVOList as $item) { $res['roleVOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryUserRoleListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['companyCode'])) { $model->companyCode = $map['companyCode']; } if (isset($map['financeEmpDeptOpenList'])) { if (!empty($map['financeEmpDeptOpenList'])) { $model->financeEmpDeptOpenList = []; $n = 0; foreach ($map['financeEmpDeptOpenList'] as $item) { $model->financeEmpDeptOpenList[$n++] = null !== $item ? financeEmpDeptOpenList::fromMap($item) : $item; } } } if (isset($map['roleVOList'])) { if (!empty($map['roleVOList'])) { $model->roleVOList = []; $n = 0; foreach ($map['roleVOList'] as $item) { $model->roleVOList[$n++] = null !== $item ? roleVOList::fromMap($item) : $item; } } } return $model; } } src/bizfinance_2_0/Models/QueryUserRoleListResponseBody/financeEmpDeptOpenList.php 0000644 00000003347 14713400346 0024367 0 ustar 00 'cascadeDeptId', 'deptId' => 'deptId', 'name' => 'name', 'superDeptId' => 'superDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cascadeDeptId) { $res['cascadeDeptId'] = $this->cascadeDeptId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->superDeptId) { $res['superDeptId'] = $this->superDeptId; } return $res; } /** * @param array $map * * @return financeEmpDeptOpenList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cascadeDeptId'])) { $model->cascadeDeptId = $map['cascadeDeptId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['superDeptId'])) { $model->superDeptId = $map['superDeptId']; } return $model; } } src/bizfinance_2_0/Models/QueryUserRoleListResponseBody/roleVOList.php 0000644 00000002302 14713400346 0022057 0 ustar 00 'roleCode', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roleCode) { $res['roleCode'] = $this->roleCode; } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return roleVOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roleCode'])) { $model->roleCode = $map['roleCode']; } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/bizfinance_2_0/Models/SignEnterpriseAccountHeaders.php 0000644 00000002354 14713400346 0017617 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SignEnterpriseAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/SignEnterpriseAccountRequest.php 0000644 00000004376 14713400346 0017702 0 ustar 00 'bankCardNo', 'bankOpenId' => 'bankOpenId', 'channelType' => 'channelType', 'operator' => 'operator', 'signOperateType' => 'signOperateType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bankCardNo) { $res['bankCardNo'] = $this->bankCardNo; } if (null !== $this->bankOpenId) { $res['bankOpenId'] = $this->bankOpenId; } if (null !== $this->channelType) { $res['channelType'] = $this->channelType; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->signOperateType) { $res['signOperateType'] = $this->signOperateType; } return $res; } /** * @param array $map * * @return SignEnterpriseAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bankCardNo'])) { $model->bankCardNo = $map['bankCardNo']; } if (isset($map['bankOpenId'])) { $model->bankOpenId = $map['bankOpenId']; } if (isset($map['channelType'])) { $model->channelType = $map['channelType']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['signOperateType'])) { $model->signOperateType = $map['signOperateType']; } return $model; } } src/bizfinance_2_0/Models/SignEnterpriseAccountResponse.php 0000644 00000002764 14713400346 0020047 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SignEnterpriseAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SignEnterpriseAccountResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/SignEnterpriseAccountResponseBody.php 0000644 00000001515 14713400346 0020656 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SignEnterpriseAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_2_0/Models/SyncReceiptRecallHeaders.php 0000644 00000002344 14713400346 0016713 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncReceiptRecallHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/SyncReceiptRecallRequest.php 0000644 00000003065 14713400346 0016771 0 ustar 00 'fileDownloadUrl', 'fileName' => 'fileName', 'orderNo' => 'orderNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileDownloadUrl) { $res['fileDownloadUrl'] = $this->fileDownloadUrl; } if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } return $res; } /** * @param array $map * * @return SyncReceiptRecallRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileDownloadUrl'])) { $model->fileDownloadUrl = $map['fileDownloadUrl']; } if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } return $model; } } src/bizfinance_2_0/Models/SyncReceiptRecallResponse.php 0000644 00000002744 14713400346 0017142 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncReceiptRecallResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncReceiptRecallResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/SyncReceiptRecallResponseBody.php 0000644 00000001505 14713400346 0017752 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SyncReceiptRecallResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoHeaders.php 0000644 00000002360 14713400346 0020055 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateInstanceOrderInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoRequest.php 0000644 00000005634 14713400346 0020141 0 ustar 00 'failReason', 'orderNo' => 'orderNo', 'outOrderNo' => 'outOrderNo', 'payerBank' => 'payerBank', 'paymentTime' => 'paymentTime', 'status' => 'status', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failReason) { $res['failReason'] = $this->failReason; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->outOrderNo) { $res['outOrderNo'] = $this->outOrderNo; } if (null !== $this->payerBank) { $res['payerBank'] = null !== $this->payerBank ? $this->payerBank->toMap() : null; } if (null !== $this->paymentTime) { $res['paymentTime'] = $this->paymentTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateInstanceOrderInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failReason'])) { $model->failReason = $map['failReason']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['outOrderNo'])) { $model->outOrderNo = $map['outOrderNo']; } if (isset($map['payerBank'])) { $model->payerBank = payerBank::fromMap($map['payerBank']); } if (isset($map['paymentTime'])) { $model->paymentTime = $map['paymentTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoRequest/payerBank.php 0000644 00000002200 14713400346 0022037 0 ustar 00 'cardNo', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardNo) { $res['cardNo'] = $this->cardNo; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return payerBank */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardNo'])) { $model->cardNo = $map['cardNo']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoResponse.php 0000644 00000002774 14713400346 0020311 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateInstanceOrderInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateInstanceOrderInfoResponseBody::fromMap($map['body']); } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoResponseBody.php 0000644 00000001521 14713400346 0021114 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateInstanceOrderInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/bizfinance_2_0/Models/UpdateInstanceOrderInfoShrinkRequest.php 0000644 00000005472 14713400346 0021320 0 ustar 00 'failReason', 'orderNo' => 'orderNo', 'outOrderNo' => 'outOrderNo', 'payerBankShrink' => 'payerBank', 'paymentTime' => 'paymentTime', 'status' => 'status', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failReason) { $res['failReason'] = $this->failReason; } if (null !== $this->orderNo) { $res['orderNo'] = $this->orderNo; } if (null !== $this->outOrderNo) { $res['outOrderNo'] = $this->outOrderNo; } if (null !== $this->payerBankShrink) { $res['payerBank'] = $this->payerBankShrink; } if (null !== $this->paymentTime) { $res['paymentTime'] = $this->paymentTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return UpdateInstanceOrderInfoShrinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failReason'])) { $model->failReason = $map['failReason']; } if (isset($map['orderNo'])) { $model->orderNo = $map['orderNo']; } if (isset($map['outOrderNo'])) { $model->outOrderNo = $map['outOrderNo']; } if (isset($map['payerBank'])) { $model->payerBankShrink = $map['payerBank']; } if (isset($map['paymentTime'])) { $model->paymentTime = $map['paymentTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/blackboard_1_0/Dingtalk.php 0000644 00000013772 14713400346 0012340 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 查询公告已读未读人员列表 * * * @param QueryBlackboardReadUnReadRequest $request QueryBlackboardReadUnReadRequest * @param QueryBlackboardReadUnReadHeaders $headers QueryBlackboardReadUnReadHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBlackboardReadUnReadResponse QueryBlackboardReadUnReadResponse */ public function queryBlackboardReadUnReadWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->blackboardId)) { $query['blackboardId'] = $request->blackboardId; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->operationUserId)) { $query['operationUserId'] = $request->operationUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBlackboardReadUnRead', 'version' => 'blackboard_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/blackboard/readers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBlackboardReadUnReadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询公告已读未读人员列表 * * * @param QueryBlackboardReadUnReadRequest $request QueryBlackboardReadUnReadRequest * * @return QueryBlackboardReadUnReadResponse QueryBlackboardReadUnReadResponse */ public function queryBlackboardReadUnRead($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBlackboardReadUnReadHeaders([]); return $this->queryBlackboardReadUnReadWithOptions($request, $headers, $runtime); } /** * @summary 获取公告钉盘空间信息 * * * @param QueryBlackboardSpaceRequest $request QueryBlackboardSpaceRequest * @param QueryBlackboardSpaceHeaders $headers QueryBlackboardSpaceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBlackboardSpaceResponse QueryBlackboardSpaceResponse */ public function queryBlackboardSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operationUserId)) { $query['operationUserId'] = $request->operationUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBlackboardSpace', 'version' => 'blackboard_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/blackboard/spaces', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBlackboardSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取公告钉盘空间信息 * * * @param QueryBlackboardSpaceRequest $request QueryBlackboardSpaceRequest * * @return QueryBlackboardSpaceResponse QueryBlackboardSpaceResponse */ public function queryBlackboardSpace($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBlackboardSpaceHeaders([]); return $this->queryBlackboardSpaceWithOptions($request, $headers, $runtime); } } src/blackboard_1_0/Models/QueryBlackboardReadUnReadHeaders.php 0000644 00000002364 14713400346 0020262 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBlackboardReadUnReadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/blackboard_1_0/Models/QueryBlackboardReadUnReadRequest.php 0000644 00000004163 14713400346 0020336 0 ustar 00 'blackboardId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operationUserId' => 'operationUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->blackboardId) { $res['blackboardId'] = $this->blackboardId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operationUserId) { $res['operationUserId'] = $this->operationUserId; } return $res; } /** * @param array $map * * @return QueryBlackboardReadUnReadRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['blackboardId'])) { $model->blackboardId = $map['blackboardId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operationUserId'])) { $model->operationUserId = $map['operationUserId']; } return $model; } } src/blackboard_1_0/Models/QueryBlackboardReadUnReadResponse.php 0000644 00000003004 14713400346 0020475 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBlackboardReadUnReadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBlackboardReadUnReadResponseBody::fromMap($map['body']); } return $model; } } src/blackboard_1_0/Models/QueryBlackboardReadUnReadResponseBody.php 0000644 00000003307 14713400346 0021321 0 ustar 00 'nextToken', 'users' => 'users', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->users) { $res['users'] = []; if (null !== $this->users && \is_array($this->users)) { $n = 0; foreach ($this->users as $item) { $res['users'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryBlackboardReadUnReadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['users'])) { if (!empty($map['users'])) { $model->users = []; $n = 0; foreach ($map['users'] as $item) { $model->users[$n++] = null !== $item ? users::fromMap($item) : $item; } } } return $model; } } src/blackboard_1_0/Models/QueryBlackboardReadUnReadResponseBody/users.php 0000644 00000002714 14713400346 0022463 0 ustar 00 'read', 'readTimestamp' => 'readTimestamp', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->read) { $res['read'] = $this->read; } if (null !== $this->readTimestamp) { $res['readTimestamp'] = $this->readTimestamp; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return users */ public static function fromMap($map = []) { $model = new self(); if (isset($map['read'])) { $model->read = $map['read']; } if (isset($map['readTimestamp'])) { $model->readTimestamp = $map['readTimestamp']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/blackboard_1_0/Models/QueryBlackboardSpaceHeaders.php 0000644 00000002352 14713400346 0017340 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBlackboardSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/blackboard_1_0/Models/QueryBlackboardSpaceRequest.php 0000644 00000001754 14713400346 0017422 0 ustar 00 'operationUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operationUserId) { $res['operationUserId'] = $this->operationUserId; } return $res; } /** * @param array $map * * @return QueryBlackboardSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operationUserId'])) { $model->operationUserId = $map['operationUserId']; } return $model; } } src/blackboard_1_0/Models/QueryBlackboardSpaceResponse.php 0000644 00000002760 14713400346 0017566 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBlackboardSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBlackboardSpaceResponseBody::fromMap($map['body']); } return $model; } } src/blackboard_1_0/Models/QueryBlackboardSpaceResponseBody.php 0000644 00000001526 14713400346 0020403 0 ustar 00 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return QueryBlackboardSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/calendar_1_0/Dingtalk.php 0000644 00000332416 14713400346 0012024 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 新增日程参与人 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param AddAttendeeRequest $request AddAttendeeRequest * @param AddAttendeeHeaders $headers AddAttendeeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddAttendeeResponse AddAttendeeResponse */ public function addAttendeeWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendeesToAdd)) { $body['attendeesToAdd'] = $request->attendeesToAdd; } if (!Utils::isUnset($request->chatNotification)) { $body['chatNotification'] = $request->chatNotification; } if (!Utils::isUnset($request->pushNotification)) { $body['pushNotification'] = $request->pushNotification; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddAttendee', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/attendees', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return AddAttendeeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增日程参与人 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param AddAttendeeRequest $request AddAttendeeRequest * * @return AddAttendeeResponse AddAttendeeResponse */ public function addAttendee($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddAttendeeHeaders([]); return $this->addAttendeeWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 添加会议室 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param AddMeetingRoomsRequest $request AddMeetingRoomsRequest * @param AddMeetingRoomsHeaders $headers AddMeetingRoomsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddMeetingRoomsResponse AddMeetingRoomsResponse */ public function addMeetingRoomsWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->meetingRoomsToAdd)) { $body['meetingRoomsToAdd'] = $request->meetingRoomsToAdd; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddMeetingRooms', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/meetingRooms', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddMeetingRoomsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加会议室 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param AddMeetingRoomsRequest $request AddMeetingRoomsRequest * * @return AddMeetingRoomsResponse AddMeetingRoomsResponse */ public function addMeetingRooms($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddMeetingRoomsHeaders([]); return $this->addMeetingRoomsWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 签到 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param CheckInHeaders $headers CheckInHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CheckInResponse CheckInResponse */ public function checkInWithOptions($userId, $calendarId, $eventId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'CheckIn', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/checkIn', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CheckInResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 签到 * * * @param string $userId * @param string $calendarId * @param string $eventId * * @return CheckInResponse CheckInResponse */ public function checkIn($userId, $calendarId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new CheckInHeaders([]); return $this->checkInWithOptions($userId, $calendarId, $eventId, $headers, $runtime); } /** * @summary 转换老版本的eventId * * * @param string $userId * @param ConvertLegacyEventIdRequest $request ConvertLegacyEventIdRequest * @param ConvertLegacyEventIdHeaders $headers ConvertLegacyEventIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ConvertLegacyEventIdResponse ConvertLegacyEventIdResponse */ public function convertLegacyEventIdWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->legacyEventIds)) { $body['legacyEventIds'] = $request->legacyEventIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConvertLegacyEventId', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/legacyEventIds/convert', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConvertLegacyEventIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 转换老版本的eventId * * * @param string $userId * @param ConvertLegacyEventIdRequest $request ConvertLegacyEventIdRequest * * @return ConvertLegacyEventIdResponse ConvertLegacyEventIdResponse */ public function convertLegacyEventId($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new ConvertLegacyEventIdHeaders([]); return $this->convertLegacyEventIdWithOptions($userId, $request, $headers, $runtime); } /** * @summary 创建访问控制 * * * @param string $userId * @param string $calendarId * @param CreateAclsRequest $request CreateAclsRequest * @param CreateAclsHeaders $headers CreateAclsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAclsResponse CreateAclsResponse */ public function createAclsWithOptions($userId, $calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->privilege)) { $body['privilege'] = $request->privilege; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } if (!Utils::isUnset($request->sendMsg)) { $body['sendMsg'] = $request->sendMsg; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAcls', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/acls', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAclsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建访问控制 * * * @param string $userId * @param string $calendarId * @param CreateAclsRequest $request CreateAclsRequest * * @return CreateAclsResponse CreateAclsResponse */ public function createAcls($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateAclsHeaders([]); return $this->createAclsWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @summary 创建日程 * * * @param string $userId * @param string $calendarId * @param CreateEventRequest $request CreateEventRequest * @param CreateEventHeaders $headers CreateEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateEventResponse CreateEventResponse */ public function createEventWithOptions($userId, $calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendees)) { $body['attendees'] = $request->attendees; } if (!Utils::isUnset($request->cardInstances)) { $body['cardInstances'] = $request->cardInstances; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->end)) { $body['end'] = $request->end; } if (!Utils::isUnset($request->extra)) { $body['extra'] = $request->extra; } if (!Utils::isUnset($request->isAllDay)) { $body['isAllDay'] = $request->isAllDay; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->onlineMeetingInfo)) { $body['onlineMeetingInfo'] = $request->onlineMeetingInfo; } if (!Utils::isUnset($request->recurrence)) { $body['recurrence'] = $request->recurrence; } if (!Utils::isUnset($request->reminders)) { $body['reminders'] = $request->reminders; } if (!Utils::isUnset($request->richTextDescription)) { $body['richTextDescription'] = $request->richTextDescription; } if (!Utils::isUnset($request->start)) { $body['start'] = $request->start; } if (!Utils::isUnset($request->summary)) { $body['summary'] = $request->summary; } if (!Utils::isUnset($request->uiConfigs)) { $body['uiConfigs'] = $request->uiConfigs; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateEvent', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建日程 * * * @param string $userId * @param string $calendarId * @param CreateEventRequest $request CreateEventRequest * * @return CreateEventResponse CreateEventResponse */ public function createEvent($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateEventHeaders([]); return $this->createEventWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @summary 创建日程(me接口) * * * @param string $calendarId * @param CreateEventByMeRequest $request CreateEventByMeRequest * @param CreateEventByMeHeaders $headers CreateEventByMeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateEventByMeResponse CreateEventByMeResponse */ public function createEventByMeWithOptions($calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendees)) { $body['attendees'] = $request->attendees; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->end)) { $body['end'] = $request->end; } if (!Utils::isUnset($request->extra)) { $body['extra'] = $request->extra; } if (!Utils::isUnset($request->isAllDay)) { $body['isAllDay'] = $request->isAllDay; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->onlineMeetingInfo)) { $body['onlineMeetingInfo'] = $request->onlineMeetingInfo; } if (!Utils::isUnset($request->recurrence)) { $body['recurrence'] = $request->recurrence; } if (!Utils::isUnset($request->reminders)) { $body['reminders'] = $request->reminders; } if (!Utils::isUnset($request->richTextDescription)) { $body['richTextDescription'] = $request->richTextDescription; } if (!Utils::isUnset($request->start)) { $body['start'] = $request->start; } if (!Utils::isUnset($request->summary)) { $body['summary'] = $request->summary; } if (!Utils::isUnset($request->uiConfigs)) { $body['uiConfigs'] = $request->uiConfigs; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateEventByMe', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/me/calendars/' . $calendarId . '/events', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateEventByMeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建日程(me接口) * * * @param string $calendarId * @param CreateEventByMeRequest $request CreateEventByMeRequest * * @return CreateEventByMeResponse CreateEventByMeResponse */ public function createEventByMe($calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateEventByMeHeaders([]); return $this->createEventByMeWithOptions($calendarId, $request, $headers, $runtime); } /** * @summary 快速创建订阅日历 * * * @param string $userId * @param CreateSubscribedCalendarRequest $request CreateSubscribedCalendarRequest * @param CreateSubscribedCalendarHeaders $headers CreateSubscribedCalendarHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateSubscribedCalendarResponse CreateSubscribedCalendarResponse */ public function createSubscribedCalendarWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->managers)) { $body['managers'] = $request->managers; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->subscribeScope)) { $body['subscribeScope'] = $request->subscribeScope; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateSubscribedCalendar', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/subscribedCalendars', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSubscribedCalendarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 快速创建订阅日历 * * * @param string $userId * @param CreateSubscribedCalendarRequest $request CreateSubscribedCalendarRequest * * @return CreateSubscribedCalendarResponse CreateSubscribedCalendarResponse */ public function createSubscribedCalendar($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new CreateSubscribedCalendarHeaders([]); return $this->createSubscribedCalendarWithOptions($userId, $request, $headers, $runtime); } /** * @summary 删除访问控制 * * * @param string $userId * @param string $calendarId * @param string $aclId * @param DeleteAclHeaders $headers DeleteAclHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteAclResponse DeleteAclResponse */ public function deleteAclWithOptions($userId, $calendarId, $aclId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteAcl', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/acls/' . $aclId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteAclResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除访问控制 * * * @param string $userId * @param string $calendarId * @param string $aclId * * @return DeleteAclResponse DeleteAclResponse */ public function deleteAcl($userId, $calendarId, $aclId) { $runtime = new RuntimeOptions([]); $headers = new DeleteAclHeaders([]); return $this->deleteAclWithOptions($userId, $calendarId, $aclId, $headers, $runtime); } /** * @summary 删除指定日程 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param DeleteEventRequest $request DeleteEventRequest * @param DeleteEventHeaders $headers DeleteEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteEventResponse DeleteEventResponse */ public function deleteEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pushNotification)) { $query['pushNotification'] = $request->pushNotification; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteEvent', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return DeleteEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除指定日程 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param DeleteEventRequest $request DeleteEventRequest * * @return DeleteEventResponse DeleteEventResponse */ public function deleteEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteEventHeaders([]); return $this->deleteEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 删除指定订阅日历 * * * @param string $userId * @param string $calendarId * @param DeleteSubscribedCalendarHeaders $headers DeleteSubscribedCalendarHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteSubscribedCalendarResponse DeleteSubscribedCalendarResponse */ public function deleteSubscribedCalendarWithOptions($userId, $calendarId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteSubscribedCalendar', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/subscribedCalendars/' . $calendarId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteSubscribedCalendarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除指定订阅日历 * * * @param string $userId * @param string $calendarId * * @return DeleteSubscribedCalendarResponse DeleteSubscribedCalendarResponse */ public function deleteSubscribedCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new DeleteSubscribedCalendarHeaders([]); return $this->deleteSubscribedCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @summary 生成caldav账户 * * * @param string $userId * @param GenerateCaldavAccountRequest $request GenerateCaldavAccountRequest * @param GenerateCaldavAccountHeaders $headers GenerateCaldavAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GenerateCaldavAccountResponse GenerateCaldavAccountResponse */ public function generateCaldavAccountWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->device)) { $body['device'] = $request->device; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->dingUid)) { $realHeaders['dingUid'] = Utils::toJSONString($headers->dingUid); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GenerateCaldavAccount', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/caldavAccounts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GenerateCaldavAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 生成caldav账户 * * * @param string $userId * @param GenerateCaldavAccountRequest $request GenerateCaldavAccountRequest * * @return GenerateCaldavAccountResponse GenerateCaldavAccountResponse */ public function generateCaldavAccount($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GenerateCaldavAccountHeaders([]); return $this->generateCaldavAccountWithOptions($userId, $request, $headers, $runtime); } /** * @summary 查询日程列表 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param GetEventRequest $request GetEventRequest * @param GetEventHeaders $headers GetEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetEventResponse GetEventResponse */ public function getEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxAttendees)) { $query['maxAttendees'] = $request->maxAttendees; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetEvent', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询日程列表 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param GetEventRequest $request GetEventRequest * * @return GetEventResponse GetEventResponse */ public function getEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetEventHeaders([]); return $this->getEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 查询会议室忙闲 * * * @param string $userId * @param GetMeetingRoomsScheduleRequest $request GetMeetingRoomsScheduleRequest * @param GetMeetingRoomsScheduleHeaders $headers GetMeetingRoomsScheduleHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMeetingRoomsScheduleResponse GetMeetingRoomsScheduleResponse */ public function getMeetingRoomsScheduleWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->roomIds)) { $body['roomIds'] = $request->roomIds; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetMeetingRoomsSchedule', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/meetingRooms/schedules/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMeetingRoomsScheduleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询会议室忙闲 * * * @param string $userId * @param GetMeetingRoomsScheduleRequest $request GetMeetingRoomsScheduleRequest * * @return GetMeetingRoomsScheduleResponse GetMeetingRoomsScheduleResponse */ public function getMeetingRoomsSchedule($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetMeetingRoomsScheduleHeaders([]); return $this->getMeetingRoomsScheduleWithOptions($userId, $request, $headers, $runtime); } /** * @summary 查询闲忙 * * * @param string $userId * @param GetScheduleRequest $request GetScheduleRequest * @param GetScheduleHeaders $headers GetScheduleHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetScheduleResponse GetScheduleResponse */ public function getScheduleWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetSchedule', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/querySchedule', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetScheduleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询闲忙 * * * @param string $userId * @param GetScheduleRequest $request GetScheduleRequest * * @return GetScheduleResponse GetScheduleResponse */ public function getSchedule($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetScheduleHeaders([]); return $this->getScheduleWithOptions($userId, $request, $headers, $runtime); } /** * @summary 查询闲忙(me接口) * * * @param GetScheduleByMeRequest $request GetScheduleByMeRequest * @param GetScheduleByMeHeaders $headers GetScheduleByMeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetScheduleByMeResponse GetScheduleByMeResponse */ public function getScheduleByMeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetScheduleByMe', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/me/schedules/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetScheduleByMeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询闲忙(me接口) * * * @param GetScheduleByMeRequest $request GetScheduleByMeRequest * * @return GetScheduleByMeResponse GetScheduleByMeResponse */ public function getScheduleByMe($request) { $runtime = new RuntimeOptions([]); $headers = new GetScheduleByMeHeaders([]); return $this->getScheduleByMeWithOptions($request, $headers, $runtime); } /** * @summary 获取签到链接 * * * @param string $calendarId * @param string $userId * @param string $eventId * @param GetSignInLinkHeaders $headers GetSignInLinkHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSignInLinkResponse GetSignInLinkResponse */ public function getSignInLinkWithOptions($calendarId, $userId, $eventId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetSignInLink', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/signInLinks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSignInLinkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取签到链接 * * * @param string $calendarId * @param string $userId * @param string $eventId * * @return GetSignInLinkResponse GetSignInLinkResponse */ public function getSignInLink($calendarId, $userId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new GetSignInLinkHeaders([]); return $this->getSignInLinkWithOptions($calendarId, $userId, $eventId, $headers, $runtime); } /** * @summary 获取签到信息详情 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignInListRequest $request GetSignInListRequest * @param GetSignInListHeaders $headers GetSignInListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSignInListResponse GetSignInListResponse */ public function getSignInListWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSignInList', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/signin', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSignInListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取签到信息详情 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignInListRequest $request GetSignInListRequest * * @return GetSignInListResponse GetSignInListResponse */ public function getSignInList($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSignInListHeaders([]); return $this->getSignInListWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 获取签退链接 * * * @param string $calendarId * @param string $userId * @param string $eventId * @param GetSignOutLinkHeaders $headers GetSignOutLinkHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSignOutLinkResponse GetSignOutLinkResponse */ public function getSignOutLinkWithOptions($calendarId, $userId, $eventId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetSignOutLink', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/signOutLinks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSignOutLinkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取签退链接 * * * @param string $calendarId * @param string $userId * @param string $eventId * * @return GetSignOutLinkResponse GetSignOutLinkResponse */ public function getSignOutLink($calendarId, $userId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new GetSignOutLinkHeaders([]); return $this->getSignOutLinkWithOptions($calendarId, $userId, $eventId, $headers, $runtime); } /** * @summary 获取签退信息详情 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignOutListRequest $request GetSignOutListRequest * @param GetSignOutListHeaders $headers GetSignOutListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSignOutListResponse GetSignOutListResponse */ public function getSignOutListWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSignOutList', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/signOut', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSignOutListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取签退信息详情 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param GetSignOutListRequest $request GetSignOutListRequest * * @return GetSignOutListResponse GetSignOutListResponse */ public function getSignOutList($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetSignOutListHeaders([]); return $this->getSignOutListWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 获取指定订阅日历详情 * * * @param string $userId * @param string $calendarId * @param GetSubscribedCalendarHeaders $headers GetSubscribedCalendarHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSubscribedCalendarResponse GetSubscribedCalendarResponse */ public function getSubscribedCalendarWithOptions($userId, $calendarId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetSubscribedCalendar', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/subscribedCalendars/' . $calendarId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSubscribedCalendarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取指定订阅日历详情 * * * @param string $userId * @param string $calendarId * * @return GetSubscribedCalendarResponse GetSubscribedCalendarResponse */ public function getSubscribedCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new GetSubscribedCalendarHeaders([]); return $this->getSubscribedCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @summary 获取访问控制列表 * * * @param string $userId * @param string $calendarId * @param ListAclsHeaders $headers ListAclsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAclsResponse ListAclsResponse */ public function listAclsWithOptions($userId, $calendarId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'ListAcls', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/acls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAclsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取访问控制列表 * * * @param string $userId * @param string $calendarId * * @return ListAclsResponse ListAclsResponse */ public function listAcls($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new ListAclsHeaders([]); return $this->listAclsWithOptions($userId, $calendarId, $headers, $runtime); } /** * @summary 分页获取参与人列表 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param ListAttendeesRequest $request ListAttendeesRequest * @param ListAttendeesHeaders $headers ListAttendeesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAttendeesResponse ListAttendeesResponse */ public function listAttendeesWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListAttendees', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/attendees', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAttendeesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取参与人列表 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param ListAttendeesRequest $request ListAttendeesRequest * * @return ListAttendeesResponse ListAttendeesResponse */ public function listAttendees($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListAttendeesHeaders([]); return $this->listAttendeesWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 日历本查询 * * * @param string $userId * @param ListCalendarsHeaders $headers ListCalendarsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListCalendarsResponse ListCalendarsResponse */ public function listCalendarsWithOptions($userId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'ListCalendars', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListCalendarsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 日历本查询 * * * @param string $userId * * @return ListCalendarsResponse ListCalendarsResponse */ public function listCalendars($userId) { $runtime = new RuntimeOptions([]); $headers = new ListCalendarsHeaders([]); return $this->listCalendarsWithOptions($userId, $headers, $runtime); } /** * @summary 查询日程列表 * * * @param string $userId * @param string $calendarId * @param ListEventsRequest $request ListEventsRequest * @param ListEventsHeaders $headers ListEventsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListEventsResponse ListEventsResponse */ public function listEventsWithOptions($userId, $calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxAttendees)) { $query['maxAttendees'] = $request->maxAttendees; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->seriesMasterId)) { $query['seriesMasterId'] = $request->seriesMasterId; } if (!Utils::isUnset($request->showDeleted)) { $query['showDeleted'] = $request->showDeleted; } if (!Utils::isUnset($request->syncToken)) { $query['syncToken'] = $request->syncToken; } if (!Utils::isUnset($request->timeMax)) { $query['timeMax'] = $request->timeMax; } if (!Utils::isUnset($request->timeMin)) { $query['timeMin'] = $request->timeMin; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListEvents', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListEventsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询日程列表 * * * @param string $userId * @param string $calendarId * @param ListEventsRequest $request ListEventsRequest * * @return ListEventsResponse ListEventsResponse */ public function listEvents($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsHeaders([]); return $this->listEventsWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @summary 查询同一个循环日程序列下已生成的实例 * * * @param string $userId * @param string $calendarId * @param ListEventsInstancesRequest $request ListEventsInstancesRequest * @param ListEventsInstancesHeaders $headers ListEventsInstancesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListEventsInstancesResponse ListEventsInstancesResponse */ public function listEventsInstancesWithOptions($userId, $calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxAttendees)) { $query['maxAttendees'] = $request->maxAttendees; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->seriesMasterId)) { $query['seriesMasterId'] = $request->seriesMasterId; } if (!Utils::isUnset($request->startRecurrenceId)) { $query['startRecurrenceId'] = $request->startRecurrenceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListEventsInstances', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListEventsInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询同一个循环日程序列下已生成的实例 * * * @param string $userId * @param string $calendarId * @param ListEventsInstancesRequest $request ListEventsInstancesRequest * * @return ListEventsInstancesResponse ListEventsInstancesResponse */ public function listEventsInstances($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsInstancesHeaders([]); return $this->listEventsInstancesWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @summary 查询日程视图列表以查看闲忙,展开循环日程 * * * @param string $userId * @param string $calendarId * @param ListEventsViewRequest $request ListEventsViewRequest * @param ListEventsViewHeaders $headers ListEventsViewHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListEventsViewResponse ListEventsViewResponse */ public function listEventsViewWithOptions($userId, $calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxAttendees)) { $query['maxAttendees'] = $request->maxAttendees; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->timeMax)) { $query['timeMax'] = $request->timeMax; } if (!Utils::isUnset($request->timeMin)) { $query['timeMin'] = $request->timeMin; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListEventsView', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/eventsview', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListEventsViewResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询日程视图列表以查看闲忙,展开循环日程 * * * @param string $userId * @param string $calendarId * @param ListEventsViewRequest $request ListEventsViewRequest * * @return ListEventsViewResponse ListEventsViewResponse */ public function listEventsView($userId, $calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsViewHeaders([]); return $this->listEventsViewWithOptions($userId, $calendarId, $request, $headers, $runtime); } /** * @summary 查询日程视图列表以查看闲忙,展开循环日程(me接口) * * * @param string $calendarId * @param ListEventsViewByMeRequest $request ListEventsViewByMeRequest * @param ListEventsViewByMeHeaders $headers ListEventsViewByMeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListEventsViewByMeResponse ListEventsViewByMeResponse */ public function listEventsViewByMeWithOptions($calendarId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxAttendees)) { $query['maxAttendees'] = $request->maxAttendees; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->timeMax)) { $query['timeMax'] = $request->timeMax; } if (!Utils::isUnset($request->timeMin)) { $query['timeMin'] = $request->timeMin; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListEventsViewByMe', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/me/calendars/' . $calendarId . '/eventsview', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListEventsViewByMeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询日程视图列表以查看闲忙,展开循环日程(me接口) * * * @param string $calendarId * @param ListEventsViewByMeRequest $request ListEventsViewByMeRequest * * @return ListEventsViewByMeResponse ListEventsViewByMeResponse */ public function listEventsViewByMe($calendarId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListEventsViewByMeHeaders([]); return $this->listEventsViewByMeWithOptions($calendarId, $request, $headers, $runtime); } /** * @summary 查询循环日程实例列表 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param ListInstancesRequest $request ListInstancesRequest * @param ListInstancesHeaders $headers ListInstancesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListInstancesResponse ListInstancesResponse */ public function listInstancesWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxAttendees)) { $query['maxAttendees'] = $request->maxAttendees; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->timeMax)) { $query['timeMax'] = $request->timeMax; } if (!Utils::isUnset($request->timeMin)) { $query['timeMin'] = $request->timeMin; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListInstances', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/instances', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListInstancesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询循环日程实例列表 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param ListInstancesRequest $request ListInstancesRequest * * @return ListInstancesResponse ListInstancesResponse */ public function listInstances($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListInstancesHeaders([]); return $this->listInstancesWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 设置会议室在日程中的响应状态 * * * @param string $calendarId * @param string $userId * @param string $eventId * @param string $roomId * @param MeetingRoomRespondRequest $request MeetingRoomRespondRequest * @param MeetingRoomRespondHeaders $headers MeetingRoomRespondHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return MeetingRoomRespondResponse MeetingRoomRespondResponse */ public function meetingRoomRespondWithOptions($calendarId, $userId, $eventId, $roomId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->responseStatus)) { $body['responseStatus'] = $request->responseStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->userAgent)) { $realHeaders['userAgent'] = Utils::toJSONString($headers->userAgent); } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MeetingRoomRespond', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/meetingRooms/' . $roomId . '/respond', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MeetingRoomRespondResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设置会议室在日程中的响应状态 * * * @param string $calendarId * @param string $userId * @param string $eventId * @param string $roomId * @param MeetingRoomRespondRequest $request MeetingRoomRespondRequest * * @return MeetingRoomRespondResponse MeetingRoomRespondResponse */ public function meetingRoomRespond($calendarId, $userId, $eventId, $roomId, $request) { $runtime = new RuntimeOptions([]); $headers = new MeetingRoomRespondHeaders([]); return $this->meetingRoomRespondWithOptions($calendarId, $userId, $eventId, $roomId, $request, $headers, $runtime); } /** * @summary 修改日程 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param PatchEventRequest $request PatchEventRequest * @param PatchEventHeaders $headers PatchEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PatchEventResponse PatchEventResponse */ public function patchEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendees)) { $body['attendees'] = $request->attendees; } if (!Utils::isUnset($request->cardInstances)) { $body['cardInstances'] = $request->cardInstances; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->end)) { $body['end'] = $request->end; } if (!Utils::isUnset($request->extra)) { $body['extra'] = $request->extra; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->isAllDay)) { $body['isAllDay'] = $request->isAllDay; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->onlineMeetingInfo)) { $body['onlineMeetingInfo'] = $request->onlineMeetingInfo; } if (!Utils::isUnset($request->recurrence)) { $body['recurrence'] = $request->recurrence; } if (!Utils::isUnset($request->reminders)) { $body['reminders'] = $request->reminders; } if (!Utils::isUnset($request->richTextDescription)) { $body['richTextDescription'] = $request->richTextDescription; } if (!Utils::isUnset($request->start)) { $body['start'] = $request->start; } if (!Utils::isUnset($request->summary)) { $body['summary'] = $request->summary; } if (!Utils::isUnset($request->uiConfigs)) { $body['uiConfigs'] = $request->uiConfigs; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PatchEvent', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PatchEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 修改日程 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param PatchEventRequest $request PatchEventRequest * * @return PatchEventResponse PatchEventResponse */ public function patchEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new PatchEventHeaders([]); return $this->patchEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 删除日程参与人 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveAttendeeRequest $request RemoveAttendeeRequest * @param RemoveAttendeeHeaders $headers RemoveAttendeeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RemoveAttendeeResponse RemoveAttendeeResponse */ public function removeAttendeeWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attendeesToRemove)) { $body['attendeesToRemove'] = $request->attendeesToRemove; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveAttendee', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/attendees/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return RemoveAttendeeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除日程参与人 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveAttendeeRequest $request RemoveAttendeeRequest * * @return RemoveAttendeeResponse RemoveAttendeeResponse */ public function removeAttendee($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveAttendeeHeaders([]); return $this->removeAttendeeWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 删除会议室 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveMeetingRoomsRequest $request RemoveMeetingRoomsRequest * @param RemoveMeetingRoomsHeaders $headers RemoveMeetingRoomsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RemoveMeetingRoomsResponse RemoveMeetingRoomsResponse */ public function removeMeetingRoomsWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->meetingRoomsToRemove)) { $body['meetingRoomsToRemove'] = $request->meetingRoomsToRemove; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveMeetingRooms', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/meetingRooms/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveMeetingRoomsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除会议室 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param RemoveMeetingRoomsRequest $request RemoveMeetingRoomsRequest * * @return RemoveMeetingRoomsResponse RemoveMeetingRoomsResponse */ public function removeMeetingRooms($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new RemoveMeetingRoomsHeaders([]); return $this->removeMeetingRoomsWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 回复日程邀请 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param RespondEventRequest $request RespondEventRequest * @param RespondEventHeaders $headers RespondEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RespondEventResponse RespondEventResponse */ public function respondEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->responseStatus)) { $body['responseStatus'] = $request->responseStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RespondEvent', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/respond', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return RespondEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 回复日程邀请 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param RespondEventRequest $request RespondEventRequest * * @return RespondEventResponse RespondEventResponse */ public function respondEvent($userId, $calendarId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new RespondEventHeaders([]); return $this->respondEventWithOptions($userId, $calendarId, $eventId, $request, $headers, $runtime); } /** * @summary 签到 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param SignInHeaders $headers SignInHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SignInResponse SignInResponse */ public function signInWithOptions($userId, $calendarId, $eventId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'SignIn', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/signin', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SignInResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 签到 * * * @param string $userId * @param string $calendarId * @param string $eventId * * @return SignInResponse SignInResponse */ public function signIn($userId, $calendarId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new SignInHeaders([]); return $this->signInWithOptions($userId, $calendarId, $eventId, $headers, $runtime); } /** * @summary 签退 * * * @param string $userId * @param string $calendarId * @param string $eventId * @param SignOutHeaders $headers SignOutHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SignOutResponse SignOutResponse */ public function signOutWithOptions($userId, $calendarId, $eventId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'SignOut', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/signOut', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SignOutResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 签退 * * * @param string $userId * @param string $calendarId * @param string $eventId * * @return SignOutResponse SignOutResponse */ public function signOut($userId, $calendarId, $eventId) { $runtime = new RuntimeOptions([]); $headers = new SignOutHeaders([]); return $this->signOutWithOptions($userId, $calendarId, $eventId, $headers, $runtime); } /** * @summary 订阅公共日历 * * * @param string $userId * @param string $calendarId * @param SubscribeCalendarHeaders $headers SubscribeCalendarHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SubscribeCalendarResponse SubscribeCalendarResponse */ public function subscribeCalendarWithOptions($userId, $calendarId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'SubscribeCalendar', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/subscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return SubscribeCalendarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 订阅公共日历 * * * @param string $userId * @param string $calendarId * * @return SubscribeCalendarResponse SubscribeCalendarResponse */ public function subscribeCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new SubscribeCalendarHeaders([]); return $this->subscribeCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @summary 日程转让 * * * @param string $calendarId * @param string $userId * @param string $eventId * @param TransferEventRequest $request TransferEventRequest * @param TransferEventHeaders $headers TransferEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return TransferEventResponse TransferEventResponse */ public function transferEventWithOptions($calendarId, $userId, $eventId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->isExitCalendar)) { $body['isExitCalendar'] = $request->isExitCalendar; } if (!Utils::isUnset($request->needNotifyViaO2O)) { $body['needNotifyViaO2O'] = $request->needNotifyViaO2O; } if (!Utils::isUnset($request->newOrganizerId)) { $body['newOrganizerId'] = $request->newOrganizerId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xClientToken)) { $realHeaders['x-client-token'] = Utils::toJSONString($headers->xClientToken); } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TransferEvent', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/events/' . $eventId . '/transfer', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TransferEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 日程转让 * * * @param string $calendarId * @param string $userId * @param string $eventId * @param TransferEventRequest $request TransferEventRequest * * @return TransferEventResponse TransferEventResponse */ public function transferEvent($calendarId, $userId, $eventId, $request) { $runtime = new RuntimeOptions([]); $headers = new TransferEventHeaders([]); return $this->transferEventWithOptions($calendarId, $userId, $eventId, $request, $headers, $runtime); } /** * @summary 取消订阅公共日历 * * * @param string $userId * @param string $calendarId * @param UnsubscribeCalendarHeaders $headers UnsubscribeCalendarHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UnsubscribeCalendarResponse UnsubscribeCalendarResponse */ public function unsubscribeCalendarWithOptions($userId, $calendarId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'UnsubscribeCalendar', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/calendars/' . $calendarId . '/unsubscribe', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UnsubscribeCalendarResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 取消订阅公共日历 * * * @param string $userId * @param string $calendarId * * @return UnsubscribeCalendarResponse UnsubscribeCalendarResponse */ public function unsubscribeCalendar($userId, $calendarId) { $runtime = new RuntimeOptions([]); $headers = new UnsubscribeCalendarHeaders([]); return $this->unsubscribeCalendarWithOptions($userId, $calendarId, $headers, $runtime); } /** * @summary 更新指定订阅日历 * * * @param string $calendarId * @param string $userId * @param UpdateSubscribedCalendarsRequest $request UpdateSubscribedCalendarsRequest * @param UpdateSubscribedCalendarsHeaders $headers UpdateSubscribedCalendarsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateSubscribedCalendarsResponse UpdateSubscribedCalendarsResponse */ public function updateSubscribedCalendarsWithOptions($calendarId, $userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->managers)) { $body['managers'] = $request->managers; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->subscribeScope)) { $body['subscribeScope'] = $request->subscribeScope; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateSubscribedCalendars', 'version' => 'calendar_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/calendar/users/' . $userId . '/subscribedCalendars/' . $calendarId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateSubscribedCalendarsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新指定订阅日历 * * * @param string $calendarId * @param string $userId * @param UpdateSubscribedCalendarsRequest $request UpdateSubscribedCalendarsRequest * * @return UpdateSubscribedCalendarsResponse UpdateSubscribedCalendarsResponse */ public function updateSubscribedCalendars($calendarId, $userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateSubscribedCalendarsHeaders([]); return $this->updateSubscribedCalendarsWithOptions($calendarId, $userId, $request, $headers, $runtime); } } src/calendar_1_0/Models/AddAttendeeHeaders.php 0000644 00000003055 14713400346 0015142 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddAttendeeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/AddAttendeeRequest.php 0000644 00000004404 14713400346 0015216 0 ustar 00 'attendeesToAdd', 'chatNotification' => 'chatNotification', 'pushNotification' => 'pushNotification', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendeesToAdd) { $res['attendeesToAdd'] = []; if (null !== $this->attendeesToAdd && \is_array($this->attendeesToAdd)) { $n = 0; foreach ($this->attendeesToAdd as $item) { $res['attendeesToAdd'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->chatNotification) { $res['chatNotification'] = $this->chatNotification; } if (null !== $this->pushNotification) { $res['pushNotification'] = $this->pushNotification; } return $res; } /** * @param array $map * * @return AddAttendeeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendeesToAdd'])) { if (!empty($map['attendeesToAdd'])) { $model->attendeesToAdd = []; $n = 0; foreach ($map['attendeesToAdd'] as $item) { $model->attendeesToAdd[$n++] = null !== $item ? attendeesToAdd::fromMap($item) : $item; } } } if (isset($map['chatNotification'])) { $model->chatNotification = $map['chatNotification']; } if (isset($map['pushNotification'])) { $model->pushNotification = $map['pushNotification']; } return $model; } } src/calendar_1_0/Models/AddAttendeeRequest/attendeesToAdd.php 0000644 00000002116 14713400346 0020104 0 ustar 00 'id', 'isOptional' => 'isOptional', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } return $res; } /** * @param array $map * * @return attendeesToAdd */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } return $model; } } src/calendar_1_0/Models/AddAttendeeResponse.php 0000644 00000002156 14713400346 0015366 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return AddAttendeeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/calendar_1_0/Models/AddMeetingRoomsHeaders.php 0000644 00000003065 14713400346 0016022 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddMeetingRoomsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/AddMeetingRoomsRequest.php 0000644 00000003170 14713400346 0016074 0 ustar 00 'meetingRoomsToAdd', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->meetingRoomsToAdd) { $res['meetingRoomsToAdd'] = []; if (null !== $this->meetingRoomsToAdd && \is_array($this->meetingRoomsToAdd)) { $n = 0; foreach ($this->meetingRoomsToAdd as $item) { $res['meetingRoomsToAdd'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return AddMeetingRoomsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['meetingRoomsToAdd'])) { if (!empty($map['meetingRoomsToAdd'])) { $model->meetingRoomsToAdd = []; $n = 0; foreach ($map['meetingRoomsToAdd'] as $item) { $model->meetingRoomsToAdd[$n++] = null !== $item ? meetingRoomsToAdd::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/AddMeetingRoomsRequest/meetingRoomsToAdd.php 0000644 00000001504 14713400346 0021457 0 ustar 00 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRoomsToAdd */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/AddMeetingRoomsResponse.php 0000644 00000002732 14713400346 0016245 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddMeetingRoomsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddMeetingRoomsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/AddMeetingRoomsResponseBody.php 0000644 00000001477 14713400346 0017070 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddMeetingRoomsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/calendar_1_0/Models/CheckInHeaders.php 0000644 00000002316 14713400346 0014303 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CheckInHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/CheckInResponse.php 0000644 00000002672 14713400346 0014533 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CheckInResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CheckInResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/CheckInResponseBody.php 0000644 00000001533 14713400346 0015344 0 ustar 00 'checkInTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkInTime) { $res['checkInTime'] = $this->checkInTime; } return $res; } /** * @param array $map * * @return CheckInResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkInTime'])) { $model->checkInTime = $map['checkInTime']; } return $model; } } src/calendar_1_0/Models/ConvertLegacyEventIdHeaders.php 0000644 00000002350 14713400346 0017021 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConvertLegacyEventIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ConvertLegacyEventIdRequest.php 0000644 00000002006 14713400346 0017074 0 ustar 00 'legacyEventIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->legacyEventIds) { $res['legacyEventIds'] = $this->legacyEventIds; } return $res; } /** * @param array $map * * @return ConvertLegacyEventIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['legacyEventIds'])) { if (!empty($map['legacyEventIds'])) { $model->legacyEventIds = $map['legacyEventIds']; } } return $model; } } src/calendar_1_0/Models/ConvertLegacyEventIdResponse.php 0000644 00000002756 14713400346 0017256 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConvertLegacyEventIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConvertLegacyEventIdResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ConvertLegacyEventIdResponseBody.php 0000644 00000001646 14713400346 0020071 0 ustar 00 'legacyEventIdMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->legacyEventIdMap) { $res['legacyEventIdMap'] = $this->legacyEventIdMap; } return $res; } /** * @param array $map * * @return ConvertLegacyEventIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['legacyEventIdMap'])) { $model->legacyEventIdMap = $map['legacyEventIdMap']; } return $model; } } src/calendar_1_0/Models/CreateAclsHeaders.php 0000644 00000002324 14713400346 0015004 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAclsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/CreateAclsRequest.php 0000644 00000003220 14713400346 0015055 0 ustar 00 'privilege', 'scope' => 'scope', 'sendMsg' => 'sendMsg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->privilege) { $res['privilege'] = $this->privilege; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } if (null !== $this->sendMsg) { $res['sendMsg'] = $this->sendMsg; } return $res; } /** * @param array $map * * @return CreateAclsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['privilege'])) { $model->privilege = $map['privilege']; } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } if (isset($map['sendMsg'])) { $model->sendMsg = $map['sendMsg']; } return $model; } } src/calendar_1_0/Models/CreateAclsRequest/scope.php 0000644 00000002301 14713400346 0016165 0 ustar 00 'scopeType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/CreateAclsResponse.php 0000644 00000002706 14713400346 0015233 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAclsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAclsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/CreateAclsResponseBody.php 0000644 00000002754 14713400346 0016054 0 ustar 00 'aclId', 'privilege' => 'privilege', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aclId) { $res['aclId'] = $this->aclId; } if (null !== $this->privilege) { $res['privilege'] = $this->privilege; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAclsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aclId'])) { $model->aclId = $map['aclId']; } if (isset($map['privilege'])) { $model->privilege = $map['privilege']; } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } return $model; } } src/calendar_1_0/Models/CreateAclsResponseBody/scope.php 0000644 00000002130 14713400346 0017151 0 ustar 00 'scopeType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeHeaders.php 0000644 00000003065 14713400346 0015763 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateEventByMeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest.php 0000644 00000016423 14713400346 0016042 0 ustar 00 'attendees', 'description' => 'description', 'end' => 'end', 'extra' => 'extra', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'start' => 'start', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extra) { $res['extra'] = $this->extra; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateEventByMeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extra'])) { $model->extra = $map['extra']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/attendees.php 0000644 00000002110 14713400346 0020002 0 ustar 00 'id', 'isOptional' => 'isOptional', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/end.php 0000644 00000002722 14713400346 0016605 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/location.php 0000644 00000001537 14713400346 0017652 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/onlineMeetingInfo.php 0000644 00000001462 14713400346 0021450 0 ustar 00 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/recurrence.php 0000644 00000002564 14713400346 0020200 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/recurrence/pattern.php 0000644 00000004443 14713400346 0021653 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/recurrence/range.php 0000644 00000003035 14713400346 0021266 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/reminders.php 0000644 00000002111 14713400346 0020017 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/richTextDescription.php 0000644 00000001466 14713400346 0022041 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/start.php 0000644 00000002726 14713400346 0017200 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeRequest/uiConfigs.php 0000644 00000002126 14713400346 0017763 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponse.php 0000644 00000002732 14713400346 0016206 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateEventByMeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateEventByMeResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody.php 0000644 00000020713 14713400346 0017023 0 ustar 00 'attendees', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'start' => 'start', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return CreateEventByMeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/attendees.php 0000644 00000003755 14713400346 0021006 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/end.php 0000644 00000002537 14713400346 0017575 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/location.php 0000644 00000001544 14713400346 0020634 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/onlineMeetingInfo.php 0000644 00000003254 14713400346 0022435 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/organizer.php 0000644 00000003271 14713400346 0021023 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/recurrence.php 0000644 00000002603 14713400346 0021156 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/recurrence/pattern.php 0000644 00000004450 14713400346 0022635 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/recurrence/range.php 0000644 00000003042 14713400346 0022250 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/reminders.php 0000644 00000002121 14713400346 0021004 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/richTextDescription.php 0000644 00000001473 14713400346 0023023 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/start.php 0000644 00000002543 14713400346 0020161 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventByMeResponseBody/uiConfigs.php 0000644 00000002133 14713400346 0020745 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/CreateEventHeaders.php 0000644 00000003055 14713400346 0015205 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest.php 0000644 00000020271 14713400346 0015261 0 ustar 00 'attendees', 'cardInstances' => 'cardInstances', 'description' => 'description', 'end' => 'end', 'extra' => 'extra', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'start' => 'start', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardInstances) { $res['cardInstances'] = []; if (null !== $this->cardInstances && \is_array($this->cardInstances)) { $n = 0; foreach ($this->cardInstances as $item) { $res['cardInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extra) { $res['extra'] = $this->extra; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['cardInstances'])) { if (!empty($map['cardInstances'])) { $model->cardInstances = []; $n = 0; foreach ($map['cardInstances'] as $item) { $model->cardInstances[$n++] = null !== $item ? cardInstances::fromMap($item) : $item; } } } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extra'])) { $model->extra = $map['extra']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/CreateEventRequest/attendees.php 0000644 00000002104 14713400346 0017230 0 ustar 00 'id', 'isOptional' => 'isOptional', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/cardInstances.php 0000644 00000002176 14713400346 0020046 0 ustar 00 'outTrackId', 'scenario' => 'scenario', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->scenario) { $res['scenario'] = $this->scenario; } return $res; } /** * @param array $map * * @return cardInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['scenario'])) { $model->scenario = $map['scenario']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/end.php 0000644 00000002716 14713400346 0016033 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/location.php 0000644 00000001533 14713400346 0017071 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/onlineMeetingInfo.php 0000644 00000001456 14713400346 0020676 0 ustar 00 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/recurrence.php 0000644 00000002550 14713400346 0017416 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/CreateEventRequest/recurrence/pattern.php 0000644 00000004437 14713400346 0021101 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/recurrence/range.php 0000644 00000003031 14713400346 0020505 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/reminders.php 0000644 00000002105 14713400346 0017245 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/richTextDescription.php 0000644 00000001462 14713400346 0021260 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/start.php 0000644 00000002722 14713400346 0016417 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventRequest/uiConfigs.php 0000644 00000002122 14713400346 0017202 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/CreateEventResponse.php 0000644 00000002712 14713400346 0015427 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateEventResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody.php 0000644 00000022562 14713400346 0016252 0 ustar 00 'attendees', 'cardInstances' => 'cardInstances', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'start' => 'start', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardInstances) { $res['cardInstances'] = []; if (null !== $this->cardInstances && \is_array($this->cardInstances)) { $n = 0; foreach ($this->cardInstances as $item) { $res['cardInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return CreateEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['cardInstances'])) { if (!empty($map['cardInstances'])) { $model->cardInstances = []; $n = 0; foreach ($map['cardInstances'] as $item) { $model->cardInstances[$n++] = null !== $item ? cardInstances::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/attendees.php 0000644 00000003751 14713400346 0020225 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/cardInstances.php 0000644 00000002203 14713400346 0021021 0 ustar 00 'outTrackId', 'scenario' => 'scenario', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->scenario) { $res['scenario'] = $this->scenario; } return $res; } /** * @param array $map * * @return cardInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['scenario'])) { $model->scenario = $map['scenario']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/end.php 0000644 00000002533 14713400346 0017014 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/location.php 0000644 00000001540 14713400346 0020053 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/onlineMeetingInfo.php 0000644 00000003250 14713400346 0021654 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/organizer.php 0000644 00000003265 14713400346 0020251 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/recurrence.php 0000644 00000002567 14713400346 0020412 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/recurrence/pattern.php 0000644 00000004444 14713400346 0022063 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/recurrence/range.php 0000644 00000003036 14713400346 0021476 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/reminders.php 0000644 00000002115 14713400346 0020232 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/richTextDescription.php 0000644 00000001467 14713400346 0022251 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/start.php 0000644 00000002537 14713400346 0017407 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/CreateEventResponseBody/uiConfigs.php 0000644 00000002127 14713400346 0020173 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/CreateSubscribedCalendarHeaders.php 0000644 00000002360 14713400346 0017641 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSubscribedCalendarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/CreateSubscribedCalendarRequest.php 0000644 00000004136 14713400346 0017721 0 ustar 00 'description', 'managers' => 'managers', 'name' => 'name', 'subscribeScope' => 'subscribeScope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->managers) { $res['managers'] = $this->managers; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->subscribeScope) { $res['subscribeScope'] = null !== $this->subscribeScope ? $this->subscribeScope->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSubscribedCalendarRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['managers'])) { if (!empty($map['managers'])) { $model->managers = $map['managers']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['subscribeScope'])) { $model->subscribeScope = subscribeScope::fromMap($map['subscribeScope']); } return $model; } } src/calendar_1_0/Models/CreateSubscribedCalendarRequest/subscribeScope.php 0000644 00000003324 14713400346 0022672 0 ustar 00 'corpIds', 'openConversationIds' => 'openConversationIds', 'unionIds' => 'unionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpIds) { $res['corpIds'] = $this->corpIds; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->unionIds) { $res['unionIds'] = $this->unionIds; } return $res; } /** * @param array $map * * @return subscribeScope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpIds'])) { if (!empty($map['corpIds'])) { $model->corpIds = $map['corpIds']; } } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['unionIds'])) { if (!empty($map['unionIds'])) { $model->unionIds = $map['unionIds']; } } return $model; } } src/calendar_1_0/Models/CreateSubscribedCalendarResponse.php 0000644 00000002776 14713400346 0020077 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSubscribedCalendarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSubscribedCalendarResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/CreateSubscribedCalendarResponseBody.php 0000644 00000001567 14713400346 0020712 0 ustar 00 'calendarId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->calendarId) { $res['calendarId'] = $this->calendarId; } return $res; } /** * @param array $map * * @return CreateSubscribedCalendarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['calendarId'])) { $model->calendarId = $map['calendarId']; } return $model; } } src/calendar_1_0/Models/DeleteAclHeaders.php 0000644 00000002322 14713400346 0014616 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteAclHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/DeleteAclResponse.php 0000644 00000002152 14713400346 0015042 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return DeleteAclResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/calendar_1_0/Models/DeleteEventHeaders.php 0000644 00000003055 14713400346 0015204 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/DeleteEventRequest.php 0000644 00000001607 14713400346 0015262 0 ustar 00 'pushNotification', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pushNotification) { $res['pushNotification'] = $this->pushNotification; } return $res; } /** * @param array $map * * @return DeleteEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pushNotification'])) { $model->pushNotification = $map['pushNotification']; } return $model; } } src/calendar_1_0/Models/DeleteEventResponse.php 0000644 00000002156 14713400346 0015430 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return DeleteEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/calendar_1_0/Models/DeleteSubscribedCalendarHeaders.php 0000644 00000002360 14713400346 0017640 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteSubscribedCalendarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/DeleteSubscribedCalendarResponse.php 0000644 00000002776 14713400346 0020076 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteSubscribedCalendarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteSubscribedCalendarResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/DeleteSubscribedCalendarResponseBody.php 0000644 00000001521 14713400346 0020677 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteSubscribedCalendarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/calendar_1_0/Models/GenerateCaldavAccountHeaders.php 0000644 00000003021 14713400346 0017153 0 ustar 00 'dingUid', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->dingUid) { $res['dingUid'] = $this->dingUid; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GenerateCaldavAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['dingUid'])) { $model->dingUid = $map['dingUid']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GenerateCaldavAccountRequest.php 0000644 00000001572 14713400346 0017241 0 ustar 00 'device', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->device) { $res['device'] = $this->device; } return $res; } /** * @param array $map * * @return GenerateCaldavAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['device'])) { $model->device = $map['device']; } return $model; } } src/calendar_1_0/Models/GenerateCaldavAccountResponse.php 0000644 00000002762 14713400346 0017411 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GenerateCaldavAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GenerateCaldavAccountResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GenerateCaldavAccountResponseBody.php 0000644 00000002726 14713400346 0020227 0 ustar 00 'password', 'serverAddress' => 'serverAddress', 'username' => 'username', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->password) { $res['password'] = $this->password; } if (null !== $this->serverAddress) { $res['serverAddress'] = $this->serverAddress; } if (null !== $this->username) { $res['username'] = $this->username; } return $res; } /** * @param array $map * * @return GenerateCaldavAccountResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['password'])) { $model->password = $map['password']; } if (isset($map['serverAddress'])) { $model->serverAddress = $map['serverAddress']; } if (isset($map['username'])) { $model->username = $map['username']; } return $model; } } src/calendar_1_0/Models/GetEventHeaders.php 0000644 00000002320 14713400346 0014513 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetEventRequest.php 0000644 00000001534 14713400346 0014576 0 ustar 00 'maxAttendees', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxAttendees) { $res['maxAttendees'] = $this->maxAttendees; } return $res; } /** * @param array $map * * @return GetEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxAttendees'])) { $model->maxAttendees = $map['maxAttendees']; } return $model; } } src/calendar_1_0/Models/GetEventResponse.php 0000644 00000002676 14713400346 0014754 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEventResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetEventResponseBody.php 0000644 00000031572 14713400346 0015567 0 ustar 00 'attendees', 'cardInstances' => 'cardInstances', 'categories' => 'categories', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'extendedProperties' => 'extendedProperties', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'meetingRooms' => 'meetingRooms', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'originStart' => 'originStart', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'seriesMasterId' => 'seriesMasterId', 'start' => 'start', 'status' => 'status', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardInstances) { $res['cardInstances'] = []; if (null !== $this->cardInstances && \is_array($this->cardInstances)) { $n = 0; foreach ($this->cardInstances as $item) { $res['cardInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->categories) { $res['categories'] = []; if (null !== $this->categories && \is_array($this->categories)) { $n = 0; foreach ($this->categories as $item) { $res['categories'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extendedProperties) { $res['extendedProperties'] = null !== $this->extendedProperties ? $this->extendedProperties->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = []; if (null !== $this->meetingRooms && \is_array($this->meetingRooms)) { $n = 0; foreach ($this->meetingRooms as $item) { $res['meetingRooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->originStart) { $res['originStart'] = null !== $this->originStart ? $this->originStart->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return GetEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['cardInstances'])) { if (!empty($map['cardInstances'])) { $model->cardInstances = []; $n = 0; foreach ($map['cardInstances'] as $item) { $model->cardInstances[$n++] = null !== $item ? cardInstances::fromMap($item) : $item; } } } if (isset($map['categories'])) { if (!empty($map['categories'])) { $model->categories = []; $n = 0; foreach ($map['categories'] as $item) { $model->categories[$n++] = null !== $item ? categories::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extendedProperties'])) { $model->extendedProperties = extendedProperties::fromMap($map['extendedProperties']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = []; $n = 0; foreach ($map['meetingRooms'] as $item) { $model->meetingRooms[$n++] = null !== $item ? meetingRooms::fromMap($item) : $item; } } } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['originStart'])) { $model->originStart = originStart::fromMap($map['originStart']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/attendees.php 0000644 00000003746 14713400346 0017545 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/cardInstances.php 0000644 00000002200 14713400346 0020332 0 ustar 00 'outTrackId', 'scenario' => 'scenario', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->scenario) { $res['scenario'] = $this->scenario; } return $res; } /** * @param array $map * * @return cardInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['scenario'])) { $model->scenario = $map['scenario']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/categories.php 0000644 00000001541 14713400346 0017705 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return categories */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/end.php 0000644 00000002530 14713400346 0016325 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/extendedProperties.php 0000644 00000002143 14713400346 0021434 0 ustar 00 'sharedProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sharedProperties) { $res['sharedProperties'] = null !== $this->sharedProperties ? $this->sharedProperties->toMap() : null; } return $res; } /** * @param array $map * * @return extendedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sharedProperties'])) { $model->sharedProperties = sharedProperties::fromMap($map['sharedProperties']); } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/extendedProperties/sharedProperties.php 0000644 00000002327 14713400346 0024763 0 ustar 00 'belongCorpId', 'sourceOpenCid' => 'sourceOpenCid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongCorpId) { $res['belongCorpId'] = $this->belongCorpId; } if (null !== $this->sourceOpenCid) { $res['sourceOpenCid'] = $this->sourceOpenCid; } return $res; } /** * @param array $map * * @return sharedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongCorpId'])) { $model->belongCorpId = $map['belongCorpId']; } if (isset($map['sourceOpenCid'])) { $model->sourceOpenCid = $map['sourceOpenCid']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/location.php 0000644 00000002346 14713400346 0017374 0 ustar 00 'displayName', 'meetingRooms' => 'meetingRooms', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = $this->meetingRooms; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = $map['meetingRooms']; } } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/meetingRooms.php 0000644 00000002724 14713400346 0020234 0 ustar 00 'displayName', 'responseStatus' => 'responseStatus', 'roomId' => 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/onlineMeetingInfo.php 0000644 00000003245 14713400346 0021174 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/organizer.php 0000644 00000003262 14713400346 0017562 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/originStart.php 0000644 00000001510 14713400346 0020061 0 ustar 00 'dateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } return $res; } /** * @param array $map * * @return originStart */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/recurrence.php 0000644 00000002556 14713400346 0017724 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/recurrence/pattern.php 0000644 00000004441 14713400346 0021374 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/recurrence/range.php 0000644 00000003033 14713400346 0021007 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/reminders.php 0000644 00000002112 14713400346 0017543 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/richTextDescription.php 0000644 00000001464 14713400346 0021562 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/start.php 0000644 00000002534 14713400346 0016720 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetEventResponseBody/uiConfigs.php 0000644 00000002124 14713400346 0017504 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/GetMeetingRoomsScheduleHeaders.php 0000644 00000002356 14713400346 0017530 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMeetingRoomsScheduleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetMeetingRoomsScheduleRequest.php 0000644 00000003334 14713400346 0017602 0 ustar 00 'endTime', 'roomIds' => 'roomIds', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->roomIds) { $res['roomIds'] = $this->roomIds; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return GetMeetingRoomsScheduleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['roomIds'])) { if (!empty($map['roomIds'])) { $model->roomIds = $map['roomIds']; } } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/calendar_1_0/Models/GetMeetingRoomsScheduleResponse.php 0000644 00000002772 14713400346 0017755 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMeetingRoomsScheduleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMeetingRoomsScheduleResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetMeetingRoomsScheduleResponseBody.php 0000644 00000003214 14713400346 0020563 0 ustar 00 'scheduleInformation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scheduleInformation) { $res['scheduleInformation'] = []; if (null !== $this->scheduleInformation && \is_array($this->scheduleInformation)) { $n = 0; foreach ($this->scheduleInformation as $item) { $res['scheduleInformation'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetMeetingRoomsScheduleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scheduleInformation'])) { if (!empty($map['scheduleInformation'])) { $model->scheduleInformation = []; $n = 0; foreach ($map['scheduleInformation'] as $item) { $model->scheduleInformation[$n++] = null !== $item ? scheduleInformation::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/GetMeetingRoomsScheduleResponseBody/scheduleInformation.php 0000644 00000004132 14713400346 0024565 0 ustar 00 'error', 'roomId' => 'roomId', 'scheduleItems' => 'scheduleItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->error) { $res['error'] = $this->error; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } if (null !== $this->scheduleItems) { $res['scheduleItems'] = []; if (null !== $this->scheduleItems && \is_array($this->scheduleItems)) { $n = 0; foreach ($this->scheduleItems as $item) { $res['scheduleItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return scheduleInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['error'])) { $model->error = $map['error']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } if (isset($map['scheduleItems'])) { if (!empty($map['scheduleItems'])) { $model->scheduleItems = []; $n = 0; foreach ($map['scheduleItems'] as $item) { $model->scheduleItems[$n++] = null !== $item ? scheduleItems::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/GetMeetingRoomsScheduleResponseBody/scheduleInformation/scheduleItems.php 0000644 00000004755 14713400346 0027376 0 ustar 00 'end', 'eventId' => 'eventId', 'organizer' => 'organizer', 'start' => 'start', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return scheduleItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } calendar_1_0/Models/GetMeetingRoomsScheduleResponseBody/scheduleInformation/scheduleItems/end.php 0000644 00000002211 14713400346 0030046 0 ustar 00 src 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } Models/GetMeetingRoomsScheduleResponseBody/scheduleInformation/scheduleItems/organizer.php 0000644 00000001477 14713400346 0031315 0 ustar 00 src/calendar_1_0 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } calendar_1_0/Models/GetMeetingRoomsScheduleResponseBody/scheduleInformation/scheduleItems/start.php 0000644 00000002215 14713400346 0030441 0 ustar 00 src 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetScheduleByMeHeaders.php 0000644 00000003065 14713400346 0015752 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetScheduleByMeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetScheduleByMeRequest.php 0000644 00000003150 14713400346 0016022 0 ustar 00 'endTime', 'startTime' => 'startTime', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetScheduleByMeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/calendar_1_0/Models/GetScheduleByMeResponse.php 0000644 00000002732 14713400346 0016175 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetScheduleByMeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetScheduleByMeResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetScheduleByMeResponseBody.php 0000644 00000003164 14713400346 0017013 0 ustar 00 'scheduleInformation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scheduleInformation) { $res['scheduleInformation'] = []; if (null !== $this->scheduleInformation && \is_array($this->scheduleInformation)) { $n = 0; foreach ($this->scheduleInformation as $item) { $res['scheduleInformation'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetScheduleByMeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scheduleInformation'])) { if (!empty($map['scheduleInformation'])) { $model->scheduleInformation = []; $n = 0; foreach ($map['scheduleInformation'] as $item) { $model->scheduleInformation[$n++] = null !== $item ? scheduleInformation::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/GetScheduleByMeResponseBody/scheduleInformation.php 0000644 00000004112 14713400346 0023007 0 ustar 00 'error', 'scheduleItems' => 'scheduleItems', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->error) { $res['error'] = $this->error; } if (null !== $this->scheduleItems) { $res['scheduleItems'] = []; if (null !== $this->scheduleItems && \is_array($this->scheduleItems)) { $n = 0; foreach ($this->scheduleItems as $item) { $res['scheduleItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return scheduleInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['error'])) { $model->error = $map['error']; } if (isset($map['scheduleItems'])) { if (!empty($map['scheduleItems'])) { $model->scheduleItems = []; $n = 0; foreach ($map['scheduleItems'] as $item) { $model->scheduleItems[$n++] = null !== $item ? scheduleItems::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/GetScheduleByMeResponseBody/scheduleInformation/scheduleItems.php 0000644 00000003303 14713400346 0025606 0 ustar 00 'end', 'start' => 'start', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return scheduleItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/calendar_1_0/Models/GetScheduleByMeResponseBody/scheduleInformation/scheduleItems/end.php 0000644 00000002601 14713400346 0026354 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetScheduleByMeResponseBody/scheduleInformation/scheduleItems/start.php 0000644 00000002605 14713400346 0026747 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetScheduleHeaders.php 0000644 00000002326 14713400346 0015174 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetScheduleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetScheduleRequest.php 0000644 00000003304 14713400346 0015246 0 ustar 00 'endTime', 'startTime' => 'startTime', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return GetScheduleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/calendar_1_0/Models/GetScheduleResponse.php 0000644 00000002712 14713400346 0015416 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetScheduleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetScheduleResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetScheduleResponseBody.php 0000644 00000003150 14713400346 0016231 0 ustar 00 'scheduleInformation', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scheduleInformation) { $res['scheduleInformation'] = []; if (null !== $this->scheduleInformation && \is_array($this->scheduleInformation)) { $n = 0; foreach ($this->scheduleInformation as $item) { $res['scheduleInformation'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetScheduleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scheduleInformation'])) { if (!empty($map['scheduleInformation'])) { $model->scheduleInformation = []; $n = 0; foreach ($map['scheduleInformation'] as $item) { $model->scheduleInformation[$n++] = null !== $item ? scheduleInformation::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/GetScheduleResponseBody/scheduleInformation.php 0000644 00000004102 14713400346 0022231 0 ustar 00 'error', 'scheduleItems' => 'scheduleItems', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->error) { $res['error'] = $this->error; } if (null !== $this->scheduleItems) { $res['scheduleItems'] = []; if (null !== $this->scheduleItems && \is_array($this->scheduleItems)) { $n = 0; foreach ($this->scheduleItems as $item) { $res['scheduleItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return scheduleInformation */ public static function fromMap($map = []) { $model = new self(); if (isset($map['error'])) { $model->error = $map['error']; } if (isset($map['scheduleItems'])) { if (!empty($map['scheduleItems'])) { $model->scheduleItems = []; $n = 0; foreach ($map['scheduleItems'] as $item) { $model->scheduleItems[$n++] = null !== $item ? scheduleItems::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/GetScheduleResponseBody/scheduleInformation/scheduleItems.php 0000644 00000003267 14713400346 0025042 0 ustar 00 'end', 'start' => 'start', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return scheduleItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/calendar_1_0/Models/GetScheduleResponseBody/scheduleInformation/scheduleItems/end.php 0000644 00000002575 14713400346 0025611 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetScheduleResponseBody/scheduleInformation/scheduleItems/start.php 0000644 00000002601 14713400346 0026166 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/GetSignInLinkHeaders.php 0000644 00000002332 14713400346 0015442 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignInLinkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetSignInLinkResponse.php 0000644 00000002722 14713400346 0015670 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignInLinkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignInLinkResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetSignInLinkResponseBody.php 0000644 00000001541 14713400346 0016504 0 ustar 00 'signInLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->signInLink) { $res['signInLink'] = $this->signInLink; } return $res; } /** * @param array $map * * @return GetSignInLinkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['signInLink'])) { $model->signInLink = $map['signInLink']; } return $model; } } src/calendar_1_0/Models/GetSignInListHeaders.php 0000644 00000002332 14713400346 0015460 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignInListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetSignInListRequest.php 0000644 00000003016 14713400346 0015535 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetSignInListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/GetSignInListResponse.php 0000644 00000002722 14713400346 0015706 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignInListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignInListResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetSignInListResponseBody.php 0000644 00000003237 14713400346 0016526 0 ustar 00 'nextToken', 'users' => 'users', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->users) { $res['users'] = []; if (null !== $this->users && \is_array($this->users)) { $n = 0; foreach ($this->users as $item) { $res['users'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetSignInListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['users'])) { if (!empty($map['users'])) { $model->users = []; $n = 0; foreach ($map['users'] as $item) { $model->users[$n++] = null !== $item ? users::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/GetSignInListResponseBody/users.php 0000644 00000002647 14713400346 0017673 0 ustar 00 'checkInTime', 'displayName' => 'displayName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkInTime) { $res['checkInTime'] = $this->checkInTime; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return users */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkInTime'])) { $model->checkInTime = $map['checkInTime']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/GetSignOutLinkHeaders.php 0000644 00000002334 14713400346 0015645 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignOutLinkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetSignOutLinkResponse.php 0000644 00000002726 14713400346 0016075 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignOutLinkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignOutLinkResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetSignOutLinkResponseBody.php 0000644 00000001554 14713400346 0016711 0 ustar 00 'signOutLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->signOutLink) { $res['signOutLink'] = $this->signOutLink; } return $res; } /** * @param array $map * * @return GetSignOutLinkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['signOutLink'])) { $model->signOutLink = $map['signOutLink']; } return $model; } } src/calendar_1_0/Models/GetSignOutListHeaders.php 0000644 00000002334 14713400346 0015663 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSignOutListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetSignOutListRequest.php 0000644 00000003020 14713400346 0015731 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetSignOutListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/GetSignOutListResponse.php 0000644 00000002726 14713400346 0016113 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSignOutListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSignOutListResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetSignOutListResponseBody.php 0000644 00000003242 14713400346 0016723 0 ustar 00 'nextToken', 'users' => 'users', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->users) { $res['users'] = []; if (null !== $this->users && \is_array($this->users)) { $n = 0; foreach ($this->users as $item) { $res['users'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetSignOutListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['users'])) { if (!empty($map['users'])) { $model->users = []; $n = 0; foreach ($map['users'] as $item) { $model->users[$n++] = null !== $item ? users::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/GetSignOutListResponseBody/users.php 0000644 00000002663 14713400346 0020072 0 ustar 00 'checkOutTime', 'displayName' => 'displayName', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkOutTime) { $res['checkOutTime'] = $this->checkOutTime; } if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return users */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkOutTime'])) { $model->checkOutTime = $map['checkOutTime']; } if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/GetSubscribedCalendarHeaders.php 0000644 00000002352 14713400346 0017156 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSubscribedCalendarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/GetSubscribedCalendarResponse.php 0000644 00000002762 14713400346 0017406 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSubscribedCalendarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSubscribedCalendarResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/GetSubscribedCalendarResponseBody.php 0000644 00000005102 14713400346 0020213 0 ustar 00 'author', 'calendarId' => 'calendarId', 'description' => 'description', 'managers' => 'managers', 'name' => 'name', 'subscribeScope' => 'subscribeScope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->author) { $res['author'] = $this->author; } if (null !== $this->calendarId) { $res['calendarId'] = $this->calendarId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->managers) { $res['managers'] = $this->managers; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->subscribeScope) { $res['subscribeScope'] = null !== $this->subscribeScope ? $this->subscribeScope->toMap() : null; } return $res; } /** * @param array $map * * @return GetSubscribedCalendarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['author'])) { $model->author = $map['author']; } if (isset($map['calendarId'])) { $model->calendarId = $map['calendarId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['managers'])) { if (!empty($map['managers'])) { $model->managers = $map['managers']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['subscribeScope'])) { $model->subscribeScope = subscribeScope::fromMap($map['subscribeScope']); } return $model; } } src/calendar_1_0/Models/GetSubscribedCalendarResponseBody/subscribeScope.php 0000644 00000003326 14713400346 0023174 0 ustar 00 'corpIds', 'openConversationIds' => 'openConversationIds', 'unionIds' => 'unionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpIds) { $res['corpIds'] = $this->corpIds; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->unionIds) { $res['unionIds'] = $this->unionIds; } return $res; } /** * @param array $map * * @return subscribeScope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpIds'])) { if (!empty($map['corpIds'])) { $model->corpIds = $map['corpIds']; } } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['unionIds'])) { if (!empty($map['unionIds'])) { $model->unionIds = $map['unionIds']; } } return $model; } } src/calendar_1_0/Models/ListAclsHeaders.php 0000644 00000002320 14713400346 0014510 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAclsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListAclsResponse.php 0000644 00000002676 14713400346 0014751 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAclsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAclsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListAclsResponseBody.php 0000644 00000002521 14713400346 0015554 0 ustar 00 'acls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->acls) { $res['acls'] = []; if (null !== $this->acls && \is_array($this->acls)) { $n = 0; foreach ($this->acls as $item) { $res['acls'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListAclsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['acls'])) { if (!empty($map['acls'])) { $model->acls = []; $n = 0; foreach ($map['acls'] as $item) { $model->acls[$n++] = null !== $item ? acls::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/ListAclsResponseBody/acls.php 0000644 00000002740 14713400346 0016501 0 ustar 00 'aclId', 'privilege' => 'privilege', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aclId) { $res['aclId'] = $this->aclId; } if (null !== $this->privilege) { $res['privilege'] = $this->privilege; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } return $res; } /** * @param array $map * * @return acls */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aclId'])) { $model->aclId = $map['aclId']; } if (isset($map['privilege'])) { $model->privilege = $map['privilege']; } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } return $model; } } src/calendar_1_0/Models/ListAclsResponseBody/acls/scope.php 0000644 00000002133 14713400346 0017606 0 ustar 00 'scopeType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/calendar_1_0/Models/ListAttendeesHeaders.php 0000644 00000002332 14713400346 0015545 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAttendeesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListAttendeesRequest.php 0000644 00000002176 14713400346 0015630 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListAttendeesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/calendar_1_0/Models/ListAttendeesResponse.php 0000644 00000002722 14713400346 0015773 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAttendeesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAttendeesResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListAttendeesResponseBody.php 0000644 00000003343 14713400346 0016611 0 ustar 00 'attendees', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListAttendeesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/calendar_1_0/Models/ListAttendeesResponseBody/attendees.php 0000644 00000003753 14713400346 0020572 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListCalendarsHeaders.php 0000644 00000002332 14713400346 0015525 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListCalendarsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListCalendarsResponse.php 0000644 00000002722 14713400346 0015753 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListCalendarsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListCalendarsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListCalendarsResponseBody.php 0000644 00000001746 14713400346 0016576 0 ustar 00 'response', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->response) { $res['response'] = null !== $this->response ? $this->response->toMap() : null; } return $res; } /** * @param array $map * * @return ListCalendarsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['response'])) { $model->response = response::fromMap($map['response']); } return $model; } } src/calendar_1_0/Models/ListCalendarsResponseBody/response.php 0000644 00000002762 14713400346 0020433 0 ustar 00 'calendars', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->calendars) { $res['calendars'] = []; if (null !== $this->calendars && \is_array($this->calendars)) { $n = 0; foreach ($this->calendars as $item) { $res['calendars'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return response */ public static function fromMap($map = []) { $model = new self(); if (isset($map['calendars'])) { if (!empty($map['calendars'])) { $model->calendars = []; $n = 0; foreach ($map['calendars'] as $item) { $model->calendars[$n++] = null !== $item ? calendars::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/ListCalendarsResponseBody/response/calendars.php 0000644 00000005342 14713400346 0022364 0 ustar 00 'description', 'eTag' => 'eTag', 'id' => 'id', 'privilege' => 'privilege', 'summary' => 'summary', 'timeZone' => 'timeZone', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->eTag) { $res['eTag'] = $this->eTag; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->privilege) { $res['privilege'] = $this->privilege; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return calendars */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['eTag'])) { $model->eTag = $map['eTag']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['privilege'])) { $model->privilege = $map['privilege']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsHeaders.php 0000644 00000002324 14713400346 0015076 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListEventsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesHeaders.php 0000644 00000002346 14713400346 0016752 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListEventsInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesRequest.php 0000644 00000004025 14713400346 0017023 0 ustar 00 'maxAttendees', 'maxResults' => 'maxResults', 'seriesMasterId' => 'seriesMasterId', 'startRecurrenceId' => 'startRecurrenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxAttendees) { $res['maxAttendees'] = $this->maxAttendees; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->startRecurrenceId) { $res['startRecurrenceId'] = $this->startRecurrenceId; } return $res; } /** * @param array $map * * @return ListEventsInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxAttendees'])) { $model->maxAttendees = $map['maxAttendees']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['startRecurrenceId'])) { $model->startRecurrenceId = $map['startRecurrenceId']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponse.php 0000644 00000002752 14713400346 0017176 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListEventsInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListEventsInstancesResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody.php 0000644 00000002626 14713400346 0020014 0 ustar 00 'events', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->events) { $res['events'] = []; if (null !== $this->events && \is_array($this->events)) { $n = 0; foreach ($this->events as $item) { $res['events'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListEventsInstancesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = []; $n = 0; foreach ($map['events'] as $item) { $model->events[$n++] = null !== $item ? events::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events.php 0000644 00000021006 14713400346 0021311 0 ustar 00 'attendees', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'extendedProperties' => 'extendedProperties', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'seriesMasterId' => 'seriesMasterId', 'start' => 'start', 'status' => 'status', 'summary' => 'summary', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extendedProperties) { $res['extendedProperties'] = null !== $this->extendedProperties ? $this->extendedProperties->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return events */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extendedProperties'])) { $model->extendedProperties = extendedProperties::fromMap($map['extendedProperties']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/attendees.php 0000644 00000004175 14713400346 0023275 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/end.php 0000644 00000002742 14713400346 0022065 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/extendedProperties.php 0000644 00000002207 14713400346 0025170 0 ustar 00 'sharedProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sharedProperties) { $res['sharedProperties'] = null !== $this->sharedProperties ? $this->sharedProperties->toMap() : null; } return $res; } /** * @param array $map * * @return extendedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sharedProperties'])) { $model->sharedProperties = sharedProperties::fromMap($map['sharedProperties']); } return $model; } } calendar_1_0/Models/ListEventsInstancesResponseBody/events/extendedProperties/sharedProperties.php 0000644 00000001644 14713400346 0030440 0 ustar 00 src 'sourceOpenCid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sourceOpenCid) { $res['sourceOpenCid'] = $this->sourceOpenCid; } return $res; } /** * @param array $map * * @return sharedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sourceOpenCid'])) { $model->sourceOpenCid = $map['sourceOpenCid']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/location.php 0000644 00000002432 14713400346 0023123 0 ustar 00 'displayName', 'meetingRooms' => 'meetingRooms', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = $this->meetingRooms; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = $map['meetingRooms']; } } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/onlineMeetingInfo.php 0000644 00000003120 14713400346 0024717 0 ustar 00 'conferenceId', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/organizer.php 0000644 00000003510 14713400346 0023311 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/recurrence.php 0000644 00000002644 14713400346 0023455 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/recurrence/pattern.php 0000644 00000004124 14713400346 0025125 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/recurrence/range.php 0000644 00000003224 14713400346 0024544 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/reminders.php 0000644 00000002225 14713400346 0023303 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/ListEventsInstancesResponseBody/events/start.php 0000644 00000002746 14713400346 0022460 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsRequest.php 0000644 00000006146 14713400346 0015161 0 ustar 00 'maxAttendees', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'seriesMasterId' => 'seriesMasterId', 'showDeleted' => 'showDeleted', 'syncToken' => 'syncToken', 'timeMax' => 'timeMax', 'timeMin' => 'timeMin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxAttendees) { $res['maxAttendees'] = $this->maxAttendees; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->showDeleted) { $res['showDeleted'] = $this->showDeleted; } if (null !== $this->syncToken) { $res['syncToken'] = $this->syncToken; } if (null !== $this->timeMax) { $res['timeMax'] = $this->timeMax; } if (null !== $this->timeMin) { $res['timeMin'] = $this->timeMin; } return $res; } /** * @param array $map * * @return ListEventsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxAttendees'])) { $model->maxAttendees = $map['maxAttendees']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['showDeleted'])) { $model->showDeleted = $map['showDeleted']; } if (isset($map['syncToken'])) { $model->syncToken = $map['syncToken']; } if (isset($map['timeMax'])) { $model->timeMax = $map['timeMax']; } if (isset($map['timeMin'])) { $model->timeMin = $map['timeMin']; } return $model; } } src/calendar_1_0/Models/ListEventsResponse.php 0000644 00000002706 14713400346 0015325 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListEventsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListEventsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody.php 0000644 00000003720 14713400346 0016140 0 ustar 00 'events', 'nextToken' => 'nextToken', 'syncToken' => 'syncToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->events) { $res['events'] = []; if (null !== $this->events && \is_array($this->events)) { $n = 0; foreach ($this->events as $item) { $res['events'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->syncToken) { $res['syncToken'] = $this->syncToken; } return $res; } /** * @param array $map * * @return ListEventsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = []; $n = 0; foreach ($map['events'] as $item) { $model->events[$n++] = null !== $item ? events::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['syncToken'])) { $model->syncToken = $map['syncToken']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events.php 0000644 00000026020 14713400346 0017442 0 ustar 00 'attendees', 'categories' => 'categories', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'extendedProperties' => 'extendedProperties', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'meetingRooms' => 'meetingRooms', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'originStart' => 'originStart', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'seriesMasterId' => 'seriesMasterId', 'start' => 'start', 'status' => 'status', 'summary' => 'summary', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->categories) { $res['categories'] = []; if (null !== $this->categories && \is_array($this->categories)) { $n = 0; foreach ($this->categories as $item) { $res['categories'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extendedProperties) { $res['extendedProperties'] = null !== $this->extendedProperties ? $this->extendedProperties->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = []; if (null !== $this->meetingRooms && \is_array($this->meetingRooms)) { $n = 0; foreach ($this->meetingRooms as $item) { $res['meetingRooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->originStart) { $res['originStart'] = null !== $this->originStart ? $this->originStart->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return events */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['categories'])) { if (!empty($map['categories'])) { $model->categories = []; $n = 0; foreach ($map['categories'] as $item) { $model->categories[$n++] = null !== $item ? categories::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extendedProperties'])) { $model->extendedProperties = extendedProperties::fromMap($map['extendedProperties']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = []; $n = 0; foreach ($map['meetingRooms'] as $item) { $model->meetingRooms[$n++] = null !== $item ? meetingRooms::fromMap($item) : $item; } } } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['originStart'])) { $model->originStart = originStart::fromMap($map['originStart']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/attendees.php 0000644 00000003757 14713400346 0021432 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/categories.php 0000644 00000001552 14713400346 0021572 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return categories */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/end.php 0000644 00000002541 14713400346 0020212 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/extendedProperties.php 0000644 00000002165 14713400346 0023323 0 ustar 00 'sharedProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sharedProperties) { $res['sharedProperties'] = null !== $this->sharedProperties ? $this->sharedProperties->toMap() : null; } return $res; } /** * @param array $map * * @return extendedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sharedProperties'])) { $model->sharedProperties = sharedProperties::fromMap($map['sharedProperties']); } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/extendedProperties/sharedProperties.php 0000644 00000002340 14713400346 0026641 0 ustar 00 'belongCorpId', 'sourceOpenCid' => 'sourceOpenCid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongCorpId) { $res['belongCorpId'] = $this->belongCorpId; } if (null !== $this->sourceOpenCid) { $res['sourceOpenCid'] = $this->sourceOpenCid; } return $res; } /** * @param array $map * * @return sharedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongCorpId'])) { $model->belongCorpId = $map['belongCorpId']; } if (isset($map['sourceOpenCid'])) { $model->sourceOpenCid = $map['sourceOpenCid']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/location.php 0000644 00000002357 14713400346 0021261 0 ustar 00 'displayName', 'meetingRooms' => 'meetingRooms', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = $this->meetingRooms; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = $map['meetingRooms']; } } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/meetingRooms.php 0000644 00000002735 14713400346 0022121 0 ustar 00 'displayName', 'responseStatus' => 'responseStatus', 'roomId' => 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/onlineMeetingInfo.php 0000644 00000003256 14713400346 0023061 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/organizer.php 0000644 00000003273 14713400346 0021447 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/originStart.php 0000644 00000001521 14713400346 0021746 0 ustar 00 'dateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } return $res; } /** * @param array $map * * @return originStart */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/recurrence.php 0000644 00000002611 14713400346 0021577 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/recurrence/pattern.php 0000644 00000004452 14713400346 0023261 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/recurrence/range.php 0000644 00000003044 14713400346 0022674 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/reminders.php 0000644 00000002123 14713400346 0021430 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/richTextDescription.php 0000644 00000001475 14713400346 0023447 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/ListEventsResponseBody/events/start.php 0000644 00000002545 14713400346 0020605 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeHeaders.php 0000644 00000003073 14713400346 0016510 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListEventsViewByMeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeRequest.php 0000644 00000004221 14713400346 0016561 0 ustar 00 'maxAttendees', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'timeMax' => 'timeMax', 'timeMin' => 'timeMin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxAttendees) { $res['maxAttendees'] = $this->maxAttendees; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->timeMax) { $res['timeMax'] = $this->timeMax; } if (null !== $this->timeMin) { $res['timeMin'] = $this->timeMin; } return $res; } /** * @param array $map * * @return ListEventsViewByMeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxAttendees'])) { $model->maxAttendees = $map['maxAttendees']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['timeMax'])) { $model->timeMax = $map['timeMax']; } if (isset($map['timeMin'])) { $model->timeMin = $map['timeMin']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponse.php 0000644 00000002746 14713400346 0016741 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListEventsViewByMeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListEventsViewByMeResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody.php 0000644 00000003277 14713400346 0017557 0 ustar 00 'events', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->events) { $res['events'] = []; if (null !== $this->events && \is_array($this->events)) { $n = 0; foreach ($this->events as $item) { $res['events'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListEventsViewByMeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = []; $n = 0; foreach ($map['events'] as $item) { $model->events[$n++] = null !== $item ? events::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events.php 0000644 00000024337 14713400346 0021063 0 ustar 00 'attendees', 'categories' => 'categories', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'extendedProperties' => 'extendedProperties', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'meetingRooms' => 'meetingRooms', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'originStart' => 'originStart', 'recurrence' => 'recurrence', 'richTextDescription' => 'richTextDescription', 'seriesMasterId' => 'seriesMasterId', 'start' => 'start', 'status' => 'status', 'summary' => 'summary', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->categories) { $res['categories'] = []; if (null !== $this->categories && \is_array($this->categories)) { $n = 0; foreach ($this->categories as $item) { $res['categories'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extendedProperties) { $res['extendedProperties'] = null !== $this->extendedProperties ? $this->extendedProperties->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = []; if (null !== $this->meetingRooms && \is_array($this->meetingRooms)) { $n = 0; foreach ($this->meetingRooms as $item) { $res['meetingRooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->originStart) { $res['originStart'] = null !== $this->originStart ? $this->originStart->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return events */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['categories'])) { if (!empty($map['categories'])) { $model->categories = []; $n = 0; foreach ($map['categories'] as $item) { $model->categories[$n++] = null !== $item ? categories::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extendedProperties'])) { $model->extendedProperties = extendedProperties::fromMap($map['extendedProperties']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = []; $n = 0; foreach ($map['meetingRooms'] as $item) { $model->meetingRooms[$n++] = null !== $item ? meetingRooms::fromMap($item) : $item; } } } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['originStart'])) { $model->originStart = originStart::fromMap($map['originStart']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/attendees.php 0000644 00000003767 14713400346 0023043 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/categories.php 0000644 00000001562 14713400346 0023203 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return categories */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/end.php 0000644 00000002551 14713400346 0021623 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/extendedProperties.php 0000644 00000002205 14713400346 0024726 0 ustar 00 'sharedProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sharedProperties) { $res['sharedProperties'] = null !== $this->sharedProperties ? $this->sharedProperties->toMap() : null; } return $res; } /** * @param array $map * * @return extendedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sharedProperties'])) { $model->sharedProperties = sharedProperties::fromMap($map['sharedProperties']); } return $model; } } calendar_1_0/Models/ListEventsViewByMeResponseBody/events/extendedProperties/sharedProperties.php 0000644 00000002350 14713400346 0030173 0 ustar 00 src 'belongCorpId', 'sourceOpenCid' => 'sourceOpenCid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongCorpId) { $res['belongCorpId'] = $this->belongCorpId; } if (null !== $this->sourceOpenCid) { $res['sourceOpenCid'] = $this->sourceOpenCid; } return $res; } /** * @param array $map * * @return sharedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongCorpId'])) { $model->belongCorpId = $map['belongCorpId']; } if (isset($map['sourceOpenCid'])) { $model->sourceOpenCid = $map['sourceOpenCid']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/location.php 0000644 00000002367 14713400346 0022672 0 ustar 00 'displayName', 'meetingRooms' => 'meetingRooms', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = $this->meetingRooms; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = $map['meetingRooms']; } } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/meetingRooms.php 0000644 00000002745 14713400346 0023532 0 ustar 00 'displayName', 'responseStatus' => 'responseStatus', 'roomId' => 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/onlineMeetingInfo.php 0000644 00000003266 14713400346 0024472 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/organizer.php 0000644 00000003303 14713400346 0023051 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/originStart.php 0000644 00000001531 14713400346 0023357 0 ustar 00 'dateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } return $res; } /** * @param array $map * * @return originStart */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/recurrence.php 0000644 00000002641 14713400346 0023212 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/recurrence/pattern.php 0000644 00000004462 14713400346 0024672 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/recurrence/range.php 0000644 00000003054 14713400346 0024305 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/richTextDescription.php 0000644 00000001505 14713400346 0025051 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/ListEventsViewByMeResponseBody/events/start.php 0000644 00000002555 14713400346 0022216 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsViewHeaders.php 0000644 00000002334 14713400346 0015732 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListEventsViewHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListEventsViewRequest.php 0000644 00000004211 14713400346 0016003 0 ustar 00 'maxAttendees', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'timeMax' => 'timeMax', 'timeMin' => 'timeMin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxAttendees) { $res['maxAttendees'] = $this->maxAttendees; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->timeMax) { $res['timeMax'] = $this->timeMax; } if (null !== $this->timeMin) { $res['timeMin'] = $this->timeMin; } return $res; } /** * @param array $map * * @return ListEventsViewRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxAttendees'])) { $model->maxAttendees = $map['maxAttendees']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['timeMax'])) { $model->timeMax = $map['timeMax']; } if (isset($map['timeMin'])) { $model->timeMin = $map['timeMin']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponse.php 0000644 00000002726 14713400346 0016162 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListEventsViewResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListEventsViewResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody.php 0000644 00000003263 14713400346 0016775 0 ustar 00 'events', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->events) { $res['events'] = []; if (null !== $this->events && \is_array($this->events)) { $n = 0; foreach ($this->events as $item) { $res['events'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListEventsViewResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = []; $n = 0; foreach ($map['events'] as $item) { $model->events[$n++] = null !== $item ? events::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events.php 0000644 00000024253 14713400346 0020303 0 ustar 00 'attendees', 'categories' => 'categories', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'extendedProperties' => 'extendedProperties', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'meetingRooms' => 'meetingRooms', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'originStart' => 'originStart', 'recurrence' => 'recurrence', 'richTextDescription' => 'richTextDescription', 'seriesMasterId' => 'seriesMasterId', 'start' => 'start', 'status' => 'status', 'summary' => 'summary', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->categories) { $res['categories'] = []; if (null !== $this->categories && \is_array($this->categories)) { $n = 0; foreach ($this->categories as $item) { $res['categories'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extendedProperties) { $res['extendedProperties'] = null !== $this->extendedProperties ? $this->extendedProperties->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = []; if (null !== $this->meetingRooms && \is_array($this->meetingRooms)) { $n = 0; foreach ($this->meetingRooms as $item) { $res['meetingRooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->originStart) { $res['originStart'] = null !== $this->originStart ? $this->originStart->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return events */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['categories'])) { if (!empty($map['categories'])) { $model->categories = []; $n = 0; foreach ($map['categories'] as $item) { $model->categories[$n++] = null !== $item ? categories::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extendedProperties'])) { $model->extendedProperties = extendedProperties::fromMap($map['extendedProperties']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = []; $n = 0; foreach ($map['meetingRooms'] as $item) { $model->meetingRooms[$n++] = null !== $item ? meetingRooms::fromMap($item) : $item; } } } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['originStart'])) { $model->originStart = originStart::fromMap($map['originStart']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/attendees.php 0000644 00000003763 14713400346 0022262 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/categories.php 0000644 00000001556 14713400346 0022431 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return categories */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/end.php 0000644 00000002545 14713400346 0021051 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/extendedProperties.php 0000644 00000002175 14713400346 0024157 0 ustar 00 'sharedProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sharedProperties) { $res['sharedProperties'] = null !== $this->sharedProperties ? $this->sharedProperties->toMap() : null; } return $res; } /** * @param array $map * * @return extendedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sharedProperties'])) { $model->sharedProperties = sharedProperties::fromMap($map['sharedProperties']); } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/extendedProperties/sharedProperties.php 0000644 00000002344 14713400346 0027500 0 ustar 00 'belongCorpId', 'sourceOpenCid' => 'sourceOpenCid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongCorpId) { $res['belongCorpId'] = $this->belongCorpId; } if (null !== $this->sourceOpenCid) { $res['sourceOpenCid'] = $this->sourceOpenCid; } return $res; } /** * @param array $map * * @return sharedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongCorpId'])) { $model->belongCorpId = $map['belongCorpId']; } if (isset($map['sourceOpenCid'])) { $model->sourceOpenCid = $map['sourceOpenCid']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/location.php 0000644 00000002363 14713400346 0022111 0 ustar 00 'displayName', 'meetingRooms' => 'meetingRooms', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = $this->meetingRooms; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = $map['meetingRooms']; } } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/meetingRooms.php 0000644 00000002741 14713400346 0022751 0 ustar 00 'displayName', 'responseStatus' => 'responseStatus', 'roomId' => 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/onlineMeetingInfo.php 0000644 00000003262 14713400346 0023711 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/organizer.php 0000644 00000003277 14713400346 0022306 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/originStart.php 0000644 00000001525 14713400346 0022605 0 ustar 00 'dateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } return $res; } /** * @param array $map * * @return originStart */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/recurrence.php 0000644 00000002625 14713400346 0022437 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/recurrence/pattern.php 0000644 00000004456 14713400346 0024120 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/recurrence/range.php 0000644 00000003050 14713400346 0023524 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/richTextDescription.php 0000644 00000001501 14713400346 0024270 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/ListEventsViewResponseBody/events/start.php 0000644 00000002551 14713400346 0021435 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListInstancesHeaders.php 0000644 00000002332 14713400346 0015560 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListInstancesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/ListInstancesRequest.php 0000644 00000004242 14713400346 0015637 0 ustar 00 'maxAttendees', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'timeMax' => 'timeMax', 'timeMin' => 'timeMin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxAttendees) { $res['maxAttendees'] = $this->maxAttendees; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->timeMax) { $res['timeMax'] = $this->timeMax; } if (null !== $this->timeMin) { $res['timeMin'] = $this->timeMin; } return $res; } /** * @param array $map * * @return ListInstancesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxAttendees'])) { $model->maxAttendees = $map['maxAttendees']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['timeMax'])) { $model->timeMax = $map['timeMax']; } if (isset($map['timeMin'])) { $model->timeMin = $map['timeMin']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponse.php 0000644 00000002722 14713400346 0016006 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListInstancesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListInstancesResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody.php 0000644 00000003260 14713400346 0016622 0 ustar 00 'events', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->events) { $res['events'] = []; if (null !== $this->events && \is_array($this->events)) { $n = 0; foreach ($this->events as $item) { $res['events'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListInstancesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['events'])) { if (!empty($map['events'])) { $model->events = []; $n = 0; foreach ($map['events'] as $item) { $model->events[$n++] = null !== $item ? events::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events.php 0000644 00000022101 14713400346 0020121 0 ustar 00 'attendees', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'extendedProperties' => 'extendedProperties', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'meetingRooms' => 'meetingRooms', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'seriesMasterId' => 'seriesMasterId', 'start' => 'start', 'status' => 'status', 'summary' => 'summary', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extendedProperties) { $res['extendedProperties'] = null !== $this->extendedProperties ? $this->extendedProperties->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = []; if (null !== $this->meetingRooms && \is_array($this->meetingRooms)) { $n = 0; foreach ($this->meetingRooms as $item) { $res['meetingRooms'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->seriesMasterId) { $res['seriesMasterId'] = $this->seriesMasterId; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return events */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extendedProperties'])) { $model->extendedProperties = extendedProperties::fromMap($map['extendedProperties']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = []; $n = 0; foreach ($map['meetingRooms'] as $item) { $model->meetingRooms[$n++] = null !== $item ? meetingRooms::fromMap($item) : $item; } } } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['seriesMasterId'])) { $model->seriesMasterId = $map['seriesMasterId']; } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/attendees.php 0000644 00000003762 14713400346 0022111 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/end.php 0000644 00000002544 14713400346 0020700 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/extendedProperties.php 0000644 00000002173 14713400346 0024005 0 ustar 00 'sharedProperties', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sharedProperties) { $res['sharedProperties'] = null !== $this->sharedProperties ? $this->sharedProperties->toMap() : null; } return $res; } /** * @param array $map * * @return extendedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sharedProperties'])) { $model->sharedProperties = sharedProperties::fromMap($map['sharedProperties']); } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/extendedProperties/sharedProperties.php 0000644 00000002343 14713400346 0027327 0 ustar 00 'belongCorpId', 'sourceOpenCid' => 'sourceOpenCid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongCorpId) { $res['belongCorpId'] = $this->belongCorpId; } if (null !== $this->sourceOpenCid) { $res['sourceOpenCid'] = $this->sourceOpenCid; } return $res; } /** * @param array $map * * @return sharedProperties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongCorpId'])) { $model->belongCorpId = $map['belongCorpId']; } if (isset($map['sourceOpenCid'])) { $model->sourceOpenCid = $map['sourceOpenCid']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/location.php 0000644 00000001551 14713400346 0021737 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/meetingRooms.php 0000644 00000002740 14713400346 0022600 0 ustar 00 'displayName', 'responseStatus' => 'responseStatus', 'roomId' => 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRooms */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/onlineMeetingInfo.php 0000644 00000003261 14713400346 0023540 0 ustar 00 'conferenceId', 'extraInfo' => 'extraInfo', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->extraInfo) { $res['extraInfo'] = $this->extraInfo; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['extraInfo'])) { $model->extraInfo = $map['extraInfo']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/organizer.php 0000644 00000003276 14713400346 0022135 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/recurrence.php 0000644 00000002622 14713400346 0022264 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/recurrence/pattern.php 0000644 00000003703 14713400346 0023742 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/recurrence/range.php 0000644 00000003047 14713400346 0023362 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/reminders.php 0000644 00000002126 14713400346 0022116 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/ListInstancesResponseBody/events/start.php 0000644 00000002550 14713400346 0021264 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/MeetingRoomRespondHeaders.php 0000644 00000003562 14713400346 0016563 0 ustar 00 'userAgent', 'xClientToken' => 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->userAgent) { $res['userAgent'] = $this->userAgent; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MeetingRoomRespondHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['userAgent'])) { $model->userAgent = $map['userAgent']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/MeetingRoomRespondRequest.php 0000644 00000001605 14713400346 0016634 0 ustar 00 'responseStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } return $res; } /** * @param array $map * * @return MeetingRoomRespondRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } return $model; } } src/calendar_1_0/Models/MeetingRoomRespondResponse.php 0000644 00000002746 14713400346 0017011 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MeetingRoomRespondResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MeetingRoomRespondResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/MeetingRoomRespondResponseBody.php 0000644 00000001505 14713400346 0017617 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return MeetingRoomRespondResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/calendar_1_0/Models/PatchEventHeaders.php 0000644 00000003053 14713400346 0015037 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PatchEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest.php 0000644 00000020561 14713400346 0015117 0 ustar 00 'attendees', 'cardInstances' => 'cardInstances', 'description' => 'description', 'end' => 'end', 'extra' => 'extra', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'start' => 'start', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardInstances) { $res['cardInstances'] = []; if (null !== $this->cardInstances && \is_array($this->cardInstances)) { $n = 0; foreach ($this->cardInstances as $item) { $res['cardInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->extra) { $res['extra'] = $this->extra; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return PatchEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['cardInstances'])) { if (!empty($map['cardInstances'])) { $model->cardInstances = []; $n = 0; foreach ($map['cardInstances'] as $item) { $model->cardInstances[$n++] = null !== $item ? cardInstances::fromMap($item) : $item; } } } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['extra'])) { $model->extra = $map['extra']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/PatchEventRequest/attendees.php 0000644 00000002515 14713400346 0017072 0 ustar 00 'email', 'id' => 'id', 'isOptional' => 'isOptional', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/cardInstances.php 0000644 00000002175 14713400346 0017701 0 ustar 00 'outTrackId', 'scenario' => 'scenario', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->scenario) { $res['scenario'] = $this->scenario; } return $res; } /** * @param array $map * * @return cardInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['scenario'])) { $model->scenario = $map['scenario']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/end.php 0000644 00000002525 14713400346 0015665 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/location.php 0000644 00000001532 14713400346 0016724 0 ustar 00 'displayName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/onlineMeetingInfo.php 0000644 00000001455 14713400346 0020531 0 ustar 00 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/recurrence.php 0000644 00000002545 14713400346 0017256 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/PatchEventRequest/recurrence/pattern.php 0000644 00000004436 14713400346 0020734 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/recurrence/range.php 0000644 00000003030 14713400346 0020340 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/reminders.php 0000644 00000002104 14713400346 0017100 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/richTextDescription.php 0000644 00000001461 14713400346 0021113 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/start.php 0000644 00000002531 14713400346 0016251 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/PatchEventRequest/uiConfigs.php 0000644 00000002277 14713400346 0017051 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/PatchEventResponse.php 0000644 00000002706 14713400346 0015266 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PatchEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PatchEventResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody.php 0000644 00000022545 14713400346 0016107 0 ustar 00 'attendees', 'cardInstances' => 'cardInstances', 'createTime' => 'createTime', 'description' => 'description', 'end' => 'end', 'id' => 'id', 'isAllDay' => 'isAllDay', 'location' => 'location', 'onlineMeetingInfo' => 'onlineMeetingInfo', 'organizer' => 'organizer', 'recurrence' => 'recurrence', 'reminders' => 'reminders', 'richTextDescription' => 'richTextDescription', 'start' => 'start', 'summary' => 'summary', 'uiConfigs' => 'uiConfigs', 'updateTime' => 'updateTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendees) { $res['attendees'] = []; if (null !== $this->attendees && \is_array($this->attendees)) { $n = 0; foreach ($this->attendees as $item) { $res['attendees'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->cardInstances) { $res['cardInstances'] = []; if (null !== $this->cardInstances && \is_array($this->cardInstances)) { $n = 0; foreach ($this->cardInstances as $item) { $res['cardInstances'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->end) { $res['end'] = null !== $this->end ? $this->end->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isAllDay) { $res['isAllDay'] = $this->isAllDay; } if (null !== $this->location) { $res['location'] = null !== $this->location ? $this->location->toMap() : null; } if (null !== $this->onlineMeetingInfo) { $res['onlineMeetingInfo'] = null !== $this->onlineMeetingInfo ? $this->onlineMeetingInfo->toMap() : null; } if (null !== $this->organizer) { $res['organizer'] = null !== $this->organizer ? $this->organizer->toMap() : null; } if (null !== $this->recurrence) { $res['recurrence'] = null !== $this->recurrence ? $this->recurrence->toMap() : null; } if (null !== $this->reminders) { $res['reminders'] = []; if (null !== $this->reminders && \is_array($this->reminders)) { $n = 0; foreach ($this->reminders as $item) { $res['reminders'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->richTextDescription) { $res['richTextDescription'] = null !== $this->richTextDescription ? $this->richTextDescription->toMap() : null; } if (null !== $this->start) { $res['start'] = null !== $this->start ? $this->start->toMap() : null; } if (null !== $this->summary) { $res['summary'] = $this->summary; } if (null !== $this->uiConfigs) { $res['uiConfigs'] = []; if (null !== $this->uiConfigs && \is_array($this->uiConfigs)) { $n = 0; foreach ($this->uiConfigs as $item) { $res['uiConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->updateTime) { $res['updateTime'] = $this->updateTime; } return $res; } /** * @param array $map * * @return PatchEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendees'])) { if (!empty($map['attendees'])) { $model->attendees = []; $n = 0; foreach ($map['attendees'] as $item) { $model->attendees[$n++] = null !== $item ? attendees::fromMap($item) : $item; } } } if (isset($map['cardInstances'])) { if (!empty($map['cardInstances'])) { $model->cardInstances = []; $n = 0; foreach ($map['cardInstances'] as $item) { $model->cardInstances[$n++] = null !== $item ? cardInstances::fromMap($item) : $item; } } } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['end'])) { $model->end = end::fromMap($map['end']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isAllDay'])) { $model->isAllDay = $map['isAllDay']; } if (isset($map['location'])) { $model->location = location::fromMap($map['location']); } if (isset($map['onlineMeetingInfo'])) { $model->onlineMeetingInfo = onlineMeetingInfo::fromMap($map['onlineMeetingInfo']); } if (isset($map['organizer'])) { $model->organizer = organizer::fromMap($map['organizer']); } if (isset($map['recurrence'])) { $model->recurrence = recurrence::fromMap($map['recurrence']); } if (isset($map['reminders'])) { if (!empty($map['reminders'])) { $model->reminders = []; $n = 0; foreach ($map['reminders'] as $item) { $model->reminders[$n++] = null !== $item ? reminders::fromMap($item) : $item; } } } if (isset($map['richTextDescription'])) { $model->richTextDescription = richTextDescription::fromMap($map['richTextDescription']); } if (isset($map['start'])) { $model->start = start::fromMap($map['start']); } if (isset($map['summary'])) { $model->summary = $map['summary']; } if (isset($map['uiConfigs'])) { if (!empty($map['uiConfigs'])) { $model->uiConfigs = []; $n = 0; foreach ($map['uiConfigs'] as $item) { $model->uiConfigs[$n++] = null !== $item ? uiConfigs::fromMap($item) : $item; } } } if (isset($map['updateTime'])) { $model->updateTime = $map['updateTime']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/attendees.php 0000644 00000003750 14713400346 0020060 0 ustar 00 'displayName', 'id' => 'id', 'isOptional' => 'isOptional', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isOptional) { $res['isOptional'] = $this->isOptional; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return attendees */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isOptional'])) { $model->isOptional = $map['isOptional']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/cardInstances.php 0000644 00000002202 14713400346 0020654 0 ustar 00 'outTrackId', 'scenario' => 'scenario', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->scenario) { $res['scenario'] = $this->scenario; } return $res; } /** * @param array $map * * @return cardInstances */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['scenario'])) { $model->scenario = $map['scenario']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/end.php 0000644 00000002532 14713400346 0016647 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return end */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/location.php 0000644 00000002350 14713400346 0017707 0 ustar 00 'displayName', 'meetingRooms' => 'meetingRooms', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->meetingRooms) { $res['meetingRooms'] = $this->meetingRooms; } return $res; } /** * @param array $map * * @return location */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['meetingRooms'])) { if (!empty($map['meetingRooms'])) { $model->meetingRooms = $map['meetingRooms']; } } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/onlineMeetingInfo.php 0000644 00000002572 14713400346 0021516 0 ustar 00 'conferenceId', 'type' => 'type', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return onlineMeetingInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/organizer.php 0000644 00000003264 14713400346 0020104 0 ustar 00 'displayName', 'id' => 'id', 'responseStatus' => 'responseStatus', 'self' => 'self', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } if (null !== $this->self) { $res['self'] = $this->self; } return $res; } /** * @param array $map * * @return organizer */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } if (isset($map['self'])) { $model->self = $map['self']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/recurrence.php 0000644 00000002564 14713400346 0020243 0 ustar 00 'pattern', 'range' => 'range', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pattern) { $res['pattern'] = null !== $this->pattern ? $this->pattern->toMap() : null; } if (null !== $this->range) { $res['range'] = null !== $this->range ? $this->range->toMap() : null; } return $res; } /** * @param array $map * * @return recurrence */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pattern'])) { $model->pattern = pattern::fromMap($map['pattern']); } if (isset($map['range'])) { $model->range = range::fromMap($map['range']); } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/recurrence/pattern.php 0000644 00000004443 14713400346 0021716 0 ustar 00 'dayOfMonth', 'daysOfWeek' => 'daysOfWeek', 'firstDayOfWeek' => 'firstDayOfWeek', 'index' => 'index', 'interval' => 'interval', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dayOfMonth) { $res['dayOfMonth'] = $this->dayOfMonth; } if (null !== $this->daysOfWeek) { $res['daysOfWeek'] = $this->daysOfWeek; } if (null !== $this->firstDayOfWeek) { $res['firstDayOfWeek'] = $this->firstDayOfWeek; } if (null !== $this->index) { $res['index'] = $this->index; } if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return pattern */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dayOfMonth'])) { $model->dayOfMonth = $map['dayOfMonth']; } if (isset($map['daysOfWeek'])) { $model->daysOfWeek = $map['daysOfWeek']; } if (isset($map['firstDayOfWeek'])) { $model->firstDayOfWeek = $map['firstDayOfWeek']; } if (isset($map['index'])) { $model->index = $map['index']; } if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/recurrence/range.php 0000644 00000003035 14713400346 0021331 0 ustar 00 'endDate', 'numberOfOccurrences' => 'numberOfOccurrences', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->numberOfOccurrences) { $res['numberOfOccurrences'] = $this->numberOfOccurrences; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return range */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['numberOfOccurrences'])) { $model->numberOfOccurrences = $map['numberOfOccurrences']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/reminders.php 0000644 00000002114 14713400346 0020065 0 ustar 00 'method', 'minutes' => 'minutes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->method) { $res['method'] = $this->method; } if (null !== $this->minutes) { $res['minutes'] = $this->minutes; } return $res; } /** * @param array $map * * @return reminders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['method'])) { $model->method = $map['method']; } if (isset($map['minutes'])) { $model->minutes = $map['minutes']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/richTextDescription.php 0000644 00000001466 14713400346 0022104 0 ustar 00 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return richTextDescription */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/start.php 0000644 00000002536 14713400346 0017242 0 ustar 00 'date', 'dateTime' => 'dateTime', 'timeZone' => 'timeZone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->date) { $res['date'] = $this->date; } if (null !== $this->dateTime) { $res['dateTime'] = $this->dateTime; } if (null !== $this->timeZone) { $res['timeZone'] = $this->timeZone; } return $res; } /** * @param array $map * * @return start */ public static function fromMap($map = []) { $model = new self(); if (isset($map['date'])) { $model->date = $map['date']; } if (isset($map['dateTime'])) { $model->dateTime = $map['dateTime']; } if (isset($map['timeZone'])) { $model->timeZone = $map['timeZone']; } return $model; } } src/calendar_1_0/Models/PatchEventResponseBody/uiConfigs.php 0000644 00000002304 14713400346 0020024 0 ustar 00 'uiName', 'uiStatus' => 'uiStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->uiName) { $res['uiName'] = $this->uiName; } if (null !== $this->uiStatus) { $res['uiStatus'] = $this->uiStatus; } return $res; } /** * @param array $map * * @return uiConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['uiName'])) { $model->uiName = $map['uiName']; } if (isset($map['uiStatus'])) { $model->uiStatus = $map['uiStatus']; } return $model; } } src/calendar_1_0/Models/RemoveAttendeeHeaders.php 0000644 00000003063 14713400346 0015706 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveAttendeeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/RemoveAttendeeRequest.php 0000644 00000003076 14713400346 0015767 0 ustar 00 'attendeesToRemove', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendeesToRemove) { $res['attendeesToRemove'] = []; if (null !== $this->attendeesToRemove && \is_array($this->attendeesToRemove)) { $n = 0; foreach ($this->attendeesToRemove as $item) { $res['attendeesToRemove'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RemoveAttendeeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendeesToRemove'])) { if (!empty($map['attendeesToRemove'])) { $model->attendeesToRemove = []; $n = 0; foreach ($map['attendeesToRemove'] as $item) { $model->attendeesToRemove[$n++] = null !== $item ? attendeesToRemove::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/RemoveAttendeeRequest/attendeesToRemove.php 0000644 00000001437 14713400346 0021423 0 ustar 00 'id', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } return $res; } /** * @param array $map * * @return attendeesToRemove */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } return $model; } } src/calendar_1_0/Models/RemoveAttendeeResponse.php 0000644 00000002164 14713400346 0016132 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return RemoveAttendeeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/calendar_1_0/Models/RemoveMeetingRoomsHeaders.php 0000644 00000003073 14713400346 0016566 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveMeetingRoomsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/RemoveMeetingRoomsRequest.php 0000644 00000003200 14713400346 0016633 0 ustar 00 'meetingRoomsToRemove', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->meetingRoomsToRemove) { $res['meetingRoomsToRemove'] = []; if (null !== $this->meetingRoomsToRemove && \is_array($this->meetingRoomsToRemove)) { $n = 0; foreach ($this->meetingRoomsToRemove as $item) { $res['meetingRoomsToRemove'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RemoveMeetingRoomsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['meetingRoomsToRemove'])) { if (!empty($map['meetingRoomsToRemove'])) { $model->meetingRoomsToRemove = []; $n = 0; foreach ($map['meetingRoomsToRemove'] as $item) { $model->meetingRoomsToRemove[$n++] = null !== $item ? meetingRoomsToRemove::fromMap($item) : $item; } } } return $model; } } src/calendar_1_0/Models/RemoveMeetingRoomsRequest/meetingRoomsToRemove.php 0000644 00000001515 14713400346 0022773 0 ustar 00 'roomId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->roomId) { $res['roomId'] = $this->roomId; } return $res; } /** * @param array $map * * @return meetingRoomsToRemove */ public static function fromMap($map = []) { $model = new self(); if (isset($map['roomId'])) { $model->roomId = $map['roomId']; } return $model; } } src/calendar_1_0/Models/RemoveMeetingRoomsResponse.php 0000644 00000002746 14713400346 0017017 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveMeetingRoomsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveMeetingRoomsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/RemoveMeetingRoomsResponseBody.php 0000644 00000001505 14713400346 0017625 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RemoveMeetingRoomsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/calendar_1_0/Models/RespondEventHeaders.php 0000644 00000003057 14713400346 0015416 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RespondEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/RespondEventRequest.php 0000644 00000001660 14713400346 0015471 0 ustar 00 'responseStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->responseStatus) { $res['responseStatus'] = $this->responseStatus; } return $res; } /** * @param array $map * * @return RespondEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['responseStatus'])) { $model->responseStatus = $map['responseStatus']; } return $model; } } src/calendar_1_0/Models/RespondEventResponse.php 0000644 00000002160 14713400346 0015633 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return RespondEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/calendar_1_0/Models/SignInHeaders.php 0000644 00000002314 14713400346 0014164 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SignInHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/SignInResponse.php 0000644 00000002666 14713400346 0014421 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SignInResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SignInResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/SignInResponseBody.php 0000644 00000001531 14713400346 0015225 0 ustar 00 'checkInTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkInTime) { $res['checkInTime'] = $this->checkInTime; } return $res; } /** * @param array $map * * @return SignInResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkInTime'])) { $model->checkInTime = $map['checkInTime']; } return $model; } } src/calendar_1_0/Models/SignOutHeaders.php 0000644 00000002316 14713400346 0014367 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SignOutHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/SignOutResponse.php 0000644 00000002672 14713400346 0014617 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SignOutResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SignOutResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/SignOutResponseBody.php 0000644 00000001544 14713400346 0015432 0 ustar 00 'checkOutTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkOutTime) { $res['checkOutTime'] = $this->checkOutTime; } return $res; } /** * @param array $map * * @return SignOutResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkOutTime'])) { $model->checkOutTime = $map['checkOutTime']; } return $model; } } src/calendar_1_0/Models/SubscribeCalendarHeaders.php 0000644 00000002342 14713400346 0016351 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SubscribeCalendarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/SubscribeCalendarResponse.php 0000644 00000002172 14713400346 0016575 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return SubscribeCalendarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/calendar_1_0/Models/TransferEventHeaders.php 0000644 00000003061 14713400346 0015563 0 ustar 00 'x-client-token', 'xAcsDingtalkAccessToken' => 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xClientToken) { $res['x-client-token'] = $this->xClientToken; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TransferEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-client-token'])) { $model->xClientToken = $map['x-client-token']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/TransferEventRequest.php 0000644 00000003160 14713400346 0015640 0 ustar 00 'isExitCalendar', 'needNotifyViaO2O' => 'needNotifyViaO2O', 'newOrganizerId' => 'newOrganizerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isExitCalendar) { $res['isExitCalendar'] = $this->isExitCalendar; } if (null !== $this->needNotifyViaO2O) { $res['needNotifyViaO2O'] = $this->needNotifyViaO2O; } if (null !== $this->newOrganizerId) { $res['newOrganizerId'] = $this->newOrganizerId; } return $res; } /** * @param array $map * * @return TransferEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isExitCalendar'])) { $model->isExitCalendar = $map['isExitCalendar']; } if (isset($map['needNotifyViaO2O'])) { $model->needNotifyViaO2O = $map['needNotifyViaO2O']; } if (isset($map['newOrganizerId'])) { $model->newOrganizerId = $map['newOrganizerId']; } return $model; } } src/calendar_1_0/Models/TransferEventResponse.php 0000644 00000002722 14713400346 0016011 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TransferEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TransferEventResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/TransferEventResponseBody.php 0000644 00000001473 14713400346 0016631 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return TransferEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/calendar_1_0/Models/UnsubscribeCalendarHeaders.php 0000644 00000002346 14713400346 0016720 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UnsubscribeCalendarHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/UnsubscribeCalendarResponse.php 0000644 00000002752 14713400346 0017144 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UnsubscribeCalendarResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UnsubscribeCalendarResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/UnsubscribeCalendarResponseBody.php 0000644 00000001507 14713400346 0017757 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UnsubscribeCalendarResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/calendar_1_0/Models/UpdateSubscribedCalendarsHeaders.php 0000644 00000002362 14713400346 0020045 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateSubscribedCalendarsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/calendar_1_0/Models/UpdateSubscribedCalendarsRequest.php 0000644 00000003763 14713400346 0020130 0 ustar 00 'description', 'managers' => 'managers', 'name' => 'name', 'subscribeScope' => 'subscribeScope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->managers) { $res['managers'] = $this->managers; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->subscribeScope) { $res['subscribeScope'] = null !== $this->subscribeScope ? $this->subscribeScope->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateSubscribedCalendarsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['managers'])) { if (!empty($map['managers'])) { $model->managers = $map['managers']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['subscribeScope'])) { $model->subscribeScope = subscribeScope::fromMap($map['subscribeScope']); } return $model; } } src/calendar_1_0/Models/UpdateSubscribedCalendarsRequest/subscribeScope.php 0000644 00000003325 14713400346 0023075 0 ustar 00 'corpIds', 'openConversationIds' => 'openConversationIds', 'unionIds' => 'unionIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpIds) { $res['corpIds'] = $this->corpIds; } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->unionIds) { $res['unionIds'] = $this->unionIds; } return $res; } /** * @param array $map * * @return subscribeScope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpIds'])) { if (!empty($map['corpIds'])) { $model->corpIds = $map['corpIds']; } } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['unionIds'])) { if (!empty($map['unionIds'])) { $model->unionIds = $map['unionIds']; } } return $model; } } src/calendar_1_0/Models/UpdateSubscribedCalendarsResponse.php 0000644 00000003002 14713400346 0020260 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateSubscribedCalendarsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateSubscribedCalendarsResponseBody::fromMap($map['body']); } return $model; } } src/calendar_1_0/Models/UpdateSubscribedCalendarsResponseBody.php 0000644 00000001523 14713400346 0021104 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateSubscribedCalendarsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/carbon_1_0/Dingtalk.php 0000644 00000042636 14713400346 0011521 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 获取用户的减碳明细 * * * @param GetPersonalCarbonInfoRequest $request GetPersonalCarbonInfoRequest * @param GetPersonalCarbonInfoHeaders $headers GetPersonalCarbonInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetPersonalCarbonInfoResponse GetPersonalCarbonInfoResponse */ public function getPersonalCarbonInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->actionType)) { $query['actionType'] = $request->actionType; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPersonalCarbonInfo', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/personals/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPersonalCarbonInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用户的减碳明细 * * * @param GetPersonalCarbonInfoRequest $request GetPersonalCarbonInfoRequest * * @return GetPersonalCarbonInfoResponse GetPersonalCarbonInfoResponse */ public function getPersonalCarbonInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPersonalCarbonInfoHeaders([]); return $this->getPersonalCarbonInfoWithOptions($request, $headers, $runtime); } /** * @summary 写入阿里巴巴每日组织明细碳能量数据 * * * @param WriteAlibabaOrgCarbonRequest $request WriteAlibabaOrgCarbonRequest * @param WriteAlibabaOrgCarbonHeaders $headers WriteAlibabaOrgCarbonHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WriteAlibabaOrgCarbonResponse WriteAlibabaOrgCarbonResponse */ public function writeAlibabaOrgCarbonWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->orgDetailsList)) { $body['orgDetailsList'] = $request->orgDetailsList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WriteAlibabaOrgCarbon', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/alibabaOrgDetails/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WriteAlibabaOrgCarbonResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 写入阿里巴巴每日组织明细碳能量数据 * * * @param WriteAlibabaOrgCarbonRequest $request WriteAlibabaOrgCarbonRequest * * @return WriteAlibabaOrgCarbonResponse WriteAlibabaOrgCarbonResponse */ public function writeAlibabaOrgCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteAlibabaOrgCarbonHeaders([]); return $this->writeAlibabaOrgCarbonWithOptions($request, $headers, $runtime); } /** * @summary 写入阿里巴巴每日用户碳能量数据 * * * @param WriteAlibabaUserCarbonRequest $request WriteAlibabaUserCarbonRequest * @param WriteAlibabaUserCarbonHeaders $headers WriteAlibabaUserCarbonHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WriteAlibabaUserCarbonResponse WriteAlibabaUserCarbonResponse */ public function writeAlibabaUserCarbonWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userDetailsList)) { $body['userDetailsList'] = $request->userDetailsList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WriteAlibabaUserCarbon', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/alibabaUserDetails/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WriteAlibabaUserCarbonResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 写入阿里巴巴每日用户碳能量数据 * * * @param WriteAlibabaUserCarbonRequest $request WriteAlibabaUserCarbonRequest * * @return WriteAlibabaUserCarbonResponse WriteAlibabaUserCarbonResponse */ public function writeAlibabaUserCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteAlibabaUserCarbonHeaders([]); return $this->writeAlibabaUserCarbonWithOptions($request, $headers, $runtime); } /** * @summary ISV记录数据传输当前状态 * * * @param WriteIsvStateRequest $request WriteIsvStateRequest * @param WriteIsvStateHeaders $headers WriteIsvStateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WriteIsvStateResponse WriteIsvStateResponse */ public function writeIsvStateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isvName)) { $query['isvName'] = $request->isvName; } if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'WriteIsvState', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/datas/states/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WriteIsvStateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary ISV记录数据传输当前状态 * * * @param WriteIsvStateRequest $request WriteIsvStateRequest * * @return WriteIsvStateResponse WriteIsvStateResponse */ public function writeIsvState($request) { $runtime = new RuntimeOptions([]); $headers = new WriteIsvStateHeaders([]); return $this->writeIsvStateWithOptions($request, $headers, $runtime); } /** * @summary 写入isv每日组织明细碳能量数据 * * * @param WriteOrgCarbonRequest $request WriteOrgCarbonRequest * @param WriteOrgCarbonHeaders $headers WriteOrgCarbonHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WriteOrgCarbonResponse WriteOrgCarbonResponse */ public function writeOrgCarbonWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->orgDetailsList)) { $body['orgDetailsList'] = $request->orgDetailsList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WriteOrgCarbon', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/orgDetails/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WriteOrgCarbonResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 写入isv每日组织明细碳能量数据 * * * @param WriteOrgCarbonRequest $request WriteOrgCarbonRequest * * @return WriteOrgCarbonResponse WriteOrgCarbonResponse */ public function writeOrgCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteOrgCarbonHeaders([]); return $this->writeOrgCarbonWithOptions($request, $headers, $runtime); } /** * @summary 写入isv每日用户明细碳能量数据 * * * @param WriteUserCarbonRequest $request WriteUserCarbonRequest * @param WriteUserCarbonHeaders $headers WriteUserCarbonHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WriteUserCarbonResponse WriteUserCarbonResponse */ public function writeUserCarbonWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userDetailsList)) { $body['userDetailsList'] = $request->userDetailsList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WriteUserCarbon', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/userDetails/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WriteUserCarbonResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 写入isv每日用户明细碳能量数据 * * * @param WriteUserCarbonRequest $request WriteUserCarbonRequest * * @return WriteUserCarbonResponse WriteUserCarbonResponse */ public function writeUserCarbon($request) { $runtime = new RuntimeOptions([]); $headers = new WriteUserCarbonHeaders([]); return $this->writeUserCarbonWithOptions($request, $headers, $runtime); } /** * @summary 写入isv能耗每日用户明细碳能量数据 * * * @param WriteUserCarbonEnergyRequest $request WriteUserCarbonEnergyRequest * @param WriteUserCarbonEnergyHeaders $headers WriteUserCarbonEnergyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WriteUserCarbonEnergyResponse WriteUserCarbonEnergyResponse */ public function writeUserCarbonEnergyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userDetailsList)) { $body['userDetailsList'] = $request->userDetailsList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'WriteUserCarbonEnergy', 'version' => 'carbon_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/carbon/userDetails/energies/write', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WriteUserCarbonEnergyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 写入isv能耗每日用户明细碳能量数据 * * * @param WriteUserCarbonEnergyRequest $request WriteUserCarbonEnergyRequest * * @return WriteUserCarbonEnergyResponse WriteUserCarbonEnergyResponse */ public function writeUserCarbonEnergy($request) { $runtime = new RuntimeOptions([]); $headers = new WriteUserCarbonEnergyHeaders([]); return $this->writeUserCarbonEnergyWithOptions($request, $headers, $runtime); } } src/carbon_1_0/Models/GetPersonalCarbonInfoHeaders.php 0000644 00000002350 14713400346 0016654 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPersonalCarbonInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/GetPersonalCarbonInfoRequest.php 0000644 00000002450 14713400346 0016732 0 ustar 00 'actionType', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetPersonalCarbonInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/carbon_1_0/Models/GetPersonalCarbonInfoResponse.php 0000644 00000002760 14713400346 0017104 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPersonalCarbonInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPersonalCarbonInfoResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/GetPersonalCarbonInfoResponseBody.php 0000644 00000002477 14713400346 0017727 0 ustar 00 'content', 'personalCarbonAmount' => 'personalCarbonAmount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->personalCarbonAmount) { $res['personalCarbonAmount'] = $this->personalCarbonAmount; } return $res; } /** * @param array $map * * @return GetPersonalCarbonInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['personalCarbonAmount'])) { $model->personalCarbonAmount = $map['personalCarbonAmount']; } return $model; } } src/carbon_1_0/Models/WriteAlibabaOrgCarbonHeaders.php 0000644 00000002350 14713400346 0016613 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WriteAlibabaOrgCarbonHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/WriteAlibabaOrgCarbonRequest.php 0000644 00000003120 14713400346 0016664 0 ustar 00 'orgDetailsList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgDetailsList) { $res['orgDetailsList'] = []; if (null !== $this->orgDetailsList && \is_array($this->orgDetailsList)) { $n = 0; foreach ($this->orgDetailsList as $item) { $res['orgDetailsList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return WriteAlibabaOrgCarbonRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgDetailsList'])) { if (!empty($map['orgDetailsList'])) { $model->orgDetailsList = []; $n = 0; foreach ($map['orgDetailsList'] as $item) { $model->orgDetailsList[$n++] = null !== $item ? orgDetailsList::fromMap($item) : $item; } } } return $model; } } src/carbon_1_0/Models/WriteAlibabaOrgCarbonRequest/orgDetailsList.php 0000644 00000006237 14713400346 0021631 0 ustar 00 'actionId', 'actionTime' => 'actionTime', 'actionType' => 'actionType', 'carbonAmount' => 'carbonAmount', 'corpId' => 'corpId', 'deptId' => 'deptId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionId) { $res['actionId'] = $this->actionId; } if (null !== $this->actionTime) { $res['actionTime'] = $this->actionTime; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->carbonAmount) { $res['carbonAmount'] = $this->carbonAmount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return orgDetailsList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionId'])) { $model->actionId = $map['actionId']; } if (isset($map['actionTime'])) { $model->actionTime = $map['actionTime']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['carbonAmount'])) { $model->carbonAmount = $map['carbonAmount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/carbon_1_0/Models/WriteAlibabaOrgCarbonResponse.php 0000644 00000002760 14713400346 0017043 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WriteAlibabaOrgCarbonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WriteAlibabaOrgCarbonResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/WriteAlibabaOrgCarbonResponseBody.php 0000644 00000002314 14713400346 0017654 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WriteAlibabaOrgCarbonResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/carbon_1_0/Models/WriteAlibabaUserCarbonHeaders.php 0000644 00000002352 14713400346 0017004 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WriteAlibabaUserCarbonHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/WriteAlibabaUserCarbonRequest.php 0000644 00000003145 14713400346 0017062 0 ustar 00 'userDetailsList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userDetailsList) { $res['userDetailsList'] = []; if (null !== $this->userDetailsList && \is_array($this->userDetailsList)) { $n = 0; foreach ($this->userDetailsList as $item) { $res['userDetailsList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return WriteAlibabaUserCarbonRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userDetailsList'])) { if (!empty($map['userDetailsList'])) { $model->userDetailsList = []; $n = 0; foreach ($map['userDetailsList'] as $item) { $model->userDetailsList[$n++] = null !== $item ? userDetailsList::fromMap($item) : $item; } } } return $model; } } src/carbon_1_0/Models/WriteAlibabaUserCarbonRequest/userDetailsList.php 0000644 00000007771 14713400346 0022213 0 ustar 00 'actionEndTime', 'actionId' => 'actionId', 'actionStartTime' => 'actionStartTime', 'actionType' => 'actionType', 'carbonAmount' => 'carbonAmount', 'corpId' => 'corpId', 'deptId' => 'deptId', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionEndTime) { $res['actionEndTime'] = $this->actionEndTime; } if (null !== $this->actionId) { $res['actionId'] = $this->actionId; } if (null !== $this->actionStartTime) { $res['actionStartTime'] = $this->actionStartTime; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->carbonAmount) { $res['carbonAmount'] = $this->carbonAmount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return userDetailsList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionEndTime'])) { $model->actionEndTime = $map['actionEndTime']; } if (isset($map['actionId'])) { $model->actionId = $map['actionId']; } if (isset($map['actionStartTime'])) { $model->actionStartTime = $map['actionStartTime']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['carbonAmount'])) { $model->carbonAmount = $map['carbonAmount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/carbon_1_0/Models/WriteAlibabaUserCarbonResponse.php 0000644 00000002764 14713400346 0017236 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WriteAlibabaUserCarbonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WriteAlibabaUserCarbonResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/WriteAlibabaUserCarbonResponseBody.php 0000644 00000002316 14713400346 0020045 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WriteAlibabaUserCarbonResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/carbon_1_0/Models/WriteIsvStateHeaders.php 0000644 00000002330 14713400346 0015243 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WriteIsvStateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/WriteIsvStateRequest.php 0000644 00000002404 14713400346 0015322 0 ustar 00 'isvName', 'statDate' => 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isvName) { $res['isvName'] = $this->isvName; } if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return WriteIsvStateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isvName'])) { $model->isvName = $map['isvName']; } if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/carbon_1_0/Models/WriteIsvStateResponse.php 0000644 00000002720 14713400346 0015471 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WriteIsvStateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WriteIsvStateResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/WriteIsvStateResponseBody.php 0000644 00000001521 14713400346 0016305 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return WriteIsvStateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/carbon_1_0/Models/WriteOrgCarbonHeaders.php 0000644 00000002332 14713400346 0015357 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WriteOrgCarbonHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/WriteOrgCarbonRequest.php 0000644 00000003073 14713400346 0015437 0 ustar 00 'orgDetailsList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgDetailsList) { $res['orgDetailsList'] = []; if (null !== $this->orgDetailsList && \is_array($this->orgDetailsList)) { $n = 0; foreach ($this->orgDetailsList as $item) { $res['orgDetailsList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return WriteOrgCarbonRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgDetailsList'])) { if (!empty($map['orgDetailsList'])) { $model->orgDetailsList = []; $n = 0; foreach ($map['orgDetailsList'] as $item) { $model->orgDetailsList[$n++] = null !== $item ? orgDetailsList::fromMap($item) : $item; } } } return $model; } } src/carbon_1_0/Models/WriteOrgCarbonRequest/orgDetailsList.php 0000644 00000006230 14713400346 0020366 0 ustar 00 'actionId', 'actionTime' => 'actionTime', 'actionType' => 'actionType', 'carbonAmount' => 'carbonAmount', 'corpId' => 'corpId', 'deptId' => 'deptId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionId) { $res['actionId'] = $this->actionId; } if (null !== $this->actionTime) { $res['actionTime'] = $this->actionTime; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->carbonAmount) { $res['carbonAmount'] = $this->carbonAmount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return orgDetailsList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionId'])) { $model->actionId = $map['actionId']; } if (isset($map['actionTime'])) { $model->actionTime = $map['actionTime']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['carbonAmount'])) { $model->carbonAmount = $map['carbonAmount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/carbon_1_0/Models/WriteOrgCarbonResponse.php 0000644 00000002724 14713400346 0015607 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WriteOrgCarbonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WriteOrgCarbonResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/WriteOrgCarbonResponseBody.php 0000644 00000002276 14713400346 0016427 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WriteOrgCarbonResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/carbon_1_0/Models/WriteUserCarbonEnergyHeaders.php 0000644 00000002350 14713400346 0016720 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WriteUserCarbonEnergyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/WriteUserCarbonEnergyRequest.php 0000644 00000003053 14713400346 0016776 0 ustar 00 'userDetailsList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userDetailsList) { $res['userDetailsList'] = []; if (null !== $this->userDetailsList && \is_array($this->userDetailsList)) { $n = 0; foreach ($this->userDetailsList as $item) { $res['userDetailsList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return WriteUserCarbonEnergyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userDetailsList'])) { if (!empty($map['userDetailsList'])) { $model->userDetailsList = []; $n = 0; foreach ($map['userDetailsList'] as $item) { $model->userDetailsList[$n++] = null !== $item ? userDetailsList::fromMap($item) : $item; } } } return $model; } } src/carbon_1_0/Models/WriteUserCarbonEnergyRequest/userDetailsList.php 0000644 00000007011 14713400346 0022114 0 ustar 00 'actionEndTime', 'actionId' => 'actionId', 'actionStartTime' => 'actionStartTime', 'actionType' => 'actionType', 'carbonAmount' => 'carbonAmount', 'corpId' => 'corpId', 'deptId' => 'deptId', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionEndTime) { $res['actionEndTime'] = $this->actionEndTime; } if (null !== $this->actionId) { $res['actionId'] = $this->actionId; } if (null !== $this->actionStartTime) { $res['actionStartTime'] = $this->actionStartTime; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->carbonAmount) { $res['carbonAmount'] = $this->carbonAmount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return userDetailsList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionEndTime'])) { $model->actionEndTime = $map['actionEndTime']; } if (isset($map['actionId'])) { $model->actionId = $map['actionId']; } if (isset($map['actionStartTime'])) { $model->actionStartTime = $map['actionStartTime']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['carbonAmount'])) { $model->carbonAmount = $map['carbonAmount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/carbon_1_0/Models/WriteUserCarbonEnergyResponse.php 0000644 00000002760 14713400346 0017150 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WriteUserCarbonEnergyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WriteUserCarbonEnergyResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/WriteUserCarbonEnergyResponseBody.php 0000644 00000002136 14713400346 0017763 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WriteUserCarbonEnergyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/carbon_1_0/Models/WriteUserCarbonHeaders.php 0000644 00000002334 14713400346 0015550 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return WriteUserCarbonHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/carbon_1_0/Models/WriteUserCarbonRequest.php 0000644 00000003120 14713400346 0015617 0 ustar 00 'userDetailsList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userDetailsList) { $res['userDetailsList'] = []; if (null !== $this->userDetailsList && \is_array($this->userDetailsList)) { $n = 0; foreach ($this->userDetailsList as $item) { $res['userDetailsList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return WriteUserCarbonRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userDetailsList'])) { if (!empty($map['userDetailsList'])) { $model->userDetailsList = []; $n = 0; foreach ($map['userDetailsList'] as $item) { $model->userDetailsList[$n++] = null !== $item ? userDetailsList::fromMap($item) : $item; } } } return $model; } } src/carbon_1_0/Models/WriteUserCarbonRequest/userDetailsList.php 0000644 00000007762 14713400346 0020757 0 ustar 00 'actionEndTime', 'actionId' => 'actionId', 'actionStartTime' => 'actionStartTime', 'actionType' => 'actionType', 'carbonAmount' => 'carbonAmount', 'corpId' => 'corpId', 'deptId' => 'deptId', 'userId' => 'userId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionEndTime) { $res['actionEndTime'] = $this->actionEndTime; } if (null !== $this->actionId) { $res['actionId'] = $this->actionId; } if (null !== $this->actionStartTime) { $res['actionStartTime'] = $this->actionStartTime; } if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->carbonAmount) { $res['carbonAmount'] = $this->carbonAmount; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return userDetailsList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionEndTime'])) { $model->actionEndTime = $map['actionEndTime']; } if (isset($map['actionId'])) { $model->actionId = $map['actionId']; } if (isset($map['actionStartTime'])) { $model->actionStartTime = $map['actionStartTime']; } if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['carbonAmount'])) { $model->carbonAmount = $map['carbonAmount']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/carbon_1_0/Models/WriteUserCarbonResponse.php 0000644 00000002730 14713400346 0015773 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return WriteUserCarbonResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = WriteUserCarbonResponseBody::fromMap($map['body']); } return $model; } } src/carbon_1_0/Models/WriteUserCarbonResponseBody.php 0000644 00000002300 14713400346 0016602 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return WriteUserCarbonResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Dingtalk.php 0000644 00000165636 14713400346 0011174 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 新增或更新卡片的场域信息 * * * @param AppendSpaceRequest $request AppendSpaceRequest * @param AppendSpaceHeaders $headers AppendSpaceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AppendSpaceResponse AppendSpaceResponse */ public function appendSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coFeedOpenSpaceModel)) { $body['coFeedOpenSpaceModel'] = $request->coFeedOpenSpaceModel; } if (!Utils::isUnset($request->imGroupOpenSpaceModel)) { $body['imGroupOpenSpaceModel'] = $request->imGroupOpenSpaceModel; } if (!Utils::isUnset($request->imRobotOpenSpaceModel)) { $body['imRobotOpenSpaceModel'] = $request->imRobotOpenSpaceModel; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->topOpenSpaceModel)) { $body['topOpenSpaceModel'] = $request->topOpenSpaceModel; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AppendSpace', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/instances/spaces', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AppendSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增或更新卡片的场域信息 * * * @param AppendSpaceRequest $request AppendSpaceRequest * * @return AppendSpaceResponse AppendSpaceResponse */ public function appendSpace($request) { $runtime = new RuntimeOptions([]); $headers = new AppendSpaceHeaders([]); return $this->appendSpaceWithOptions($request, $headers, $runtime); } /** * @summary 新增或更新卡片的场域信息 * * * @param AppendSpaceWithDelegateRequest $request AppendSpaceWithDelegateRequest * @param AppendSpaceWithDelegateHeaders $headers AppendSpaceWithDelegateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AppendSpaceWithDelegateResponse AppendSpaceWithDelegateResponse */ public function appendSpaceWithDelegateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coFeedOpenSpaceModel)) { $body['coFeedOpenSpaceModel'] = $request->coFeedOpenSpaceModel; } if (!Utils::isUnset($request->imGroupOpenSpaceModel)) { $body['imGroupOpenSpaceModel'] = $request->imGroupOpenSpaceModel; } if (!Utils::isUnset($request->imRobotOpenSpaceModel)) { $body['imRobotOpenSpaceModel'] = $request->imRobotOpenSpaceModel; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->topOpenSpaceModel)) { $body['topOpenSpaceModel'] = $request->topOpenSpaceModel; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AppendSpaceWithDelegate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/me/instances/spaces', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AppendSpaceWithDelegateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增或更新卡片的场域信息 * * * @param AppendSpaceWithDelegateRequest $request AppendSpaceWithDelegateRequest * * @return AppendSpaceWithDelegateResponse AppendSpaceWithDelegateResponse */ public function appendSpaceWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new AppendSpaceWithDelegateHeaders([]); return $this->appendSpaceWithDelegateWithOptions($request, $headers, $runtime); } /** * @summary 复制模板 * * * @param CopyTemplateRequest $request CopyTemplateRequest * @param CopyTemplateHeaders $headers CopyTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CopyTemplateResponse CopyTemplateResponse */ public function copyTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CopyTemplate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/templates/copy', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CopyTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 复制模板 * * * @param CopyTemplateRequest $request CopyTemplateRequest * * @return CopyTemplateResponse CopyTemplateResponse */ public function copyTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new CopyTemplateHeaders([]); return $this->copyTemplateWithOptions($request, $headers, $runtime); } /** * @summary 创建并投放卡片 * * * @param CreateAndDeliverRequest $request CreateAndDeliverRequest * @param CreateAndDeliverHeaders $headers CreateAndDeliverHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAndDeliverResponse CreateAndDeliverResponse */ public function createAndDeliverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->callbackType)) { $body['callbackType'] = $request->callbackType; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->coFeedOpenDeliverModel)) { $body['coFeedOpenDeliverModel'] = $request->coFeedOpenDeliverModel; } if (!Utils::isUnset($request->coFeedOpenSpaceModel)) { $body['coFeedOpenSpaceModel'] = $request->coFeedOpenSpaceModel; } if (!Utils::isUnset($request->docOpenDeliverModel)) { $body['docOpenDeliverModel'] = $request->docOpenDeliverModel; } if (!Utils::isUnset($request->imGroupOpenDeliverModel)) { $body['imGroupOpenDeliverModel'] = $request->imGroupOpenDeliverModel; } if (!Utils::isUnset($request->imGroupOpenSpaceModel)) { $body['imGroupOpenSpaceModel'] = $request->imGroupOpenSpaceModel; } if (!Utils::isUnset($request->imRobotOpenDeliverModel)) { $body['imRobotOpenDeliverModel'] = $request->imRobotOpenDeliverModel; } if (!Utils::isUnset($request->imRobotOpenSpaceModel)) { $body['imRobotOpenSpaceModel'] = $request->imRobotOpenSpaceModel; } if (!Utils::isUnset($request->imSingleOpenDeliverModel)) { $body['imSingleOpenDeliverModel'] = $request->imSingleOpenDeliverModel; } if (!Utils::isUnset($request->imSingleOpenSpaceModel)) { $body['imSingleOpenSpaceModel'] = $request->imSingleOpenSpaceModel; } if (!Utils::isUnset($request->openDynamicDataConfig)) { $body['openDynamicDataConfig'] = $request->openDynamicDataConfig; } if (!Utils::isUnset($request->openSpaceId)) { $body['openSpaceId'] = $request->openSpaceId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->topOpenDeliverModel)) { $body['topOpenDeliverModel'] = $request->topOpenDeliverModel; } if (!Utils::isUnset($request->topOpenSpaceModel)) { $body['topOpenSpaceModel'] = $request->topOpenSpaceModel; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAndDeliver', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/instances/createAndDeliver', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAndDeliverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建并投放卡片 * * * @param CreateAndDeliverRequest $request CreateAndDeliverRequest * * @return CreateAndDeliverResponse CreateAndDeliverResponse */ public function createAndDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAndDeliverHeaders([]); return $this->createAndDeliverWithOptions($request, $headers, $runtime); } /** * @summary 创建并投放卡片 * * * @param CreateAndDeliverWithDelegateRequest $request CreateAndDeliverWithDelegateRequest * @param CreateAndDeliverWithDelegateHeaders $headers CreateAndDeliverWithDelegateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateAndDeliverWithDelegateResponse CreateAndDeliverWithDelegateResponse */ public function createAndDeliverWithDelegateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->callbackType)) { $body['callbackType'] = $request->callbackType; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->coFeedOpenDeliverModel)) { $body['coFeedOpenDeliverModel'] = $request->coFeedOpenDeliverModel; } if (!Utils::isUnset($request->coFeedOpenSpaceModel)) { $body['coFeedOpenSpaceModel'] = $request->coFeedOpenSpaceModel; } if (!Utils::isUnset($request->docOpenDeliverModel)) { $body['docOpenDeliverModel'] = $request->docOpenDeliverModel; } if (!Utils::isUnset($request->imGroupOpenDeliverModel)) { $body['imGroupOpenDeliverModel'] = $request->imGroupOpenDeliverModel; } if (!Utils::isUnset($request->imGroupOpenSpaceModel)) { $body['imGroupOpenSpaceModel'] = $request->imGroupOpenSpaceModel; } if (!Utils::isUnset($request->imRobotOpenDeliverModel)) { $body['imRobotOpenDeliverModel'] = $request->imRobotOpenDeliverModel; } if (!Utils::isUnset($request->imRobotOpenSpaceModel)) { $body['imRobotOpenSpaceModel'] = $request->imRobotOpenSpaceModel; } if (!Utils::isUnset($request->imSingleOpenDeliverModel)) { $body['imSingleOpenDeliverModel'] = $request->imSingleOpenDeliverModel; } if (!Utils::isUnset($request->imSingleOpenSpaceModel)) { $body['imSingleOpenSpaceModel'] = $request->imSingleOpenSpaceModel; } if (!Utils::isUnset($request->openDynamicDataConfig)) { $body['openDynamicDataConfig'] = $request->openDynamicDataConfig; } if (!Utils::isUnset($request->openSpaceId)) { $body['openSpaceId'] = $request->openSpaceId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->topOpenDeliverModel)) { $body['topOpenDeliverModel'] = $request->topOpenDeliverModel; } if (!Utils::isUnset($request->topOpenSpaceModel)) { $body['topOpenSpaceModel'] = $request->topOpenSpaceModel; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAndDeliverWithDelegate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/me/instances/createAndDeliver', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateAndDeliverWithDelegateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建并投放卡片 * * * @param CreateAndDeliverWithDelegateRequest $request CreateAndDeliverWithDelegateRequest * * @return CreateAndDeliverWithDelegateResponse CreateAndDeliverWithDelegateResponse */ public function createAndDeliverWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new CreateAndDeliverWithDelegateHeaders([]); return $this->createAndDeliverWithDelegateWithOptions($request, $headers, $runtime); } /** * @summary 创建卡片 * * * @param CreateCardRequest $request CreateCardRequest * @param CreateCardHeaders $headers CreateCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateCardResponse CreateCardResponse */ public function createCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->callbackType)) { $body['callbackType'] = $request->callbackType; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->coFeedOpenSpaceModel)) { $body['coFeedOpenSpaceModel'] = $request->coFeedOpenSpaceModel; } if (!Utils::isUnset($request->imGroupOpenSpaceModel)) { $body['imGroupOpenSpaceModel'] = $request->imGroupOpenSpaceModel; } if (!Utils::isUnset($request->imRobotOpenSpaceModel)) { $body['imRobotOpenSpaceModel'] = $request->imRobotOpenSpaceModel; } if (!Utils::isUnset($request->imSingleOpenSpaceModel)) { $body['imSingleOpenSpaceModel'] = $request->imSingleOpenSpaceModel; } if (!Utils::isUnset($request->openDynamicDataConfig)) { $body['openDynamicDataConfig'] = $request->openDynamicDataConfig; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->topOpenSpaceModel)) { $body['topOpenSpaceModel'] = $request->topOpenSpaceModel; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCard', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建卡片 * * * @param CreateCardRequest $request CreateCardRequest * * @return CreateCardResponse CreateCardResponse */ public function createCard($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCardHeaders([]); return $this->createCardWithOptions($request, $headers, $runtime); } /** * @summary 创建卡片 * * * @param CreateCardWithDelegateRequest $request CreateCardWithDelegateRequest * @param CreateCardWithDelegateHeaders $headers CreateCardWithDelegateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateCardWithDelegateResponse CreateCardWithDelegateResponse */ public function createCardWithDelegateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->callbackType)) { $body['callbackType'] = $request->callbackType; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardTemplateId)) { $body['cardTemplateId'] = $request->cardTemplateId; } if (!Utils::isUnset($request->coFeedOpenSpaceModel)) { $body['coFeedOpenSpaceModel'] = $request->coFeedOpenSpaceModel; } if (!Utils::isUnset($request->imGroupOpenSpaceModel)) { $body['imGroupOpenSpaceModel'] = $request->imGroupOpenSpaceModel; } if (!Utils::isUnset($request->imRobotOpenSpaceModel)) { $body['imRobotOpenSpaceModel'] = $request->imRobotOpenSpaceModel; } if (!Utils::isUnset($request->imSingleOpenSpaceModel)) { $body['imSingleOpenSpaceModel'] = $request->imSingleOpenSpaceModel; } if (!Utils::isUnset($request->openDynamicDataConfig)) { $body['openDynamicDataConfig'] = $request->openDynamicDataConfig; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->topOpenSpaceModel)) { $body['topOpenSpaceModel'] = $request->topOpenSpaceModel; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCardWithDelegate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/me/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCardWithDelegateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建卡片 * * * @param CreateCardWithDelegateRequest $request CreateCardWithDelegateRequest * * @return CreateCardWithDelegateResponse CreateCardWithDelegateResponse */ public function createCardWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCardWithDelegateHeaders([]); return $this->createCardWithDelegateWithOptions($request, $headers, $runtime); } /** * @summary 创建模板 * * * @param CreateTemplateRequest $request CreateTemplateRequest * @param CreateTemplateHeaders $headers CreateTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateTemplateResponse CreateTemplateResponse */ public function createTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->creatorId)) { $body['creatorId'] = $request->creatorId; } if (!Utils::isUnset($request->extendType)) { $body['extendType'] = $request->extendType; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTemplate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/templates', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建模板 * * * @param CreateTemplateRequest $request CreateTemplateRequest * * @return CreateTemplateResponse CreateTemplateResponse */ public function createTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTemplateHeaders([]); return $this->createTemplateWithOptions($request, $headers, $runtime); } /** * @summary 删除模板 * * * @param DeleteTemplateRequest $request DeleteTemplateRequest * @param DeleteTemplateHeaders $headers DeleteTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteTemplateResponse DeleteTemplateResponse */ public function deleteTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteTemplate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/templates/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除模板 * * * @param DeleteTemplateRequest $request DeleteTemplateRequest * * @return DeleteTemplateResponse DeleteTemplateResponse */ public function deleteTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteTemplateHeaders([]); return $this->deleteTemplateWithOptions($request, $headers, $runtime); } /** * @summary 投放卡片 * * * @param DeliverCardRequest $request DeliverCardRequest * @param DeliverCardHeaders $headers DeliverCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeliverCardResponse DeliverCardResponse */ public function deliverCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coFeedOpenDeliverModel)) { $body['coFeedOpenDeliverModel'] = $request->coFeedOpenDeliverModel; } if (!Utils::isUnset($request->docOpenDeliverModel)) { $body['docOpenDeliverModel'] = $request->docOpenDeliverModel; } if (!Utils::isUnset($request->imGroupOpenDeliverModel)) { $body['imGroupOpenDeliverModel'] = $request->imGroupOpenDeliverModel; } if (!Utils::isUnset($request->imRobotOpenDeliverModel)) { $body['imRobotOpenDeliverModel'] = $request->imRobotOpenDeliverModel; } if (!Utils::isUnset($request->imSingleOpenDeliverModel)) { $body['imSingleOpenDeliverModel'] = $request->imSingleOpenDeliverModel; } if (!Utils::isUnset($request->openSpaceId)) { $body['openSpaceId'] = $request->openSpaceId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->topOpenDeliverModel)) { $body['topOpenDeliverModel'] = $request->topOpenDeliverModel; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeliverCard', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/instances/deliver', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeliverCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 投放卡片 * * * @param DeliverCardRequest $request DeliverCardRequest * * @return DeliverCardResponse DeliverCardResponse */ public function deliverCard($request) { $runtime = new RuntimeOptions([]); $headers = new DeliverCardHeaders([]); return $this->deliverCardWithOptions($request, $headers, $runtime); } /** * @summary 投放卡片 * * * @param DeliverCardWithDelegateRequest $request DeliverCardWithDelegateRequest * @param DeliverCardWithDelegateHeaders $headers DeliverCardWithDelegateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeliverCardWithDelegateResponse DeliverCardWithDelegateResponse */ public function deliverCardWithDelegateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coFeedOpenDeliverModel)) { $body['coFeedOpenDeliverModel'] = $request->coFeedOpenDeliverModel; } if (!Utils::isUnset($request->docOpenDeliverModel)) { $body['docOpenDeliverModel'] = $request->docOpenDeliverModel; } if (!Utils::isUnset($request->imGroupOpenDeliverModel)) { $body['imGroupOpenDeliverModel'] = $request->imGroupOpenDeliverModel; } if (!Utils::isUnset($request->imRobotOpenDeliverModel)) { $body['imRobotOpenDeliverModel'] = $request->imRobotOpenDeliverModel; } if (!Utils::isUnset($request->imSingleOpenDeliverModel)) { $body['imSingleOpenDeliverModel'] = $request->imSingleOpenDeliverModel; } if (!Utils::isUnset($request->openSpaceId)) { $body['openSpaceId'] = $request->openSpaceId; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->topOpenDeliverModel)) { $body['topOpenDeliverModel'] = $request->topOpenDeliverModel; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeliverCardWithDelegate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/me/instances/deliver', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeliverCardWithDelegateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 投放卡片 * * * @param DeliverCardWithDelegateRequest $request DeliverCardWithDelegateRequest * * @return DeliverCardWithDelegateResponse DeliverCardWithDelegateResponse */ public function deliverCardWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new DeliverCardWithDelegateHeaders([]); return $this->deliverCardWithDelegateWithOptions($request, $headers, $runtime); } /** * @summary 获取模板信息 * * * @param GetTemplateRequest $request GetTemplateRequest * @param GetTemplateHeaders $headers GetTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetTemplateResponse GetTemplateResponse */ public function getTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->templateId)) { $query['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTemplate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/templates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取模板信息 * * * @param GetTemplateRequest $request GetTemplateRequest * * @return GetTemplateResponse GetTemplateResponse */ public function getTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new GetTemplateHeaders([]); return $this->getTemplateWithOptions($request, $headers, $runtime); } /** * @summary 发布模板 * * * @param PublishTemplateRequest $request PublishTemplateRequest * @param PublishTemplateHeaders $headers PublishTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PublishTemplateResponse PublishTemplateResponse */ public function publishTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->templateSource)) { $body['templateSource'] = $request->templateSource; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PublishTemplate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/templates/publish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PublishTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发布模板 * * * @param PublishTemplateRequest $request PublishTemplateRequest * * @return PublishTemplateResponse PublishTemplateResponse */ public function publishTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new PublishTemplateHeaders([]); return $this->publishTemplateWithOptions($request, $headers, $runtime); } /** * @summary 注册卡片回调地址 * * * @param RegisterCallbackRequest $request RegisterCallbackRequest * @param RegisterCallbackHeaders $headers RegisterCallbackHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RegisterCallbackResponse RegisterCallbackResponse */ public function registerCallbackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->apiSecret)) { $body['apiSecret'] = $request->apiSecret; } if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->callbackUrl)) { $body['callbackUrl'] = $request->callbackUrl; } if (!Utils::isUnset($request->forceUpdate)) { $body['forceUpdate'] = $request->forceUpdate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterCallback', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/callbacks/register', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RegisterCallbackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 注册卡片回调地址 * * * @param RegisterCallbackRequest $request RegisterCallbackRequest * * @return RegisterCallbackResponse RegisterCallbackResponse */ public function registerCallback($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterCallbackHeaders([]); return $this->registerCallbackWithOptions($request, $headers, $runtime); } /** * @summary 注册卡片回调地址 * * * @param RegisterCallbackWithDelegateRequest $request RegisterCallbackWithDelegateRequest * @param RegisterCallbackWithDelegateHeaders $headers RegisterCallbackWithDelegateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RegisterCallbackWithDelegateResponse RegisterCallbackWithDelegateResponse */ public function registerCallbackWithDelegateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->apiSecret)) { $body['apiSecret'] = $request->apiSecret; } if (!Utils::isUnset($request->callbackRouteKey)) { $body['callbackRouteKey'] = $request->callbackRouteKey; } if (!Utils::isUnset($request->callbackUrl)) { $body['callbackUrl'] = $request->callbackUrl; } if (!Utils::isUnset($request->forceUpdate)) { $body['forceUpdate'] = $request->forceUpdate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterCallbackWithDelegate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/me/callbacks/register', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RegisterCallbackWithDelegateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 注册卡片回调地址 * * * @param RegisterCallbackWithDelegateRequest $request RegisterCallbackWithDelegateRequest * * @return RegisterCallbackWithDelegateResponse RegisterCallbackWithDelegateResponse */ public function registerCallbackWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterCallbackWithDelegateHeaders([]); return $this->registerCallbackWithDelegateWithOptions($request, $headers, $runtime); } /** * @summary 保存模板 * * * @param SaveTemplateRequest $request SaveTemplateRequest * @param SaveTemplateHeaders $headers SaveTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SaveTemplateResponse SaveTemplateResponse */ public function saveTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->templateSource)) { $body['templateSource'] = $request->templateSource; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveTemplate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/templates/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 保存模板 * * * @param SaveTemplateRequest $request SaveTemplateRequest * * @return SaveTemplateResponse SaveTemplateResponse */ public function saveTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new SaveTemplateHeaders([]); return $this->saveTemplateWithOptions($request, $headers, $runtime); } /** * @summary AI互动卡片流式更新 * * * @param StreamingUpdateRequest $request StreamingUpdateRequest * @param StreamingUpdateHeaders $headers StreamingUpdateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StreamingUpdateResponse StreamingUpdateResponse */ public function streamingUpdateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->guid)) { $body['guid'] = $request->guid; } if (!Utils::isUnset($request->isError)) { $body['isError'] = $request->isError; } if (!Utils::isUnset($request->isFinalize)) { $body['isFinalize'] = $request->isFinalize; } if (!Utils::isUnset($request->isFull)) { $body['isFull'] = $request->isFull; } if (!Utils::isUnset($request->key)) { $body['key'] = $request->key; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StreamingUpdate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/streaming', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StreamingUpdateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary AI互动卡片流式更新 * * * @param StreamingUpdateRequest $request StreamingUpdateRequest * * @return StreamingUpdateResponse StreamingUpdateResponse */ public function streamingUpdate($request) { $runtime = new RuntimeOptions([]); $headers = new StreamingUpdateHeaders([]); return $this->streamingUpdateWithOptions($request, $headers, $runtime); } /** * @summary 更新卡片 * * * @param UpdateCardRequest $request UpdateCardRequest * @param UpdateCardHeaders $headers UpdateCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateCardResponse UpdateCardResponse */ public function updateCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardUpdateOptions)) { $body['cardUpdateOptions'] = $request->cardUpdateOptions; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCard', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新卡片 * * * @param UpdateCardRequest $request UpdateCardRequest * * @return UpdateCardResponse UpdateCardResponse */ public function updateCard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCardHeaders([]); return $this->updateCardWithOptions($request, $headers, $runtime); } /** * @summary 更新卡片 * * * @param UpdateCardWithDelegateRequest $request UpdateCardWithDelegateRequest * @param UpdateCardWithDelegateHeaders $headers UpdateCardWithDelegateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateCardWithDelegateResponse UpdateCardWithDelegateResponse */ public function updateCardWithDelegateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->cardUpdateOptions)) { $body['cardUpdateOptions'] = $request->cardUpdateOptions; } if (!Utils::isUnset($request->outTrackId)) { $body['outTrackId'] = $request->outTrackId; } if (!Utils::isUnset($request->privateData)) { $body['privateData'] = $request->privateData; } if (!Utils::isUnset($request->userIdType)) { $body['userIdType'] = $request->userIdType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCardWithDelegate', 'version' => 'card_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/card/me/instances', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCardWithDelegateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新卡片 * * * @param UpdateCardWithDelegateRequest $request UpdateCardWithDelegateRequest * * @return UpdateCardWithDelegateResponse UpdateCardWithDelegateResponse */ public function updateCardWithDelegate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCardWithDelegateHeaders([]); return $this->updateCardWithDelegateWithOptions($request, $headers, $runtime); } } src/card_1_0/Models/AppendSpaceHeaders.php 0000644 00000002322 14713400346 0014317 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AppendSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest.php 0000644 00000006320 14713400346 0014376 0 ustar 00 'coFeedOpenSpaceModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', 'outTrackId' => 'outTrackId', 'topOpenSpaceModel' => 'topOpenSpaceModel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coFeedOpenSpaceModel) { $res['coFeedOpenSpaceModel'] = null !== $this->coFeedOpenSpaceModel ? $this->coFeedOpenSpaceModel->toMap() : null; } if (null !== $this->imGroupOpenSpaceModel) { $res['imGroupOpenSpaceModel'] = null !== $this->imGroupOpenSpaceModel ? $this->imGroupOpenSpaceModel->toMap() : null; } if (null !== $this->imRobotOpenSpaceModel) { $res['imRobotOpenSpaceModel'] = null !== $this->imRobotOpenSpaceModel ? $this->imRobotOpenSpaceModel->toMap() : null; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->topOpenSpaceModel) { $res['topOpenSpaceModel'] = null !== $this->topOpenSpaceModel ? $this->topOpenSpaceModel->toMap() : null; } return $res; } /** * @param array $map * * @return AppendSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coFeedOpenSpaceModel'])) { $model->coFeedOpenSpaceModel = coFeedOpenSpaceModel::fromMap($map['coFeedOpenSpaceModel']); } if (isset($map['imGroupOpenSpaceModel'])) { $model->imGroupOpenSpaceModel = imGroupOpenSpaceModel::fromMap($map['imGroupOpenSpaceModel']); } if (isset($map['imRobotOpenSpaceModel'])) { $model->imRobotOpenSpaceModel = imRobotOpenSpaceModel::fromMap($map['imRobotOpenSpaceModel']); } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['topOpenSpaceModel'])) { $model->topOpenSpaceModel = topOpenSpaceModel::fromMap($map['topOpenSpaceModel']); } return $model; } } src/card_1_0/Models/AppendSpaceRequest/coFeedOpenSpaceModel.php 0000644 00000001533 14713400346 0020343 0 ustar 00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return coFeedOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/imGroupOpenSpaceModel.php 0000644 00000004352 14713400346 0020602 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imGroupOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/imGroupOpenSpaceModel/notification.php 0000644 00000002424 14713400346 0023266 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/imGroupOpenSpaceModel/searchSupport.php 0000644 00000003245 14713400346 0023444 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/imRobotOpenSpaceModel.php 0000644 00000004352 14713400346 0020573 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imRobotOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/imRobotOpenSpaceModel/notification.php 0000644 00000002424 14713400346 0023257 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/imRobotOpenSpaceModel/searchSupport.php 0000644 00000003245 14713400346 0023435 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/AppendSpaceRequest/topOpenSpaceModel.php 0000644 00000001566 14713400346 0017766 0 ustar 00 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return topOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/AppendSpaceResponse.php 0000644 00000002706 14713400346 0014550 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AppendSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AppendSpaceResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/AppendSpaceResponseBody.php 0000644 00000002111 14713400346 0015354 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AppendSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateHeaders.php 0000644 00000002352 14713400346 0016611 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AppendSpaceWithDelegateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest.php 0000644 00000006430 14713400346 0016667 0 ustar 00 'coFeedOpenSpaceModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', 'outTrackId' => 'outTrackId', 'topOpenSpaceModel' => 'topOpenSpaceModel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coFeedOpenSpaceModel) { $res['coFeedOpenSpaceModel'] = null !== $this->coFeedOpenSpaceModel ? $this->coFeedOpenSpaceModel->toMap() : null; } if (null !== $this->imGroupOpenSpaceModel) { $res['imGroupOpenSpaceModel'] = null !== $this->imGroupOpenSpaceModel ? $this->imGroupOpenSpaceModel->toMap() : null; } if (null !== $this->imRobotOpenSpaceModel) { $res['imRobotOpenSpaceModel'] = null !== $this->imRobotOpenSpaceModel ? $this->imRobotOpenSpaceModel->toMap() : null; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->topOpenSpaceModel) { $res['topOpenSpaceModel'] = null !== $this->topOpenSpaceModel ? $this->topOpenSpaceModel->toMap() : null; } return $res; } /** * @param array $map * * @return AppendSpaceWithDelegateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coFeedOpenSpaceModel'])) { $model->coFeedOpenSpaceModel = coFeedOpenSpaceModel::fromMap($map['coFeedOpenSpaceModel']); } if (isset($map['imGroupOpenSpaceModel'])) { $model->imGroupOpenSpaceModel = imGroupOpenSpaceModel::fromMap($map['imGroupOpenSpaceModel']); } if (isset($map['imRobotOpenSpaceModel'])) { $model->imRobotOpenSpaceModel = imRobotOpenSpaceModel::fromMap($map['imRobotOpenSpaceModel']); } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['topOpenSpaceModel'])) { $model->topOpenSpaceModel = topOpenSpaceModel::fromMap($map['topOpenSpaceModel']); } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/coFeedOpenSpaceModel.php 0000644 00000001547 14713400346 0022637 0 ustar 00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return coFeedOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/imGroupOpenSpaceModel.php 0000644 00000004416 14713400346 0023072 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imGroupOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/imGroupOpenSpaceModel/notification.php 0000644 00000002440 14713400346 0025553 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/imGroupOpenSpaceModel/searchSupport.php 0000644 00000003261 14713400346 0025731 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/imRobotOpenSpaceModel.php 0000644 00000004416 14713400346 0023063 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imRobotOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/imRobotOpenSpaceModel/notification.php 0000644 00000002440 14713400346 0025544 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/imRobotOpenSpaceModel/searchSupport.php 0000644 00000003261 14713400346 0025722 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateRequest/topOpenSpaceModel.php 0000644 00000001602 14713400346 0022244 0 ustar 00 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return topOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateResponse.php 0000644 00000002766 14713400346 0017045 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AppendSpaceWithDelegateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AppendSpaceWithDelegateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/AppendSpaceWithDelegateResponseBody.php 0000644 00000002141 14713400346 0017646 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AppendSpaceWithDelegateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CopyTemplateHeaders.php 0000644 00000002324 14713400346 0014544 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CopyTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/CopyTemplateRequest.php 0000644 00000001610 14713400346 0014616 0 ustar 00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return CopyTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/card_1_0/Models/CopyTemplateResponse.php 0000644 00000002712 14713400346 0014770 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CopyTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CopyTemplateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/CopyTemplateResponseBody.php 0000644 00000002277 14713400346 0015614 0 ustar 00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CopyTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CopyTemplateResponseBody/data.php 0000644 00000001514 14713400346 0016516 0 ustar 00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/card_1_0/Models/CreateAndDeliverHeaders.php 0000644 00000002334 14713400346 0015300 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAndDeliverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest.php 0000644 00000026452 14713400346 0015364 0 ustar 00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenDeliverModel' => 'coFeedOpenDeliverModel', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', 'imSingleOpenDeliverModel' => 'imSingleOpenDeliverModel', 'imSingleOpenSpaceModel' => 'imSingleOpenSpaceModel', 'openDynamicDataConfig' => 'openDynamicDataConfig', 'openSpaceId' => 'openSpaceId', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'topOpenDeliverModel' => 'topOpenDeliverModel', 'topOpenSpaceModel' => 'topOpenSpaceModel', 'userId' => 'userId', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->callbackType) { $res['callbackType'] = $this->callbackType; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->coFeedOpenDeliverModel) { $res['coFeedOpenDeliverModel'] = null !== $this->coFeedOpenDeliverModel ? $this->coFeedOpenDeliverModel->toMap() : null; } if (null !== $this->coFeedOpenSpaceModel) { $res['coFeedOpenSpaceModel'] = null !== $this->coFeedOpenSpaceModel ? $this->coFeedOpenSpaceModel->toMap() : null; } if (null !== $this->docOpenDeliverModel) { $res['docOpenDeliverModel'] = null !== $this->docOpenDeliverModel ? $this->docOpenDeliverModel->toMap() : null; } if (null !== $this->imGroupOpenDeliverModel) { $res['imGroupOpenDeliverModel'] = null !== $this->imGroupOpenDeliverModel ? $this->imGroupOpenDeliverModel->toMap() : null; } if (null !== $this->imGroupOpenSpaceModel) { $res['imGroupOpenSpaceModel'] = null !== $this->imGroupOpenSpaceModel ? $this->imGroupOpenSpaceModel->toMap() : null; } if (null !== $this->imRobotOpenDeliverModel) { $res['imRobotOpenDeliverModel'] = null !== $this->imRobotOpenDeliverModel ? $this->imRobotOpenDeliverModel->toMap() : null; } if (null !== $this->imRobotOpenSpaceModel) { $res['imRobotOpenSpaceModel'] = null !== $this->imRobotOpenSpaceModel ? $this->imRobotOpenSpaceModel->toMap() : null; } if (null !== $this->imSingleOpenDeliverModel) { $res['imSingleOpenDeliverModel'] = null !== $this->imSingleOpenDeliverModel ? $this->imSingleOpenDeliverModel->toMap() : null; } if (null !== $this->imSingleOpenSpaceModel) { $res['imSingleOpenSpaceModel'] = null !== $this->imSingleOpenSpaceModel ? $this->imSingleOpenSpaceModel->toMap() : null; } if (null !== $this->openDynamicDataConfig) { $res['openDynamicDataConfig'] = null !== $this->openDynamicDataConfig ? $this->openDynamicDataConfig->toMap() : null; } if (null !== $this->openSpaceId) { $res['openSpaceId'] = $this->openSpaceId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->privateData) { $res['privateData'] = []; if (null !== $this->privateData && \is_array($this->privateData)) { foreach ($this->privateData as $key => $val) { $res['privateData'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->topOpenDeliverModel) { $res['topOpenDeliverModel'] = null !== $this->topOpenDeliverModel ? $this->topOpenDeliverModel->toMap() : null; } if (null !== $this->topOpenSpaceModel) { $res['topOpenSpaceModel'] = null !== $this->topOpenSpaceModel ? $this->topOpenSpaceModel->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return CreateAndDeliverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['callbackType'])) { $model->callbackType = $map['callbackType']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['coFeedOpenDeliverModel'])) { $model->coFeedOpenDeliverModel = coFeedOpenDeliverModel::fromMap($map['coFeedOpenDeliverModel']); } if (isset($map['coFeedOpenSpaceModel'])) { $model->coFeedOpenSpaceModel = coFeedOpenSpaceModel::fromMap($map['coFeedOpenSpaceModel']); } if (isset($map['docOpenDeliverModel'])) { $model->docOpenDeliverModel = docOpenDeliverModel::fromMap($map['docOpenDeliverModel']); } if (isset($map['imGroupOpenDeliverModel'])) { $model->imGroupOpenDeliverModel = imGroupOpenDeliverModel::fromMap($map['imGroupOpenDeliverModel']); } if (isset($map['imGroupOpenSpaceModel'])) { $model->imGroupOpenSpaceModel = imGroupOpenSpaceModel::fromMap($map['imGroupOpenSpaceModel']); } if (isset($map['imRobotOpenDeliverModel'])) { $model->imRobotOpenDeliverModel = imRobotOpenDeliverModel::fromMap($map['imRobotOpenDeliverModel']); } if (isset($map['imRobotOpenSpaceModel'])) { $model->imRobotOpenSpaceModel = imRobotOpenSpaceModel::fromMap($map['imRobotOpenSpaceModel']); } if (isset($map['imSingleOpenDeliverModel'])) { $model->imSingleOpenDeliverModel = imSingleOpenDeliverModel::fromMap($map['imSingleOpenDeliverModel']); } if (isset($map['imSingleOpenSpaceModel'])) { $model->imSingleOpenSpaceModel = imSingleOpenSpaceModel::fromMap($map['imSingleOpenSpaceModel']); } if (isset($map['openDynamicDataConfig'])) { $model->openDynamicDataConfig = openDynamicDataConfig::fromMap($map['openDynamicDataConfig']); } if (isset($map['openSpaceId'])) { $model->openSpaceId = $map['openSpaceId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['topOpenDeliverModel'])) { $model->topOpenDeliverModel = topOpenDeliverModel::fromMap($map['topOpenDeliverModel']); } if (isset($map['topOpenSpaceModel'])) { $model->topOpenSpaceModel = topOpenSpaceModel::fromMap($map['topOpenSpaceModel']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/cardData.php 0000644 00000001547 14713400346 0017065 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return cardData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/coFeedOpenDeliverModel.php 0000644 00000002320 14713400346 0021653 0 ustar 00 'bizTag', 'gmtTimeLine' => 'gmtTimeLine', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->gmtTimeLine) { $res['gmtTimeLine'] = $this->gmtTimeLine; } return $res; } /** * @param array $map * * @return coFeedOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['gmtTimeLine'])) { $model->gmtTimeLine = $map['gmtTimeLine']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/coFeedOpenSpaceModel.php 0000644 00000002307 14713400346 0021321 0 ustar 00 'coolAppCode', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return coFeedOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/docOpenDeliverModel.php 0000644 00000001550 14713400346 0021237 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return docOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imGroupOpenDeliverModel.php 0000644 00000003541 14713400346 0022116 0 ustar 00 'atUserIds', 'extension' => 'extension', 'recipients' => 'recipients', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->recipients) { $res['recipients'] = $this->recipients; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return imGroupOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['recipients'])) { if (!empty($map['recipients'])) { $model->recipients = $map['recipients']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imGroupOpenSpaceModel.php 0000644 00000004371 14713400346 0021561 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imGroupOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imGroupOpenSpaceModel/notification.php 0000644 00000002431 14713400346 0024242 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imGroupOpenSpaceModel/searchSupport.php 0000644 00000003252 14713400346 0024420 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imRobotOpenDeliverModel.php 0000644 00000002750 14713400346 0022110 0 ustar 00 'extension', 'robotCode' => 'robotCode', 'spaceType' => 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return imRobotOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imRobotOpenSpaceModel.php 0000644 00000004371 14713400346 0021552 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imRobotOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imRobotOpenSpaceModel/notification.php 0000644 00000002431 14713400346 0024233 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imRobotOpenSpaceModel/searchSupport.php 0000644 00000003252 14713400346 0024411 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imSingleOpenDeliverModel.php 0000644 00000002227 14713400346 0022243 0 ustar 00 'atUserIds', 'extension' => 'extension', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } return $res; } /** * @param array $map * * @return imSingleOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imSingleOpenSpaceModel.php 0000644 00000004375 14713400346 0021712 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imSingleOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imSingleOpenSpaceModel/notification.php 0000644 00000002432 14713400346 0024370 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/imSingleOpenSpaceModel/searchSupport.php 0000644 00000003253 14713400346 0024546 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/openDynamicDataConfig.php 0000644 00000003344 14713400346 0021545 0 ustar 00 'dynamicDataSourceConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dynamicDataSourceConfigs) { $res['dynamicDataSourceConfigs'] = []; if (null !== $this->dynamicDataSourceConfigs && \is_array($this->dynamicDataSourceConfigs)) { $n = 0; foreach ($this->dynamicDataSourceConfigs as $item) { $res['dynamicDataSourceConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return openDynamicDataConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dynamicDataSourceConfigs'])) { if (!empty($map['dynamicDataSourceConfigs'])) { $model->dynamicDataSourceConfigs = []; $n = 0; foreach ($map['dynamicDataSourceConfigs'] as $item) { $model->dynamicDataSourceConfigs[$n++] = null !== $item ? dynamicDataSourceConfigs::fromMap($item) : $item; } } } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/openDynamicDataConfig/dynamicDataSourceConfigs.php 0000644 00000003442 14713400346 0026454 0 ustar 00 'constParams', 'dynamicDataSourceId' => 'dynamicDataSourceId', 'pullConfig' => 'pullConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->constParams) { $res['constParams'] = $this->constParams; } if (null !== $this->dynamicDataSourceId) { $res['dynamicDataSourceId'] = $this->dynamicDataSourceId; } if (null !== $this->pullConfig) { $res['pullConfig'] = null !== $this->pullConfig ? $this->pullConfig->toMap() : null; } return $res; } /** * @param array $map * * @return dynamicDataSourceConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['constParams'])) { $model->constParams = $map['constParams']; } if (isset($map['dynamicDataSourceId'])) { $model->dynamicDataSourceId = $map['dynamicDataSourceId']; } if (isset($map['pullConfig'])) { $model->pullConfig = pullConfig::fromMap($map['pullConfig']); } return $model; } } Models/CreateAndDeliverRequest/openDynamicDataConfig/dynamicDataSourceConfigs/pullConfig.php 0000644 00000002735 14713400346 0030503 0 ustar 00 src/card_1_0 'interval', 'pullStrategy' => 'pullStrategy', 'timeUnit' => 'timeUnit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } return $res; } /** * @param array $map * * @return pullConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/topOpenDeliverModel.php 0000644 00000003234 14713400346 0021275 0 ustar 00 'expiredTimeMillis', 'platforms' => 'platforms', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expiredTimeMillis) { $res['expiredTimeMillis'] = $this->expiredTimeMillis; } if (null !== $this->platforms) { $res['platforms'] = $this->platforms; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return topOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expiredTimeMillis'])) { $model->expiredTimeMillis = $map['expiredTimeMillis']; } if (isset($map['platforms'])) { if (!empty($map['platforms'])) { $model->platforms = $map['platforms']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/card_1_0/Models/CreateAndDeliverRequest/topOpenSpaceModel.php 0000644 00000001573 14713400346 0020742 0 ustar 00 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return topOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/CreateAndDeliverResponse.php 0000644 00000002732 14713400346 0015525 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAndDeliverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAndDeliverResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/CreateAndDeliverResponseBody.php 0000644 00000002343 14713400346 0016341 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateAndDeliverResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateAndDeliverResponseBody/result.php 0000644 00000003553 14713400346 0017663 0 ustar 00 'deliverResults', 'outTrackId' => 'outTrackId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deliverResults) { $res['deliverResults'] = []; if (null !== $this->deliverResults && \is_array($this->deliverResults)) { $n = 0; foreach ($this->deliverResults as $item) { $res['deliverResults'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deliverResults'])) { if (!empty($map['deliverResults'])) { $model->deliverResults = []; $n = 0; foreach ($map['deliverResults'] as $item) { $model->deliverResults[$n++] = null !== $item ? deliverResults::fromMap($item) : $item; } } } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } return $model; } } src/card_1_0/Models/CreateAndDeliverResponseBody/result/deliverResults.php 0000644 00000004170 14713400346 0022673 0 ustar 00 'carrierId', 'errorMsg' => 'errorMsg', 'spaceId' => 'spaceId', 'spaceType' => 'spaceType', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->carrierId) { $res['carrierId'] = $this->carrierId; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return deliverResults */ public static function fromMap($map = []) { $model = new self(); if (isset($map['carrierId'])) { $model->carrierId = $map['carrierId']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateHeaders.php 0000644 00000002364 14713400346 0017572 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateAndDeliverWithDelegateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest.php 0000644 00000026736 14713400346 0017660 0 ustar 00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenDeliverModel' => 'coFeedOpenDeliverModel', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', 'imSingleOpenDeliverModel' => 'imSingleOpenDeliverModel', 'imSingleOpenSpaceModel' => 'imSingleOpenSpaceModel', 'openDynamicDataConfig' => 'openDynamicDataConfig', 'openSpaceId' => 'openSpaceId', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'topOpenDeliverModel' => 'topOpenDeliverModel', 'topOpenSpaceModel' => 'topOpenSpaceModel', 'userId' => 'userId', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->callbackType) { $res['callbackType'] = $this->callbackType; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->coFeedOpenDeliverModel) { $res['coFeedOpenDeliverModel'] = null !== $this->coFeedOpenDeliverModel ? $this->coFeedOpenDeliverModel->toMap() : null; } if (null !== $this->coFeedOpenSpaceModel) { $res['coFeedOpenSpaceModel'] = null !== $this->coFeedOpenSpaceModel ? $this->coFeedOpenSpaceModel->toMap() : null; } if (null !== $this->docOpenDeliverModel) { $res['docOpenDeliverModel'] = null !== $this->docOpenDeliverModel ? $this->docOpenDeliverModel->toMap() : null; } if (null !== $this->imGroupOpenDeliverModel) { $res['imGroupOpenDeliverModel'] = null !== $this->imGroupOpenDeliverModel ? $this->imGroupOpenDeliverModel->toMap() : null; } if (null !== $this->imGroupOpenSpaceModel) { $res['imGroupOpenSpaceModel'] = null !== $this->imGroupOpenSpaceModel ? $this->imGroupOpenSpaceModel->toMap() : null; } if (null !== $this->imRobotOpenDeliverModel) { $res['imRobotOpenDeliverModel'] = null !== $this->imRobotOpenDeliverModel ? $this->imRobotOpenDeliverModel->toMap() : null; } if (null !== $this->imRobotOpenSpaceModel) { $res['imRobotOpenSpaceModel'] = null !== $this->imRobotOpenSpaceModel ? $this->imRobotOpenSpaceModel->toMap() : null; } if (null !== $this->imSingleOpenDeliverModel) { $res['imSingleOpenDeliverModel'] = null !== $this->imSingleOpenDeliverModel ? $this->imSingleOpenDeliverModel->toMap() : null; } if (null !== $this->imSingleOpenSpaceModel) { $res['imSingleOpenSpaceModel'] = null !== $this->imSingleOpenSpaceModel ? $this->imSingleOpenSpaceModel->toMap() : null; } if (null !== $this->openDynamicDataConfig) { $res['openDynamicDataConfig'] = null !== $this->openDynamicDataConfig ? $this->openDynamicDataConfig->toMap() : null; } if (null !== $this->openSpaceId) { $res['openSpaceId'] = $this->openSpaceId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->privateData) { $res['privateData'] = []; if (null !== $this->privateData && \is_array($this->privateData)) { foreach ($this->privateData as $key => $val) { $res['privateData'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->topOpenDeliverModel) { $res['topOpenDeliverModel'] = null !== $this->topOpenDeliverModel ? $this->topOpenDeliverModel->toMap() : null; } if (null !== $this->topOpenSpaceModel) { $res['topOpenSpaceModel'] = null !== $this->topOpenSpaceModel ? $this->topOpenSpaceModel->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return CreateAndDeliverWithDelegateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['callbackType'])) { $model->callbackType = $map['callbackType']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['coFeedOpenDeliverModel'])) { $model->coFeedOpenDeliverModel = coFeedOpenDeliverModel::fromMap($map['coFeedOpenDeliverModel']); } if (isset($map['coFeedOpenSpaceModel'])) { $model->coFeedOpenSpaceModel = coFeedOpenSpaceModel::fromMap($map['coFeedOpenSpaceModel']); } if (isset($map['docOpenDeliverModel'])) { $model->docOpenDeliverModel = docOpenDeliverModel::fromMap($map['docOpenDeliverModel']); } if (isset($map['imGroupOpenDeliverModel'])) { $model->imGroupOpenDeliverModel = imGroupOpenDeliverModel::fromMap($map['imGroupOpenDeliverModel']); } if (isset($map['imGroupOpenSpaceModel'])) { $model->imGroupOpenSpaceModel = imGroupOpenSpaceModel::fromMap($map['imGroupOpenSpaceModel']); } if (isset($map['imRobotOpenDeliverModel'])) { $model->imRobotOpenDeliverModel = imRobotOpenDeliverModel::fromMap($map['imRobotOpenDeliverModel']); } if (isset($map['imRobotOpenSpaceModel'])) { $model->imRobotOpenSpaceModel = imRobotOpenSpaceModel::fromMap($map['imRobotOpenSpaceModel']); } if (isset($map['imSingleOpenDeliverModel'])) { $model->imSingleOpenDeliverModel = imSingleOpenDeliverModel::fromMap($map['imSingleOpenDeliverModel']); } if (isset($map['imSingleOpenSpaceModel'])) { $model->imSingleOpenSpaceModel = imSingleOpenSpaceModel::fromMap($map['imSingleOpenSpaceModel']); } if (isset($map['openDynamicDataConfig'])) { $model->openDynamicDataConfig = openDynamicDataConfig::fromMap($map['openDynamicDataConfig']); } if (isset($map['openSpaceId'])) { $model->openSpaceId = $map['openSpaceId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['topOpenDeliverModel'])) { $model->topOpenDeliverModel = topOpenDeliverModel::fromMap($map['topOpenDeliverModel']); } if (isset($map['topOpenSpaceModel'])) { $model->topOpenSpaceModel = topOpenSpaceModel::fromMap($map['topOpenSpaceModel']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/cardData.php 0000644 00000001563 14713400346 0021352 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return cardData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/coFeedOpenDeliverModel.php 0000644 00000002334 14713400346 0024147 0 ustar 00 'bizTag', 'gmtTimeLine' => 'gmtTimeLine', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->gmtTimeLine) { $res['gmtTimeLine'] = $this->gmtTimeLine; } return $res; } /** * @param array $map * * @return coFeedOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['gmtTimeLine'])) { $model->gmtTimeLine = $map['gmtTimeLine']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/coFeedOpenSpaceModel.php 0000644 00000002323 14713400346 0023606 0 ustar 00 'coolAppCode', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return coFeedOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/docOpenDeliverModel.php 0000644 00000001564 14713400346 0023533 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return docOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imGroupOpenDeliverModel.php 0000644 00000003555 14713400346 0024412 0 ustar 00 'atUserIds', 'extension' => 'extension', 'recipients' => 'recipients', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->recipients) { $res['recipients'] = $this->recipients; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return imGroupOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['recipients'])) { if (!empty($map['recipients'])) { $model->recipients = $map['recipients']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imGroupOpenSpaceModel.php 0000644 00000004435 14713400346 0024051 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imGroupOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imGroupOpenSpaceModel/notification.php 0000644 00000002445 14713400346 0026536 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imGroupOpenSpaceModel/searchSupport.php 0000644 00000003266 14713400346 0026714 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imRobotOpenDeliverModel.php 0000644 00000002764 14713400346 0024404 0 ustar 00 'extension', 'robotCode' => 'robotCode', 'spaceType' => 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return imRobotOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imRobotOpenSpaceModel.php 0000644 00000004435 14713400346 0024042 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imRobotOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imRobotOpenSpaceModel/notification.php 0000644 00000002445 14713400346 0026527 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imRobotOpenSpaceModel/searchSupport.php 0000644 00000003266 14713400346 0026705 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imSingleOpenDeliverModel.php 0000644 00000002243 14713400346 0024530 0 ustar 00 'atUserIds', 'extension' => 'extension', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } return $res; } /** * @param array $map * * @return imSingleOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imSingleOpenSpaceModel.php 0000644 00000004441 14713400346 0024173 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imSingleOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imSingleOpenSpaceModel/notification.php 0000644 00000002446 14713400346 0026664 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/imSingleOpenSpaceModel/searchSupport.php 0000644 00000003267 14713400346 0027042 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/openDynamicDataConfig.php 0000644 00000003374 14713400346 0024037 0 ustar 00 'dynamicDataSourceConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dynamicDataSourceConfigs) { $res['dynamicDataSourceConfigs'] = []; if (null !== $this->dynamicDataSourceConfigs && \is_array($this->dynamicDataSourceConfigs)) { $n = 0; foreach ($this->dynamicDataSourceConfigs as $item) { $res['dynamicDataSourceConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return openDynamicDataConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dynamicDataSourceConfigs'])) { if (!empty($map['dynamicDataSourceConfigs'])) { $model->dynamicDataSourceConfigs = []; $n = 0; foreach ($map['dynamicDataSourceConfigs'] as $item) { $model->dynamicDataSourceConfigs[$n++] = null !== $item ? dynamicDataSourceConfigs::fromMap($item) : $item; } } } return $model; } } Models/CreateAndDeliverWithDelegateRequest/openDynamicDataConfig/dynamicDataSourceConfigs.php 0000644 00000003472 14713400346 0030667 0 ustar 00 src/card_1_0 'constParams', 'dynamicDataSourceId' => 'dynamicDataSourceId', 'pullConfig' => 'pullConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->constParams) { $res['constParams'] = $this->constParams; } if (null !== $this->dynamicDataSourceId) { $res['dynamicDataSourceId'] = $this->dynamicDataSourceId; } if (null !== $this->pullConfig) { $res['pullConfig'] = null !== $this->pullConfig ? $this->pullConfig->toMap() : null; } return $res; } /** * @param array $map * * @return dynamicDataSourceConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['constParams'])) { $model->constParams = $map['constParams']; } if (isset($map['dynamicDataSourceId'])) { $model->dynamicDataSourceId = $map['dynamicDataSourceId']; } if (isset($map['pullConfig'])) { $model->pullConfig = pullConfig::fromMap($map['pullConfig']); } return $model; } } CreateAndDeliverWithDelegateRequest/openDynamicDataConfig/dynamicDataSourceConfigs/pullConfig.php 0000644 00000002751 14713400346 0032770 0 ustar 00 src/card_1_0/Models 'interval', 'pullStrategy' => 'pullStrategy', 'timeUnit' => 'timeUnit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } return $res; } /** * @param array $map * * @return pullConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/topOpenDeliverModel.php 0000644 00000003250 14713400346 0023562 0 ustar 00 'expiredTimeMillis', 'platforms' => 'platforms', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expiredTimeMillis) { $res['expiredTimeMillis'] = $this->expiredTimeMillis; } if (null !== $this->platforms) { $res['platforms'] = $this->platforms; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return topOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expiredTimeMillis'])) { $model->expiredTimeMillis = $map['expiredTimeMillis']; } if (isset($map['platforms'])) { if (!empty($map['platforms'])) { $model->platforms = $map['platforms']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateRequest/topOpenSpaceModel.php 0000644 00000001607 14713400346 0023227 0 ustar 00 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return topOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateResponse.php 0000644 00000003012 14713400346 0020004 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateAndDeliverWithDelegateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateAndDeliverWithDelegateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateResponseBody.php 0000644 00000002407 14713400346 0020631 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateAndDeliverWithDelegateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateResponseBody/result.php 0000644 00000003603 14713400346 0022146 0 ustar 00 'deliverResults', 'outTrackId' => 'outTrackId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deliverResults) { $res['deliverResults'] = []; if (null !== $this->deliverResults && \is_array($this->deliverResults)) { $n = 0; foreach ($this->deliverResults as $item) { $res['deliverResults'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deliverResults'])) { if (!empty($map['deliverResults'])) { $model->deliverResults = []; $n = 0; foreach ($map['deliverResults'] as $item) { $model->deliverResults[$n++] = null !== $item ? deliverResults::fromMap($item) : $item; } } } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } return $model; } } src/card_1_0/Models/CreateAndDeliverWithDelegateResponseBody/result/deliverResults.php 0000644 00000004204 14713400346 0025160 0 ustar 00 'carrierId', 'errorMsg' => 'errorMsg', 'spaceId' => 'spaceId', 'spaceType' => 'spaceType', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->carrierId) { $res['carrierId'] = $this->carrierId; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return deliverResults */ public static function fromMap($map = []) { $model = new self(); if (isset($map['carrierId'])) { $model->carrierId = $map['carrierId']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateCardHeaders.php 0000644 00000002320 14713400346 0014127 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/CreateCardRequest.php 0000644 00000016405 14713400346 0014215 0 ustar 00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', 'imSingleOpenSpaceModel' => 'imSingleOpenSpaceModel', 'openDynamicDataConfig' => 'openDynamicDataConfig', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'topOpenSpaceModel' => 'topOpenSpaceModel', 'userId' => 'userId', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->callbackType) { $res['callbackType'] = $this->callbackType; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->coFeedOpenSpaceModel) { $res['coFeedOpenSpaceModel'] = null !== $this->coFeedOpenSpaceModel ? $this->coFeedOpenSpaceModel->toMap() : null; } if (null !== $this->imGroupOpenSpaceModel) { $res['imGroupOpenSpaceModel'] = null !== $this->imGroupOpenSpaceModel ? $this->imGroupOpenSpaceModel->toMap() : null; } if (null !== $this->imRobotOpenSpaceModel) { $res['imRobotOpenSpaceModel'] = null !== $this->imRobotOpenSpaceModel ? $this->imRobotOpenSpaceModel->toMap() : null; } if (null !== $this->imSingleOpenSpaceModel) { $res['imSingleOpenSpaceModel'] = null !== $this->imSingleOpenSpaceModel ? $this->imSingleOpenSpaceModel->toMap() : null; } if (null !== $this->openDynamicDataConfig) { $res['openDynamicDataConfig'] = null !== $this->openDynamicDataConfig ? $this->openDynamicDataConfig->toMap() : null; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->privateData) { $res['privateData'] = []; if (null !== $this->privateData && \is_array($this->privateData)) { foreach ($this->privateData as $key => $val) { $res['privateData'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->topOpenSpaceModel) { $res['topOpenSpaceModel'] = null !== $this->topOpenSpaceModel ? $this->topOpenSpaceModel->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return CreateCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['callbackType'])) { $model->callbackType = $map['callbackType']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['coFeedOpenSpaceModel'])) { $model->coFeedOpenSpaceModel = coFeedOpenSpaceModel::fromMap($map['coFeedOpenSpaceModel']); } if (isset($map['imGroupOpenSpaceModel'])) { $model->imGroupOpenSpaceModel = imGroupOpenSpaceModel::fromMap($map['imGroupOpenSpaceModel']); } if (isset($map['imRobotOpenSpaceModel'])) { $model->imRobotOpenSpaceModel = imRobotOpenSpaceModel::fromMap($map['imRobotOpenSpaceModel']); } if (isset($map['imSingleOpenSpaceModel'])) { $model->imSingleOpenSpaceModel = imSingleOpenSpaceModel::fromMap($map['imSingleOpenSpaceModel']); } if (isset($map['openDynamicDataConfig'])) { $model->openDynamicDataConfig = openDynamicDataConfig::fromMap($map['openDynamicDataConfig']); } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['topOpenSpaceModel'])) { $model->topOpenSpaceModel = topOpenSpaceModel::fromMap($map['topOpenSpaceModel']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/CreateCardRequest/cardData.php 0000644 00000001541 14713400346 0015713 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return cardData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/CreateCardRequest/coFeedOpenSpaceModel.php 0000644 00000001470 14713400346 0020155 0 ustar 00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return coFeedOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imGroupOpenSpaceModel.php 0000644 00000004347 14713400346 0020420 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imGroupOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imGroupOpenSpaceModel/notification.php 0000644 00000002413 14713400346 0023076 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imGroupOpenSpaceModel/searchSupport.php 0000644 00000003167 14713400346 0023261 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imRobotOpenSpaceModel.php 0000644 00000004347 14713400346 0020411 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imRobotOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imRobotOpenSpaceModel/notification.php 0000644 00000002335 14713400346 0023072 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imRobotOpenSpaceModel/searchSupport.php 0000644 00000003167 14713400346 0023252 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imSingleOpenSpaceModel.php 0000644 00000004353 14713400346 0020542 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imSingleOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imSingleOpenSpaceModel/notification.php 0000644 00000002336 14713400346 0023227 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateCardRequest/imSingleOpenSpaceModel/searchSupport.php 0000644 00000003170 14713400346 0023400 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateCardRequest/openDynamicDataConfig.php 0000644 00000003330 14713400346 0020374 0 ustar 00 'dynamicDataSourceConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dynamicDataSourceConfigs) { $res['dynamicDataSourceConfigs'] = []; if (null !== $this->dynamicDataSourceConfigs && \is_array($this->dynamicDataSourceConfigs)) { $n = 0; foreach ($this->dynamicDataSourceConfigs as $item) { $res['dynamicDataSourceConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return openDynamicDataConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dynamicDataSourceConfigs'])) { if (!empty($map['dynamicDataSourceConfigs'])) { $model->dynamicDataSourceConfigs = []; $n = 0; foreach ($map['dynamicDataSourceConfigs'] as $item) { $model->dynamicDataSourceConfigs[$n++] = null !== $item ? dynamicDataSourceConfigs::fromMap($item) : $item; } } } return $model; } } src/card_1_0/Models/CreateCardRequest/openDynamicDataConfig/dynamicDataSourceConfigs.php 0000644 00000003463 14713400346 0025313 0 ustar 00 'constParams', 'dynamicDataSourceId' => 'dynamicDataSourceId', 'pullConfig' => 'pullConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->constParams) { $res['constParams'] = $this->constParams; } if (null !== $this->dynamicDataSourceId) { $res['dynamicDataSourceId'] = $this->dynamicDataSourceId; } if (null !== $this->pullConfig) { $res['pullConfig'] = null !== $this->pullConfig ? $this->pullConfig->toMap() : null; } return $res; } /** * @param array $map * * @return dynamicDataSourceConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['constParams'])) { $model->constParams = $map['constParams']; } if (isset($map['dynamicDataSourceId'])) { $model->dynamicDataSourceId = $map['dynamicDataSourceId']; } if (isset($map['pullConfig'])) { $model->pullConfig = pullConfig::fromMap($map['pullConfig']); } return $model; } } src/card_1_0/Models/CreateCardRequest/openDynamicDataConfig/dynamicDataSourceConfigs/pullConfig.php 0000644 00000003026 14713400346 0027410 0 ustar 00 'interval', 'pullStrategy' => 'pullStrategy', 'timeUnit' => 'timeUnit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } return $res; } /** * @param array $map * * @return pullConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } return $model; } } src/card_1_0/Models/CreateCardRequest/topOpenSpaceModel.php 0000644 00000001526 14713400346 0017574 0 ustar 00 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return topOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/CreateCardResponse.php 0000644 00000002702 14713400346 0014356 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCardResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/CreateCardResponseBody.php 0000644 00000002111 14713400346 0015166 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateHeaders.php 0000644 00000002350 14713400346 0016421 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCardWithDelegateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest.php 0000644 00000016561 14713400346 0016507 0 ustar 00 'callbackRouteKey', 'callbackType' => 'callbackType', 'cardData' => 'cardData', 'cardTemplateId' => 'cardTemplateId', 'coFeedOpenSpaceModel' => 'coFeedOpenSpaceModel', 'imGroupOpenSpaceModel' => 'imGroupOpenSpaceModel', 'imRobotOpenSpaceModel' => 'imRobotOpenSpaceModel', 'imSingleOpenSpaceModel' => 'imSingleOpenSpaceModel', 'openDynamicDataConfig' => 'openDynamicDataConfig', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'topOpenSpaceModel' => 'topOpenSpaceModel', 'userId' => 'userId', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->callbackType) { $res['callbackType'] = $this->callbackType; } if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardTemplateId) { $res['cardTemplateId'] = $this->cardTemplateId; } if (null !== $this->coFeedOpenSpaceModel) { $res['coFeedOpenSpaceModel'] = null !== $this->coFeedOpenSpaceModel ? $this->coFeedOpenSpaceModel->toMap() : null; } if (null !== $this->imGroupOpenSpaceModel) { $res['imGroupOpenSpaceModel'] = null !== $this->imGroupOpenSpaceModel ? $this->imGroupOpenSpaceModel->toMap() : null; } if (null !== $this->imRobotOpenSpaceModel) { $res['imRobotOpenSpaceModel'] = null !== $this->imRobotOpenSpaceModel ? $this->imRobotOpenSpaceModel->toMap() : null; } if (null !== $this->imSingleOpenSpaceModel) { $res['imSingleOpenSpaceModel'] = null !== $this->imSingleOpenSpaceModel ? $this->imSingleOpenSpaceModel->toMap() : null; } if (null !== $this->openDynamicDataConfig) { $res['openDynamicDataConfig'] = null !== $this->openDynamicDataConfig ? $this->openDynamicDataConfig->toMap() : null; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->privateData) { $res['privateData'] = []; if (null !== $this->privateData && \is_array($this->privateData)) { foreach ($this->privateData as $key => $val) { $res['privateData'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->topOpenSpaceModel) { $res['topOpenSpaceModel'] = null !== $this->topOpenSpaceModel ? $this->topOpenSpaceModel->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return CreateCardWithDelegateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['callbackType'])) { $model->callbackType = $map['callbackType']; } if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardTemplateId'])) { $model->cardTemplateId = $map['cardTemplateId']; } if (isset($map['coFeedOpenSpaceModel'])) { $model->coFeedOpenSpaceModel = coFeedOpenSpaceModel::fromMap($map['coFeedOpenSpaceModel']); } if (isset($map['imGroupOpenSpaceModel'])) { $model->imGroupOpenSpaceModel = imGroupOpenSpaceModel::fromMap($map['imGroupOpenSpaceModel']); } if (isset($map['imRobotOpenSpaceModel'])) { $model->imRobotOpenSpaceModel = imRobotOpenSpaceModel::fromMap($map['imRobotOpenSpaceModel']); } if (isset($map['imSingleOpenSpaceModel'])) { $model->imSingleOpenSpaceModel = imSingleOpenSpaceModel::fromMap($map['imSingleOpenSpaceModel']); } if (isset($map['openDynamicDataConfig'])) { $model->openDynamicDataConfig = openDynamicDataConfig::fromMap($map['openDynamicDataConfig']); } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['topOpenSpaceModel'])) { $model->topOpenSpaceModel = topOpenSpaceModel::fromMap($map['topOpenSpaceModel']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/cardData.php 0000644 00000001555 14713400346 0020207 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return cardData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/coFeedOpenSpaceModel.php 0000644 00000001504 14713400346 0022442 0 ustar 00 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return coFeedOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imGroupOpenSpaceModel.php 0000644 00000004413 14713400346 0022701 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imGroupOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imGroupOpenSpaceModel/notification.php 0000644 00000002427 14713400346 0025372 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imGroupOpenSpaceModel/searchSupport.php 0000644 00000003203 14713400346 0025537 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imRobotOpenSpaceModel.php 0000644 00000004413 14713400346 0022672 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imRobotOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imRobotOpenSpaceModel/notification.php 0000644 00000002351 14713400346 0025357 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imRobotOpenSpaceModel/searchSupport.php 0000644 00000003203 14713400346 0025530 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imSingleOpenSpaceModel.php 0000644 00000004417 14713400346 0023032 0 ustar 00 'lastMessageI18n', 'notification' => 'notification', 'searchSupport' => 'searchSupport', 'supportForward' => 'supportForward', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lastMessageI18n) { $res['lastMessageI18n'] = $this->lastMessageI18n; } if (null !== $this->notification) { $res['notification'] = null !== $this->notification ? $this->notification->toMap() : null; } if (null !== $this->searchSupport) { $res['searchSupport'] = null !== $this->searchSupport ? $this->searchSupport->toMap() : null; } if (null !== $this->supportForward) { $res['supportForward'] = $this->supportForward; } return $res; } /** * @param array $map * * @return imSingleOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lastMessageI18n'])) { $model->lastMessageI18n = $map['lastMessageI18n']; } if (isset($map['notification'])) { $model->notification = notification::fromMap($map['notification']); } if (isset($map['searchSupport'])) { $model->searchSupport = searchSupport::fromMap($map['searchSupport']); } if (isset($map['supportForward'])) { $model->supportForward = $map['supportForward']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imSingleOpenSpaceModel/notification.php 0000644 00000002352 14713400346 0025514 0 ustar 00 'alertContent', 'notificationOff' => 'notificationOff', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->alertContent) { $res['alertContent'] = $this->alertContent; } if (null !== $this->notificationOff) { $res['notificationOff'] = $this->notificationOff; } return $res; } /** * @param array $map * * @return notification */ public static function fromMap($map = []) { $model = new self(); if (isset($map['alertContent'])) { $model->alertContent = $map['alertContent']; } if (isset($map['notificationOff'])) { $model->notificationOff = $map['notificationOff']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/imSingleOpenSpaceModel/searchSupport.php 0000644 00000003204 14713400346 0025665 0 ustar 00 'searchDesc', 'searchIcon' => 'searchIcon', 'searchTypeName' => 'searchTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->searchDesc) { $res['searchDesc'] = $this->searchDesc; } if (null !== $this->searchIcon) { $res['searchIcon'] = $this->searchIcon; } if (null !== $this->searchTypeName) { $res['searchTypeName'] = $this->searchTypeName; } return $res; } /** * @param array $map * * @return searchSupport */ public static function fromMap($map = []) { $model = new self(); if (isset($map['searchDesc'])) { $model->searchDesc = $map['searchDesc']; } if (isset($map['searchIcon'])) { $model->searchIcon = $map['searchIcon']; } if (isset($map['searchTypeName'])) { $model->searchTypeName = $map['searchTypeName']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/openDynamicDataConfig.php 0000644 00000003360 14713400346 0022666 0 ustar 00 'dynamicDataSourceConfigs', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dynamicDataSourceConfigs) { $res['dynamicDataSourceConfigs'] = []; if (null !== $this->dynamicDataSourceConfigs && \is_array($this->dynamicDataSourceConfigs)) { $n = 0; foreach ($this->dynamicDataSourceConfigs as $item) { $res['dynamicDataSourceConfigs'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return openDynamicDataConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dynamicDataSourceConfigs'])) { if (!empty($map['dynamicDataSourceConfigs'])) { $model->dynamicDataSourceConfigs = []; $n = 0; foreach ($map['dynamicDataSourceConfigs'] as $item) { $model->dynamicDataSourceConfigs[$n++] = null !== $item ? dynamicDataSourceConfigs::fromMap($item) : $item; } } } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/openDynamicDataConfig/dynamicDataSourceConfigs.php0000644 00000003513 14713400346 0027576 0 ustar 00 'constParams', 'dynamicDataSourceId' => 'dynamicDataSourceId', 'pullConfig' => 'pullConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->constParams) { $res['constParams'] = $this->constParams; } if (null !== $this->dynamicDataSourceId) { $res['dynamicDataSourceId'] = $this->dynamicDataSourceId; } if (null !== $this->pullConfig) { $res['pullConfig'] = null !== $this->pullConfig ? $this->pullConfig->toMap() : null; } return $res; } /** * @param array $map * * @return dynamicDataSourceConfigs */ public static function fromMap($map = []) { $model = new self(); if (isset($map['constParams'])) { $model->constParams = $map['constParams']; } if (isset($map['dynamicDataSourceId'])) { $model->dynamicDataSourceId = $map['dynamicDataSourceId']; } if (isset($map['pullConfig'])) { $model->pullConfig = pullConfig::fromMap($map['pullConfig']); } return $model; } } Models/CreateCardWithDelegateRequest/openDynamicDataConfig/dynamicDataSourceConfigs/pullConfig.php 0000644 00000003042 14713400346 0031616 0 ustar 00 src/card_1_0 'interval', 'pullStrategy' => 'pullStrategy', 'timeUnit' => 'timeUnit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->interval) { $res['interval'] = $this->interval; } if (null !== $this->pullStrategy) { $res['pullStrategy'] = $this->pullStrategy; } if (null !== $this->timeUnit) { $res['timeUnit'] = $this->timeUnit; } return $res; } /** * @param array $map * * @return pullConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['interval'])) { $model->interval = $map['interval']; } if (isset($map['pullStrategy'])) { $model->pullStrategy = $map['pullStrategy']; } if (isset($map['timeUnit'])) { $model->timeUnit = $map['timeUnit']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateRequest/topOpenSpaceModel.php 0000644 00000001542 14713400346 0022061 0 ustar 00 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return topOpenSpaceModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/CreateCardWithDelegateResponse.php 0000644 00000002762 14713400346 0016653 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCardWithDelegateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCardWithDelegateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/CreateCardWithDelegateResponseBody.php 0000644 00000002141 14713400346 0017460 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateCardWithDelegateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateTemplateHeaders.php 0000644 00000002330 14713400346 0015032 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/CreateTemplateRequest.php 0000644 00000004062 14713400346 0015113 0 ustar 00 'appId', 'creatorId' => 'creatorId', 'extendType' => 'extendType', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->extendType) { $res['extendType'] = $this->extendType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return CreateTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['extendType'])) { $model->extendType = $map['extendType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/card_1_0/Models/CreateTemplateResponse.php 0000644 00000002722 14713400346 0015262 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTemplateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/CreateTemplateResponseBody.php 0000644 00000002305 14713400346 0016075 0 ustar 00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/CreateTemplateResponseBody/data.php 0000644 00000001516 14713400346 0017011 0 ustar 00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/card_1_0/Models/DeleteTemplateHeaders.php 0000644 00000002330 14713400346 0015031 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/DeleteTemplateRequest.php 0000644 00000001525 14713400346 0015113 0 ustar 00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return DeleteTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/card_1_0/Models/DeleteTemplateResponse.php 0000644 00000002722 14713400346 0015261 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteTemplateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/DeleteTemplateResponseBody.php 0000644 00000001502 14713400346 0016072 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/DeliverCardHeaders.php 0000644 00000002322 14713400346 0014320 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeliverCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/DeliverCardRequest.php 0000644 00000012534 14713400346 0014403 0 ustar 00 'coFeedOpenDeliverModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', 'imSingleOpenDeliverModel' => 'imSingleOpenDeliverModel', 'openSpaceId' => 'openSpaceId', 'outTrackId' => 'outTrackId', 'topOpenDeliverModel' => 'topOpenDeliverModel', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coFeedOpenDeliverModel) { $res['coFeedOpenDeliverModel'] = null !== $this->coFeedOpenDeliverModel ? $this->coFeedOpenDeliverModel->toMap() : null; } if (null !== $this->docOpenDeliverModel) { $res['docOpenDeliverModel'] = null !== $this->docOpenDeliverModel ? $this->docOpenDeliverModel->toMap() : null; } if (null !== $this->imGroupOpenDeliverModel) { $res['imGroupOpenDeliverModel'] = null !== $this->imGroupOpenDeliverModel ? $this->imGroupOpenDeliverModel->toMap() : null; } if (null !== $this->imRobotOpenDeliverModel) { $res['imRobotOpenDeliverModel'] = null !== $this->imRobotOpenDeliverModel ? $this->imRobotOpenDeliverModel->toMap() : null; } if (null !== $this->imSingleOpenDeliverModel) { $res['imSingleOpenDeliverModel'] = null !== $this->imSingleOpenDeliverModel ? $this->imSingleOpenDeliverModel->toMap() : null; } if (null !== $this->openSpaceId) { $res['openSpaceId'] = $this->openSpaceId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->topOpenDeliverModel) { $res['topOpenDeliverModel'] = null !== $this->topOpenDeliverModel ? $this->topOpenDeliverModel->toMap() : null; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return DeliverCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coFeedOpenDeliverModel'])) { $model->coFeedOpenDeliverModel = coFeedOpenDeliverModel::fromMap($map['coFeedOpenDeliverModel']); } if (isset($map['docOpenDeliverModel'])) { $model->docOpenDeliverModel = docOpenDeliverModel::fromMap($map['docOpenDeliverModel']); } if (isset($map['imGroupOpenDeliverModel'])) { $model->imGroupOpenDeliverModel = imGroupOpenDeliverModel::fromMap($map['imGroupOpenDeliverModel']); } if (isset($map['imRobotOpenDeliverModel'])) { $model->imRobotOpenDeliverModel = imRobotOpenDeliverModel::fromMap($map['imRobotOpenDeliverModel']); } if (isset($map['imSingleOpenDeliverModel'])) { $model->imSingleOpenDeliverModel = imSingleOpenDeliverModel::fromMap($map['imSingleOpenDeliverModel']); } if (isset($map['openSpaceId'])) { $model->openSpaceId = $map['openSpaceId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['topOpenDeliverModel'])) { $model->topOpenDeliverModel = topOpenDeliverModel::fromMap($map['topOpenDeliverModel']); } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/DeliverCardRequest/coFeedOpenDeliverModel.php 0000644 00000002313 14713400346 0020700 0 ustar 00 'bizTag', 'gmtTimeLine' => 'gmtTimeLine', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->gmtTimeLine) { $res['gmtTimeLine'] = $this->gmtTimeLine; } return $res; } /** * @param array $map * * @return coFeedOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['gmtTimeLine'])) { $model->gmtTimeLine = $map['gmtTimeLine']; } return $model; } } src/card_1_0/Models/DeliverCardRequest/docOpenDeliverModel.php 0000644 00000001543 14713400346 0020264 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return docOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/card_1_0/Models/DeliverCardRequest/imGroupOpenDeliverModel.php 0000644 00000003534 14713400346 0021143 0 ustar 00 'atUserIds', 'extension' => 'extension', 'recipients' => 'recipients', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->recipients) { $res['recipients'] = $this->recipients; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return imGroupOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['recipients'])) { if (!empty($map['recipients'])) { $model->recipients = $map['recipients']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/card_1_0/Models/DeliverCardRequest/imRobotOpenDeliverModel.php 0000644 00000003003 14713400346 0021123 0 ustar 00 'extension', 'robotCode' => 'robotCode', 'spaceType' => 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return imRobotOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/DeliverCardRequest/imSingleOpenDeliverModel.php 0000644 00000002222 14713400346 0021261 0 ustar 00 'atUserIds', 'extension' => 'extension', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } return $res; } /** * @param array $map * * @return imSingleOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } return $model; } } src/card_1_0/Models/DeliverCardRequest/topOpenDeliverModel.php 0000644 00000003227 14713400346 0020322 0 ustar 00 'expiredTimeMillis', 'platforms' => 'platforms', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expiredTimeMillis) { $res['expiredTimeMillis'] = $this->expiredTimeMillis; } if (null !== $this->platforms) { $res['platforms'] = $this->platforms; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return topOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expiredTimeMillis'])) { $model->expiredTimeMillis = $map['expiredTimeMillis']; } if (isset($map['platforms'])) { if (!empty($map['platforms'])) { $model->platforms = $map['platforms']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/card_1_0/Models/DeliverCardResponse.php 0000644 00000002706 14713400346 0014551 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeliverCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeliverCardResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/DeliverCardResponseBody.php 0000644 00000003214 14713400346 0015362 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeliverCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/DeliverCardResponseBody/result.php 0000644 00000004134 14713400346 0016702 0 ustar 00 'carrierId', 'errorMsg' => 'errorMsg', 'spaceId' => 'spaceId', 'spaceType' => 'spaceType', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->carrierId) { $res['carrierId'] = $this->carrierId; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['carrierId'])) { $model->carrierId = $map['carrierId']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateHeaders.php 0000644 00000002352 14713400346 0016612 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeliverCardWithDelegateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest.php 0000644 00000012674 14713400346 0016677 0 ustar 00 'coFeedOpenDeliverModel', 'docOpenDeliverModel' => 'docOpenDeliverModel', 'imGroupOpenDeliverModel' => 'imGroupOpenDeliverModel', 'imRobotOpenDeliverModel' => 'imRobotOpenDeliverModel', 'imSingleOpenDeliverModel' => 'imSingleOpenDeliverModel', 'openSpaceId' => 'openSpaceId', 'outTrackId' => 'outTrackId', 'topOpenDeliverModel' => 'topOpenDeliverModel', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coFeedOpenDeliverModel) { $res['coFeedOpenDeliverModel'] = null !== $this->coFeedOpenDeliverModel ? $this->coFeedOpenDeliverModel->toMap() : null; } if (null !== $this->docOpenDeliverModel) { $res['docOpenDeliverModel'] = null !== $this->docOpenDeliverModel ? $this->docOpenDeliverModel->toMap() : null; } if (null !== $this->imGroupOpenDeliverModel) { $res['imGroupOpenDeliverModel'] = null !== $this->imGroupOpenDeliverModel ? $this->imGroupOpenDeliverModel->toMap() : null; } if (null !== $this->imRobotOpenDeliverModel) { $res['imRobotOpenDeliverModel'] = null !== $this->imRobotOpenDeliverModel ? $this->imRobotOpenDeliverModel->toMap() : null; } if (null !== $this->imSingleOpenDeliverModel) { $res['imSingleOpenDeliverModel'] = null !== $this->imSingleOpenDeliverModel ? $this->imSingleOpenDeliverModel->toMap() : null; } if (null !== $this->openSpaceId) { $res['openSpaceId'] = $this->openSpaceId; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->topOpenDeliverModel) { $res['topOpenDeliverModel'] = null !== $this->topOpenDeliverModel ? $this->topOpenDeliverModel->toMap() : null; } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return DeliverCardWithDelegateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coFeedOpenDeliverModel'])) { $model->coFeedOpenDeliverModel = coFeedOpenDeliverModel::fromMap($map['coFeedOpenDeliverModel']); } if (isset($map['docOpenDeliverModel'])) { $model->docOpenDeliverModel = docOpenDeliverModel::fromMap($map['docOpenDeliverModel']); } if (isset($map['imGroupOpenDeliverModel'])) { $model->imGroupOpenDeliverModel = imGroupOpenDeliverModel::fromMap($map['imGroupOpenDeliverModel']); } if (isset($map['imRobotOpenDeliverModel'])) { $model->imRobotOpenDeliverModel = imRobotOpenDeliverModel::fromMap($map['imRobotOpenDeliverModel']); } if (isset($map['imSingleOpenDeliverModel'])) { $model->imSingleOpenDeliverModel = imSingleOpenDeliverModel::fromMap($map['imSingleOpenDeliverModel']); } if (isset($map['openSpaceId'])) { $model->openSpaceId = $map['openSpaceId']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['topOpenDeliverModel'])) { $model->topOpenDeliverModel = topOpenDeliverModel::fromMap($map['topOpenDeliverModel']); } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest/coFeedOpenDeliverModel.php 0000644 00000002327 14713400346 0023174 0 ustar 00 'bizTag', 'gmtTimeLine' => 'gmtTimeLine', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTag) { $res['bizTag'] = $this->bizTag; } if (null !== $this->gmtTimeLine) { $res['gmtTimeLine'] = $this->gmtTimeLine; } return $res; } /** * @param array $map * * @return coFeedOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTag'])) { $model->bizTag = $map['bizTag']; } if (isset($map['gmtTimeLine'])) { $model->gmtTimeLine = $map['gmtTimeLine']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest/docOpenDeliverModel.php 0000644 00000001557 14713400346 0022560 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return docOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest/imGroupOpenDeliverModel.php 0000644 00000003550 14713400346 0023430 0 ustar 00 'atUserIds', 'extension' => 'extension', 'recipients' => 'recipients', 'robotCode' => 'robotCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->recipients) { $res['recipients'] = $this->recipients; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } return $res; } /** * @param array $map * * @return imGroupOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['recipients'])) { if (!empty($map['recipients'])) { $model->recipients = $map['recipients']; } } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest/imRobotOpenDeliverModel.php 0000644 00000003017 14713400346 0023417 0 ustar 00 'extension', 'robotCode' => 'robotCode', 'spaceType' => 'spaceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->robotCode) { $res['robotCode'] = $this->robotCode; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } return $res; } /** * @param array $map * * @return imRobotOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['robotCode'])) { $model->robotCode = $map['robotCode']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest/imSingleOpenDeliverModel.php 0000644 00000002236 14713400346 0023555 0 ustar 00 'atUserIds', 'extension' => 'extension', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->atUserIds) { $res['atUserIds'] = $this->atUserIds; } if (null !== $this->extension) { $res['extension'] = $this->extension; } return $res; } /** * @param array $map * * @return imSingleOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['atUserIds'])) { $model->atUserIds = $map['atUserIds']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateRequest/topOpenDeliverModel.php 0000644 00000003243 14713400346 0022607 0 ustar 00 'expiredTimeMillis', 'platforms' => 'platforms', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expiredTimeMillis) { $res['expiredTimeMillis'] = $this->expiredTimeMillis; } if (null !== $this->platforms) { $res['platforms'] = $this->platforms; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return topOpenDeliverModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expiredTimeMillis'])) { $model->expiredTimeMillis = $map['expiredTimeMillis']; } if (isset($map['platforms'])) { if (!empty($map['platforms'])) { $model->platforms = $map['platforms']; } } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateResponse.php 0000644 00000002766 14713400346 0017046 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeliverCardWithDelegateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeliverCardWithDelegateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateResponseBody.php 0000644 00000003260 14713400346 0017652 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeliverCardWithDelegateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/DeliverCardWithDelegateResponseBody/result.php 0000644 00000004150 14713400346 0021167 0 ustar 00 'carrierId', 'errorMsg' => 'errorMsg', 'spaceId' => 'spaceId', 'spaceType' => 'spaceType', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->carrierId) { $res['carrierId'] = $this->carrierId; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->spaceType) { $res['spaceType'] = $this->spaceType; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['carrierId'])) { $model->carrierId = $map['carrierId']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['spaceType'])) { $model->spaceType = $map['spaceType']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/GetTemplateHeaders.php 0000644 00000002322 14713400346 0014347 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/GetTemplateRequest.php 0000644 00000001517 14713400346 0014431 0 ustar 00 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return GetTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/card_1_0/Models/GetTemplateResponse.php 0000644 00000002706 14713400346 0014600 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTemplateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/GetTemplateResponseBody.php 0000644 00000002274 14713400346 0015416 0 ustar 00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/GetTemplateResponseBody/data.php 0000644 00000007624 14713400346 0016333 0 ustar 00 'commonVariableList', 'creatorId' => 'creatorId', 'expVariableList' => 'expVariableList', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'localVariableList' => 'localVariableList', 'name' => 'name', 'preview' => 'preview', 'status' => 'status', 'templateId' => 'templateId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonVariableList) { $res['commonVariableList'] = $this->commonVariableList; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->expVariableList) { $res['expVariableList'] = $this->expVariableList; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->localVariableList) { $res['localVariableList'] = $this->localVariableList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->preview) { $res['preview'] = $this->preview; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonVariableList'])) { $model->commonVariableList = $map['commonVariableList']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['expVariableList'])) { $model->expVariableList = $map['expVariableList']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['localVariableList'])) { $model->localVariableList = $map['localVariableList']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['preview'])) { $model->preview = $map['preview']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/card_1_0/Models/PrivateDataValue.php 0000644 00000001537 14713400346 0014050 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return PrivateDataValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/PublishTemplateHeaders.php 0000644 00000002332 14713400346 0015237 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PublishTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/PublishTemplateRequest.php 0000644 00000002756 14713400346 0015326 0 ustar 00 'name', 'templateId' => 'templateId', 'templateSource' => 'templateSource', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateSource) { $res['templateSource'] = $this->templateSource; } return $res; } /** * @param array $map * * @return PublishTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateSource'])) { $model->templateSource = $map['templateSource']; } return $model; } } src/card_1_0/Models/PublishTemplateResponse.php 0000644 00000002726 14713400346 0015471 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PublishTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PublishTemplateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/PublishTemplateResponseBody.php 0000644 00000002310 14713400346 0016274 0 ustar 00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PublishTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/PublishTemplateResponseBody/data.php 0000644 00000010322 14713400346 0017207 0 ustar 00 'commonVariableList', 'creatorId' => 'creatorId', 'expVariableList' => 'expVariableList', 'extendType' => 'extendType', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'localVariableList' => 'localVariableList', 'name' => 'name', 'preview' => 'preview', 'status' => 'status', 'templateId' => 'templateId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonVariableList) { $res['commonVariableList'] = $this->commonVariableList; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->expVariableList) { $res['expVariableList'] = $this->expVariableList; } if (null !== $this->extendType) { $res['extendType'] = $this->extendType; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->localVariableList) { $res['localVariableList'] = $this->localVariableList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->preview) { $res['preview'] = $this->preview; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonVariableList'])) { $model->commonVariableList = $map['commonVariableList']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['expVariableList'])) { $model->expVariableList = $map['expVariableList']; } if (isset($map['extendType'])) { $model->extendType = $map['extendType']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['localVariableList'])) { $model->localVariableList = $map['localVariableList']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['preview'])) { $model->preview = $map['preview']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/card_1_0/Models/RegisterCallbackHeaders.php 0000644 00000002334 14713400346 0015340 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterCallbackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/RegisterCallbackRequest.php 0000644 00000004040 14713400346 0015411 0 ustar 00 'apiSecret', 'callbackRouteKey' => 'callbackRouteKey', 'callbackUrl' => 'callbackUrl', 'forceUpdate' => 'forceUpdate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->forceUpdate) { $res['forceUpdate'] = $this->forceUpdate; } return $res; } /** * @param array $map * * @return RegisterCallbackRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['forceUpdate'])) { $model->forceUpdate = $map['forceUpdate']; } return $model; } } src/card_1_0/Models/RegisterCallbackResponse.php 0000644 00000002732 14713400346 0015565 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterCallbackResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterCallbackResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/RegisterCallbackResponseBody.php 0000644 00000002343 14713400346 0016401 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RegisterCallbackResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/RegisterCallbackResponseBody/result.php 0000644 00000002210 14713400346 0017710 0 ustar 00 'apiSecret', 'callbackUrl' => 'callbackUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } return $model; } } src/card_1_0/Models/RegisterCallbackWithDelegateHeaders.php 0000644 00000002364 14713400346 0017632 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterCallbackWithDelegateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/RegisterCallbackWithDelegateRequest.php 0000644 00000004070 14713400346 0017703 0 ustar 00 'apiSecret', 'callbackRouteKey' => 'callbackRouteKey', 'callbackUrl' => 'callbackUrl', 'forceUpdate' => 'forceUpdate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->callbackRouteKey) { $res['callbackRouteKey'] = $this->callbackRouteKey; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } if (null !== $this->forceUpdate) { $res['forceUpdate'] = $this->forceUpdate; } return $res; } /** * @param array $map * * @return RegisterCallbackWithDelegateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['callbackRouteKey'])) { $model->callbackRouteKey = $map['callbackRouteKey']; } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } if (isset($map['forceUpdate'])) { $model->forceUpdate = $map['forceUpdate']; } return $model; } } src/card_1_0/Models/RegisterCallbackWithDelegateResponse.php 0000644 00000003012 14713400346 0020044 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterCallbackWithDelegateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterCallbackWithDelegateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/RegisterCallbackWithDelegateResponseBody.php 0000644 00000002407 14713400346 0020671 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RegisterCallbackWithDelegateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/RegisterCallbackWithDelegateResponseBody/result.php 0000644 00000002224 14713400346 0022204 0 ustar 00 'apiSecret', 'callbackUrl' => 'callbackUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->callbackUrl) { $res['callbackUrl'] = $this->callbackUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['callbackUrl'])) { $model->callbackUrl = $map['callbackUrl']; } return $model; } } src/card_1_0/Models/SaveTemplateHeaders.php 0000644 00000002324 14713400346 0014530 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/SaveTemplateRequest.php 0000644 00000002661 14713400346 0014611 0 ustar 00 'name', 'templateId' => 'templateId', 'templateSource' => 'templateSource', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateSource) { $res['templateSource'] = $this->templateSource; } return $res; } /** * @param array $map * * @return SaveTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateSource'])) { $model->templateSource = $map['templateSource']; } return $model; } } src/card_1_0/Models/SaveTemplateResponse.php 0000644 00000002712 14713400346 0014754 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveTemplateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/SaveTemplateResponseBody.php 0000644 00000002277 14713400346 0015600 0 ustar 00 'data', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = null !== $this->data ? $this->data->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SaveTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = data::fromMap($map['data']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/SaveTemplateResponseBody/data.php 0000644 00000010317 14713400346 0016503 0 ustar 00 'commonVariableList', 'creatorId' => 'creatorId', 'expVariableList' => 'expVariableList', 'extendType' => 'extendType', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'localVariableList' => 'localVariableList', 'name' => 'name', 'preview' => 'preview', 'status' => 'status', 'templateId' => 'templateId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonVariableList) { $res['commonVariableList'] = $this->commonVariableList; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->expVariableList) { $res['expVariableList'] = $this->expVariableList; } if (null !== $this->extendType) { $res['extendType'] = $this->extendType; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->localVariableList) { $res['localVariableList'] = $this->localVariableList; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->preview) { $res['preview'] = $this->preview; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return data */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonVariableList'])) { $model->commonVariableList = $map['commonVariableList']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['expVariableList'])) { $model->expVariableList = $map['expVariableList']; } if (isset($map['extendType'])) { $model->extendType = $map['extendType']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['localVariableList'])) { $model->localVariableList = $map['localVariableList']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['preview'])) { $model->preview = $map['preview']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/card_1_0/Models/StreamingUpdateHeaders.php 0000644 00000002332 14713400346 0015231 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StreamingUpdateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/StreamingUpdateRequest.php 0000644 00000005241 14713400346 0015310 0 ustar 00 'content', 'guid' => 'guid', 'isError' => 'isError', 'isFinalize' => 'isFinalize', 'isFull' => 'isFull', 'key' => 'key', 'outTrackId' => 'outTrackId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->guid) { $res['guid'] = $this->guid; } if (null !== $this->isError) { $res['isError'] = $this->isError; } if (null !== $this->isFinalize) { $res['isFinalize'] = $this->isFinalize; } if (null !== $this->isFull) { $res['isFull'] = $this->isFull; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } return $res; } /** * @param array $map * * @return StreamingUpdateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['guid'])) { $model->guid = $map['guid']; } if (isset($map['isError'])) { $model->isError = $map['isError']; } if (isset($map['isFinalize'])) { $model->isFinalize = $map['isFinalize']; } if (isset($map['isFull'])) { $model->isFull = $map['isFull']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } return $model; } } src/card_1_0/Models/StreamingUpdateResponse.php 0000644 00000002726 14713400346 0015463 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StreamingUpdateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StreamingUpdateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/StreamingUpdateResponseBody.php 0000644 00000002121 14713400346 0016266 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return StreamingUpdateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/UpdateCardHeaders.php 0000644 00000002320 14713400346 0014146 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/UpdateCardRequest.php 0000644 00000005362 14713400346 0014234 0 ustar 00 'cardData', 'cardUpdateOptions' => 'cardUpdateOptions', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardUpdateOptions) { $res['cardUpdateOptions'] = null !== $this->cardUpdateOptions ? $this->cardUpdateOptions->toMap() : null; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->privateData) { $res['privateData'] = []; if (null !== $this->privateData && \is_array($this->privateData)) { foreach ($this->privateData as $key => $val) { $res['privateData'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return UpdateCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardUpdateOptions'])) { $model->cardUpdateOptions = cardUpdateOptions::fromMap($map['cardUpdateOptions']); } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/UpdateCardRequest/cardData.php 0000644 00000001541 14713400346 0015732 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return cardData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/UpdateCardRequest/cardUpdateOptions.php 0000644 00000002515 14713400346 0017661 0 ustar 00 'updateCardDataByKey', 'updatePrivateDataByKey' => 'updatePrivateDataByKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updateCardDataByKey) { $res['updateCardDataByKey'] = $this->updateCardDataByKey; } if (null !== $this->updatePrivateDataByKey) { $res['updatePrivateDataByKey'] = $this->updatePrivateDataByKey; } return $res; } /** * @param array $map * * @return cardUpdateOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updateCardDataByKey'])) { $model->updateCardDataByKey = $map['updateCardDataByKey']; } if (isset($map['updatePrivateDataByKey'])) { $model->updatePrivateDataByKey = $map['updatePrivateDataByKey']; } return $model; } } src/card_1_0/Models/UpdateCardResponse.php 0000644 00000002702 14713400346 0014375 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCardResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/UpdateCardResponseBody.php 0000644 00000002107 14713400346 0015212 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/card_1_0/Models/UpdateCardWithDelegateHeaders.php 0000644 00000002350 14713400346 0016440 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCardWithDelegateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/card_1_0/Models/UpdateCardWithDelegateRequest.php 0000644 00000005442 14713400346 0016522 0 ustar 00 'cardData', 'cardUpdateOptions' => 'cardUpdateOptions', 'outTrackId' => 'outTrackId', 'privateData' => 'privateData', 'userIdType' => 'userIdType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardData) { $res['cardData'] = null !== $this->cardData ? $this->cardData->toMap() : null; } if (null !== $this->cardUpdateOptions) { $res['cardUpdateOptions'] = null !== $this->cardUpdateOptions ? $this->cardUpdateOptions->toMap() : null; } if (null !== $this->outTrackId) { $res['outTrackId'] = $this->outTrackId; } if (null !== $this->privateData) { $res['privateData'] = []; if (null !== $this->privateData && \is_array($this->privateData)) { foreach ($this->privateData as $key => $val) { $res['privateData'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->userIdType) { $res['userIdType'] = $this->userIdType; } return $res; } /** * @param array $map * * @return UpdateCardWithDelegateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardData'])) { $model->cardData = cardData::fromMap($map['cardData']); } if (isset($map['cardUpdateOptions'])) { $model->cardUpdateOptions = cardUpdateOptions::fromMap($map['cardUpdateOptions']); } if (isset($map['outTrackId'])) { $model->outTrackId = $map['outTrackId']; } if (isset($map['privateData'])) { $model->privateData = $map['privateData']; } if (isset($map['userIdType'])) { $model->userIdType = $map['userIdType']; } return $model; } } src/card_1_0/Models/UpdateCardWithDelegateRequest/cardData.php 0000644 00000001555 14713400346 0020226 0 ustar 00 'cardParamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardParamMap) { $res['cardParamMap'] = $this->cardParamMap; } return $res; } /** * @param array $map * * @return cardData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardParamMap'])) { $model->cardParamMap = $map['cardParamMap']; } return $model; } } src/card_1_0/Models/UpdateCardWithDelegateRequest/cardUpdateOptions.php 0000644 00000002531 14713400346 0022146 0 ustar 00 'updateCardDataByKey', 'updatePrivateDataByKey' => 'updatePrivateDataByKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->updateCardDataByKey) { $res['updateCardDataByKey'] = $this->updateCardDataByKey; } if (null !== $this->updatePrivateDataByKey) { $res['updatePrivateDataByKey'] = $this->updatePrivateDataByKey; } return $res; } /** * @param array $map * * @return cardUpdateOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['updateCardDataByKey'])) { $model->updateCardDataByKey = $map['updateCardDataByKey']; } if (isset($map['updatePrivateDataByKey'])) { $model->updatePrivateDataByKey = $map['updatePrivateDataByKey']; } return $model; } } src/card_1_0/Models/UpdateCardWithDelegateResponse.php 0000644 00000002762 14713400346 0016672 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCardWithDelegateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCardWithDelegateResponseBody::fromMap($map['body']); } return $model; } } src/card_1_0/Models/UpdateCardWithDelegateResponseBody.php 0000644 00000002137 14713400346 0017504 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateCardWithDelegateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/check_in_1_0/Dingtalk.php 0000644 00000007444 14713400346 0012016 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 调用本接口,获取用户签到记录 * * * @param GetCheckinRecordByUserRequest $request GetCheckinRecordByUserRequest * @param GetCheckinRecordByUserHeaders $headers GetCheckinRecordByUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCheckinRecordByUserResponse GetCheckinRecordByUserResponse */ public function getCheckinRecordByUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->userIdList)) { $body['userIdList'] = $request->userIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetCheckinRecordByUser', 'version' => 'checkIn_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/checkIn/records/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCheckinRecordByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 调用本接口,获取用户签到记录 * * * @param GetCheckinRecordByUserRequest $request GetCheckinRecordByUserRequest * * @return GetCheckinRecordByUserResponse GetCheckinRecordByUserResponse */ public function getCheckinRecordByUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetCheckinRecordByUserHeaders([]); return $this->getCheckinRecordByUserWithOptions($request, $headers, $runtime); } } src/check_in_1_0/Models/GetCheckinRecordByUserHeaders.php 0000644 00000002354 14713400346 0017270 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/check_in_1_0/Models/GetCheckinRecordByUserRequest.php 0000644 00000005363 14713400346 0017350 0 ustar 00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'operatorUserId' => 'operatorUserId', 'startTime' => 'startTime', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/check_in_1_0/Models/GetCheckinRecordByUserResponse.php 0000644 00000002766 14713400346 0017522 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCheckinRecordByUserResponseBody::fromMap($map['body']); } return $model; } } src/check_in_1_0/Models/GetCheckinRecordByUserResponseBody.php 0000644 00000001747 14713400346 0020336 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetCheckinRecordByUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/check_in_1_0/Models/GetCheckinRecordByUserResponseBody/result.php 0000644 00000003334 14713400346 0021646 0 ustar 00 'nextToken', 'pageList' => 'pageList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->pageList) { $res['pageList'] = []; if (null !== $this->pageList && \is_array($this->pageList)) { $n = 0; foreach ($this->pageList as $item) { $res['pageList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['pageList'])) { if (!empty($map['pageList'])) { $model->pageList = []; $n = 0; foreach ($map['pageList'] as $item) { $model->pageList[$n++] = null !== $item ? pageList::fromMap($item) : $item; } } } return $model; } } src/check_in_1_0/Models/GetCheckinRecordByUserResponseBody/result/pageList.php 0000644 00000007205 14713400346 0023417 0 ustar 00 'checkinTime', 'customDataList' => 'customDataList', 'detailPlace' => 'detailPlace', 'imageList' => 'imageList', 'place' => 'place', 'remark' => 'remark', 'userId' => 'userId', 'visitUser' => 'visitUser', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->checkinTime) { $res['checkinTime'] = $this->checkinTime; } if (null !== $this->customDataList) { $res['customDataList'] = []; if (null !== $this->customDataList && \is_array($this->customDataList)) { $n = 0; foreach ($this->customDataList as $item) { $res['customDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->detailPlace) { $res['detailPlace'] = $this->detailPlace; } if (null !== $this->imageList) { $res['imageList'] = $this->imageList; } if (null !== $this->place) { $res['place'] = $this->place; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->visitUser) { $res['visitUser'] = $this->visitUser; } return $res; } /** * @param array $map * * @return pageList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['checkinTime'])) { $model->checkinTime = $map['checkinTime']; } if (isset($map['customDataList'])) { if (!empty($map['customDataList'])) { $model->customDataList = []; $n = 0; foreach ($map['customDataList'] as $item) { $model->customDataList[$n++] = null !== $item ? customDataList::fromMap($item) : $item; } } } if (isset($map['detailPlace'])) { $model->detailPlace = $map['detailPlace']; } if (isset($map['imageList'])) { if (!empty($map['imageList'])) { $model->imageList = $map['imageList']; } } if (isset($map['place'])) { $model->place = $map['place']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['visitUser'])) { $model->visitUser = $map['visitUser']; } return $model; } } src/check_in_1_0/Models/GetCheckinRecordByUserResponseBody/result/pageList/customDataList.php 0000644 00000002513 14713400346 0026354 0 ustar 00 'key', 'label' => 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return customDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/chengfeng_1_0/Dingtalk.php 0000644 00000134014 14713400346 0012171 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 获取组织下的全部职级 * * * @param GetAllJobLevelHeaders $headers GetAllJobLevelHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAllJobLevelResponse GetAllJobLevelResponse */ public function getAllJobLevelWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetAllJobLevel', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/jobLevels', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAllJobLevelResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取组织下的全部职级 * * * @return GetAllJobLevelResponse GetAllJobLevelResponse */ public function getAllJobLevel() { $runtime = new RuntimeOptions([]); $headers = new GetAllJobLevelHeaders([]); return $this->getAllJobLevelWithOptions($headers, $runtime); } /** * @summary 获取公司全部职位 * * * @param GetAllJobPositionHeaders $headers GetAllJobPositionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAllJobPositionResponse GetAllJobPositionResponse */ public function getAllJobPositionWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetAllJobPosition', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/jobPositions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAllJobPositionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取公司全部职位 * * * @return GetAllJobPositionResponse GetAllJobPositionResponse */ public function getAllJobPosition() { $runtime = new RuntimeOptions([]); $headers = new GetAllJobPositionHeaders([]); return $this->getAllJobPositionWithOptions($headers, $runtime); } /** * @summary 获取组织下的所有职务 * * * @param GetAllJobPostHeaders $headers GetAllJobPostHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAllJobPostResponse GetAllJobPostResponse */ public function getAllJobPostWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetAllJobPost', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/jobPosts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAllJobPostResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取组织下的所有职务 * * * @return GetAllJobPostResponse GetAllJobPostResponse */ public function getAllJobPost() { $runtime = new RuntimeOptions([]); $headers = new GetAllJobPostHeaders([]); return $this->getAllJobPostWithOptions($headers, $runtime); } /** * @summary 获取分析运营数据 * * * @param GetAnalyzeDataRequest $request GetAnalyzeDataRequest * @param GetAnalyzeDataHeaders $headers GetAnalyzeDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAnalyzeDataResponse GetAnalyzeDataResponse */ public function getAnalyzeDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } $body = []; if (!Utils::isUnset($request->periodIds)) { $body['periodIds'] = $request->periodIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetAnalyzeData', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/analyses/datas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAnalyzeDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取分析运营数据 * * * @param GetAnalyzeDataRequest $request GetAnalyzeDataRequest * * @return GetAnalyzeDataResponse GetAnalyzeDataResponse */ public function getAnalyzeData($request) { $runtime = new RuntimeOptions([]); $headers = new GetAnalyzeDataHeaders([]); return $this->getAnalyzeDataWithOptions($request, $headers, $runtime); } /** * @summary 根据部门编码查询下组织列表 * * * @param GetChildOrgListRequest $request GetChildOrgListRequest * @param GetChildOrgListHeaders $headers GetChildOrgListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetChildOrgListResponse GetChildOrgListResponse */ public function getChildOrgListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptCode)) { $query['deptCode'] = $request->deptCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetChildOrgList', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/organizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetChildOrgListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据部门编码查询下组织列表 * * * @param GetChildOrgListRequest $request GetChildOrgListRequest * * @return GetChildOrgListResponse GetChildOrgListResponse */ public function getChildOrgList($request) { $runtime = new RuntimeOptions([]); $headers = new GetChildOrgListHeaders([]); return $this->getChildOrgListWithOptions($request, $headers, $runtime); } /** * @summary 根据工号查询员工基础信息 * * * @param GetEmployeeInfoByWorkNoRequest $request GetEmployeeInfoByWorkNoRequest * @param GetEmployeeInfoByWorkNoHeaders $headers GetEmployeeInfoByWorkNoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetEmployeeInfoByWorkNoResponse GetEmployeeInfoByWorkNoResponse */ public function getEmployeeInfoByWorkNoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->workNo)) { $query['workNo'] = $request->workNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetEmployeeInfoByWorkNo', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/workNumbers/employees', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEmployeeInfoByWorkNoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据工号查询员工基础信息 * * * @param GetEmployeeInfoByWorkNoRequest $request GetEmployeeInfoByWorkNoRequest * * @return GetEmployeeInfoByWorkNoResponse GetEmployeeInfoByWorkNoResponse */ public function getEmployeeInfoByWorkNo($request) { $runtime = new RuntimeOptions([]); $headers = new GetEmployeeInfoByWorkNoHeaders([]); return $this->getEmployeeInfoByWorkNoWithOptions($request, $headers, $runtime); } /** * @summary 根据人员工号查询人员任职记录 * * * @param string $workNumbers * @param GetEmploymentRecordByWorkNoHeaders $headers GetEmploymentRecordByWorkNoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetEmploymentRecordByWorkNoResponse GetEmploymentRecordByWorkNoResponse */ public function getEmploymentRecordByWorkNoWithOptions($workNumbers, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetEmploymentRecordByWorkNo', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/users/workNumber/' . $workNumbers . 'employmentRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEmploymentRecordByWorkNoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据人员工号查询人员任职记录 * * * @param string $workNumbers * * @return GetEmploymentRecordByWorkNoResponse GetEmploymentRecordByWorkNoResponse */ public function getEmploymentRecordByWorkNo($workNumbers) { $runtime = new RuntimeOptions([]); $headers = new GetEmploymentRecordByWorkNoHeaders([]); return $this->getEmploymentRecordByWorkNoWithOptions($workNumbers, $headers, $runtime); } /** * @summary 获取职位详情 * * * @param GetJobPositionRequest $request GetJobPositionRequest * @param GetJobPositionHeaders $headers GetJobPositionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetJobPositionResponse GetJobPositionResponse */ public function getJobPositionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->jobPositionCode)) { $query['jobPositionCode'] = $request->jobPositionCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetJobPosition', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/jobPositions/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetJobPositionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取职位详情 * * * @param GetJobPositionRequest $request GetJobPositionRequest * * @return GetJobPositionResponse GetJobPositionResponse */ public function getJobPosition($request) { $runtime = new RuntimeOptions([]); $headers = new GetJobPositionHeaders([]); return $this->getJobPositionWithOptions($request, $headers, $runtime); } /** * @summary 根据编码获取职位详情 * * * @param GetJobPostRequest $request GetJobPostRequest * @param GetJobPostHeaders $headers GetJobPostHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetJobPostResponse GetJobPostResponse */ public function getJobPostWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->jobPostCode)) { $query['jobPostCode'] = $request->jobPostCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetJobPost', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/jobPosts/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetJobPostResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据编码获取职位详情 * * * @param GetJobPostRequest $request GetJobPostRequest * * @return GetJobPostResponse GetJobPostResponse */ public function getJobPost($request) { $runtime = new RuntimeOptions([]); $headers = new GetJobPostHeaders([]); return $this->getJobPostWithOptions($request, $headers, $runtime); } /** * @summary 获取组织详情 * * * @param GetOrgInfoRequest $request GetOrgInfoRequest * @param GetOrgInfoHeaders $headers GetOrgInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOrgInfoResponse GetOrgInfoResponse */ public function getOrgInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptCode)) { $query['deptCode'] = $request->deptCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOrgInfo', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/organizations/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrgInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取组织详情 * * * @param GetOrgInfoRequest $request GetOrgInfoRequest * * @return GetOrgInfoResponse GetOrgInfoResponse */ public function getOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetOrgInfoHeaders([]); return $this->getOrgInfoWithOptions($request, $headers, $runtime); } /** * @summary 根据员工工号获取员工的基本信息 * * * @param GetStaffInfoByWorkNoRequest $request GetStaffInfoByWorkNoRequest * @param GetStaffInfoByWorkNoHeaders $headers GetStaffInfoByWorkNoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetStaffInfoByWorkNoResponse GetStaffInfoByWorkNoResponse */ public function getStaffInfoByWorkNoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->workNumbers)) { $query['workNumbers'] = $request->workNumbers; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetStaffInfoByWorkNo', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetStaffInfoByWorkNoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据员工工号获取员工的基本信息 * * * @param GetStaffInfoByWorkNoRequest $request GetStaffInfoByWorkNoRequest * * @return GetStaffInfoByWorkNoResponse GetStaffInfoByWorkNoResponse */ public function getStaffInfoByWorkNo($request) { $runtime = new RuntimeOptions([]); $headers = new GetStaffInfoByWorkNoHeaders([]); return $this->getStaffInfoByWorkNoWithOptions($request, $headers, $runtime); } /** * @summary 分页查询员工信息 * * * @param GetStaffPageQueryRequest $request GetStaffPageQueryRequest * @param GetStaffPageQueryHeaders $headers GetStaffPageQueryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetStaffPageQueryResponse GetStaffPageQueryResponse */ public function getStaffPageQueryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptCode)) { $query['deptCode'] = $request->deptCode; } if (!Utils::isUnset($request->name)) { $query['name'] = $request->name; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->workNo)) { $query['workNo'] = $request->workNo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetStaffPageQuery', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/users/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetStaffPageQueryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页查询员工信息 * * * @param GetStaffPageQueryRequest $request GetStaffPageQueryRequest * * @return GetStaffPageQueryResponse GetStaffPageQueryResponse */ public function getStaffPageQuery($request) { $runtime = new RuntimeOptions([]); $headers = new GetStaffPageQueryHeaders([]); return $this->getStaffPageQueryWithOptions($request, $headers, $runtime); } /** * @summary 获取用户信息 * * * @param GetUserRequest $request GetUserRequest * @param GetUserHeaders $headers GetUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserResponse GetUserResponse */ public function getUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->okrUserId)) { $query['okrUserId'] = $request->okrUserId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUser', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用户信息 * * * @param GetUserRequest $request GetUserRequest * * @return GetUserResponse GetUserResponse */ public function getUser($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserHeaders([]); return $this->getUserWithOptions($request, $headers, $runtime); } /** * @summary 运营数据分析下的周期列表 * * * @param ListAnalyzePeriodsHeaders $headers ListAnalyzePeriodsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAnalyzePeriodsResponse ListAnalyzePeriodsResponse */ public function listAnalyzePeriodsWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'ListAnalyzePeriods', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/analyses/periods', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAnalyzePeriodsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 运营数据分析下的周期列表 * * * @return ListAnalyzePeriodsResponse ListAnalyzePeriodsResponse */ public function listAnalyzePeriods() { $runtime = new RuntimeOptions([]); $headers = new ListAnalyzePeriodsHeaders([]); return $this->listAnalyzePeriodsWithOptions($headers, $runtime); } /** * @summary 根据目标id批量获取目标列表 * * * @param ListObjectiveByIdsRequest $request ListObjectiveByIdsRequest * @param ListObjectiveByIdsHeaders $headers ListObjectiveByIdsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListObjectiveByIdsResponse ListObjectiveByIdsResponse */ public function listObjectiveByIdsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->objectiveIds)) { $body['objectiveIds'] = $request->objectiveIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListObjectiveByIds', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/objectives/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListObjectiveByIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据目标id批量获取目标列表 * * * @param ListObjectiveByIdsRequest $request ListObjectiveByIdsRequest * * @return ListObjectiveByIdsResponse ListObjectiveByIdsResponse */ public function listObjectiveByIds($request) { $runtime = new RuntimeOptions([]); $headers = new ListObjectiveByIdsHeaders([]); return $this->listObjectiveByIdsWithOptions($request, $headers, $runtime); } /** * @summary 获取用户的 OKR 列表 * * * @param ListObjectiveByUserRequest $request ListObjectiveByUserRequest * @param ListObjectiveByUserHeaders $headers ListObjectiveByUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListObjectiveByUserResponse ListObjectiveByUserResponse */ public function listObjectiveByUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListObjectiveByUser', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/users/objectives', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListObjectiveByUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用户的 OKR 列表 * * * @param ListObjectiveByUserRequest $request ListObjectiveByUserRequest * * @return ListObjectiveByUserResponse ListObjectiveByUserResponse */ public function listObjectiveByUser($request) { $runtime = new RuntimeOptions([]); $headers = new ListObjectiveByUserHeaders([]); return $this->listObjectiveByUserWithOptions($request, $headers, $runtime); } /** * @summary 根据进展id获取进展列表 * * * @param ListProgressByIdsRequest $request ListProgressByIdsRequest * @param ListProgressByIdsHeaders $headers ListProgressByIdsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListProgressByIdsResponse ListProgressByIdsResponse */ public function listProgressByIdsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->progressIds)) { $body['progressIds'] = $request->progressIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListProgressByIds', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/objectives/progresses/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListProgressByIdsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据进展id获取进展列表 * * * @param ListProgressByIdsRequest $request ListProgressByIdsRequest * * @return ListProgressByIdsResponse ListProgressByIdsResponse */ public function listProgressByIds($request) { $runtime = new RuntimeOptions([]); $headers = new ListProgressByIdsHeaders([]); return $this->listProgressByIdsWithOptions($request, $headers, $runtime); } /** * @summary 获取组织下的日志数据 * * * @param ListSlsLogRequest $request ListSlsLogRequest * @param ListSlsLogHeaders $headers ListSlsLogHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListSlsLogResponse ListSlsLogResponse */ public function listSlsLogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appCode)) { $query['appCode'] = $request->appCode; } if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSlsLog', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/organizations/slsLogDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListSlsLogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取组织下的日志数据 * * * @param ListSlsLogRequest $request ListSlsLogRequest * * @return ListSlsLogResponse ListSlsLogResponse */ public function listSlsLog($request) { $runtime = new RuntimeOptions([]); $headers = new ListSlsLogHeaders([]); return $this->listSlsLogWithOptions($request, $headers, $runtime); } /** * @summary 分页获取目标进展记录 * * * @param PageListObjectiveProgressRequest $request PageListObjectiveProgressRequest * @param PageListObjectiveProgressHeaders $headers PageListObjectiveProgressHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PageListObjectiveProgressResponse PageListObjectiveProgressResponse */ public function pageListObjectiveProgressWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->objectiveId)) { $query['objectiveId'] = $request->objectiveId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'PageListObjectiveProgress', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/objectives/progresses/records', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PageListObjectiveProgressResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取目标进展记录 * * * @param PageListObjectiveProgressRequest $request PageListObjectiveProgressRequest * * @return PageListObjectiveProgressResponse PageListObjectiveProgressResponse */ public function pageListObjectiveProgress($request) { $runtime = new RuntimeOptions([]); $headers = new PageListObjectiveProgressHeaders([]); return $this->pageListObjectiveProgressWithOptions($request, $headers, $runtime); } /** * @summary 转交目标OKR * * * @param TransferUserObjectiveRequest $request TransferUserObjectiveRequest * @param TransferUserObjectiveHeaders $headers TransferUserObjectiveHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return TransferUserObjectiveResponse TransferUserObjectiveResponse */ public function transferUserObjectiveWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->objectiveId)) { $query['objectiveId'] = $request->objectiveId; } if (!Utils::isUnset($request->targetUserId)) { $query['targetUserId'] = $request->targetUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'TransferUserObjective', 'version' => 'chengfeng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/chengfeng/okr/objectives/transfer', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TransferUserObjectiveResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 转交目标OKR * * * @param TransferUserObjectiveRequest $request TransferUserObjectiveRequest * * @return TransferUserObjectiveResponse TransferUserObjectiveResponse */ public function transferUserObjective($request) { $runtime = new RuntimeOptions([]); $headers = new TransferUserObjectiveHeaders([]); return $this->transferUserObjectiveWithOptions($request, $headers, $runtime); } } src/chengfeng_1_0/Models/CfEmploymentRecordResp.php 0000644 00000014155 14713400346 0016255 0 ustar 00 'deptCode', 'deptName' => 'deptName', 'employeeStatus' => 'employeeStatus', 'endDate' => 'endDate', 'isLatestRecord' => 'isLatestRecord', 'jobLevelName' => 'jobLevelName', 'jobPositionCode' => 'jobPositionCode', 'jobPositionName' => 'jobPositionName', 'jobPostCode' => 'jobPostCode', 'jobPostName' => 'jobPostName', 'serviceStatus' => 'serviceStatus', 'serviceType' => 'serviceType', 'startDate' => 'startDate', 'workNumbers' => 'workNumbers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->employeeStatus) { $res['employeeStatus'] = $this->employeeStatus; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->isLatestRecord) { $res['isLatestRecord'] = $this->isLatestRecord; } if (null !== $this->jobLevelName) { $res['jobLevelName'] = $this->jobLevelName; } if (null !== $this->jobPositionCode) { $res['jobPositionCode'] = $this->jobPositionCode; } if (null !== $this->jobPositionName) { $res['jobPositionName'] = $this->jobPositionName; } if (null !== $this->jobPostCode) { $res['jobPostCode'] = $this->jobPostCode; } if (null !== $this->jobPostName) { $res['jobPostName'] = $this->jobPostName; } if (null !== $this->serviceStatus) { $res['serviceStatus'] = $this->serviceStatus; } if (null !== $this->serviceType) { $res['serviceType'] = $this->serviceType; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->workNumbers) { $res['workNumbers'] = $this->workNumbers; } return $res; } /** * @param array $map * * @return CfEmploymentRecordResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['employeeStatus'])) { $model->employeeStatus = $map['employeeStatus']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['isLatestRecord'])) { $model->isLatestRecord = $map['isLatestRecord']; } if (isset($map['jobLevelName'])) { $model->jobLevelName = $map['jobLevelName']; } if (isset($map['jobPositionCode'])) { $model->jobPositionCode = $map['jobPositionCode']; } if (isset($map['jobPositionName'])) { $model->jobPositionName = $map['jobPositionName']; } if (isset($map['jobPostCode'])) { $model->jobPostCode = $map['jobPostCode']; } if (isset($map['jobPostName'])) { $model->jobPostName = $map['jobPostName']; } if (isset($map['serviceStatus'])) { $model->serviceStatus = $map['serviceStatus']; } if (isset($map['serviceType'])) { $model->serviceType = $map['serviceType']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['workNumbers'])) { $model->workNumbers = $map['workNumbers']; } return $model; } } src/chengfeng_1_0/Models/CfJobLevelResp.php 0000644 00000003704 14713400346 0014465 0 ustar 00 'level', 'name' => 'name', 'startDate' => 'startDate', 'stopDate' => 'stopDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->level) { $res['level'] = $this->level; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->stopDate) { $res['stopDate'] = $this->stopDate; } return $res; } /** * @param array $map * * @return CfJobLevelResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['level'])) { $model->level = $map['level']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['stopDate'])) { $model->stopDate = $map['stopDate']; } return $model; } } src/chengfeng_1_0/Models/CfJobPositionResp.php 0000644 00000002461 14713400346 0015221 0 ustar 00 'jobPositionCode', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobPositionCode) { $res['jobPositionCode'] = $this->jobPositionCode; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CfJobPositionResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobPositionCode'])) { $model->jobPositionCode = $map['jobPositionCode']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/chengfeng_1_0/Models/CfJobPostResp.php 0000644 00000002401 14713400346 0014334 0 ustar 00 'jobPostCode', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobPostCode) { $res['jobPostCode'] = $this->jobPostCode; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return CfJobPostResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobPostCode'])) { $model->jobPostCode = $map['jobPostCode']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/chengfeng_1_0/Models/CfOrgResp.php 0000644 00000005716 14713400346 0013517 0 ustar 00 'deptCode', 'deptName' => 'deptName', 'level' => 'level', 'organizationCodePath' => 'organizationCodePath', 'organizationPath' => 'organizationPath', 'parentDeptCode' => 'parentDeptCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->level) { $res['level'] = $this->level; } if (null !== $this->organizationCodePath) { $res['organizationCodePath'] = $this->organizationCodePath; } if (null !== $this->organizationPath) { $res['organizationPath'] = $this->organizationPath; } if (null !== $this->parentDeptCode) { $res['parentDeptCode'] = $this->parentDeptCode; } return $res; } /** * @param array $map * * @return CfOrgResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['level'])) { $model->level = $map['level']; } if (isset($map['organizationCodePath'])) { $model->organizationCodePath = $map['organizationCodePath']; } if (isset($map['organizationPath'])) { $model->organizationPath = $map['organizationPath']; } if (isset($map['parentDeptCode'])) { $model->parentDeptCode = $map['parentDeptCode']; } return $model; } } src/chengfeng_1_0/Models/CfStaffResp.php 0000644 00000006073 14713400346 0014030 0 ustar 00 'deptCode', 'deptName' => 'deptName', 'email' => 'email', 'mobile' => 'mobile', 'name' => 'name', 'nickName' => 'nickName', 'workNumbers' => 'workNumbers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->workNumbers) { $res['workNumbers'] = $this->workNumbers; } return $res; } /** * @param array $map * * @return CfStaffResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['workNumbers'])) { $model->workNumbers = $map['workNumbers']; } return $model; } } src/chengfeng_1_0/Models/GetAllJobLevelHeaders.php 0000644 00000002335 14713400346 0015746 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllJobLevelHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetAllJobLevelResponse.php 0000644 00000002727 14713400346 0016176 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllJobLevelResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllJobLevelResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetAllJobLevelResponseBody.php 0000644 00000003234 14713400346 0017006 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetAllJobLevelResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? CfJobLevelResp::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetAllJobPositionHeaders.php 0000644 00000002343 14713400346 0016502 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllJobPositionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetAllJobPositionResponse.php 0000644 00000002743 14713400346 0016731 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllJobPositionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllJobPositionResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetAllJobPositionResponseBody.php 0000644 00000003243 14713400346 0017543 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetAllJobPositionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? CfJobPositionResp::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetAllJobPostHeaders.php 0000644 00000002333 14713400346 0015622 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllJobPostHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetAllJobPostResponse.php 0000644 00000002723 14713400346 0016050 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllJobPostResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllJobPostResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetAllJobPostResponseBody.php 0000644 00000003310 14713400346 0016657 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetAllJobPostResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? CfJobPostResp::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetAnalyzeDataHeaders.php 0000644 00000002335 14713400346 0016010 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAnalyzeDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetAnalyzeDataRequest.php 0000644 00000002367 14713400346 0016072 0 ustar 00 'periodIds', 'deptId' => 'deptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->periodIds) { $res['periodIds'] = $this->periodIds; } if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } return $res; } /** * @param array $map * * @return GetAnalyzeDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['periodIds'])) { if (!empty($map['periodIds'])) { $model->periodIds = $map['periodIds']; } } if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } return $model; } } src/chengfeng_1_0/Models/GetAnalyzeDataResponse.php 0000644 00000002727 14713400346 0016240 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAnalyzeDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAnalyzeDataResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetAnalyzeDataResponseBody.php 0000644 00000002736 14713400346 0017056 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetAnalyzeDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = OpenAnalyzeDataDTO::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/GetChildOrgListHeaders.php 0000644 00000002337 14713400346 0016144 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetChildOrgListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetChildOrgListRequest.php 0000644 00000001634 14713400346 0016220 0 ustar 00 'deptCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } return $res; } /** * @param array $map * * @return GetChildOrgListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } return $model; } } src/chengfeng_1_0/Models/GetChildOrgListResponse.php 0000644 00000002733 14713400346 0016367 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetChildOrgListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetChildOrgListResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetChildOrgListResponseBody.php 0000644 00000003164 14713400346 0017204 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetChildOrgListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? CfOrgResp::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetEmployeeInfoByWorkNoHeaders.php 0000644 00000002357 14713400346 0017645 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEmployeeInfoByWorkNoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetEmployeeInfoByWorkNoRequest.php 0000644 00000001546 14713400346 0017721 0 ustar 00 'workNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workNo) { $res['workNo'] = $this->workNo; } return $res; } /** * @param array $map * * @return GetEmployeeInfoByWorkNoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workNo'])) { $model->workNo = $map['workNo']; } return $model; } } src/chengfeng_1_0/Models/GetEmployeeInfoByWorkNoResponse.php 0000644 00000002773 14713400346 0020072 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEmployeeInfoByWorkNoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEmployeeInfoByWorkNoResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetEmployeeInfoByWorkNoResponseBody.php 0000644 00000002541 14713400346 0020701 0 ustar 00 'content', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetEmployeeInfoByWorkNoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/GetEmployeeInfoByWorkNoResponseBody/content.php 0000644 00000002173 14713400346 0022354 0 ustar 00 'name', 'workNo' => 'workNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->workNo) { $res['workNo'] = $this->workNo; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['workNo'])) { $model->workNo = $map['workNo']; } return $model; } } src/chengfeng_1_0/Models/GetEmploymentRecordByWorkNoHeaders.php 0000644 00000002367 14713400346 0020543 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEmploymentRecordByWorkNoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetEmploymentRecordByWorkNoResponse.php 0000644 00000003013 14713400346 0020753 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEmploymentRecordByWorkNoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEmploymentRecordByWorkNoResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetEmploymentRecordByWorkNoResponseBody.php 0000644 00000003246 14713400346 0021601 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetEmploymentRecordByWorkNoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? CfEmploymentRecordResp::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetJobPositionHeaders.php 0000644 00000002335 14713400346 0016052 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetJobPositionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetJobPositionRequest.php 0000644 00000001727 14713400346 0016133 0 ustar 00 'jobPositionCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobPositionCode) { $res['jobPositionCode'] = $this->jobPositionCode; } return $res; } /** * @param array $map * * @return GetJobPositionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobPositionCode'])) { $model->jobPositionCode = $map['jobPositionCode']; } return $model; } } src/chengfeng_1_0/Models/GetJobPositionResponse.php 0000644 00000002727 14713400346 0016302 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetJobPositionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetJobPositionResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetJobPositionResponseBody.php 0000644 00000002411 14713400346 0017106 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetJobPositionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetJobPositionResponseBody/content.php 0000644 00000005777 14713400346 0020602 0 ustar 00 'description', 'establishDate' => 'establishDate', 'jobCode' => 'jobCode', 'jobRequirements' => 'jobRequirements', 'name' => 'name', 'startDate' => 'startDate', 'stopDate' => 'stopDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->establishDate) { $res['establishDate'] = $this->establishDate; } if (null !== $this->jobCode) { $res['jobCode'] = $this->jobCode; } if (null !== $this->jobRequirements) { $res['jobRequirements'] = $this->jobRequirements; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->stopDate) { $res['stopDate'] = $this->stopDate; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['establishDate'])) { $model->establishDate = $map['establishDate']; } if (isset($map['jobCode'])) { $model->jobCode = $map['jobCode']; } if (isset($map['jobRequirements'])) { $model->jobRequirements = $map['jobRequirements']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['stopDate'])) { $model->stopDate = $map['stopDate']; } return $model; } } src/chengfeng_1_0/Models/GetJobPostHeaders.php 0000644 00000002325 14713400346 0015172 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetJobPostHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetJobPostRequest.php 0000644 00000001656 14713400346 0015255 0 ustar 00 'jobPostCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobPostCode) { $res['jobPostCode'] = $this->jobPostCode; } return $res; } /** * @param array $map * * @return GetJobPostRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobPostCode'])) { $model->jobPostCode = $map['jobPostCode']; } return $model; } } src/chengfeng_1_0/Models/GetJobPostResponse.php 0000644 00000002707 14713400346 0015421 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetJobPostResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetJobPostResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetJobPostResponseBody.php 0000644 00000002375 14713400346 0016240 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetJobPostResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetJobPostResponseBody/content.php 0000644 00000004252 14713400346 0017706 0 ustar 00 'code', 'establishDate' => 'establishDate', 'name' => 'name', 'startDate' => 'startDate', 'stopDate' => 'stopDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->establishDate) { $res['establishDate'] = $this->establishDate; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->stopDate) { $res['stopDate'] = $this->stopDate; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['establishDate'])) { $model->establishDate = $map['establishDate']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['stopDate'])) { $model->stopDate = $map['stopDate']; } return $model; } } src/chengfeng_1_0/Models/GetOrgInfoHeaders.php 0000644 00000002325 14713400346 0015155 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrgInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetOrgInfoRequest.php 0000644 00000001622 14713400346 0015231 0 ustar 00 'deptCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } return $res; } /** * @param array $map * * @return GetOrgInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } return $model; } } src/chengfeng_1_0/Models/GetOrgInfoResponse.php 0000644 00000002707 14713400346 0015404 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrgInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrgInfoResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetOrgInfoResponseBody.php 0000644 00000002375 14713400346 0016223 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetOrgInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetOrgInfoResponseBody/content.php 0000644 00000007732 14713400346 0017677 0 ustar 00 'deptCode', 'deptName' => 'deptName', 'deptNum' => 'deptNum', 'level' => 'level', 'organizationCodePath' => 'organizationCodePath', 'organizationPath' => 'organizationPath', 'parentDeptCode' => 'parentDeptCode', 'shortName' => 'shortName', 'startDate' => 'startDate', 'stopDate' => 'stopDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->deptNum) { $res['deptNum'] = $this->deptNum; } if (null !== $this->level) { $res['level'] = $this->level; } if (null !== $this->organizationCodePath) { $res['organizationCodePath'] = $this->organizationCodePath; } if (null !== $this->organizationPath) { $res['organizationPath'] = $this->organizationPath; } if (null !== $this->parentDeptCode) { $res['parentDeptCode'] = $this->parentDeptCode; } if (null !== $this->shortName) { $res['shortName'] = $this->shortName; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->stopDate) { $res['stopDate'] = $this->stopDate; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['deptNum'])) { $model->deptNum = $map['deptNum']; } if (isset($map['level'])) { $model->level = $map['level']; } if (isset($map['organizationCodePath'])) { $model->organizationCodePath = $map['organizationCodePath']; } if (isset($map['organizationPath'])) { $model->organizationPath = $map['organizationPath']; } if (isset($map['parentDeptCode'])) { $model->parentDeptCode = $map['parentDeptCode']; } if (isset($map['shortName'])) { $model->shortName = $map['shortName']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['stopDate'])) { $model->stopDate = $map['stopDate']; } return $model; } } src/chengfeng_1_0/Models/GetStaffInfoByWorkNoHeaders.php 0000644 00000002351 14713400346 0017123 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetStaffInfoByWorkNoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetStaffInfoByWorkNoRequest.php 0000644 00000001704 14713400346 0017201 0 ustar 00 'workNumbers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->workNumbers) { $res['workNumbers'] = $this->workNumbers; } return $res; } /** * @param array $map * * @return GetStaffInfoByWorkNoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['workNumbers'])) { $model->workNumbers = $map['workNumbers']; } return $model; } } src/chengfeng_1_0/Models/GetStaffInfoByWorkNoResponse.php 0000644 00000002757 14713400346 0017360 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetStaffInfoByWorkNoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetStaffInfoByWorkNoResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetStaffInfoByWorkNoResponseBody.php 0000644 00000002433 14713400346 0020165 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetStaffInfoByWorkNoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetStaffInfoByWorkNoResponseBody/content.php 0000644 00000013352 14713400346 0021641 0 ustar 00 'deptCode', 'deptName' => 'deptName', 'email' => 'email', 'employType' => 'employType', 'employeeStatus' => 'employeeStatus', 'jobLevelName' => 'jobLevelName', 'jobPositionCode' => 'jobPositionCode', 'jobPositionName' => 'jobPositionName', 'jobPostCode' => 'jobPostCode', 'jobPostName' => 'jobPostName', 'mobile' => 'mobile', 'name' => 'name', 'nickName' => 'nickName', 'workNumbers' => 'workNumbers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->employType) { $res['employType'] = $this->employType; } if (null !== $this->employeeStatus) { $res['employeeStatus'] = $this->employeeStatus; } if (null !== $this->jobLevelName) { $res['jobLevelName'] = $this->jobLevelName; } if (null !== $this->jobPositionCode) { $res['jobPositionCode'] = $this->jobPositionCode; } if (null !== $this->jobPositionName) { $res['jobPositionName'] = $this->jobPositionName; } if (null !== $this->jobPostCode) { $res['jobPostCode'] = $this->jobPostCode; } if (null !== $this->jobPostName) { $res['jobPostName'] = $this->jobPostName; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->workNumbers) { $res['workNumbers'] = $this->workNumbers; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['employType'])) { $model->employType = $map['employType']; } if (isset($map['employeeStatus'])) { $model->employeeStatus = $map['employeeStatus']; } if (isset($map['jobLevelName'])) { $model->jobLevelName = $map['jobLevelName']; } if (isset($map['jobPositionCode'])) { $model->jobPositionCode = $map['jobPositionCode']; } if (isset($map['jobPositionName'])) { $model->jobPositionName = $map['jobPositionName']; } if (isset($map['jobPostCode'])) { $model->jobPostCode = $map['jobPostCode']; } if (isset($map['jobPostName'])) { $model->jobPostName = $map['jobPostName']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['workNumbers'])) { $model->workNumbers = $map['workNumbers']; } return $model; } } src/chengfeng_1_0/Models/GetStaffPageQueryHeaders.php 0000644 00000002343 14713400346 0016500 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetStaffPageQueryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetStaffPageQueryRequest.php 0000644 00000004252 14713400346 0016556 0 ustar 00 'deptCode', 'name' => 'name', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'workNo' => 'workNo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCode) { $res['deptCode'] = $this->deptCode; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->workNo) { $res['workNo'] = $this->workNo; } return $res; } /** * @param array $map * * @return GetStaffPageQueryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCode'])) { $model->deptCode = $map['deptCode']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['workNo'])) { $model->workNo = $map['workNo']; } return $model; } } src/chengfeng_1_0/Models/GetStaffPageQueryResponse.php 0000644 00000002743 14713400346 0016727 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetStaffPageQueryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetStaffPageQueryResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetStaffPageQueryResponseBody.php 0000644 00000002422 14713400346 0017537 0 ustar 00 'content', 'requestId' => 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return GetStaffPageQueryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/chengfeng_1_0/Models/GetStaffPageQueryResponseBody/content.php 0000644 00000004450 14713400346 0021214 0 ustar 00 'data', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = []; if (null !== $this->data && \is_array($this->data)) { $n = 0; foreach ($this->data as $item) { $res['data'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? CfStaffResp::fromMap($item) : $item; } } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/chengfeng_1_0/Models/GetUserHeaders.php 0000644 00000002317 14713400346 0014531 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/GetUserRequest.php 0000644 00000002230 14713400346 0014600 0 ustar 00 'okrUserId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->okrUserId) { $res['okrUserId'] = $this->okrUserId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['okrUserId'])) { $model->okrUserId = $map['okrUserId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/chengfeng_1_0/Models/GetUserResponse.php 0000644 00000002673 14713400346 0014761 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/GetUserResponseBody.php 0000644 00000002702 14713400346 0015570 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = OpenUserDTO::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/ListAnalyzePeriodsHeaders.php 0000644 00000002345 14713400346 0016741 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAnalyzePeriodsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/ListAnalyzePeriodsResponse.php 0000644 00000002747 14713400346 0017172 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAnalyzePeriodsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAnalyzePeriodsResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/ListAnalyzePeriodsResponseBody.php 0000644 00000003631 14713400346 0020001 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ListAnalyzePeriodsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenPeriodDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByIdsHeaders.php 0000644 00000002345 14713400346 0016655 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListObjectiveByIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByIdsRequest.php 0000644 00000001757 14713400346 0016740 0 ustar 00 'objectiveIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveIds) { $res['objectiveIds'] = $this->objectiveIds; } return $res; } /** * @param array $map * * @return ListObjectiveByIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveIds'])) { if (!empty($map['objectiveIds'])) { $model->objectiveIds = $map['objectiveIds']; } } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByIdsResponse.php 0000644 00000002747 14713400346 0017106 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListObjectiveByIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListObjectiveByIdsResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByIdsResponseBody.php 0000644 00000003724 14713400346 0017720 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ListObjectiveByIdsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenObjectiveDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByUserHeaders.php 0000644 00000002347 14713400346 0017056 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListObjectiveByUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByUserRequest.php 0000644 00000002711 14713400346 0017126 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListObjectiveByUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByUserResponse.php 0000644 00000002753 14713400346 0017302 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListObjectiveByUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListObjectiveByUserResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByUserResponseBody.php 0000644 00000003113 14713400346 0020107 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ListObjectiveByUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/ListObjectiveByUserResponseBody/content.php 0000644 00000003342 14713400346 0021565 0 ustar 00 'count', 'objectives' => 'objectives', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->objectives) { $res['objectives'] = []; if (null !== $this->objectives && \is_array($this->objectives)) { $n = 0; foreach ($this->objectives as $item) { $res['objectives'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['objectives'])) { if (!empty($map['objectives'])) { $model->objectives = []; $n = 0; foreach ($map['objectives'] as $item) { $model->objectives[$n++] = null !== $item ? OpenObjectiveDTO::fromMap($item) : $item; } } } return $model; } } src/chengfeng_1_0/Models/ListProgressByIdsHeaders.php 0000644 00000002343 14713400346 0016545 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListProgressByIdsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/ListProgressByIdsRequest.php 0000644 00000001743 14713400346 0016625 0 ustar 00 'progressIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->progressIds) { $res['progressIds'] = $this->progressIds; } return $res; } /** * @param array $map * * @return ListProgressByIdsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['progressIds'])) { if (!empty($map['progressIds'])) { $model->progressIds = $map['progressIds']; } } return $model; } } src/chengfeng_1_0/Models/ListProgressByIdsResponse.php 0000644 00000002743 14713400346 0016774 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListProgressByIdsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListProgressByIdsResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/ListProgressByIdsResponseBody.php 0000644 00000003633 14713400346 0017611 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = []; if (null !== $this->content && \is_array($this->content)) { $n = 0; foreach ($this->content as $item) { $res['content'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ListProgressByIdsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { if (!empty($map['content'])) { $model->content = []; $n = 0; foreach ($map['content'] as $item) { $model->content[$n++] = null !== $item ? OpenProgressDTO::fromMap($item) : $item; } } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/ListSlsLogHeaders.php 0000644 00000002325 14713400346 0015211 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSlsLogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/ListSlsLogRequest.php 0000644 00000004273 14713400346 0015272 0 ustar 00 'appCode', 'endTime' => 'endTime', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return ListSlsLogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/chengfeng_1_0/Models/ListSlsLogResponse.php 0000644 00000002707 14713400346 0015440 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSlsLogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSlsLogResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/ListSlsLogResponseBody.php 0000644 00000002347 14713400346 0016256 0 ustar 00 'content', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ListSlsLogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/ListSlsLogResponseBody/content.php 0000644 00000005514 14713400346 0017727 0 ustar 00 'currentPageSize', 'data' => 'data', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'pages' => 'pages', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentPageSize) { $res['currentPageSize'] = $this->currentPageSize; } if (null !== $this->data) { $res['data'] = []; if (null !== $this->data && \is_array($this->data)) { $n = 0; foreach ($this->data as $item) { $res['data'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->pages) { $res['pages'] = $this->pages; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentPageSize'])) { $model->currentPageSize = $map['currentPageSize']; } if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = []; $n = 0; foreach ($map['data'] as $item) { $model->data[$n++] = null !== $item ? SlsLogResp::fromMap($item) : $item; } } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['pages'])) { $model->pages = $map['pages']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/chengfeng_1_0/Models/OpenAnalyzeDataDTO.php 0000644 00000014335 14713400346 0015250 0 ustar 00 'deptCount', 'noAlignObjectiveCount' => 'noAlignObjectiveCount', 'noKeyActionCount' => 'noKeyActionCount', 'objectiveAlignRate' => 'objectiveAlignRate', 'objectiveNoSetCount' => 'objectiveNoSetCount', 'objectiveRiskCount' => 'objectiveRiskCount', 'objectiveSetRate' => 'objectiveSetRate', 'onlyOneKeyResultCount' => 'onlyOneKeyResultCount', 'onlyOneObjectiveCount' => 'onlyOneObjectiveCount', 'progressUpdateRateLast15Days' => 'progressUpdateRateLast15Days', 'progressUpdateRateLast30Days' => 'progressUpdateRateLast30Days', 'progressUpdateRateLast7Days' => 'progressUpdateRateLast7Days', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptCount) { $res['deptCount'] = $this->deptCount; } if (null !== $this->noAlignObjectiveCount) { $res['noAlignObjectiveCount'] = $this->noAlignObjectiveCount; } if (null !== $this->noKeyActionCount) { $res['noKeyActionCount'] = $this->noKeyActionCount; } if (null !== $this->objectiveAlignRate) { $res['objectiveAlignRate'] = $this->objectiveAlignRate; } if (null !== $this->objectiveNoSetCount) { $res['objectiveNoSetCount'] = $this->objectiveNoSetCount; } if (null !== $this->objectiveRiskCount) { $res['objectiveRiskCount'] = $this->objectiveRiskCount; } if (null !== $this->objectiveSetRate) { $res['objectiveSetRate'] = $this->objectiveSetRate; } if (null !== $this->onlyOneKeyResultCount) { $res['onlyOneKeyResultCount'] = $this->onlyOneKeyResultCount; } if (null !== $this->onlyOneObjectiveCount) { $res['onlyOneObjectiveCount'] = $this->onlyOneObjectiveCount; } if (null !== $this->progressUpdateRateLast15Days) { $res['progressUpdateRateLast15Days'] = $this->progressUpdateRateLast15Days; } if (null !== $this->progressUpdateRateLast30Days) { $res['progressUpdateRateLast30Days'] = $this->progressUpdateRateLast30Days; } if (null !== $this->progressUpdateRateLast7Days) { $res['progressUpdateRateLast7Days'] = $this->progressUpdateRateLast7Days; } return $res; } /** * @param array $map * * @return OpenAnalyzeDataDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptCount'])) { $model->deptCount = $map['deptCount']; } if (isset($map['noAlignObjectiveCount'])) { $model->noAlignObjectiveCount = $map['noAlignObjectiveCount']; } if (isset($map['noKeyActionCount'])) { $model->noKeyActionCount = $map['noKeyActionCount']; } if (isset($map['objectiveAlignRate'])) { $model->objectiveAlignRate = $map['objectiveAlignRate']; } if (isset($map['objectiveNoSetCount'])) { $model->objectiveNoSetCount = $map['objectiveNoSetCount']; } if (isset($map['objectiveRiskCount'])) { $model->objectiveRiskCount = $map['objectiveRiskCount']; } if (isset($map['objectiveSetRate'])) { $model->objectiveSetRate = $map['objectiveSetRate']; } if (isset($map['onlyOneKeyResultCount'])) { $model->onlyOneKeyResultCount = $map['onlyOneKeyResultCount']; } if (isset($map['onlyOneObjectiveCount'])) { $model->onlyOneObjectiveCount = $map['onlyOneObjectiveCount']; } if (isset($map['progressUpdateRateLast15Days'])) { $model->progressUpdateRateLast15Days = $map['progressUpdateRateLast15Days']; } if (isset($map['progressUpdateRateLast30Days'])) { $model->progressUpdateRateLast30Days = $map['progressUpdateRateLast30Days']; } if (isset($map['progressUpdateRateLast7Days'])) { $model->progressUpdateRateLast7Days = $map['progressUpdateRateLast7Days']; } return $model; } } src/chengfeng_1_0/Models/OpenKeyResultDTO.php 0000644 00000006244 14713400346 0015002 0 ustar 00 'id', 'progress' => 'progress', 'status' => 'status', 'title' => 'title', 'titleMentions' => 'titleMentions', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->progress) { $res['progress'] = $this->progress; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->titleMentions) { $res['titleMentions'] = []; if (null !== $this->titleMentions && \is_array($this->titleMentions)) { $n = 0; foreach ($this->titleMentions as $item) { $res['titleMentions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return OpenKeyResultDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['progress'])) { $model->progress = $map['progress']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['titleMentions'])) { if (!empty($map['titleMentions'])) { $model->titleMentions = []; $n = 0; foreach ($map['titleMentions'] as $item) { $model->titleMentions[$n++] = null !== $item ? TitleMention::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/chengfeng_1_0/Models/OpenObjectiveDTO.php 0000644 00000010474 14713400346 0014765 0 ustar 00 'executor', 'id' => 'id', 'keyResults' => 'keyResults', 'period' => 'period', 'progress' => 'progress', 'status' => 'status', 'teams' => 'teams', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->executor) { $res['executor'] = null !== $this->executor ? $this->executor->toMap() : null; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->keyResults) { $res['keyResults'] = []; if (null !== $this->keyResults && \is_array($this->keyResults)) { $n = 0; foreach ($this->keyResults as $item) { $res['keyResults'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->period) { $res['period'] = null !== $this->period ? $this->period->toMap() : null; } if (null !== $this->progress) { $res['progress'] = $this->progress; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->teams) { $res['teams'] = []; if (null !== $this->teams && \is_array($this->teams)) { $n = 0; foreach ($this->teams as $item) { $res['teams'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return OpenObjectiveDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['executor'])) { $model->executor = OpenUserDTO::fromMap($map['executor']); } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['keyResults'])) { if (!empty($map['keyResults'])) { $model->keyResults = []; $n = 0; foreach ($map['keyResults'] as $item) { $model->keyResults[$n++] = null !== $item ? OpenKeyResultDTO::fromMap($item) : $item; } } } if (isset($map['period'])) { $model->period = OpenPeriodDTO::fromMap($map['period']); } if (isset($map['progress'])) { $model->progress = $map['progress']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['teams'])) { if (!empty($map['teams'])) { $model->teams = []; $n = 0; foreach ($map['teams'] as $item) { $model->teams[$n++] = null !== $item ? OpenTeamDTO::fromMap($item) : $item; } } } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/chengfeng_1_0/Models/OpenPeriodDTO.php 0000644 00000004515 14713400346 0014274 0 ustar 00 'endDate', 'id' => 'id', 'name' => 'name', 'periodBizType' => 'periodBizType', 'startDate' => 'startDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->periodBizType) { $res['periodBizType'] = $this->periodBizType; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } return $res; } /** * @param array $map * * @return OpenPeriodDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['periodBizType'])) { $model->periodBizType = $map['periodBizType']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } return $model; } } src/chengfeng_1_0/Models/OpenProgressDTO.php 0000644 00000005413 14713400346 0014654 0 ustar 00 'created', 'creator' => 'creator', 'htmlContent' => 'htmlContent', 'id' => 'id', 'modifier' => 'modifier', 'updated' => 'updated', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->created) { $res['created'] = $this->created; } if (null !== $this->creator) { $res['creator'] = null !== $this->creator ? $this->creator->toMap() : null; } if (null !== $this->htmlContent) { $res['htmlContent'] = $this->htmlContent; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->modifier) { $res['modifier'] = null !== $this->modifier ? $this->modifier->toMap() : null; } if (null !== $this->updated) { $res['updated'] = $this->updated; } return $res; } /** * @param array $map * * @return OpenProgressDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['created'])) { $model->created = $map['created']; } if (isset($map['creator'])) { $model->creator = OpenUserDTO::fromMap($map['creator']); } if (isset($map['htmlContent'])) { $model->htmlContent = $map['htmlContent']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['modifier'])) { $model->modifier = OpenUserDTO::fromMap($map['modifier']); } if (isset($map['updated'])) { $model->updated = $map['updated']; } return $model; } } src/chengfeng_1_0/Models/OpenTeamDTO.php 0000644 00000003012 14713400346 0013727 0 ustar 00 'id', 'name' => 'name', 'openId' => 'openId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openId) { $res['openId'] = $this->openId; } return $res; } /** * @param array $map * * @return OpenTeamDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openId'])) { $model->openId = $map['openId']; } return $model; } } src/chengfeng_1_0/Models/OpenUserDTO.php 0000644 00000003024 14713400346 0013762 0 ustar 00 'id', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return OpenUserDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/chengfeng_1_0/Models/PageListObjectiveProgressHeaders.php 0000644 00000002363 14713400346 0020244 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageListObjectiveProgressHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/PageListObjectiveProgressRequest.php 0000644 00000003115 14713400346 0020315 0 ustar 00 'objectiveId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return PageListObjectiveProgressRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/chengfeng_1_0/Models/PageListObjectiveProgressResponse.php 0000644 00000003003 14713400346 0020457 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageListObjectiveProgressResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageListObjectiveProgressResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/PageListObjectiveProgressResponseBody.php 0000644 00000003101 14713400346 0021274 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = null !== $this->content ? $this->content->toMap() : null; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PageListObjectiveProgressResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = content::fromMap($map['content']); } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/chengfeng_1_0/Models/PageListObjectiveProgressResponseBody/content.php 0000644 00000003354 14713400346 0022760 0 ustar 00 'count', 'progressList' => 'progressList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->count) { $res['count'] = $this->count; } if (null !== $this->progressList) { $res['progressList'] = []; if (null !== $this->progressList && \is_array($this->progressList)) { $n = 0; foreach ($this->progressList as $item) { $res['progressList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return content */ public static function fromMap($map = []) { $model = new self(); if (isset($map['count'])) { $model->count = $map['count']; } if (isset($map['progressList'])) { if (!empty($map['progressList'])) { $model->progressList = []; $n = 0; foreach ($map['progressList'] as $item) { $model->progressList[$n++] = null !== $item ? OpenProgressDTO::fromMap($item) : $item; } } } return $model; } } src/chengfeng_1_0/Models/SlsLogResp.php 0000644 00000007261 14713400346 0013717 0 ustar 00 'action', 'entity' => 'entity', 'header' => 'header', 'id' => 'id', 'info' => 'info', 'operator' => 'operator', 'tenant' => 'tenant', 'tenantId' => 'tenantId', 'time' => 'time', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->entity) { $res['entity'] = $this->entity; } if (null !== $this->header) { $res['header'] = $this->header; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->info) { $res['info'] = $this->info; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } if (null !== $this->tenantId) { $res['tenantId'] = $this->tenantId; } if (null !== $this->time) { $res['time'] = $this->time; } return $res; } /** * @param array $map * * @return SlsLogResp */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['entity'])) { $model->entity = $map['entity']; } if (isset($map['header'])) { $model->header = $map['header']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['info'])) { $model->info = $map['info']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } if (isset($map['tenantId'])) { $model->tenantId = $map['tenantId']; } if (isset($map['time'])) { $model->time = $map['time']; } return $model; } } src/chengfeng_1_0/Models/TitleMention.php 0000644 00000003104 14713400346 0014265 0 ustar 00 'length', 'offset' => 'offset', 'user' => 'user', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->length) { $res['length'] = $this->length; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->user) { $res['user'] = null !== $this->user ? $this->user->toMap() : null; } return $res; } /** * @param array $map * * @return TitleMention */ public static function fromMap($map = []) { $model = new self(); if (isset($map['length'])) { $model->length = $map['length']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['user'])) { $model->user = OpenUserDTO::fromMap($map['user']); } return $model; } } src/chengfeng_1_0/Models/TransferUserObjectiveHeaders.php 0000644 00000002353 14713400346 0017431 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TransferUserObjectiveHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/chengfeng_1_0/Models/TransferUserObjectiveRequest.php 0000644 00000002444 14713400346 0017507 0 ustar 00 'objectiveId', 'targetUserId' => 'targetUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectiveId) { $res['objectiveId'] = $this->objectiveId; } if (null !== $this->targetUserId) { $res['targetUserId'] = $this->targetUserId; } return $res; } /** * @param array $map * * @return TransferUserObjectiveRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectiveId'])) { $model->objectiveId = $map['objectiveId']; } if (isset($map['targetUserId'])) { $model->targetUserId = $map['targetUserId']; } return $model; } } src/chengfeng_1_0/Models/TransferUserObjectiveResponse.php 0000644 00000002763 14713400346 0017661 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TransferUserObjectiveResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TransferUserObjectiveResponseBody::fromMap($map['body']); } return $model; } } src/chengfeng_1_0/Models/TransferUserObjectiveResponseBody.php 0000644 00000002753 14713400346 0020476 0 ustar 00 'content', 'requestId' => 'requestId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return TransferUserObjectiveResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Dingtalk.php 0000644 00000354702 14713400346 0012364 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 增加闪记权限 * * * @param string $conferenceId * @param AddRecordPermissionRequest $request AddRecordPermissionRequest * @param AddRecordPermissionHeaders $headers AddRecordPermissionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddRecordPermissionResponse AddRecordPermissionResponse */ public function addRecordPermissionWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->ownerUnionId)) { $body['ownerUnionId'] = $request->ownerUnionId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddRecordPermission', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/flashMinutes/recordPermissions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddRecordPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 增加闪记权限 * * * @param string $conferenceId * @param AddRecordPermissionRequest $request AddRecordPermissionRequest * * @return AddRecordPermissionResponse AddRecordPermissionResponse */ public function addRecordPermission($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new AddRecordPermissionHeaders([]); return $this->addRecordPermissionWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 取消预约会议 * * * @param CancelScheduleConferenceRequest $request CancelScheduleConferenceRequest * @param CancelScheduleConferenceHeaders $headers CancelScheduleConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CancelScheduleConferenceResponse CancelScheduleConferenceResponse */ public function cancelScheduleConferenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->scheduleConferenceId)) { $body['scheduleConferenceId'] = $request->scheduleConferenceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CancelScheduleConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/scheduleConferences/cancel', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CancelScheduleConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 取消预约会议 * * * @param CancelScheduleConferenceRequest $request CancelScheduleConferenceRequest * * @return CancelScheduleConferenceResponse CancelScheduleConferenceResponse */ public function cancelScheduleConference($request) { $runtime = new RuntimeOptions([]); $headers = new CancelScheduleConferenceHeaders([]); return $this->cancelScheduleConferenceWithOptions($request, $headers, $runtime); } /** * @summary 关闭视频会议 * * * @param string $conferenceId * @param CloseVideoConferenceRequest $request CloseVideoConferenceRequest * @param CloseVideoConferenceHeaders $headers CloseVideoConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CloseVideoConferenceResponse CloseVideoConferenceResponse */ public function closeVideoConferenceWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CloseVideoConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CloseVideoConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 关闭视频会议 * * * @param string $conferenceId * @param CloseVideoConferenceRequest $request CloseVideoConferenceRequest * * @return CloseVideoConferenceResponse CloseVideoConferenceResponse */ public function closeVideoConference($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CloseVideoConferenceHeaders([]); return $this->closeVideoConferenceWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 设置联席主持人 * * * @param string $conferenceId * @param CohostsRequest $request CohostsRequest * @param CohostsHeaders $headers CohostsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CohostsResponse CohostsResponse */ public function cohostsWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->userList)) { $body['userList'] = $request->userList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Cohosts', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/coHosts/set', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CohostsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设置联席主持人 * * * @param string $conferenceId * @param CohostsRequest $request CohostsRequest * * @return CohostsResponse CohostsResponse */ public function cohosts($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new CohostsHeaders([]); return $this->cohostsWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 创建专属短链 * * * @param CreateCustomShortLinkRequest $request CreateCustomShortLinkRequest * @param CreateCustomShortLinkHeaders $headers CreateCustomShortLinkHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateCustomShortLinkResponse CreateCustomShortLinkResponse */ public function createCustomShortLinkWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->coolAppCode)) { $body['coolAppCode'] = $request->coolAppCode; } if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->extensionAppBizData)) { $body['extensionAppBizData'] = $request->extensionAppBizData; } if (!Utils::isUnset($request->scheduleConferenceId)) { $body['scheduleConferenceId'] = $request->scheduleConferenceId; } if (!Utils::isUnset($request->useExtensionApp)) { $body['useExtensionApp'] = $request->useExtensionApp; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCustomShortLink', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/customShortLinks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCustomShortLinkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建专属短链 * * * @param CreateCustomShortLinkRequest $request CreateCustomShortLinkRequest * * @return CreateCustomShortLinkResponse CreateCustomShortLinkResponse */ public function createCustomShortLink($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomShortLinkHeaders([]); return $this->createCustomShortLinkWithOptions($request, $headers, $runtime); } /** * @summary 创建预约会议 * * * @param CreateScheduleConferenceRequest $request CreateScheduleConferenceRequest * @param CreateScheduleConferenceHeaders $headers CreateScheduleConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateScheduleConferenceResponse CreateScheduleConferenceResponse */ public function createScheduleConferenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->scheduleConfSettingModel)) { $body['scheduleConfSettingModel'] = $request->scheduleConfSettingModel; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateScheduleConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/scheduleConferences', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateScheduleConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建预约会议 * * * @param CreateScheduleConferenceRequest $request CreateScheduleConferenceRequest * * @return CreateScheduleConferenceResponse CreateScheduleConferenceResponse */ public function createScheduleConference($request) { $runtime = new RuntimeOptions([]); $headers = new CreateScheduleConferenceHeaders([]); return $this->createScheduleConferenceWithOptions($request, $headers, $runtime); } /** * @summary 创建视频会议 * * * @param CreateVideoConferenceRequest $request CreateVideoConferenceRequest * @param CreateVideoConferenceHeaders $headers CreateVideoConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateVideoConferenceResponse CreateVideoConferenceResponse */ public function createVideoConferenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->confTitle)) { $body['confTitle'] = $request->confTitle; } if (!Utils::isUnset($request->inviteCaller)) { $body['inviteCaller'] = $request->inviteCaller; } if (!Utils::isUnset($request->inviteUserIds)) { $body['inviteUserIds'] = $request->inviteUserIds; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateVideoConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateVideoConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建视频会议 * * * @param CreateVideoConferenceRequest $request CreateVideoConferenceRequest * * @return CreateVideoConferenceResponse CreateVideoConferenceResponse */ public function createVideoConference($request) { $runtime = new RuntimeOptions([]); $headers = new CreateVideoConferenceHeaders([]); return $this->createVideoConferenceWithOptions($request, $headers, $runtime); } /** * @summary 设置全员看他 * * * @param string $conferenceId * @param FocusRequest $request FocusRequest * @param FocusHeaders $headers FocusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return FocusResponse FocusResponse */ public function focusWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Focus', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/focus', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FocusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设置全员看他 * * * @param string $conferenceId * @param FocusRequest $request FocusRequest * * @return FocusResponse FocusResponse */ public function focus($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new FocusHeaders([]); return $this->focusWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 生成会议闪记文档的下载链接 * * * @param string $conferenceId * @param GenerateFlashMinutesDocumentUrlRequest $request GenerateFlashMinutesDocumentUrlRequest * @param GenerateFlashMinutesDocumentUrlHeaders $headers GenerateFlashMinutesDocumentUrlHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GenerateFlashMinutesDocumentUrlResponse GenerateFlashMinutesDocumentUrlResponse */ public function generateFlashMinutesDocumentUrlWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } if (!Utils::isUnset($request->expireTime)) { $query['expireTime'] = $request->expireTime; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GenerateFlashMinutesDocumentUrl', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/flashMinutes/document/generate', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GenerateFlashMinutesDocumentUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 生成会议闪记文档的下载链接 * * * @param string $conferenceId * @param GenerateFlashMinutesDocumentUrlRequest $request GenerateFlashMinutesDocumentUrlRequest * * @return GenerateFlashMinutesDocumentUrlResponse GenerateFlashMinutesDocumentUrlResponse */ public function generateFlashMinutesDocumentUrl($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GenerateFlashMinutesDocumentUrlHeaders([]); return $this->generateFlashMinutesDocumentUrlWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 通过conferenceId获取指定音视频会议信息 * * * @param string $conferenceId * @param GetConfDataByConferenceIdRequest $request GetConfDataByConferenceIdRequest * @param GetConfDataByConferenceIdHeaders $headers GetConfDataByConferenceIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetConfDataByConferenceIdResponse GetConfDataByConferenceIdResponse */ public function getConfDataByConferenceIdWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->realData)) { $query['realData'] = $request->realData; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetConfDataByConferenceId', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConfDataByConferenceIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过conferenceId获取指定音视频会议信息 * * * @param string $conferenceId * @param GetConfDataByConferenceIdRequest $request GetConfDataByConferenceIdRequest * * @return GetConfDataByConferenceIdResponse GetConfDataByConferenceIdResponse */ public function getConfDataByConferenceId($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetConfDataByConferenceIdHeaders([]); return $this->getConfDataByConferenceIdWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 通过conferenceId获取指定音视频会议成员信息 * * * @param string $conferenceId * @param GetConfDetailDataRequest $request GetConfDetailDataRequest * @param GetConfDetailDataHeaders $headers GetConfDetailDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetConfDetailDataResponse GetConfDetailDataResponse */ public function getConfDetailDataWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->nick)) { $query['nick'] = $request->nick; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetConfDetailData', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/details', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetConfDetailDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过conferenceId获取指定音视频会议成员信息 * * * @param string $conferenceId * @param GetConfDetailDataRequest $request GetConfDetailDataRequest * * @return GetConfDetailDataResponse GetConfDetailDataResponse */ public function getConfDetailData($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetConfDetailDataHeaders([]); return $this->getConfDetailDataWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 获取音视频会议列表数据 * * * @param GetHistoryConfDataListRequest $request GetHistoryConfDataListRequest * @param GetHistoryConfDataListHeaders $headers GetHistoryConfDataListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetHistoryConfDataListResponse GetHistoryConfDataListResponse */ public function getHistoryConfDataListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->creatorNike)) { $query['creatorNike'] = $request->creatorNike; } if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->freeType)) { $query['freeType'] = $request->freeType; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->realData)) { $query['realData'] = $request->realData; } if (!Utils::isUnset($request->scene)) { $query['scene'] = $request->scene; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->title)) { $query['title'] = $request->title; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetHistoryConfDataList', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/histories/dataLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetHistoryConfDataListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取音视频会议列表数据 * * * @param GetHistoryConfDataListRequest $request GetHistoryConfDataListRequest * * @return GetHistoryConfDataListResponse GetHistoryConfDataListResponse */ public function getHistoryConfDataList($request) { $runtime = new RuntimeOptions([]); $headers = new GetHistoryConfDataListHeaders([]); return $this->getHistoryConfDataListWithOptions($request, $headers, $runtime); } /** * @summary 通过conferenceId和unionId获取最新会议质量数据 * * * @param string $conferenceId * @param GetUserLastMetricRequest $request GetUserLastMetricRequest * @param GetUserLastMetricHeaders $headers GetUserLastMetricHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserLastMetricResponse GetUserLastMetricResponse */ public function getUserLastMetricWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->unionIdList)) { $body['unionIdList'] = $request->unionIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetUserLastMetric', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/lastMetricDatas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserLastMetricResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过conferenceId和unionId获取最新会议质量数据 * * * @param string $conferenceId * @param GetUserLastMetricRequest $request GetUserLastMetricRequest * * @return GetUserLastMetricResponse GetUserLastMetricResponse */ public function getUserLastMetric($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserLastMetricHeaders([]); return $this->getUserLastMetricWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 通过conferenceId和unionId获取指定音视频会议人员的会议质量数据 * * * @param string $conferenceId * @param GetUserMetricDataRequest $request GetUserMetricDataRequest * @param GetUserMetricDataHeaders $headers GetUserMetricDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserMetricDataResponse GetUserMetricDataResponse */ public function getUserMetricDataWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->beginTime)) { $query['beginTime'] = $request->beginTime; } if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUserMetricData', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/metricDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserMetricDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过conferenceId和unionId获取指定音视频会议人员的会议质量数据 * * * @param string $conferenceId * @param GetUserMetricDataRequest $request GetUserMetricDataRequest * * @return GetUserMetricDataResponse GetUserMetricDataResponse */ public function getUserMetricData($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetUserMetricDataHeaders([]); return $this->getUserMetricDataWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 邀请其他人员 * * * @param string $conferenceId * @param InviteUsersRequest $request InviteUsersRequest * @param InviteUsersHeaders $headers InviteUsersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return InviteUsersResponse InviteUsersResponse */ public function inviteUsersWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->inviteeList)) { $body['inviteeList'] = $request->inviteeList; } if (!Utils::isUnset($request->phoneInviteeList)) { $body['phoneInviteeList'] = $request->phoneInviteeList; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InviteUsers', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/users/invite', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InviteUsersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 邀请其他人员 * * * @param string $conferenceId * @param InviteUsersRequest $request InviteUsersRequest * * @return InviteUsersResponse InviteUsersResponse */ public function inviteUsers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new InviteUsersHeaders([]); return $this->inviteUsersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 会议踢出成员 * * * @param string $conferenceId * @param KickMembersRequest $request KickMembersRequest * @param KickMembersHeaders $headers KickMembersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return KickMembersResponse KickMembersResponse */ public function kickMembersWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->forbiddenRejoin)) { $body['forbiddenRejoin'] = $request->forbiddenRejoin; } if (!Utils::isUnset($request->userList)) { $body['userList'] = $request->userList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'KickMembers', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/members/kick', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return KickMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 会议踢出成员 * * * @param string $conferenceId * @param KickMembersRequest $request KickMembersRequest * * @return KickMembersResponse KickMembersResponse */ public function kickMembers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new KickMembersHeaders([]); return $this->kickMembersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 锁定会议 * * * @param string $conferenceId * @param LockConferenceRequest $request LockConferenceRequest * @param LockConferenceHeaders $headers LockConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return LockConferenceResponse LockConferenceResponse */ public function lockConferenceWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'LockConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/lock', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return LockConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 锁定会议 * * * @param string $conferenceId * @param LockConferenceRequest $request LockConferenceRequest * * @return LockConferenceResponse LockConferenceResponse */ public function lockConference($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new LockConferenceHeaders([]); return $this->lockConferenceWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 会议全员静音或解除静音 * * * @param string $conferenceId * @param MuteAllRequest $request MuteAllRequest * @param MuteAllHeaders $headers MuteAllHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return MuteAllResponse MuteAllResponse */ public function muteAllWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->forceMute)) { $body['forceMute'] = $request->forceMute; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MuteAll', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/allMembers/mute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MuteAllResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 会议全员静音或解除静音 * * * @param string $conferenceId * @param MuteAllRequest $request MuteAllRequest * * @return MuteAllResponse MuteAllResponse */ public function muteAll($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new MuteAllHeaders([]); return $this->muteAllWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 指定人员静音或取消静音 * * * @param string $conferenceId * @param MuteMembersRequest $request MuteMembersRequest * @param MuteMembersHeaders $headers MuteMembersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return MuteMembersResponse MuteMembersResponse */ public function muteMembersWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->userList)) { $body['userList'] = $request->userList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MuteMembers', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/members/mute', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return MuteMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 指定人员静音或取消静音 * * * @param string $conferenceId * @param MuteMembersRequest $request MuteMembersRequest * * @return MuteMembersResponse MuteMembersResponse */ public function muteMembers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new MuteMembersHeaders([]); return $this->muteMembersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询云录制文本信息 * * * @param string $conferenceId * @param QueryCloudRecordTextRequest $request QueryCloudRecordTextRequest * @param QueryCloudRecordTextHeaders $headers QueryCloudRecordTextHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCloudRecordTextResponse QueryCloudRecordTextResponse */ public function queryCloudRecordTextWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->direction)) { $query['direction'] = $request->direction; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCloudRecordText', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/cloudRecords/getTexts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCloudRecordTextResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询云录制文本信息 * * * @param string $conferenceId * @param QueryCloudRecordTextRequest $request QueryCloudRecordTextRequest * * @return QueryCloudRecordTextResponse QueryCloudRecordTextResponse */ public function queryCloudRecordText($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryCloudRecordTextHeaders([]); return $this->queryCloudRecordTextWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询云录制视频 * * * @param string $conferenceId * @param QueryCloudRecordVideoRequest $request QueryCloudRecordVideoRequest * @param QueryCloudRecordVideoHeaders $headers QueryCloudRecordVideoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCloudRecordVideoResponse QueryCloudRecordVideoResponse */ public function queryCloudRecordVideoWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCloudRecordVideo', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/cloudRecords/getVideos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCloudRecordVideoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询云录制视频 * * * @param string $conferenceId * @param QueryCloudRecordVideoRequest $request QueryCloudRecordVideoRequest * * @return QueryCloudRecordVideoResponse QueryCloudRecordVideoResponse */ public function queryCloudRecordVideo($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryCloudRecordVideoHeaders([]); return $this->queryCloudRecordVideoWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询云录制视频播放信息 * * * @param string $conferenceId * @param QueryCloudRecordVideoPlayInfoRequest $request QueryCloudRecordVideoPlayInfoRequest * @param QueryCloudRecordVideoPlayInfoHeaders $headers QueryCloudRecordVideoPlayInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCloudRecordVideoPlayInfoResponse QueryCloudRecordVideoPlayInfoResponse */ public function queryCloudRecordVideoPlayInfoWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->mediaId)) { $query['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->regionId)) { $query['regionId'] = $request->regionId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCloudRecordVideoPlayInfo', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/cloudRecords/videos/getPlayInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCloudRecordVideoPlayInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询云录制视频播放信息 * * * @param string $conferenceId * @param QueryCloudRecordVideoPlayInfoRequest $request QueryCloudRecordVideoPlayInfoRequest * * @return QueryCloudRecordVideoPlayInfoResponse QueryCloudRecordVideoPlayInfoResponse */ public function queryCloudRecordVideoPlayInfo($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryCloudRecordVideoPlayInfoHeaders([]); return $this->queryCloudRecordVideoPlayInfoWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询视频会议信息 * * * @param string $conferenceId * @param QueryConferenceInfoHeaders $headers QueryConferenceInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryConferenceInfoResponse QueryConferenceInfoResponse */ public function queryConferenceInfoWithOptions($conferenceId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryConferenceInfo', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryConferenceInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询视频会议信息 * * * @param string $conferenceId * * @return QueryConferenceInfoResponse QueryConferenceInfoResponse */ public function queryConferenceInfo($conferenceId) { $runtime = new RuntimeOptions([]); $headers = new QueryConferenceInfoHeaders([]); return $this->queryConferenceInfoWithOptions($conferenceId, $headers, $runtime); } /** * @summary 批量查询视频会议信息 * * * @param QueryConferenceInfoBatchRequest $request QueryConferenceInfoBatchRequest * @param QueryConferenceInfoBatchHeaders $headers QueryConferenceInfoBatchHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryConferenceInfoBatchResponse QueryConferenceInfoBatchResponse */ public function queryConferenceInfoBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conferenceIdList)) { $body['conferenceIdList'] = $request->conferenceIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryConferenceInfoBatch', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryConferenceInfoBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询视频会议信息 * * * @param QueryConferenceInfoBatchRequest $request QueryConferenceInfoBatchRequest * * @return QueryConferenceInfoBatchResponse QueryConferenceInfoBatchResponse */ public function queryConferenceInfoBatch($request) { $runtime = new RuntimeOptions([]); $headers = new QueryConferenceInfoBatchHeaders([]); return $this->queryConferenceInfoBatchWithOptions($request, $headers, $runtime); } /** * @summary 查询视频会议成员 * * * @param string $conferenceId * @param QueryConferenceMembersRequest $request QueryConferenceMembersRequest * @param QueryConferenceMembersHeaders $headers QueryConferenceMembersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryConferenceMembersResponse QueryConferenceMembersResponse */ public function queryConferenceMembersWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryConferenceMembers', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/members', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryConferenceMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询视频会议成员 * * * @param string $conferenceId * @param QueryConferenceMembersRequest $request QueryConferenceMembersRequest * * @return QueryConferenceMembersResponse QueryConferenceMembersResponse */ public function queryConferenceMembers($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryConferenceMembersHeaders([]); return $this->queryConferenceMembersWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询云录制摘要请求 * * * @param string $conferenceId * @param QueryFlashMinutesSummaryRequest $request QueryFlashMinutesSummaryRequest * @param QueryFlashMinutesSummaryHeaders $headers QueryFlashMinutesSummaryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryFlashMinutesSummaryResponse QueryFlashMinutesSummaryResponse */ public function queryFlashMinutesSummaryWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } if (!Utils::isUnset($request->recorderUnionId)) { $query['recorderUnionId'] = $request->recorderUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryFlashMinutesSummary', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/flashMinutes/summaries', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryFlashMinutesSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询云录制摘要请求 * * * @param string $conferenceId * @param QueryFlashMinutesSummaryRequest $request QueryFlashMinutesSummaryRequest * * @return QueryFlashMinutesSummaryResponse QueryFlashMinutesSummaryResponse */ public function queryFlashMinutesSummary($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryFlashMinutesSummaryHeaders([]); return $this->queryFlashMinutesSummaryWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询会议闪记的音频信息 * * * @param string $conferenceId * @param QueryMinutesAudioRequest $request QueryMinutesAudioRequest * @param QueryMinutesAudioHeaders $headers QueryMinutesAudioHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMinutesAudioResponse QueryMinutesAudioResponse */ public function queryMinutesAudioWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryMinutesAudio', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/minutes/audioInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMinutesAudioResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询会议闪记的音频信息 * * * @param string $conferenceId * @param QueryMinutesAudioRequest $request QueryMinutesAudioRequest * * @return QueryMinutesAudioResponse QueryMinutesAudioResponse */ public function queryMinutesAudio($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryMinutesAudioHeaders([]); return $this->queryMinutesAudioWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询会议闪记智能纪要 * * * @param string $conferenceId * @param QueryMinutesSummaryRequest $request QueryMinutesSummaryRequest * @param QueryMinutesSummaryHeaders $headers QueryMinutesSummaryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMinutesSummaryResponse QueryMinutesSummaryResponse */ public function queryMinutesSummaryWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->summaryTypeList)) { $body['summaryTypeList'] = $request->summaryTypeList; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryMinutesSummary', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/minutes/summaries/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMinutesSummaryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询会议闪记智能纪要 * * * @param string $conferenceId * @param QueryMinutesSummaryRequest $request QueryMinutesSummaryRequest * * @return QueryMinutesSummaryResponse QueryMinutesSummaryResponse */ public function queryMinutesSummary($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryMinutesSummaryHeaders([]); return $this->queryMinutesSummaryWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询会议闪记文本信息 * * * @param string $conferenceId * @param QueryMinutesTextRequest $request QueryMinutesTextRequest * @param QueryMinutesTextHeaders $headers QueryMinutesTextHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMinutesTextResponse QueryMinutesTextResponse */ public function queryMinutesTextWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->direction)) { $query['direction'] = $request->direction; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryMinutesText', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/minutes/textInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMinutesTextResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询会议闪记文本信息 * * * @param string $conferenceId * @param QueryMinutesTextRequest $request QueryMinutesTextRequest * * @return QueryMinutesTextResponse QueryMinutesTextResponse */ public function queryMinutesText($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryMinutesTextHeaders([]); return $this->queryMinutesTextWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询闪记链接 * * * @param string $conferenceId * @param QueryRecordMinutesUrlRequest $request QueryRecordMinutesUrlRequest * @param QueryRecordMinutesUrlHeaders $headers QueryRecordMinutesUrlHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryRecordMinutesUrlResponse QueryRecordMinutesUrlResponse */ public function queryRecordMinutesUrlWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } if (!Utils::isUnset($request->recorderUnionId)) { $query['recorderUnionId'] = $request->recorderUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRecordMinutesUrl', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/flashMinutes/recordUrls', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRecordMinutesUrlResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询闪记链接 * * * @param string $conferenceId * @param QueryRecordMinutesUrlRequest $request QueryRecordMinutesUrlRequest * * @return QueryRecordMinutesUrlResponse QueryRecordMinutesUrlResponse */ public function queryRecordMinutesUrl($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryRecordMinutesUrlHeaders([]); return $this->queryRecordMinutesUrlWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 查询预约会议设置 * * * @param QueryScheduleConfSettingsRequest $request QueryScheduleConfSettingsRequest * @param QueryScheduleConfSettingsHeaders $headers QueryScheduleConfSettingsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryScheduleConfSettingsResponse QueryScheduleConfSettingsResponse */ public function queryScheduleConfSettingsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->scheduleConferenceId)) { $query['scheduleConferenceId'] = $request->scheduleConferenceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryScheduleConfSettings', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/scheduleConferences/settings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryScheduleConfSettingsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询预约会议设置 * * * @param QueryScheduleConfSettingsRequest $request QueryScheduleConfSettingsRequest * * @return QueryScheduleConfSettingsResponse QueryScheduleConfSettingsResponse */ public function queryScheduleConfSettings($request) { $runtime = new RuntimeOptions([]); $headers = new QueryScheduleConfSettingsHeaders([]); return $this->queryScheduleConfSettingsWithOptions($request, $headers, $runtime); } /** * @summary 查询预约会议信息 * * * @param string $scheduleConferenceId * @param QueryScheduleConferenceRequest $request QueryScheduleConferenceRequest * @param QueryScheduleConferenceHeaders $headers QueryScheduleConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryScheduleConferenceResponse QueryScheduleConferenceResponse */ public function queryScheduleConferenceWithOptions($scheduleConferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->requestUnionId)) { $query['requestUnionId'] = $request->requestUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryScheduleConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/scheduleConferences/' . $scheduleConferenceId . '/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryScheduleConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询预约会议信息 * * * @param string $scheduleConferenceId * @param QueryScheduleConferenceRequest $request QueryScheduleConferenceRequest * * @return QueryScheduleConferenceResponse QueryScheduleConferenceResponse */ public function queryScheduleConference($scheduleConferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryScheduleConferenceHeaders([]); return $this->queryScheduleConferenceWithOptions($scheduleConferenceId, $request, $headers, $runtime); } /** * @summary 分页获取预约会议历史会议信息,当前仅返回最后一次的会议信息 * * * @param string $scheduleConferenceId * @param QueryScheduleConferenceInfoRequest $request QueryScheduleConferenceInfoRequest * @param QueryScheduleConferenceInfoHeaders $headers QueryScheduleConferenceInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryScheduleConferenceInfoResponse QueryScheduleConferenceInfoResponse */ public function queryScheduleConferenceInfoWithOptions($scheduleConferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryScheduleConferenceInfo', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/scheduleConferences/' . $scheduleConferenceId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryScheduleConferenceInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取预约会议历史会议信息,当前仅返回最后一次的会议信息 * * * @param string $scheduleConferenceId * @param QueryScheduleConferenceInfoRequest $request QueryScheduleConferenceInfoRequest * * @return QueryScheduleConferenceInfoResponse QueryScheduleConferenceInfoResponse */ public function queryScheduleConferenceInfo($scheduleConferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryScheduleConferenceInfoHeaders([]); return $this->queryScheduleConferenceInfoWithOptions($scheduleConferenceId, $request, $headers, $runtime); } /** * @summary 查询用户进行中会议 * * * @param QueryUserOnGoingConferenceRequest $request QueryUserOnGoingConferenceRequest * @param QueryUserOnGoingConferenceHeaders $headers QueryUserOnGoingConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryUserOnGoingConferenceResponse QueryUserOnGoingConferenceResponse */ public function queryUserOnGoingConferenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryUserOnGoingConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/users/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryUserOnGoingConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户进行中会议 * * * @param QueryUserOnGoingConferenceRequest $request QueryUserOnGoingConferenceRequest * * @return QueryUserOnGoingConferenceResponse QueryUserOnGoingConferenceResponse */ public function queryUserOnGoingConference($request) { $runtime = new RuntimeOptions([]); $headers = new QueryUserOnGoingConferenceHeaders([]); return $this->queryUserOnGoingConferenceWithOptions($request, $headers, $runtime); } /** * @summary 开启云录制 * * * @param string $conferenceId * @param StartCloudRecordRequest $request StartCloudRecordRequest * @param StartCloudRecordHeaders $headers StartCloudRecordHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StartCloudRecordResponse StartCloudRecordResponse */ public function startCloudRecordWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mode)) { $body['mode'] = $request->mode; } if (!Utils::isUnset($request->smallWindowPosition)) { $body['smallWindowPosition'] = $request->smallWindowPosition; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StartCloudRecord', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/cloudRecords/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StartCloudRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 开启云录制 * * * @param string $conferenceId * @param StartCloudRecordRequest $request StartCloudRecordRequest * * @return StartCloudRecordResponse StartCloudRecordResponse */ public function startCloudRecord($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StartCloudRecordHeaders([]); return $this->startCloudRecordWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 开启会议闪记 * * * @param string $conferenceId * @param StartMinutesRequest $request StartMinutesRequest * @param StartMinutesHeaders $headers StartMinutesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StartMinutesResponse StartMinutesResponse */ public function startMinutesWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->ownerUnionId)) { $body['ownerUnionId'] = $request->ownerUnionId; } if (!Utils::isUnset($request->recordAudio)) { $body['recordAudio'] = $request->recordAudio; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StartMinutes', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/minutes/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StartMinutesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 开启会议闪记 * * * @param string $conferenceId * @param StartMinutesRequest $request StartMinutesRequest * * @return StartMinutesResponse StartMinutesResponse */ public function startMinutes($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StartMinutesHeaders([]); return $this->startMinutesWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 会议开始直播推流 * * * @param string $conferenceId * @param StartStreamOutRequest $request StartStreamOutRequest * @param StartStreamOutHeaders $headers StartStreamOutHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StartStreamOutResponse StartStreamOutResponse */ public function startStreamOutWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mode)) { $body['mode'] = $request->mode; } if (!Utils::isUnset($request->needHostJoin)) { $body['needHostJoin'] = $request->needHostJoin; } if (!Utils::isUnset($request->smallWindowPosition)) { $body['smallWindowPosition'] = $request->smallWindowPosition; } if (!Utils::isUnset($request->streamName)) { $body['streamName'] = $request->streamName; } if (!Utils::isUnset($request->streamUrlList)) { $body['streamUrlList'] = $request->streamUrlList; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StartStreamOut', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/streamOuts/start', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return StartStreamOutResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 会议开始直播推流 * * * @param string $conferenceId * @param StartStreamOutRequest $request StartStreamOutRequest * * @return StartStreamOutResponse StartStreamOutResponse */ public function startStreamOut($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StartStreamOutHeaders([]); return $this->startStreamOutWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 关闭云录制 * * * @param string $conferenceId * @param StopCloudRecordRequest $request StopCloudRecordRequest * @param StopCloudRecordHeaders $headers StopCloudRecordHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StopCloudRecordResponse StopCloudRecordResponse */ public function stopCloudRecordWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StopCloudRecord', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/cloudRecords/stop', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StopCloudRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 关闭云录制 * * * @param string $conferenceId * @param StopCloudRecordRequest $request StopCloudRecordRequest * * @return StopCloudRecordResponse StopCloudRecordResponse */ public function stopCloudRecord($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StopCloudRecordHeaders([]); return $this->stopCloudRecordWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 暂停会议闪记 * * * @param string $conferenceId * @param StopMinutesRequest $request StopMinutesRequest * @param StopMinutesHeaders $headers StopMinutesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StopMinutesResponse StopMinutesResponse */ public function stopMinutesWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StopMinutes', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/minutes/pause', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StopMinutesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 暂停会议闪记 * * * @param string $conferenceId * @param StopMinutesRequest $request StopMinutesRequest * * @return StopMinutesResponse StopMinutesResponse */ public function stopMinutes($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StopMinutesHeaders([]); return $this->stopMinutesWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 会议停止直播推流 * * * @param string $conferenceId * @param StopStreamOutRequest $request StopStreamOutRequest * @param StopStreamOutHeaders $headers StopStreamOutHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return StopStreamOutResponse StopStreamOutResponse */ public function stopStreamOutWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->stopAllStream)) { $body['stopAllStream'] = $request->stopAllStream; } if (!Utils::isUnset($request->streamId)) { $body['streamId'] = $request->streamId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'StopStreamOut', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/streamOuts/stop', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return StopStreamOutResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 会议停止直播推流 * * * @param string $conferenceId * @param StopStreamOutRequest $request StopStreamOutRequest * * @return StopStreamOutResponse StopStreamOutResponse */ public function stopStreamOut($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new StopStreamOutHeaders([]); return $this->stopStreamOutWithOptions($conferenceId, $request, $headers, $runtime); } /** * @summary 更新预约会议设置 * * * @param UpdateScheduleConfSettingsRequest $request UpdateScheduleConfSettingsRequest * @param UpdateScheduleConfSettingsHeaders $headers UpdateScheduleConfSettingsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateScheduleConfSettingsResponse UpdateScheduleConfSettingsResponse */ public function updateScheduleConfSettingsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->scheduleConfSettingModel)) { $body['scheduleConfSettingModel'] = $request->scheduleConfSettingModel; } if (!Utils::isUnset($request->scheduleConferenceId)) { $body['scheduleConferenceId'] = $request->scheduleConferenceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateScheduleConfSettings', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/scheduleConferences/settings', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateScheduleConfSettingsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新预约会议设置 * * * @param UpdateScheduleConfSettingsRequest $request UpdateScheduleConfSettingsRequest * * @return UpdateScheduleConfSettingsResponse UpdateScheduleConfSettingsResponse */ public function updateScheduleConfSettings($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateScheduleConfSettingsHeaders([]); return $this->updateScheduleConfSettingsWithOptions($request, $headers, $runtime); } /** * @summary 更新预约会议 * * * @param UpdateScheduleConferenceRequest $request UpdateScheduleConferenceRequest * @param UpdateScheduleConferenceHeaders $headers UpdateScheduleConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateScheduleConferenceResponse UpdateScheduleConferenceResponse */ public function updateScheduleConferenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUnionId)) { $body['creatorUnionId'] = $request->creatorUnionId; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->scheduleConferenceId)) { $body['scheduleConferenceId'] = $request->scheduleConferenceId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateScheduleConference', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/scheduleConferences', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateScheduleConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新预约会议 * * * @param UpdateScheduleConferenceRequest $request UpdateScheduleConferenceRequest * * @return UpdateScheduleConferenceResponse UpdateScheduleConferenceResponse */ public function updateScheduleConference($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateScheduleConferenceHeaders([]); return $this->updateScheduleConferenceWithOptions($request, $headers, $runtime); } /** * @summary 更新会议额外信息 * * * @param string $conferenceId * @param UpdateVideoConferenceExtInfoHeaders $headers UpdateVideoConferenceExtInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateVideoConferenceExtInfoResponse UpdateVideoConferenceExtInfoResponse */ public function updateVideoConferenceExtInfoWithOptions($conferenceId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'UpdateVideoConferenceExtInfo', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '/extInfo', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateVideoConferenceExtInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新会议额外信息 * * * @param string $conferenceId * * @return UpdateVideoConferenceExtInfoResponse UpdateVideoConferenceExtInfoResponse */ public function updateVideoConferenceExtInfo($conferenceId) { $runtime = new RuntimeOptions([]); $headers = new UpdateVideoConferenceExtInfoHeaders([]); return $this->updateVideoConferenceExtInfoWithOptions($conferenceId, $headers, $runtime); } /** * @summary 设置会议中的会议属性 * * * @param string $conferenceId * @param UpdateVideoConferenceSettingRequest $request UpdateVideoConferenceSettingRequest * @param UpdateVideoConferenceSettingHeaders $headers UpdateVideoConferenceSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateVideoConferenceSettingResponse UpdateVideoConferenceSettingResponse */ public function updateVideoConferenceSettingWithOptions($conferenceId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->allowUnmuteSelf)) { $body['allowUnmuteSelf'] = $request->allowUnmuteSelf; } if (!Utils::isUnset($request->autoTransferHost)) { $body['autoTransferHost'] = $request->autoTransferHost; } if (!Utils::isUnset($request->forbiddenShareScreen)) { $body['forbiddenShareScreen'] = $request->forbiddenShareScreen; } if (!Utils::isUnset($request->lockConference)) { $body['lockConference'] = $request->lockConference; } if (!Utils::isUnset($request->muteAll)) { $body['muteAll'] = $request->muteAll; } if (!Utils::isUnset($request->onlyInternalEmployeesJoin)) { $body['onlyInternalEmployeesJoin'] = $request->onlyInternalEmployeesJoin; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateVideoConferenceSetting', 'version' => 'conference_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/conference/videoConferences/' . $conferenceId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateVideoConferenceSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设置会议中的会议属性 * * * @param string $conferenceId * @param UpdateVideoConferenceSettingRequest $request UpdateVideoConferenceSettingRequest * * @return UpdateVideoConferenceSettingResponse UpdateVideoConferenceSettingResponse */ public function updateVideoConferenceSetting($conferenceId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateVideoConferenceSettingHeaders([]); return $this->updateVideoConferenceSettingWithOptions($conferenceId, $request, $headers, $runtime); } } src/conference_1_0/Models/AddRecordPermissionHeaders.php 0000644 00000002350 14713400346 0017233 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddRecordPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/AddRecordPermissionRequest.php 0000644 00000003327 14713400346 0017315 0 ustar 00 'bizType', 'ownerUnionId' => 'ownerUnionId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return AddRecordPermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/AddRecordPermissionResponse.php 0000644 00000002754 14713400346 0017466 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddRecordPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddRecordPermissionResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/AddRecordPermissionResponseBody.php 0000644 00000001471 14713400346 0020277 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return AddRecordPermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/CancelScheduleConferenceHeaders.php 0000644 00000002362 14713400346 0020170 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CancelScheduleConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/CancelScheduleConferenceRequest.php 0000644 00000003003 14713400346 0020236 0 ustar 00 'creatorUnionId', 'scheduleConferenceId' => 'scheduleConferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } return $res; } /** * @param array $map * * @return CancelScheduleConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } return $model; } } src/conference_1_0/Models/CancelScheduleConferenceResponse.php 0000644 00000003000 14713400346 0020401 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CancelScheduleConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CancelScheduleConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/CancelScheduleConferenceResponseBody.php 0000644 00000001534 14713400346 0021231 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CancelScheduleConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/CloseVideoConferenceHeaders.php 0000644 00000002352 14713400346 0017361 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseVideoConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/CloseVideoConferenceRequest.php 0000644 00000001671 14713400346 0017441 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return CloseVideoConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/CloseVideoConferenceResponse.php 0000644 00000002760 14713400346 0017607 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseVideoConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseVideoConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/CloseVideoConferenceResponseBody.php 0000644 00000002165 14713400346 0020424 0 ustar 00 'cause', 'code' => 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cause) { $res['cause'] = $this->cause; } if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return CloseVideoConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cause'])) { $model->cause = $map['cause']; } if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/CohostsHeaders.php 0000644 00000002320 14713400346 0014752 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CohostsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/CohostsRequest.php 0000644 00000003444 14713400346 0015037 0 ustar 00 'action', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->userList) { $res['userList'] = []; if (null !== $this->userList && \is_array($this->userList)) { $n = 0; foreach ($this->userList as $item) { $res['userList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CohostsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['userList'])) { if (!empty($map['userList'])) { $model->userList = []; $n = 0; foreach ($map['userList'] as $item) { $model->userList[$n++] = null !== $item ? userList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/CohostsRequest/userList.php 0000644 00000001643 14713400346 0016650 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return userList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/CohostsResponse.php 0000644 00000002674 14713400346 0015211 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CohostsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CohostsResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/CohostsResponseBody.php 0000644 00000001472 14713400346 0016022 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CohostsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/CreateCustomShortLinkHeaders.php 0000644 00000002354 14713400346 0017573 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCustomShortLinkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/CreateCustomShortLinkRequest.php 0000644 00000005357 14713400346 0017656 0 ustar 00 'coolAppCode', 'creatorUnionId' => 'creatorUnionId', 'extensionAppBizData' => 'extensionAppBizData', 'scheduleConferenceId' => 'scheduleConferenceId', 'useExtensionApp' => 'useExtensionApp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->extensionAppBizData) { $res['extensionAppBizData'] = $this->extensionAppBizData; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } if (null !== $this->useExtensionApp) { $res['useExtensionApp'] = $this->useExtensionApp; } return $res; } /** * @param array $map * * @return CreateCustomShortLinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['extensionAppBizData'])) { $model->extensionAppBizData = $map['extensionAppBizData']; } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } if (isset($map['useExtensionApp'])) { $model->useExtensionApp = $map['useExtensionApp']; } return $model; } } src/conference_1_0/Models/CreateCustomShortLinkResponse.php 0000644 00000002764 14713400346 0020023 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomShortLinkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCustomShortLinkResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/CreateCustomShortLinkResponseBody.php 0000644 00000001750 14713400346 0020633 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomShortLinkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/conference_1_0/Models/CreateCustomShortLinkResponseBody/result.php 0000644 00000001614 14713400346 0022150 0 ustar 00 'customShortLink', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customShortLink) { $res['customShortLink'] = $this->customShortLink; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customShortLink'])) { $model->customShortLink = $map['customShortLink']; } return $model; } } src/conference_1_0/Models/CreateScheduleConferenceHeaders.php 0000644 00000002362 14713400346 0020206 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateScheduleConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/CreateScheduleConferenceRequest.php 0000644 00000005442 14713400346 0020265 0 ustar 00 'creatorUnionId', 'endTime' => 'endTime', 'scheduleConfSettingModel' => 'scheduleConfSettingModel', 'startTime' => 'startTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->scheduleConfSettingModel) { $res['scheduleConfSettingModel'] = null !== $this->scheduleConfSettingModel ? $this->scheduleConfSettingModel->toMap() : null; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreateScheduleConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['scheduleConfSettingModel'])) { $model->scheduleConfSettingModel = scheduleConfSettingModel::fromMap($map['scheduleConfSettingModel']); } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/conference_1_0/Models/CreateScheduleConferenceRequest/scheduleConfSettingModel.php 0000644 00000010563 14713400346 0025206 0 ustar 00 'cohostUnionIds', 'confAllowedCorpId' => 'confAllowedCorpId', 'hostUnionId' => 'hostUnionId', 'lockRoom' => 'lockRoom', 'moziConfOpenRecordSetting' => 'moziConfOpenRecordSetting', 'moziConfVirtualExtraSetting' => 'moziConfVirtualExtraSetting', 'muteOnJoin' => 'muteOnJoin', 'screenShareForbidden' => 'screenShareForbidden', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cohostUnionIds) { $res['cohostUnionIds'] = $this->cohostUnionIds; } if (null !== $this->confAllowedCorpId) { $res['confAllowedCorpId'] = $this->confAllowedCorpId; } if (null !== $this->hostUnionId) { $res['hostUnionId'] = $this->hostUnionId; } if (null !== $this->lockRoom) { $res['lockRoom'] = $this->lockRoom; } if (null !== $this->moziConfOpenRecordSetting) { $res['moziConfOpenRecordSetting'] = null !== $this->moziConfOpenRecordSetting ? $this->moziConfOpenRecordSetting->toMap() : null; } if (null !== $this->moziConfVirtualExtraSetting) { $res['moziConfVirtualExtraSetting'] = null !== $this->moziConfVirtualExtraSetting ? $this->moziConfVirtualExtraSetting->toMap() : null; } if (null !== $this->muteOnJoin) { $res['muteOnJoin'] = $this->muteOnJoin; } if (null !== $this->screenShareForbidden) { $res['screenShareForbidden'] = $this->screenShareForbidden; } return $res; } /** * @param array $map * * @return scheduleConfSettingModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cohostUnionIds'])) { if (!empty($map['cohostUnionIds'])) { $model->cohostUnionIds = $map['cohostUnionIds']; } } if (isset($map['confAllowedCorpId'])) { $model->confAllowedCorpId = $map['confAllowedCorpId']; } if (isset($map['hostUnionId'])) { $model->hostUnionId = $map['hostUnionId']; } if (isset($map['lockRoom'])) { $model->lockRoom = $map['lockRoom']; } if (isset($map['moziConfOpenRecordSetting'])) { $model->moziConfOpenRecordSetting = moziConfOpenRecordSetting::fromMap($map['moziConfOpenRecordSetting']); } if (isset($map['moziConfVirtualExtraSetting'])) { $model->moziConfVirtualExtraSetting = moziConfVirtualExtraSetting::fromMap($map['moziConfVirtualExtraSetting']); } if (isset($map['muteOnJoin'])) { $model->muteOnJoin = $map['muteOnJoin']; } if (isset($map['screenShareForbidden'])) { $model->screenShareForbidden = $map['screenShareForbidden']; } return $model; } } Models/CreateScheduleConferenceRequest/scheduleConfSettingModel/moziConfOpenRecordSetting.php 0000644 00000004755 14713400346 0032240 0 ustar 00 src/conference_1_0 'isFollowHost', 'mode' => 'mode', 'recordAutoStart' => 'recordAutoStart', 'recordAutoStartType' => 'recordAutoStartType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isFollowHost) { $res['isFollowHost'] = $this->isFollowHost; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->recordAutoStart) { $res['recordAutoStart'] = $this->recordAutoStart; } if (null !== $this->recordAutoStartType) { $res['recordAutoStartType'] = $this->recordAutoStartType; } return $res; } /** * @param array $map * * @return moziConfOpenRecordSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isFollowHost'])) { $model->isFollowHost = $map['isFollowHost']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['recordAutoStart'])) { $model->recordAutoStart = $map['recordAutoStart']; } if (isset($map['recordAutoStartType'])) { $model->recordAutoStartType = $map['recordAutoStartType']; } return $model; } } Models/CreateScheduleConferenceRequest/scheduleConfSettingModel/moziConfVirtualExtraSetting.php 0000644 00000014546 14713400346 0032631 0 ustar 00 src/conference_1_0 'cloudRecordOwnerUnionId', 'enableChat' => 'enableChat', 'enableWebAnonymousJoin' => 'enableWebAnonymousJoin', 'joinBeforeHost' => 'joinBeforeHost', 'lockMediaStatusMicMute' => 'lockMediaStatusMicMute', 'lockNick' => 'lockNick', 'minutesOwnerUnionId' => 'minutesOwnerUnionId', 'moziConfExtensionAppSettings' => 'moziConfExtensionAppSettings', 'pushAllMeetingRecords' => 'pushAllMeetingRecords', 'pushCloudRecordCard' => 'pushCloudRecordCard', 'pushMinutesCard' => 'pushMinutesCard', 'waitingRoom' => 'waitingRoom', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cloudRecordOwnerUnionId) { $res['cloudRecordOwnerUnionId'] = $this->cloudRecordOwnerUnionId; } if (null !== $this->enableChat) { $res['enableChat'] = $this->enableChat; } if (null !== $this->enableWebAnonymousJoin) { $res['enableWebAnonymousJoin'] = $this->enableWebAnonymousJoin; } if (null !== $this->joinBeforeHost) { $res['joinBeforeHost'] = $this->joinBeforeHost; } if (null !== $this->lockMediaStatusMicMute) { $res['lockMediaStatusMicMute'] = $this->lockMediaStatusMicMute; } if (null !== $this->lockNick) { $res['lockNick'] = $this->lockNick; } if (null !== $this->minutesOwnerUnionId) { $res['minutesOwnerUnionId'] = $this->minutesOwnerUnionId; } if (null !== $this->moziConfExtensionAppSettings) { $res['moziConfExtensionAppSettings'] = []; if (null !== $this->moziConfExtensionAppSettings && \is_array($this->moziConfExtensionAppSettings)) { $n = 0; foreach ($this->moziConfExtensionAppSettings as $item) { $res['moziConfExtensionAppSettings'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pushAllMeetingRecords) { $res['pushAllMeetingRecords'] = $this->pushAllMeetingRecords; } if (null !== $this->pushCloudRecordCard) { $res['pushCloudRecordCard'] = $this->pushCloudRecordCard; } if (null !== $this->pushMinutesCard) { $res['pushMinutesCard'] = $this->pushMinutesCard; } if (null !== $this->waitingRoom) { $res['waitingRoom'] = $this->waitingRoom; } return $res; } /** * @param array $map * * @return moziConfVirtualExtraSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cloudRecordOwnerUnionId'])) { $model->cloudRecordOwnerUnionId = $map['cloudRecordOwnerUnionId']; } if (isset($map['enableChat'])) { $model->enableChat = $map['enableChat']; } if (isset($map['enableWebAnonymousJoin'])) { $model->enableWebAnonymousJoin = $map['enableWebAnonymousJoin']; } if (isset($map['joinBeforeHost'])) { $model->joinBeforeHost = $map['joinBeforeHost']; } if (isset($map['lockMediaStatusMicMute'])) { $model->lockMediaStatusMicMute = $map['lockMediaStatusMicMute']; } if (isset($map['lockNick'])) { $model->lockNick = $map['lockNick']; } if (isset($map['minutesOwnerUnionId'])) { $model->minutesOwnerUnionId = $map['minutesOwnerUnionId']; } if (isset($map['moziConfExtensionAppSettings'])) { if (!empty($map['moziConfExtensionAppSettings'])) { $model->moziConfExtensionAppSettings = []; $n = 0; foreach ($map['moziConfExtensionAppSettings'] as $item) { $model->moziConfExtensionAppSettings[$n++] = null !== $item ? moziConfExtensionAppSettings::fromMap($item) : $item; } } } if (isset($map['pushAllMeetingRecords'])) { $model->pushAllMeetingRecords = $map['pushAllMeetingRecords']; } if (isset($map['pushCloudRecordCard'])) { $model->pushCloudRecordCard = $map['pushCloudRecordCard']; } if (isset($map['pushMinutesCard'])) { $model->pushMinutesCard = $map['pushMinutesCard']; } if (isset($map['waitingRoom'])) { $model->waitingRoom = $map['waitingRoom']; } return $model; } } scheduleConfSettingModel/moziConfVirtualExtraSetting/moziConfExtensionAppSettings.php 0000644 00000003542 14713400346 0040466 0 ustar 00 src/conference_1_0/Models/CreateScheduleConferenceRequest 'autoOpenMode', 'coolAppCode' => 'coolAppCode', 'extensionAppBizData' => 'extensionAppBizData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->autoOpenMode) { $res['autoOpenMode'] = $this->autoOpenMode; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->extensionAppBizData) { $res['extensionAppBizData'] = $this->extensionAppBizData; } return $res; } /** * @param array $map * * @return moziConfExtensionAppSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['autoOpenMode'])) { $model->autoOpenMode = $map['autoOpenMode']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['extensionAppBizData'])) { $model->extensionAppBizData = $map['extensionAppBizData']; } return $model; } } src/conference_1_0/Models/CreateScheduleConferenceResponse.php 0000644 00000003000 14713400346 0020417 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateScheduleConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateScheduleConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/CreateScheduleConferenceResponseBody.php 0000644 00000004471 14713400346 0021252 0 ustar 00 'phones', 'requestId' => 'requestId', 'roomCode' => 'roomCode', 'scheduleConferenceId' => 'scheduleConferenceId', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->phones) { $res['phones'] = $this->phones; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->roomCode) { $res['roomCode'] = $this->roomCode; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return CreateScheduleConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['phones'])) { if (!empty($map['phones'])) { $model->phones = $map['phones']; } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['roomCode'])) { $model->roomCode = $map['roomCode']; } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/conference_1_0/Models/CreateVideoConferenceHeaders.php 0000644 00000002354 14713400346 0017521 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateVideoConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/CreateVideoConferenceRequest.php 0000644 00000004071 14713400346 0017574 0 ustar 00 'confTitle', 'inviteCaller' => 'inviteCaller', 'inviteUserIds' => 'inviteUserIds', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->confTitle) { $res['confTitle'] = $this->confTitle; } if (null !== $this->inviteCaller) { $res['inviteCaller'] = $this->inviteCaller; } if (null !== $this->inviteUserIds) { $res['inviteUserIds'] = $this->inviteUserIds; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateVideoConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['confTitle'])) { $model->confTitle = $map['confTitle']; } if (isset($map['inviteCaller'])) { $model->inviteCaller = $map['inviteCaller']; } if (isset($map['inviteUserIds'])) { if (!empty($map['inviteUserIds'])) { $model->inviteUserIds = $map['inviteUserIds']; } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/conference_1_0/Models/CreateVideoConferenceResponse.php 0000644 00000002764 14713400346 0017751 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateVideoConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateVideoConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/CreateVideoConferenceResponseBody.php 0000644 00000005240 14713400346 0020557 0 ustar 00 'conferenceId', 'conferencePassword' => 'conferencePassword', 'externalLinkUrl' => 'externalLinkUrl', 'hostPassword' => 'hostPassword', 'phoneNumbers' => 'phoneNumbers', 'roomCode' => 'roomCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->conferencePassword) { $res['conferencePassword'] = $this->conferencePassword; } if (null !== $this->externalLinkUrl) { $res['externalLinkUrl'] = $this->externalLinkUrl; } if (null !== $this->hostPassword) { $res['hostPassword'] = $this->hostPassword; } if (null !== $this->phoneNumbers) { $res['phoneNumbers'] = $this->phoneNumbers; } if (null !== $this->roomCode) { $res['roomCode'] = $this->roomCode; } return $res; } /** * @param array $map * * @return CreateVideoConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['conferencePassword'])) { $model->conferencePassword = $map['conferencePassword']; } if (isset($map['externalLinkUrl'])) { $model->externalLinkUrl = $map['externalLinkUrl']; } if (isset($map['hostPassword'])) { $model->hostPassword = $map['hostPassword']; } if (isset($map['phoneNumbers'])) { if (!empty($map['phoneNumbers'])) { $model->phoneNumbers = $map['phoneNumbers']; } } if (isset($map['roomCode'])) { $model->roomCode = $map['roomCode']; } return $model; } } src/conference_1_0/Models/FocusHeaders.php 0000644 00000002314 14713400346 0014412 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FocusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/FocusRequest.php 0000644 00000002253 14713400346 0014471 0 ustar 00 'action', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return FocusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/FocusResponse.php 0000644 00000002664 14713400346 0014645 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FocusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FocusResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/FocusResponseBody.php 0000644 00000001466 14713400346 0015462 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return FocusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/GenerateFlashMinutesDocumentUrlHeaders.php 0000644 00000002400 14713400346 0021566 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GenerateFlashMinutesDocumentUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/GenerateFlashMinutesDocumentUrlRequest.php 0000644 00000003226 14713400346 0021652 0 ustar 00 'bizType', 'expireTime' => 'expireTime', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->expireTime) { $res['expireTime'] = $this->expireTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GenerateFlashMinutesDocumentUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['expireTime'])) { $model->expireTime = $map['expireTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/GenerateFlashMinutesDocumentUrlResponse.php 0000644 00000003034 14713400346 0022015 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GenerateFlashMinutesDocumentUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GenerateFlashMinutesDocumentUrlResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/GenerateFlashMinutesDocumentUrlResponseBody.php 0000644 00000001642 14713400346 0022636 0 ustar 00 'minutesDocUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->minutesDocUrl) { $res['minutesDocUrl'] = $this->minutesDocUrl; } return $res; } /** * @param array $map * * @return GenerateFlashMinutesDocumentUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['minutesDocUrl'])) { $model->minutesDocUrl = $map['minutesDocUrl']; } return $model; } } src/conference_1_0/Models/GetConfDataByConferenceIdHeaders.php 0000644 00000002364 14713400346 0020217 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConfDataByConferenceIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/GetConfDataByConferenceIdRequest.php 0000644 00000001624 14713400346 0020272 0 ustar 00 'realData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->realData) { $res['realData'] = $this->realData; } return $res; } /** * @param array $map * * @return GetConfDataByConferenceIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['realData'])) { $model->realData = $map['realData']; } return $model; } } src/conference_1_0/Models/GetConfDataByConferenceIdResponse.php 0000644 00000003004 14713400346 0020432 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConfDataByConferenceIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConfDataByConferenceIdResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/GetConfDataByConferenceIdResponseBody.php 0000644 00000010153 14713400346 0021253 0 ustar 00 'conferenceId', 'creatorId' => 'creatorId', 'creatorNick' => 'creatorNick', 'deptName' => 'deptName', 'endTime' => 'endTime', 'freeType' => 'freeType', 'scene' => 'scene', 'startTime' => 'startTime', 'timeLength' => 'timeLength', 'title' => 'title', 'userCount' => 'userCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->freeType) { $res['freeType'] = $this->freeType; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->timeLength) { $res['timeLength'] = $this->timeLength; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userCount) { $res['userCount'] = $this->userCount; } return $res; } /** * @param array $map * * @return GetConfDataByConferenceIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['freeType'])) { $model->freeType = $map['freeType']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['timeLength'])) { $model->timeLength = $map['timeLength']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userCount'])) { $model->userCount = $map['userCount']; } return $model; } } src/conference_1_0/Models/GetConfDetailDataHeaders.php 0000644 00000002344 14713400346 0016600 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetConfDetailDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/GetConfDetailDataRequest.php 0000644 00000002760 14713400346 0016657 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'nick' => 'nick', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->nick) { $res['nick'] = $this->nick; } return $res; } /** * @param array $map * * @return GetConfDetailDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } return $model; } } src/conference_1_0/Models/GetConfDetailDataResponse.php 0000644 00000002744 14713400346 0017027 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetConfDetailDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetConfDetailDataResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/GetConfDetailDataResponseBody.php 0000644 00000003320 14713400346 0017634 0 ustar 00 'list', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetConfDetailDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/conference_1_0/Models/GetConfDetailDataResponseBody/list_.php 0000644 00000011322 14713400346 0020747 0 ustar 00 'belongOrg', 'conferenceId' => 'conferenceId', 'deviceType' => 'deviceType', 'duration' => 'duration', 'joinTime' => 'joinTime', 'leaveTime' => 'leaveTime', 'networkQuality' => 'networkQuality', 'nick' => 'nick', 'role' => 'role', 'sessionId' => 'sessionId', 'status' => 'status', 'unionId' => 'unionId', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongOrg) { $res['belongOrg'] = $this->belongOrg; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->deviceType) { $res['deviceType'] = $this->deviceType; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->joinTime) { $res['joinTime'] = $this->joinTime; } if (null !== $this->leaveTime) { $res['leaveTime'] = $this->leaveTime; } if (null !== $this->networkQuality) { $res['networkQuality'] = $this->networkQuality; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->role) { $res['role'] = $this->role; } if (null !== $this->sessionId) { $res['sessionId'] = $this->sessionId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongOrg'])) { $model->belongOrg = $map['belongOrg']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['deviceType'])) { $model->deviceType = $map['deviceType']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['joinTime'])) { $model->joinTime = $map['joinTime']; } if (isset($map['leaveTime'])) { $model->leaveTime = $map['leaveTime']; } if (isset($map['networkQuality'])) { $model->networkQuality = $map['networkQuality']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['role'])) { $model->role = $map['role']; } if (isset($map['sessionId'])) { $model->sessionId = $map['sessionId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/conference_1_0/Models/GetHistoryConfDataListHeaders.php 0000644 00000002356 14713400346 0017676 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetHistoryConfDataListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/GetHistoryConfDataListRequest.php 0000644 00000007041 14713400346 0017747 0 ustar 00 'creatorNike', 'endTime' => 'endTime', 'freeType' => 'freeType', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'realData' => 'realData', 'scene' => 'scene', 'startTime' => 'startTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorNike) { $res['creatorNike'] = $this->creatorNike; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->freeType) { $res['freeType'] = $this->freeType; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->realData) { $res['realData'] = $this->realData; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return GetHistoryConfDataListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorNike'])) { $model->creatorNike = $map['creatorNike']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['freeType'])) { $model->freeType = $map['freeType']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['realData'])) { $model->realData = $map['realData']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/conference_1_0/Models/GetHistoryConfDataListResponse.php 0000644 00000002770 14713400346 0020121 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetHistoryConfDataListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetHistoryConfDataListResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/GetHistoryConfDataListResponseBody.php 0000644 00000003335 14713400346 0020735 0 ustar 00 'list', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetHistoryConfDataListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/conference_1_0/Models/GetHistoryConfDataListResponseBody/list_.php 0000644 00000010117 14713400346 0022043 0 ustar 00 'conferenceId', 'creatorId' => 'creatorId', 'creatorNick' => 'creatorNick', 'deptName' => 'deptName', 'endTime' => 'endTime', 'freeType' => 'freeType', 'scene' => 'scene', 'startTime' => 'startTime', 'timeLength' => 'timeLength', 'title' => 'title', 'userCount' => 'userCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->deptName) { $res['deptName'] = $this->deptName; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->freeType) { $res['freeType'] = $this->freeType; } if (null !== $this->scene) { $res['scene'] = $this->scene; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->timeLength) { $res['timeLength'] = $this->timeLength; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userCount) { $res['userCount'] = $this->userCount; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['deptName'])) { $model->deptName = $map['deptName']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['freeType'])) { $model->freeType = $map['freeType']; } if (isset($map['scene'])) { $model->scene = $map['scene']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['timeLength'])) { $model->timeLength = $map['timeLength']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userCount'])) { $model->userCount = $map['userCount']; } return $model; } } src/conference_1_0/Models/GetUserLastMetricHeaders.php 0000644 00000002344 14713400346 0016704 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserLastMetricHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/GetUserLastMetricRequest.php 0000644 00000001744 14713400346 0016764 0 ustar 00 'unionIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionIdList) { $res['unionIdList'] = $this->unionIdList; } return $res; } /** * @param array $map * * @return GetUserLastMetricRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionIdList'])) { if (!empty($map['unionIdList'])) { $model->unionIdList = $map['unionIdList']; } } return $model; } } src/conference_1_0/Models/GetUserLastMetricResponse.php 0000644 00000002744 14713400346 0017133 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserLastMetricResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserLastMetricResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/GetUserLastMetricResponseBody.php 0000644 00000002133 14713400346 0017741 0 ustar 00 'metricMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->metricMap) { $res['metricMap'] = []; if (null !== $this->metricMap && \is_array($this->metricMap)) { foreach ($this->metricMap as $key => $val) { $res['metricMap'][$key] = null !== $val ? $val->toMap() : $val; } } } return $res; } /** * @param array $map * * @return GetUserLastMetricResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['metricMap'])) { $model->metricMap = $map['metricMap']; } return $model; } } src/conference_1_0/Models/GetUserMetricDataHeaders.php 0000644 00000002344 14713400346 0016652 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserMetricDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/GetUserMetricDataRequest.php 0000644 00000003242 14713400346 0016725 0 ustar 00 'beginTime', 'endTime' => 'endTime', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->beginTime) { $res['beginTime'] = $this->beginTime; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetUserMetricDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['beginTime'])) { $model->beginTime = $map['beginTime']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/GetUserMetricDataResponse.php 0000644 00000002744 14713400346 0017101 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserMetricDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserMetricDataResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/GetUserMetricDataResponseBody.php 0000644 00000003044 14713400346 0017711 0 ustar 00 'metricDataList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->metricDataList) { $res['metricDataList'] = []; if (null !== $this->metricDataList && \is_array($this->metricDataList)) { $n = 0; foreach ($this->metricDataList as $item) { $res['metricDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetUserMetricDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['metricDataList'])) { if (!empty($map['metricDataList'])) { $model->metricDataList = []; $n = 0; foreach ($map['metricDataList'] as $item) { $model->metricDataList[$n++] = null !== $item ? metricDataList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/GetUserMetricDataResponseBody/metricDataList.php 0000644 00000021447 14713400346 0022631 0 ustar 00 'audioPlayLevel', 'audioRecLevel' => 'audioRecLevel', 'audioRecvBitRate' => 'audioRecvBitRate', 'audioSendBitRate' => 'audioSendBitRate', 'cameraRecvBitRate' => 'cameraRecvBitRate', 'cameraRecvFrame' => 'cameraRecvFrame', 'cameraRecvResolutionActual' => 'cameraRecvResolutionActual', 'cameraSendBitRate' => 'cameraSendBitRate', 'cameraSendFrame' => 'cameraSendFrame', 'cameraSendResolutionActual' => 'cameraSendResolutionActual', 'lostRate' => 'lostRate', 'recvBitRate' => 'recvBitRate', 'roundTripTime' => 'roundTripTime', 'screenRecvBitRate' => 'screenRecvBitRate', 'screenRecvFrame' => 'screenRecvFrame', 'screenRecvResolutionActual' => 'screenRecvResolutionActual', 'screenSendBitRate' => 'screenSendBitRate', 'screenSendFrame' => 'screenSendFrame', 'screenSendResolutionActual' => 'screenSendResolutionActual', 'sendBitRate' => 'sendBitRate', 'timestamp' => 'timestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->audioPlayLevel) { $res['audioPlayLevel'] = $this->audioPlayLevel; } if (null !== $this->audioRecLevel) { $res['audioRecLevel'] = $this->audioRecLevel; } if (null !== $this->audioRecvBitRate) { $res['audioRecvBitRate'] = $this->audioRecvBitRate; } if (null !== $this->audioSendBitRate) { $res['audioSendBitRate'] = $this->audioSendBitRate; } if (null !== $this->cameraRecvBitRate) { $res['cameraRecvBitRate'] = $this->cameraRecvBitRate; } if (null !== $this->cameraRecvFrame) { $res['cameraRecvFrame'] = $this->cameraRecvFrame; } if (null !== $this->cameraRecvResolutionActual) { $res['cameraRecvResolutionActual'] = $this->cameraRecvResolutionActual; } if (null !== $this->cameraSendBitRate) { $res['cameraSendBitRate'] = $this->cameraSendBitRate; } if (null !== $this->cameraSendFrame) { $res['cameraSendFrame'] = $this->cameraSendFrame; } if (null !== $this->cameraSendResolutionActual) { $res['cameraSendResolutionActual'] = $this->cameraSendResolutionActual; } if (null !== $this->lostRate) { $res['lostRate'] = $this->lostRate; } if (null !== $this->recvBitRate) { $res['recvBitRate'] = $this->recvBitRate; } if (null !== $this->roundTripTime) { $res['roundTripTime'] = $this->roundTripTime; } if (null !== $this->screenRecvBitRate) { $res['screenRecvBitRate'] = $this->screenRecvBitRate; } if (null !== $this->screenRecvFrame) { $res['screenRecvFrame'] = $this->screenRecvFrame; } if (null !== $this->screenRecvResolutionActual) { $res['screenRecvResolutionActual'] = $this->screenRecvResolutionActual; } if (null !== $this->screenSendBitRate) { $res['screenSendBitRate'] = $this->screenSendBitRate; } if (null !== $this->screenSendFrame) { $res['screenSendFrame'] = $this->screenSendFrame; } if (null !== $this->screenSendResolutionActual) { $res['screenSendResolutionActual'] = $this->screenSendResolutionActual; } if (null !== $this->sendBitRate) { $res['sendBitRate'] = $this->sendBitRate; } if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } return $res; } /** * @param array $map * * @return metricDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['audioPlayLevel'])) { $model->audioPlayLevel = $map['audioPlayLevel']; } if (isset($map['audioRecLevel'])) { $model->audioRecLevel = $map['audioRecLevel']; } if (isset($map['audioRecvBitRate'])) { $model->audioRecvBitRate = $map['audioRecvBitRate']; } if (isset($map['audioSendBitRate'])) { $model->audioSendBitRate = $map['audioSendBitRate']; } if (isset($map['cameraRecvBitRate'])) { $model->cameraRecvBitRate = $map['cameraRecvBitRate']; } if (isset($map['cameraRecvFrame'])) { $model->cameraRecvFrame = $map['cameraRecvFrame']; } if (isset($map['cameraRecvResolutionActual'])) { $model->cameraRecvResolutionActual = $map['cameraRecvResolutionActual']; } if (isset($map['cameraSendBitRate'])) { $model->cameraSendBitRate = $map['cameraSendBitRate']; } if (isset($map['cameraSendFrame'])) { $model->cameraSendFrame = $map['cameraSendFrame']; } if (isset($map['cameraSendResolutionActual'])) { $model->cameraSendResolutionActual = $map['cameraSendResolutionActual']; } if (isset($map['lostRate'])) { $model->lostRate = $map['lostRate']; } if (isset($map['recvBitRate'])) { $model->recvBitRate = $map['recvBitRate']; } if (isset($map['roundTripTime'])) { $model->roundTripTime = $map['roundTripTime']; } if (isset($map['screenRecvBitRate'])) { $model->screenRecvBitRate = $map['screenRecvBitRate']; } if (isset($map['screenRecvFrame'])) { $model->screenRecvFrame = $map['screenRecvFrame']; } if (isset($map['screenRecvResolutionActual'])) { $model->screenRecvResolutionActual = $map['screenRecvResolutionActual']; } if (isset($map['screenSendBitRate'])) { $model->screenSendBitRate = $map['screenSendBitRate']; } if (isset($map['screenSendFrame'])) { $model->screenSendFrame = $map['screenSendFrame']; } if (isset($map['screenSendResolutionActual'])) { $model->screenSendResolutionActual = $map['screenSendResolutionActual']; } if (isset($map['sendBitRate'])) { $model->sendBitRate = $map['sendBitRate']; } if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } return $model; } } src/conference_1_0/Models/InviteUsersHeaders.php 0000644 00000002330 14713400346 0015611 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InviteUsersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/InviteUsersRequest.php 0000644 00000005452 14713400346 0015676 0 ustar 00 'inviteeList', 'phoneInviteeList' => 'phoneInviteeList', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inviteeList) { $res['inviteeList'] = []; if (null !== $this->inviteeList && \is_array($this->inviteeList)) { $n = 0; foreach ($this->inviteeList as $item) { $res['inviteeList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->phoneInviteeList) { $res['phoneInviteeList'] = []; if (null !== $this->phoneInviteeList && \is_array($this->phoneInviteeList)) { $n = 0; foreach ($this->phoneInviteeList as $item) { $res['phoneInviteeList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return InviteUsersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inviteeList'])) { if (!empty($map['inviteeList'])) { $model->inviteeList = []; $n = 0; foreach ($map['inviteeList'] as $item) { $model->inviteeList[$n++] = null !== $item ? inviteeList::fromMap($item) : $item; } } } if (isset($map['phoneInviteeList'])) { if (!empty($map['phoneInviteeList'])) { $model->phoneInviteeList = []; $n = 0; foreach ($map['phoneInviteeList'] as $item) { $model->phoneInviteeList[$n++] = null !== $item ? phoneInviteeList::fromMap($item) : $item; } } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/InviteUsersRequest/inviteeList.php 0000644 00000002306 14713400346 0020170 0 ustar 00 'nick', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return inviteeList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/InviteUsersRequest/phoneInviteeList.php 0000644 00000003555 14713400346 0021171 0 ustar 00 'inviteClient', 'nick' => 'nick', 'phoneNumber' => 'phoneNumber', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inviteClient) { $res['inviteClient'] = $this->inviteClient; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return phoneInviteeList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inviteClient'])) { $model->inviteClient = $map['inviteClient']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/conference_1_0/Models/InviteUsersResponse.php 0000644 00000002714 14713400346 0016042 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InviteUsersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InviteUsersResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/InviteUsersResponseBody.php 0000644 00000001502 14713400346 0016652 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return InviteUsersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/KickMembersHeaders.php 0000644 00000002330 14713400346 0015525 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return KickMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/KickMembersRequest.php 0000644 00000003462 14713400346 0015611 0 ustar 00 'forbiddenRejoin', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->forbiddenRejoin) { $res['forbiddenRejoin'] = $this->forbiddenRejoin; } if (null !== $this->userList) { $res['userList'] = []; if (null !== $this->userList && \is_array($this->userList)) { $n = 0; foreach ($this->userList as $item) { $res['userList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return KickMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['forbiddenRejoin'])) { $model->forbiddenRejoin = $map['forbiddenRejoin']; } if (isset($map['userList'])) { if (!empty($map['userList'])) { $model->userList = []; $n = 0; foreach ($map['userList'] as $item) { $model->userList[$n++] = null !== $item ? userList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/KickMembersRequest/userList.php 0000644 00000002452 14713400346 0017421 0 ustar 00 'participantId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return userList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/KickMembersResponse.php 0000644 00000002714 14713400346 0015756 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return KickMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = KickMembersResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/KickMembersResponseBody.php 0000644 00000001502 14713400346 0016566 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return KickMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/LockConferenceHeaders.php 0000644 00000002336 14713400346 0016217 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return LockConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/LockConferenceRequest.php 0000644 00000001612 14713400346 0016270 0 ustar 00 'action', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } return $res; } /** * @param array $map * * @return LockConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } return $model; } } src/conference_1_0/Models/LockConferenceResponse.php 0000644 00000002730 14713400346 0016440 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return LockConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = LockConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/LockConferenceResponseBody.php 0000644 00000001510 14713400346 0017251 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return LockConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/MemberModelMapValue.php 0000644 00000011206 14713400346 0015662 0 ustar 00 'unionId', 'conferenceId' => 'conferenceId', 'userNick' => 'userNick', 'joinTime' => 'joinTime', 'leaveTime' => 'leaveTime', 'duration' => 'duration', 'attendStatus' => 'attendStatus', 'host' => 'host', 'coHost' => 'coHost', 'outerOrgMember' => 'outerOrgMember', 'pstnJoin' => 'pstnJoin', 'deviceType' => 'deviceType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->userNick) { $res['userNick'] = $this->userNick; } if (null !== $this->joinTime) { $res['joinTime'] = $this->joinTime; } if (null !== $this->leaveTime) { $res['leaveTime'] = $this->leaveTime; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->attendStatus) { $res['attendStatus'] = $this->attendStatus; } if (null !== $this->host) { $res['host'] = $this->host; } if (null !== $this->coHost) { $res['coHost'] = $this->coHost; } if (null !== $this->outerOrgMember) { $res['outerOrgMember'] = $this->outerOrgMember; } if (null !== $this->pstnJoin) { $res['pstnJoin'] = $this->pstnJoin; } if (null !== $this->deviceType) { $res['deviceType'] = $this->deviceType; } return $res; } /** * @param array $map * * @return MemberModelMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['userNick'])) { $model->userNick = $map['userNick']; } if (isset($map['joinTime'])) { $model->joinTime = $map['joinTime']; } if (isset($map['leaveTime'])) { $model->leaveTime = $map['leaveTime']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['attendStatus'])) { $model->attendStatus = $map['attendStatus']; } if (isset($map['host'])) { $model->host = $map['host']; } if (isset($map['coHost'])) { $model->coHost = $map['coHost']; } if (isset($map['outerOrgMember'])) { $model->outerOrgMember = $map['outerOrgMember']; } if (isset($map['pstnJoin'])) { $model->pstnJoin = $map['pstnJoin']; } if (isset($map['deviceType'])) { $model->deviceType = $map['deviceType']; } return $model; } } src/conference_1_0/Models/MetricMapValue.php 0000644 00000022775 14713400346 0014732 0 ustar 00 'timestamp', 'sendBitRate' => 'sendBitRate', 'recvBitRate' => 'recvBitRate', 'lostRate' => 'lostRate', 'roundTripTime' => 'roundTripTime', 'audioSendBitRate' => 'audioSendBitRate', 'audioRecvBitRate' => 'audioRecvBitRate', 'audioRecLevel' => 'audioRecLevel', 'audioPlayLevel' => 'audioPlayLevel', 'cameraSendBitRate' => 'cameraSendBitRate', 'cameraRecvBitRate' => 'cameraRecvBitRate', 'cameraSendResolutionActual' => 'cameraSendResolutionActual', 'cameraRecvResolutionActual' => 'cameraRecvResolutionActual', 'cameraSendFrame' => 'cameraSendFrame', 'screenSendBitRate' => 'screenSendBitRate', 'cameraRecvFrame' => 'cameraRecvFrame', 'screenRecvBitRate' => 'screenRecvBitRate', 'screenSendResolutionActual' => 'screenSendResolutionActual', 'screenRecvResolutionActual' => 'screenRecvResolutionActual', 'screenSendFrame' => 'screenSendFrame', 'screenRecvFrame' => 'screenRecvFrame', 'audioJitterMax' => 'audioJitterMax', 'audioJitterAvg' => 'audioJitterAvg', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->timestamp) { $res['timestamp'] = $this->timestamp; } if (null !== $this->sendBitRate) { $res['sendBitRate'] = $this->sendBitRate; } if (null !== $this->recvBitRate) { $res['recvBitRate'] = $this->recvBitRate; } if (null !== $this->lostRate) { $res['lostRate'] = $this->lostRate; } if (null !== $this->roundTripTime) { $res['roundTripTime'] = $this->roundTripTime; } if (null !== $this->audioSendBitRate) { $res['audioSendBitRate'] = $this->audioSendBitRate; } if (null !== $this->audioRecvBitRate) { $res['audioRecvBitRate'] = $this->audioRecvBitRate; } if (null !== $this->audioRecLevel) { $res['audioRecLevel'] = $this->audioRecLevel; } if (null !== $this->audioPlayLevel) { $res['audioPlayLevel'] = $this->audioPlayLevel; } if (null !== $this->cameraSendBitRate) { $res['cameraSendBitRate'] = $this->cameraSendBitRate; } if (null !== $this->cameraRecvBitRate) { $res['cameraRecvBitRate'] = $this->cameraRecvBitRate; } if (null !== $this->cameraSendResolutionActual) { $res['cameraSendResolutionActual'] = $this->cameraSendResolutionActual; } if (null !== $this->cameraRecvResolutionActual) { $res['cameraRecvResolutionActual'] = $this->cameraRecvResolutionActual; } if (null !== $this->cameraSendFrame) { $res['cameraSendFrame'] = $this->cameraSendFrame; } if (null !== $this->screenSendBitRate) { $res['screenSendBitRate'] = $this->screenSendBitRate; } if (null !== $this->cameraRecvFrame) { $res['cameraRecvFrame'] = $this->cameraRecvFrame; } if (null !== $this->screenRecvBitRate) { $res['screenRecvBitRate'] = $this->screenRecvBitRate; } if (null !== $this->screenSendResolutionActual) { $res['screenSendResolutionActual'] = $this->screenSendResolutionActual; } if (null !== $this->screenRecvResolutionActual) { $res['screenRecvResolutionActual'] = $this->screenRecvResolutionActual; } if (null !== $this->screenSendFrame) { $res['screenSendFrame'] = $this->screenSendFrame; } if (null !== $this->screenRecvFrame) { $res['screenRecvFrame'] = $this->screenRecvFrame; } if (null !== $this->audioJitterMax) { $res['audioJitterMax'] = $this->audioJitterMax; } if (null !== $this->audioJitterAvg) { $res['audioJitterAvg'] = $this->audioJitterAvg; } return $res; } /** * @param array $map * * @return MetricMapValue */ public static function fromMap($map = []) { $model = new self(); if (isset($map['timestamp'])) { $model->timestamp = $map['timestamp']; } if (isset($map['sendBitRate'])) { $model->sendBitRate = $map['sendBitRate']; } if (isset($map['recvBitRate'])) { $model->recvBitRate = $map['recvBitRate']; } if (isset($map['lostRate'])) { $model->lostRate = $map['lostRate']; } if (isset($map['roundTripTime'])) { $model->roundTripTime = $map['roundTripTime']; } if (isset($map['audioSendBitRate'])) { $model->audioSendBitRate = $map['audioSendBitRate']; } if (isset($map['audioRecvBitRate'])) { $model->audioRecvBitRate = $map['audioRecvBitRate']; } if (isset($map['audioRecLevel'])) { $model->audioRecLevel = $map['audioRecLevel']; } if (isset($map['audioPlayLevel'])) { $model->audioPlayLevel = $map['audioPlayLevel']; } if (isset($map['cameraSendBitRate'])) { $model->cameraSendBitRate = $map['cameraSendBitRate']; } if (isset($map['cameraRecvBitRate'])) { $model->cameraRecvBitRate = $map['cameraRecvBitRate']; } if (isset($map['cameraSendResolutionActual'])) { $model->cameraSendResolutionActual = $map['cameraSendResolutionActual']; } if (isset($map['cameraRecvResolutionActual'])) { $model->cameraRecvResolutionActual = $map['cameraRecvResolutionActual']; } if (isset($map['cameraSendFrame'])) { $model->cameraSendFrame = $map['cameraSendFrame']; } if (isset($map['screenSendBitRate'])) { $model->screenSendBitRate = $map['screenSendBitRate']; } if (isset($map['cameraRecvFrame'])) { $model->cameraRecvFrame = $map['cameraRecvFrame']; } if (isset($map['screenRecvBitRate'])) { $model->screenRecvBitRate = $map['screenRecvBitRate']; } if (isset($map['screenSendResolutionActual'])) { $model->screenSendResolutionActual = $map['screenSendResolutionActual']; } if (isset($map['screenRecvResolutionActual'])) { $model->screenRecvResolutionActual = $map['screenRecvResolutionActual']; } if (isset($map['screenSendFrame'])) { $model->screenSendFrame = $map['screenSendFrame']; } if (isset($map['screenRecvFrame'])) { $model->screenRecvFrame = $map['screenRecvFrame']; } if (isset($map['audioJitterMax'])) { $model->audioJitterMax = $map['audioJitterMax']; } if (isset($map['audioJitterAvg'])) { $model->audioJitterAvg = $map['audioJitterAvg']; } return $model; } } src/conference_1_0/Models/MuteAllHeaders.php 0000644 00000002320 14713400346 0014673 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MuteAllHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/MuteAllRequest.php 0000644 00000002246 14713400346 0014757 0 ustar 00 'action', 'forceMute' => 'forceMute', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->forceMute) { $res['forceMute'] = $this->forceMute; } return $res; } /** * @param array $map * * @return MuteAllRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['forceMute'])) { $model->forceMute = $map['forceMute']; } return $model; } } src/conference_1_0/Models/MuteAllResponse.php 0000644 00000002674 14713400346 0015132 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MuteAllResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MuteAllResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/MuteAllResponseBody.php 0000644 00000001472 14713400346 0015743 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return MuteAllResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/MuteMembersHeaders.php 0000644 00000002330 14713400346 0015556 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MuteMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/MuteMembersRequest.php 0000644 00000003461 14713400346 0015641 0 ustar 00 'action', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->userList) { $res['userList'] = []; if (null !== $this->userList && \is_array($this->userList)) { $n = 0; foreach ($this->userList as $item) { $res['userList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return MuteMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['userList'])) { if (!empty($map['userList'])) { $model->userList = []; $n = 0; foreach ($map['userList'] as $item) { $model->userList[$n++] = null !== $item ? userList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/MuteMembersRequest/userList.php 0000644 00000002452 14713400346 0017452 0 ustar 00 'participantId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->participantId) { $res['participantId'] = $this->participantId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return userList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['participantId'])) { $model->participantId = $map['participantId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/MuteMembersResponse.php 0000644 00000002714 14713400346 0016007 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return MuteMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = MuteMembersResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/MuteMembersResponseBody.php 0000644 00000001502 14713400346 0016617 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return MuteMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextHeaders.php 0000644 00000002352 14713400346 0017435 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCloudRecordTextHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextRequest.php 0000644 00000004017 14713400346 0017512 0 ustar 00 'direction', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'startTime' => 'startTime', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->direction) { $res['direction'] = $this->direction; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryCloudRecordTextRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['direction'])) { $model->direction = $map['direction']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextResponse.php 0000644 00000002760 14713400346 0017663 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCloudRecordTextResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCloudRecordTextResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextResponseBody.php 0000644 00000003522 14713400346 0020476 0 ustar 00 'hasMore', 'paragraphList' => 'paragraphList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->paragraphList) { $res['paragraphList'] = []; if (null !== $this->paragraphList && \is_array($this->paragraphList)) { $n = 0; foreach ($this->paragraphList as $item) { $res['paragraphList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCloudRecordTextResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['paragraphList'])) { if (!empty($map['paragraphList'])) { $model->paragraphList = []; $n = 0; foreach ($map['paragraphList'] as $item) { $model->paragraphList[$n++] = null !== $item ? paragraphList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextResponseBody/paragraphList.php 0000644 00000010077 14713400346 0023302 0 ustar 00 'endTime', 'nextTtoken' => 'nextTtoken', 'nickName' => 'nickName', 'paragraph' => 'paragraph', 'recordId' => 'recordId', 'sentenceList' => 'sentenceList', 'startTime' => 'startTime', 'status' => 'status', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->nextTtoken) { $res['nextTtoken'] = $this->nextTtoken; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->paragraph) { $res['paragraph'] = $this->paragraph; } if (null !== $this->recordId) { $res['recordId'] = $this->recordId; } if (null !== $this->sentenceList) { $res['sentenceList'] = []; if (null !== $this->sentenceList && \is_array($this->sentenceList)) { $n = 0; foreach ($this->sentenceList as $item) { $res['sentenceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return paragraphList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['nextTtoken'])) { $model->nextTtoken = $map['nextTtoken']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['paragraph'])) { $model->paragraph = $map['paragraph']; } if (isset($map['recordId'])) { $model->recordId = $map['recordId']; } if (isset($map['sentenceList'])) { if (!empty($map['sentenceList'])) { $model->sentenceList = []; $n = 0; foreach ($map['sentenceList'] as $item) { $model->sentenceList[$n++] = null !== $item ? sentenceList::fromMap($item) : $item; } } } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextResponseBody/paragraphList/sentenceList.php 0000644 00000005353 14713400346 0025743 0 ustar 00 'endTime', 'sentence' => 'sentence', 'startTime' => 'startTime', 'unionId' => 'unionId', 'wordList' => 'wordList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->sentence) { $res['sentence'] = $this->sentence; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->wordList) { $res['wordList'] = []; if (null !== $this->wordList && \is_array($this->wordList)) { $n = 0; foreach ($this->wordList as $item) { $res['wordList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sentenceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['sentence'])) { $model->sentence = $map['sentence']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['wordList'])) { if (!empty($map['wordList'])) { $model->wordList = []; $n = 0; foreach ($map['wordList'] as $item) { $model->wordList[$n++] = null !== $item ? wordList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryCloudRecordTextResponseBody/paragraphList/sentenceList/wordList.php 0000644 00000003431 14713400346 0027545 0 ustar 00 'endTime', 'startTime' => 'startTime', 'word' => 'word', 'wordId' => 'wordId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->word) { $res['word'] = $this->word; } if (null !== $this->wordId) { $res['wordId'] = $this->wordId; } return $res; } /** * @param array $map * * @return wordList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['word'])) { $model->word = $map['word']; } if (isset($map['wordId'])) { $model->wordId = $map['wordId']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoHeaders.php 0000644 00000002354 14713400346 0017561 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoPlayInfoHeaders.php 0000644 00000002374 14713400346 0021225 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoPlayInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoPlayInfoRequest.php 0000644 00000003074 14713400346 0021300 0 ustar 00 'mediaId', 'regionId' => 'regionId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->regionId) { $res['regionId'] = $this->regionId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoPlayInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['regionId'])) { $model->regionId = $map['regionId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoPlayInfoResponse.php 0000644 00000003024 14713400346 0021441 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoPlayInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCloudRecordVideoPlayInfoResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoPlayInfoResponseBody.php 0000644 00000004543 14713400346 0022266 0 ustar 00 'duration', 'fileSize' => 'fileSize', 'mp4FileUrl' => 'mp4FileUrl', 'playUrl' => 'playUrl', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->mp4FileUrl) { $res['mp4FileUrl'] = $this->mp4FileUrl; } if (null !== $this->playUrl) { $res['playUrl'] = $this->playUrl; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoPlayInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['mp4FileUrl'])) { $model->mp4FileUrl = $map['mp4FileUrl']; } if (isset($map['playUrl'])) { $model->playUrl = $map['playUrl']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoRequest.php 0000644 00000001605 14713400346 0017634 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoResponse.php 0000644 00000002764 14713400346 0020011 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCloudRecordVideoResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoResponseBody.php 0000644 00000002726 14713400346 0020625 0 ustar 00 'videoList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->videoList) { $res['videoList'] = []; if (null !== $this->videoList && \is_array($this->videoList)) { $n = 0; foreach ($this->videoList as $item) { $res['videoList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCloudRecordVideoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['videoList'])) { if (!empty($map['videoList'])) { $model->videoList = []; $n = 0; foreach ($map['videoList'] as $item) { $model->videoList[$n++] = null !== $item ? videoList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryCloudRecordVideoResponseBody/videoList.php 0000644 00000006660 14713400346 0022570 0 ustar 00 'duration', 'endTime' => 'endTime', 'fileSize' => 'fileSize', 'mediaId' => 'mediaId', 'recordId' => 'recordId', 'recordType' => 'recordType', 'regionId' => 'regionId', 'startTime' => 'startTime', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->recordId) { $res['recordId'] = $this->recordId; } if (null !== $this->recordType) { $res['recordType'] = $this->recordType; } if (null !== $this->regionId) { $res['regionId'] = $this->regionId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return videoList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['recordId'])) { $model->recordId = $map['recordId']; } if (isset($map['recordType'])) { $model->recordType = $map['recordType']; } if (isset($map['regionId'])) { $model->regionId = $map['regionId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryConferenceInfoBatchHeaders.php 0000644 00000002362 14713400346 0020211 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryConferenceInfoBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryConferenceInfoBatchRequest.php 0000644 00000002044 14713400346 0020263 0 ustar 00 'conferenceIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceIdList) { $res['conferenceIdList'] = $this->conferenceIdList; } return $res; } /** * @param array $map * * @return QueryConferenceInfoBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceIdList'])) { if (!empty($map['conferenceIdList'])) { $model->conferenceIdList = $map['conferenceIdList']; } } return $model; } } src/conference_1_0/Models/QueryConferenceInfoBatchResponse.php 0000644 00000003000 14713400346 0020422 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryConferenceInfoBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryConferenceInfoBatchResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryConferenceInfoBatchResponseBody.php 0000644 00000002627 14713400346 0021256 0 ustar 00 'infos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->infos) { $res['infos'] = []; if (null !== $this->infos && \is_array($this->infos)) { $n = 0; foreach ($this->infos as $item) { $res['infos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryConferenceInfoBatchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['infos'])) { if (!empty($map['infos'])) { $model->infos = []; $n = 0; foreach ($map['infos'] as $item) { $model->infos[$n++] = null !== $item ? infos::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryConferenceInfoBatchResponseBody/infos.php 0000644 00000006045 14713400346 0022372 0 ustar 00 'conferenceId', 'mediaStatus' => 'mediaStatus', 'startTime' => 'startTime', 'status' => 'status', 'title' => 'title', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->mediaStatus) { $res['mediaStatus'] = $this->mediaStatus; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userList) { $res['userList'] = []; if (null !== $this->userList && \is_array($this->userList)) { $n = 0; foreach ($this->userList as $item) { $res['userList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return infos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['mediaStatus'])) { $model->mediaStatus = $map['mediaStatus']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userList'])) { if (!empty($map['userList'])) { $model->userList = []; $n = 0; foreach ($map['userList'] as $item) { $model->userList[$n++] = null !== $item ? userList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryConferenceInfoBatchResponseBody/infos/userList.php 0000644 00000005216 14713400346 0024203 0 ustar 00 'attendStatus', 'cameraStatus' => 'cameraStatus', 'micStatus' => 'micStatus', 'nick' => 'nick', 'rejectDescription' => 'rejectDescription', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendStatus) { $res['attendStatus'] = $this->attendStatus; } if (null !== $this->cameraStatus) { $res['cameraStatus'] = $this->cameraStatus; } if (null !== $this->micStatus) { $res['micStatus'] = $this->micStatus; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->rejectDescription) { $res['rejectDescription'] = $this->rejectDescription; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return userList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendStatus'])) { $model->attendStatus = $map['attendStatus']; } if (isset($map['cameraStatus'])) { $model->cameraStatus = $map['cameraStatus']; } if (isset($map['micStatus'])) { $model->micStatus = $map['micStatus']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['rejectDescription'])) { $model->rejectDescription = $map['rejectDescription']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/conference_1_0/Models/QueryConferenceInfoHeaders.php 0000644 00000002350 14713400346 0017244 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryConferenceInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryConferenceInfoResponse.php 0000644 00000002754 14713400346 0017477 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryConferenceInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryConferenceInfoResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryConferenceInfoResponseBody.php 0000644 00000001774 14713400346 0020316 0 ustar 00 'confInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->confInfo) { $res['confInfo'] = null !== $this->confInfo ? $this->confInfo->toMap() : null; } return $res; } /** * @param array $map * * @return QueryConferenceInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['confInfo'])) { $model->confInfo = confInfo::fromMap($map['confInfo']); } return $model; } } src/conference_1_0/Models/QueryConferenceInfoResponseBody/confInfo.php 0000644 00000020407 14713400346 0022051 0 ustar 00 'activeNum', 'attendNum' => 'attendNum', 'bizType' => 'bizType', 'cloudRecordOwnerUnionId' => 'cloudRecordOwnerUnionId', 'cloudRecordStatus' => 'cloudRecordStatus', 'confDuration' => 'confDuration', 'conferenceId' => 'conferenceId', 'creatorId' => 'creatorId', 'creatorNick' => 'creatorNick', 'endTime' => 'endTime', 'extensionAppSettings' => 'extensionAppSettings', 'externalLinkUrl' => 'externalLinkUrl', 'invitedNum' => 'invitedNum', 'minutesOwnerUnionId' => 'minutesOwnerUnionId', 'minutesStatus' => 'minutesStatus', 'roomCode' => 'roomCode', 'scheduleConferenceId' => 'scheduleConferenceId', 'startTime' => 'startTime', 'status' => 'status', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeNum) { $res['activeNum'] = $this->activeNum; } if (null !== $this->attendNum) { $res['attendNum'] = $this->attendNum; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->cloudRecordOwnerUnionId) { $res['cloudRecordOwnerUnionId'] = $this->cloudRecordOwnerUnionId; } if (null !== $this->cloudRecordStatus) { $res['cloudRecordStatus'] = $this->cloudRecordStatus; } if (null !== $this->confDuration) { $res['confDuration'] = $this->confDuration; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->extensionAppSettings) { $res['extensionAppSettings'] = []; if (null !== $this->extensionAppSettings && \is_array($this->extensionAppSettings)) { $n = 0; foreach ($this->extensionAppSettings as $item) { $res['extensionAppSettings'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->externalLinkUrl) { $res['externalLinkUrl'] = $this->externalLinkUrl; } if (null !== $this->invitedNum) { $res['invitedNum'] = $this->invitedNum; } if (null !== $this->minutesOwnerUnionId) { $res['minutesOwnerUnionId'] = $this->minutesOwnerUnionId; } if (null !== $this->minutesStatus) { $res['minutesStatus'] = $this->minutesStatus; } if (null !== $this->roomCode) { $res['roomCode'] = $this->roomCode; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return confInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeNum'])) { $model->activeNum = $map['activeNum']; } if (isset($map['attendNum'])) { $model->attendNum = $map['attendNum']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['cloudRecordOwnerUnionId'])) { $model->cloudRecordOwnerUnionId = $map['cloudRecordOwnerUnionId']; } if (isset($map['cloudRecordStatus'])) { $model->cloudRecordStatus = $map['cloudRecordStatus']; } if (isset($map['confDuration'])) { $model->confDuration = $map['confDuration']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['extensionAppSettings'])) { if (!empty($map['extensionAppSettings'])) { $model->extensionAppSettings = []; $n = 0; foreach ($map['extensionAppSettings'] as $item) { $model->extensionAppSettings[$n++] = null !== $item ? extensionAppSettings::fromMap($item) : $item; } } } if (isset($map['externalLinkUrl'])) { $model->externalLinkUrl = $map['externalLinkUrl']; } if (isset($map['invitedNum'])) { $model->invitedNum = $map['invitedNum']; } if (isset($map['minutesOwnerUnionId'])) { $model->minutesOwnerUnionId = $map['minutesOwnerUnionId']; } if (isset($map['minutesStatus'])) { $model->minutesStatus = $map['minutesStatus']; } if (isset($map['roomCode'])) { $model->roomCode = $map['roomCode']; } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/conference_1_0/Models/QueryConferenceInfoResponseBody/confInfo/extensionAppSettings.php 0000644 00000003521 14713400346 0026245 0 ustar 00 'appCode', 'appId' => 'appId', 'autoOpenMode' => 'autoOpenMode', 'extensionAppBizData' => 'extensionAppBizData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->autoOpenMode) { $res['autoOpenMode'] = $this->autoOpenMode; } if (null !== $this->extensionAppBizData) { $res['extensionAppBizData'] = $this->extensionAppBizData; } return $res; } /** * @param array $map * * @return extensionAppSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['autoOpenMode'])) { $model->autoOpenMode = $map['autoOpenMode']; } if (isset($map['extensionAppBizData'])) { $model->extensionAppBizData = $map['extensionAppBizData']; } return $model; } } src/conference_1_0/Models/QueryConferenceMembersHeaders.php 0000644 00000002356 14713400346 0017751 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryConferenceMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryConferenceMembersRequest.php 0000644 00000002305 14713400346 0020020 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryConferenceMembersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/conference_1_0/Models/QueryConferenceMembersResponse.php 0000644 00000002770 14713400346 0020174 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryConferenceMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryConferenceMembersResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryConferenceMembersResponseBody.php 0000644 00000004247 14713400346 0021013 0 ustar 00 'memberModels', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberModels) { $res['memberModels'] = []; if (null !== $this->memberModels && \is_array($this->memberModels)) { $n = 0; foreach ($this->memberModels as $item) { $res['memberModels'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryConferenceMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberModels'])) { if (!empty($map['memberModels'])) { $model->memberModels = []; $n = 0; foreach ($map['memberModels'] as $item) { $model->memberModels[$n++] = null !== $item ? memberModels::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/conference_1_0/Models/QueryConferenceMembersResponseBody/memberModels.php 0000644 00000007644 14713400346 0023432 0 ustar 00 'attendStatus', 'coHost' => 'coHost', 'conferenceId' => 'conferenceId', 'duration' => 'duration', 'host' => 'host', 'joinTime' => 'joinTime', 'leaveTime' => 'leaveTime', 'outerOrgMember' => 'outerOrgMember', 'pstnJoin' => 'pstnJoin', 'unionId' => 'unionId', 'userNick' => 'userNick', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attendStatus) { $res['attendStatus'] = $this->attendStatus; } if (null !== $this->coHost) { $res['coHost'] = $this->coHost; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->host) { $res['host'] = $this->host; } if (null !== $this->joinTime) { $res['joinTime'] = $this->joinTime; } if (null !== $this->leaveTime) { $res['leaveTime'] = $this->leaveTime; } if (null !== $this->outerOrgMember) { $res['outerOrgMember'] = $this->outerOrgMember; } if (null !== $this->pstnJoin) { $res['pstnJoin'] = $this->pstnJoin; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userNick) { $res['userNick'] = $this->userNick; } return $res; } /** * @param array $map * * @return memberModels */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attendStatus'])) { $model->attendStatus = $map['attendStatus']; } if (isset($map['coHost'])) { $model->coHost = $map['coHost']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['host'])) { $model->host = $map['host']; } if (isset($map['joinTime'])) { $model->joinTime = $map['joinTime']; } if (isset($map['leaveTime'])) { $model->leaveTime = $map['leaveTime']; } if (isset($map['outerOrgMember'])) { $model->outerOrgMember = $map['outerOrgMember']; } if (isset($map['pstnJoin'])) { $model->pstnJoin = $map['pstnJoin']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userNick'])) { $model->userNick = $map['userNick']; } return $model; } } src/conference_1_0/Models/QueryFlashMinutesSummaryHeaders.php 0000644 00000002362 14713400346 0020344 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryFlashMinutesSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryFlashMinutesSummaryRequest.php 0000644 00000002576 14713400346 0020430 0 ustar 00 'bizType', 'recorderUnionId' => 'recorderUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->recorderUnionId) { $res['recorderUnionId'] = $this->recorderUnionId; } return $res; } /** * @param array $map * * @return QueryFlashMinutesSummaryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['recorderUnionId'])) { $model->recorderUnionId = $map['recorderUnionId']; } return $model; } } src/conference_1_0/Models/QueryFlashMinutesSummaryResponse.php 0000644 00000003000 14713400346 0020555 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryFlashMinutesSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryFlashMinutesSummaryResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryFlashMinutesSummaryResponseBody.php 0000644 00000002232 14713400346 0021401 0 ustar 00 'flashMinutesSummary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->flashMinutesSummary) { $res['flashMinutesSummary'] = null !== $this->flashMinutesSummary ? $this->flashMinutesSummary->toMap() : null; } return $res; } /** * @param array $map * * @return QueryFlashMinutesSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['flashMinutesSummary'])) { $model->flashMinutesSummary = flashMinutesSummary::fromMap($map['flashMinutesSummary']); } return $model; } } src/conference_1_0/Models/QueryFlashMinutesSummaryResponseBody/flashMinutesSummary.php 0000644 00000003336 14713400346 0025427 0 ustar 00 'status', 'summary' => 'summary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->summary) { $res['summary'] = []; if (null !== $this->summary && \is_array($this->summary)) { $n = 0; foreach ($this->summary as $item) { $res['summary'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return flashMinutesSummary */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['summary'])) { if (!empty($map['summary'])) { $model->summary = []; $n = 0; foreach ($map['summary'] as $item) { $model->summary[$n++] = null !== $item ? summary::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryFlashMinutesSummaryResponseBody/flashMinutesSummary/summary.php 0000644 00000003545 14713400346 0027126 0 ustar 00 'end', 'headline' => 'headline', 'id' => 'id', 'start' => 'start', 'summary' => 'summary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = $this->end; } if (null !== $this->headline) { $res['headline'] = $this->headline; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->start) { $res['start'] = $this->start; } if (null !== $this->summary) { $res['summary'] = $this->summary; } return $res; } /** * @param array $map * * @return summary */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = $map['end']; } if (isset($map['headline'])) { $model->headline = $map['headline']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['start'])) { $model->start = $map['start']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } return $model; } } src/conference_1_0/Models/QueryMinutesAudioHeaders.php 0000644 00000002344 14713400346 0016772 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMinutesAudioHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryMinutesAudioRequest.php 0000644 00000001575 14713400346 0017054 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMinutesAudioRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryMinutesAudioResponse.php 0000644 00000002744 14713400346 0017221 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMinutesAudioResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMinutesAudioResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryMinutesAudioResponseBody.php 0000644 00000002712 14713400346 0020032 0 ustar 00 'audioList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->audioList) { $res['audioList'] = []; if (null !== $this->audioList && \is_array($this->audioList)) { $n = 0; foreach ($this->audioList as $item) { $res['audioList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryMinutesAudioResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['audioList'])) { if (!empty($map['audioList'])) { $model->audioList = []; $n = 0; foreach ($map['audioList'] as $item) { $model->audioList[$n++] = null !== $item ? audioList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryMinutesAudioResponseBody/audioList.php 0000644 00000005752 14713400346 0021776 0 ustar 00 'duration', 'endTime' => 'endTime', 'fileSize' => 'fileSize', 'playUrl' => 'playUrl', 'recordId' => 'recordId', 'startTime' => 'startTime', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->playUrl) { $res['playUrl'] = $this->playUrl; } if (null !== $this->recordId) { $res['recordId'] = $this->recordId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return audioList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['playUrl'])) { $model->playUrl = $map['playUrl']; } if (isset($map['recordId'])) { $model->recordId = $map['recordId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryHeaders.php 0000644 00000002350 14713400346 0017363 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMinutesSummaryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryRequest.php 0000644 00000002545 14713400346 0017446 0 ustar 00 'summaryTypeList', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->summaryTypeList) { $res['summaryTypeList'] = $this->summaryTypeList; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMinutesSummaryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['summaryTypeList'])) { if (!empty($map['summaryTypeList'])) { $model->summaryTypeList = $map['summaryTypeList']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponse.php 0000644 00000002754 14713400346 0017616 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMinutesSummaryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMinutesSummaryResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody.php 0000644 00000001757 14713400346 0020436 0 ustar 00 'summary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->summary) { $res['summary'] = null !== $this->summary ? $this->summary->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMinutesSummaryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['summary'])) { $model->summary = summary::fromMap($map['summary']); } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody/summary.php 0000644 00000014606 14713400346 0022130 0 ustar 00 'actions', 'autoChapters' => 'autoChapters', 'conversationalSummary' => 'conversationalSummary', 'keySentences' => 'keySentences', 'keywords' => 'keywords', 'paragraphSummary' => 'paragraphSummary', 'questionsAnsweringSummary' => 'questionsAnsweringSummary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actions) { $res['actions'] = []; if (null !== $this->actions && \is_array($this->actions)) { $n = 0; foreach ($this->actions as $item) { $res['actions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->autoChapters) { $res['autoChapters'] = []; if (null !== $this->autoChapters && \is_array($this->autoChapters)) { $n = 0; foreach ($this->autoChapters as $item) { $res['autoChapters'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->conversationalSummary) { $res['conversationalSummary'] = []; if (null !== $this->conversationalSummary && \is_array($this->conversationalSummary)) { $n = 0; foreach ($this->conversationalSummary as $item) { $res['conversationalSummary'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->keySentences) { $res['keySentences'] = []; if (null !== $this->keySentences && \is_array($this->keySentences)) { $n = 0; foreach ($this->keySentences as $item) { $res['keySentences'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->keywords) { $res['keywords'] = $this->keywords; } if (null !== $this->paragraphSummary) { $res['paragraphSummary'] = $this->paragraphSummary; } if (null !== $this->questionsAnsweringSummary) { $res['questionsAnsweringSummary'] = []; if (null !== $this->questionsAnsweringSummary && \is_array($this->questionsAnsweringSummary)) { $n = 0; foreach ($this->questionsAnsweringSummary as $item) { $res['questionsAnsweringSummary'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return summary */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actions'])) { if (!empty($map['actions'])) { $model->actions = []; $n = 0; foreach ($map['actions'] as $item) { $model->actions[$n++] = null !== $item ? actions::fromMap($item) : $item; } } } if (isset($map['autoChapters'])) { if (!empty($map['autoChapters'])) { $model->autoChapters = []; $n = 0; foreach ($map['autoChapters'] as $item) { $model->autoChapters[$n++] = null !== $item ? autoChapters::fromMap($item) : $item; } } } if (isset($map['conversationalSummary'])) { if (!empty($map['conversationalSummary'])) { $model->conversationalSummary = []; $n = 0; foreach ($map['conversationalSummary'] as $item) { $model->conversationalSummary[$n++] = null !== $item ? conversationalSummary::fromMap($item) : $item; } } } if (isset($map['keySentences'])) { if (!empty($map['keySentences'])) { $model->keySentences = []; $n = 0; foreach ($map['keySentences'] as $item) { $model->keySentences[$n++] = null !== $item ? keySentences::fromMap($item) : $item; } } } if (isset($map['keywords'])) { if (!empty($map['keywords'])) { $model->keywords = $map['keywords']; } } if (isset($map['paragraphSummary'])) { $model->paragraphSummary = $map['paragraphSummary']; } if (isset($map['questionsAnsweringSummary'])) { if (!empty($map['questionsAnsweringSummary'])) { $model->questionsAnsweringSummary = []; $n = 0; foreach ($map['questionsAnsweringSummary'] as $item) { $model->questionsAnsweringSummary[$n++] = null !== $item ? questionsAnsweringSummary::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody/summary/actions.php 0000644 00000003523 14713400346 0023564 0 ustar 00 'end', 'id' => 'id', 'sentenceId' => 'sentenceId', 'start' => 'start', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = $this->end; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->sentenceId) { $res['sentenceId'] = $this->sentenceId; } if (null !== $this->start) { $res['start'] = $this->start; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return actions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = $map['end']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['sentenceId'])) { $model->sentenceId = $map['sentenceId']; } if (isset($map['start'])) { $model->start = $map['start']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody/summary/autoChapters.php 0000644 00000003536 14713400346 0024572 0 ustar 00 'end', 'headline' => 'headline', 'id' => 'id', 'start' => 'start', 'summary' => 'summary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = $this->end; } if (null !== $this->headline) { $res['headline'] = $this->headline; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->start) { $res['start'] = $this->start; } if (null !== $this->summary) { $res['summary'] = $this->summary; } return $res; } /** * @param array $map * * @return autoChapters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = $map['end']; } if (isset($map['headline'])) { $model->headline = $map['headline']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['start'])) { $model->start = $map['start']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody/summary/conversationalSummary.php 0000644 00000002722 14713400346 0026531 0 ustar 00 'speakerId', 'speakerName' => 'speakerName', 'summary' => 'summary', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->speakerId) { $res['speakerId'] = $this->speakerId; } if (null !== $this->speakerName) { $res['speakerName'] = $this->speakerName; } if (null !== $this->summary) { $res['summary'] = $this->summary; } return $res; } /** * @param array $map * * @return conversationalSummary */ public static function fromMap($map = []) { $model = new self(); if (isset($map['speakerId'])) { $model->speakerId = $map['speakerId']; } if (isset($map['speakerName'])) { $model->speakerName = $map['speakerName']; } if (isset($map['summary'])) { $model->summary = $map['summary']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody/summary/keySentences.php 0000644 00000003535 14713400346 0024567 0 ustar 00 'end', 'id' => 'id', 'sentenceId' => 'sentenceId', 'start' => 'start', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->end) { $res['end'] = $this->end; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->sentenceId) { $res['sentenceId'] = $this->sentenceId; } if (null !== $this->start) { $res['start'] = $this->start; } if (null !== $this->text) { $res['text'] = $this->text; } return $res; } /** * @param array $map * * @return keySentences */ public static function fromMap($map = []) { $model = new self(); if (isset($map['end'])) { $model->end = $map['end']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['sentenceId'])) { $model->sentenceId = $map['sentenceId']; } if (isset($map['start'])) { $model->start = $map['start']; } if (isset($map['text'])) { $model->text = $map['text']; } return $model; } } src/conference_1_0/Models/QueryMinutesSummaryResponseBody/summary/questionsAnsweringSummary.php 0000644 00000004117 14713400346 0027412 0 ustar 00 'answer', 'question' => 'question', 'sentenceIdsOfAnswer' => 'sentenceIdsOfAnswer', 'sentenceIdsOfQuestion' => 'sentenceIdsOfQuestion', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->answer) { $res['answer'] = $this->answer; } if (null !== $this->question) { $res['question'] = $this->question; } if (null !== $this->sentenceIdsOfAnswer) { $res['sentenceIdsOfAnswer'] = $this->sentenceIdsOfAnswer; } if (null !== $this->sentenceIdsOfQuestion) { $res['sentenceIdsOfQuestion'] = $this->sentenceIdsOfQuestion; } return $res; } /** * @param array $map * * @return questionsAnsweringSummary */ public static function fromMap($map = []) { $model = new self(); if (isset($map['answer'])) { $model->answer = $map['answer']; } if (isset($map['question'])) { $model->question = $map['question']; } if (isset($map['sentenceIdsOfAnswer'])) { if (!empty($map['sentenceIdsOfAnswer'])) { $model->sentenceIdsOfAnswer = $map['sentenceIdsOfAnswer']; } } if (isset($map['sentenceIdsOfQuestion'])) { if (!empty($map['sentenceIdsOfQuestion'])) { $model->sentenceIdsOfQuestion = $map['sentenceIdsOfQuestion']; } } return $model; } } src/conference_1_0/Models/QueryMinutesTextHeaders.php 0000644 00000002342 14713400346 0016653 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMinutesTextHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryMinutesTextRequest.php 0000644 00000003432 14713400346 0016731 0 ustar 00 'direction', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->direction) { $res['direction'] = $this->direction; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryMinutesTextRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['direction'])) { $model->direction = $map['direction']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryMinutesTextResponse.php 0000644 00000002740 14713400346 0017100 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMinutesTextResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMinutesTextResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryMinutesTextResponseBody.php 0000644 00000004240 14713400346 0017713 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'paragraphList' => 'paragraphList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->paragraphList) { $res['paragraphList'] = []; if (null !== $this->paragraphList && \is_array($this->paragraphList)) { $n = 0; foreach ($this->paragraphList as $item) { $res['paragraphList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryMinutesTextResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['paragraphList'])) { if (!empty($map['paragraphList'])) { $model->paragraphList = []; $n = 0; foreach ($map['paragraphList'] as $item) { $model->paragraphList[$n++] = null !== $item ? paragraphList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryMinutesTextResponseBody/paragraphList.php 0000644 00000007355 14713400346 0022526 0 ustar 00 'endTime', 'nickName' => 'nickName', 'paragraph' => 'paragraph', 'paragraphId' => 'paragraphId', 'recordId' => 'recordId', 'sentenceList' => 'sentenceList', 'startTime' => 'startTime', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->nickName) { $res['nickName'] = $this->nickName; } if (null !== $this->paragraph) { $res['paragraph'] = $this->paragraph; } if (null !== $this->paragraphId) { $res['paragraphId'] = $this->paragraphId; } if (null !== $this->recordId) { $res['recordId'] = $this->recordId; } if (null !== $this->sentenceList) { $res['sentenceList'] = []; if (null !== $this->sentenceList && \is_array($this->sentenceList)) { $n = 0; foreach ($this->sentenceList as $item) { $res['sentenceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return paragraphList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['nickName'])) { $model->nickName = $map['nickName']; } if (isset($map['paragraph'])) { $model->paragraph = $map['paragraph']; } if (isset($map['paragraphId'])) { $model->paragraphId = $map['paragraphId']; } if (isset($map['recordId'])) { $model->recordId = $map['recordId']; } if (isset($map['sentenceList'])) { if (!empty($map['sentenceList'])) { $model->sentenceList = []; $n = 0; foreach ($map['sentenceList'] as $item) { $model->sentenceList[$n++] = null !== $item ? sentenceList::fromMap($item) : $item; } } } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryMinutesTextResponseBody/paragraphList/sentenceList.php 0000644 00000005343 14713400346 0025161 0 ustar 00 'endTime', 'sentence' => 'sentence', 'startTime' => 'startTime', 'unionId' => 'unionId', 'wordList' => 'wordList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->sentence) { $res['sentence'] = $this->sentence; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->wordList) { $res['wordList'] = []; if (null !== $this->wordList && \is_array($this->wordList)) { $n = 0; foreach ($this->wordList as $item) { $res['wordList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return sentenceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['sentence'])) { $model->sentence = $map['sentence']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['wordList'])) { if (!empty($map['wordList'])) { $model->wordList = []; $n = 0; foreach ($map['wordList'] as $item) { $model->wordList[$n++] = null !== $item ? wordList::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryMinutesTextResponseBody/paragraphList/sentenceList/wordList.php 0000644 00000003425 14713400346 0026767 0 ustar 00 'endTime', 'startTime' => 'startTime', 'word' => 'word', 'wordId' => 'wordId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->word) { $res['word'] = $this->word; } if (null !== $this->wordId) { $res['wordId'] = $this->wordId; } return $res; } /** * @param array $map * * @return wordList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['word'])) { $model->word = $map['word']; } if (isset($map['wordId'])) { $model->wordId = $map['wordId']; } return $model; } } src/conference_1_0/Models/QueryRecordMinutesUrlHeaders.php 0000644 00000002354 14713400346 0017633 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRecordMinutesUrlHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryRecordMinutesUrlRequest.php 0000644 00000002570 14713400346 0017710 0 ustar 00 'bizType', 'recorderUnionId' => 'recorderUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->recorderUnionId) { $res['recorderUnionId'] = $this->recorderUnionId; } return $res; } /** * @param array $map * * @return QueryRecordMinutesUrlRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['recorderUnionId'])) { $model->recorderUnionId = $map['recorderUnionId']; } return $model; } } src/conference_1_0/Models/QueryRecordMinutesUrlResponse.php 0000644 00000002764 14713400346 0020063 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRecordMinutesUrlResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRecordMinutesUrlResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryRecordMinutesUrlResponseBody.php 0000644 00000003146 14713400346 0020674 0 ustar 00 'recordMinutesUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recordMinutesUrls) { $res['recordMinutesUrls'] = []; if (null !== $this->recordMinutesUrls && \is_array($this->recordMinutesUrls)) { $n = 0; foreach ($this->recordMinutesUrls as $item) { $res['recordMinutesUrls'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryRecordMinutesUrlResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recordMinutesUrls'])) { if (!empty($map['recordMinutesUrls'])) { $model->recordMinutesUrls = []; $n = 0; foreach ($map['recordMinutesUrls'] as $item) { $model->recordMinutesUrls[$n++] = null !== $item ? recordMinutesUrls::fromMap($item) : $item; } } } return $model; } } src/conference_1_0/Models/QueryRecordMinutesUrlResponseBody/recordMinutesUrls.php 0000644 00000001653 14713400346 0024366 0 ustar 00 'recordMinutesUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->recordMinutesUrl) { $res['recordMinutesUrl'] = $this->recordMinutesUrl; } return $res; } /** * @param array $map * * @return recordMinutesUrls */ public static function fromMap($map = []) { $model = new self(); if (isset($map['recordMinutesUrl'])) { $model->recordMinutesUrl = $map['recordMinutesUrl']; } return $model; } } src/conference_1_0/Models/QueryScheduleConfSettingsHeaders.php 0000644 00000002364 14713400346 0020451 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryScheduleConfSettingsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryScheduleConfSettingsRequest.php 0000644 00000002002 14713400346 0020513 0 ustar 00 'scheduleConferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } return $res; } /** * @param array $map * * @return QueryScheduleConfSettingsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } return $model; } } src/conference_1_0/Models/QueryScheduleConfSettingsResponse.php 0000644 00000003004 14713400346 0020664 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScheduleConfSettingsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryScheduleConfSettingsResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryScheduleConfSettingsResponseBody.php 0000644 00000002336 14713400346 0021511 0 ustar 00 'scheduleConfSettingModel', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->scheduleConfSettingModel) { $res['scheduleConfSettingModel'] = null !== $this->scheduleConfSettingModel ? $this->scheduleConfSettingModel->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScheduleConfSettingsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['scheduleConfSettingModel'])) { $model->scheduleConfSettingModel = scheduleConfSettingModel::fromMap($map['scheduleConfSettingModel']); } return $model; } } src/conference_1_0/Models/QueryScheduleConfSettingsResponseBody/scheduleConfSettingModel.php 0000644 00000006631 14713400346 0026434 0 ustar 00 'cohostUnionIds', 'confAllowedCorpId' => 'confAllowedCorpId', 'hostUnionId' => 'hostUnionId', 'lockRoom' => 'lockRoom', 'moziConfVirtualExtraSetting' => 'moziConfVirtualExtraSetting', 'muteOnJoin' => 'muteOnJoin', 'screenShareForbidden' => 'screenShareForbidden', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cohostUnionIds) { $res['cohostUnionIds'] = $this->cohostUnionIds; } if (null !== $this->confAllowedCorpId) { $res['confAllowedCorpId'] = $this->confAllowedCorpId; } if (null !== $this->hostUnionId) { $res['hostUnionId'] = $this->hostUnionId; } if (null !== $this->lockRoom) { $res['lockRoom'] = $this->lockRoom; } if (null !== $this->moziConfVirtualExtraSetting) { $res['moziConfVirtualExtraSetting'] = null !== $this->moziConfVirtualExtraSetting ? $this->moziConfVirtualExtraSetting->toMap() : null; } if (null !== $this->muteOnJoin) { $res['muteOnJoin'] = $this->muteOnJoin; } if (null !== $this->screenShareForbidden) { $res['screenShareForbidden'] = $this->screenShareForbidden; } return $res; } /** * @param array $map * * @return scheduleConfSettingModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cohostUnionIds'])) { if (!empty($map['cohostUnionIds'])) { $model->cohostUnionIds = $map['cohostUnionIds']; } } if (isset($map['confAllowedCorpId'])) { $model->confAllowedCorpId = $map['confAllowedCorpId']; } if (isset($map['hostUnionId'])) { $model->hostUnionId = $map['hostUnionId']; } if (isset($map['lockRoom'])) { $model->lockRoom = $map['lockRoom']; } if (isset($map['moziConfVirtualExtraSetting'])) { $model->moziConfVirtualExtraSetting = moziConfVirtualExtraSetting::fromMap($map['moziConfVirtualExtraSetting']); } if (isset($map['muteOnJoin'])) { $model->muteOnJoin = $map['muteOnJoin']; } if (isset($map['screenShareForbidden'])) { $model->screenShareForbidden = $map['screenShareForbidden']; } return $model; } } QueryScheduleConfSettingsResponseBody/scheduleConfSettingModel/moziConfVirtualExtraSetting.php 0000644 00000007767 14713400346 0034065 0 ustar 00 src/conference_1_0/Models 'enableChat', 'enableWebAnonymousJoin' => 'enableWebAnonymousJoin', 'joinBeforeHost' => 'joinBeforeHost', 'lockMediaStatusMicMute' => 'lockMediaStatusMicMute', 'lockNick' => 'lockNick', 'moziConfExtensionAppSettings' => 'moziConfExtensionAppSettings', 'waitingRoom' => 'waitingRoom', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableChat) { $res['enableChat'] = $this->enableChat; } if (null !== $this->enableWebAnonymousJoin) { $res['enableWebAnonymousJoin'] = $this->enableWebAnonymousJoin; } if (null !== $this->joinBeforeHost) { $res['joinBeforeHost'] = $this->joinBeforeHost; } if (null !== $this->lockMediaStatusMicMute) { $res['lockMediaStatusMicMute'] = $this->lockMediaStatusMicMute; } if (null !== $this->lockNick) { $res['lockNick'] = $this->lockNick; } if (null !== $this->moziConfExtensionAppSettings) { $res['moziConfExtensionAppSettings'] = []; if (null !== $this->moziConfExtensionAppSettings && \is_array($this->moziConfExtensionAppSettings)) { $n = 0; foreach ($this->moziConfExtensionAppSettings as $item) { $res['moziConfExtensionAppSettings'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->waitingRoom) { $res['waitingRoom'] = $this->waitingRoom; } return $res; } /** * @param array $map * * @return moziConfVirtualExtraSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableChat'])) { $model->enableChat = $map['enableChat']; } if (isset($map['enableWebAnonymousJoin'])) { $model->enableWebAnonymousJoin = $map['enableWebAnonymousJoin']; } if (isset($map['joinBeforeHost'])) { $model->joinBeforeHost = $map['joinBeforeHost']; } if (isset($map['lockMediaStatusMicMute'])) { $model->lockMediaStatusMicMute = $map['lockMediaStatusMicMute']; } if (isset($map['lockNick'])) { $model->lockNick = $map['lockNick']; } if (isset($map['moziConfExtensionAppSettings'])) { if (!empty($map['moziConfExtensionAppSettings'])) { $model->moziConfExtensionAppSettings = []; $n = 0; foreach ($map['moziConfExtensionAppSettings'] as $item) { $model->moziConfExtensionAppSettings[$n++] = null !== $item ? moziConfExtensionAppSettings::fromMap($item) : $item; } } } if (isset($map['waitingRoom'])) { $model->waitingRoom = $map['waitingRoom']; } return $model; } } scheduleConfSettingModel/moziConfVirtualExtraSetting/moziConfExtensionAppSettings.php 0000644 00000003716 14713400346 0041716 0 ustar 00 src/conference_1_0/Models/QueryScheduleConfSettingsResponseBody 'autoOpenMode', 'clientId' => 'clientId', 'coolAppCode' => 'coolAppCode', 'extensionAppBizData' => 'extensionAppBizData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->autoOpenMode) { $res['autoOpenMode'] = $this->autoOpenMode; } if (null !== $this->clientId) { $res['clientId'] = $this->clientId; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->extensionAppBizData) { $res['extensionAppBizData'] = $this->extensionAppBizData; } return $res; } /** * @param array $map * * @return moziConfExtensionAppSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['autoOpenMode'])) { $model->autoOpenMode = $map['autoOpenMode']; } if (isset($map['clientId'])) { $model->clientId = $map['clientId']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['extensionAppBizData'])) { $model->extensionAppBizData = $map['extensionAppBizData']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceHeaders.php 0000644 00000002360 14713400346 0020106 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceInfoHeaders.php 0000644 00000002370 14713400346 0020723 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceInfoRequest.php 0000644 00000002317 14713400346 0021001 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceInfoResponse.php 0000644 00000003014 14713400346 0021142 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryScheduleConferenceInfoResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceInfoResponseBody.php 0000644 00000004332 14713400346 0021764 0 ustar 00 'conferenceList', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceList) { $res['conferenceList'] = []; if (null !== $this->conferenceList && \is_array($this->conferenceList)) { $n = 0; foreach ($this->conferenceList as $item) { $res['conferenceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceList'])) { if (!empty($map['conferenceList'])) { $model->conferenceList = []; $n = 0; foreach ($map['conferenceList'] as $item) { $model->conferenceList[$n++] = null !== $item ? conferenceList::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceInfoResponseBody/conferenceList.php 0000644 00000004412 14713400346 0024726 0 ustar 00 'conferenceId', 'endTime' => 'endTime', 'roomCode' => 'roomCode', 'startTime' => 'startTime', 'status' => 'status', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->roomCode) { $res['roomCode'] = $this->roomCode; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return conferenceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['roomCode'])) { $model->roomCode = $map['roomCode']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceRequest.php 0000644 00000001774 14713400346 0020173 0 ustar 00 'requestUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestUnionId) { $res['requestUnionId'] = $this->requestUnionId; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestUnionId'])) { $model->requestUnionId = $map['requestUnionId']; } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceResponse.php 0000644 00000002774 14713400346 0020342 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryScheduleConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryScheduleConferenceResponseBody.php 0000644 00000006456 14713400346 0021161 0 ustar 00 'endTime', 'phones' => 'phones', 'requestId' => 'requestId', 'roomCode' => 'roomCode', 'scheduleConferenceId' => 'scheduleConferenceId', 'startTime' => 'startTime', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->phones) { $res['phones'] = $this->phones; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->roomCode) { $res['roomCode'] = $this->roomCode; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return QueryScheduleConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['phones'])) { if (!empty($map['phones'])) { $model->phones = $map['phones']; } } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['roomCode'])) { $model->roomCode = $map['roomCode']; } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/conference_1_0/Models/QueryUserOnGoingConferenceHeaders.php 0000644 00000002366 14713400346 0020557 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserOnGoingConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/QueryUserOnGoingConferenceRequest.php 0000644 00000001704 14713400346 0020627 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryUserOnGoingConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/QueryUserOnGoingConferenceResponse.php 0000644 00000003010 14713400346 0020765 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserOnGoingConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserOnGoingConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/QueryUserOnGoingConferenceResponseBody.php 0000644 00000003153 14713400346 0021613 0 ustar 00 'memberModelMap', 'onGoingConfIdList' => 'onGoingConfIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberModelMap) { $res['memberModelMap'] = []; if (null !== $this->memberModelMap && \is_array($this->memberModelMap)) { foreach ($this->memberModelMap as $key => $val) { $res['memberModelMap'][$key] = null !== $val ? $val->toMap() : $val; } } } if (null !== $this->onGoingConfIdList) { $res['onGoingConfIdList'] = $this->onGoingConfIdList; } return $res; } /** * @param array $map * * @return QueryUserOnGoingConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberModelMap'])) { $model->memberModelMap = $map['memberModelMap']; } if (isset($map['onGoingConfIdList'])) { if (!empty($map['onGoingConfIdList'])) { $model->onGoingConfIdList = $map['onGoingConfIdList']; } } return $model; } } src/conference_1_0/Models/StartCloudRecordHeaders.php 0000644 00000002342 14713400346 0016557 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartCloudRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/StartCloudRecordRequest.php 0000644 00000003207 14713400346 0016635 0 ustar 00 'mode', 'smallWindowPosition' => 'smallWindowPosition', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->smallWindowPosition) { $res['smallWindowPosition'] = $this->smallWindowPosition; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return StartCloudRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['smallWindowPosition'])) { $model->smallWindowPosition = $map['smallWindowPosition']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/StartCloudRecordResponse.php 0000644 00000002740 14713400346 0017004 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartCloudRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartCloudRecordResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/StartCloudRecordResponseBody.php 0000644 00000001463 14713400346 0017623 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return StartCloudRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/StartMinutesHeaders.php 0000644 00000002332 14713400346 0015775 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartMinutesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/StartMinutesRequest.php 0000644 00000003057 14713400346 0016057 0 ustar 00 'ownerUnionId', 'recordAudio' => 'recordAudio', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerUnionId) { $res['ownerUnionId'] = $this->ownerUnionId; } if (null !== $this->recordAudio) { $res['recordAudio'] = $this->recordAudio; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return StartMinutesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerUnionId'])) { $model->ownerUnionId = $map['ownerUnionId']; } if (isset($map['recordAudio'])) { $model->recordAudio = $map['recordAudio']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/StartMinutesResponse.php 0000644 00000002720 14713400346 0016221 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartMinutesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartMinutesResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/StartMinutesResponseBody.php 0000644 00000001453 14713400346 0017041 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return StartMinutesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/StartStreamOutHeaders.php 0000644 00000002336 14713400346 0016300 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StartStreamOutHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/StartStreamOutRequest.php 0000644 00000005722 14713400346 0016357 0 ustar 00 'mode', 'needHostJoin' => 'needHostJoin', 'smallWindowPosition' => 'smallWindowPosition', 'streamName' => 'streamName', 'streamUrlList' => 'streamUrlList', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->needHostJoin) { $res['needHostJoin'] = $this->needHostJoin; } if (null !== $this->smallWindowPosition) { $res['smallWindowPosition'] = $this->smallWindowPosition; } if (null !== $this->streamName) { $res['streamName'] = $this->streamName; } if (null !== $this->streamUrlList) { $res['streamUrlList'] = $this->streamUrlList; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return StartStreamOutRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['needHostJoin'])) { $model->needHostJoin = $map['needHostJoin']; } if (isset($map['smallWindowPosition'])) { $model->smallWindowPosition = $map['smallWindowPosition']; } if (isset($map['streamName'])) { $model->streamName = $map['streamName']; } if (isset($map['streamUrlList'])) { if (!empty($map['streamUrlList'])) { $model->streamUrlList = $map['streamUrlList']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/StartStreamOutResponse.php 0000644 00000002730 14713400346 0016521 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StartStreamOutResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StartStreamOutResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/StartStreamOutResponseBody.php 0000644 00000002355 14713400346 0017342 0 ustar 00 'failStreamMap', 'successStreamMap' => 'successStreamMap', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failStreamMap) { $res['failStreamMap'] = $this->failStreamMap; } if (null !== $this->successStreamMap) { $res['successStreamMap'] = $this->successStreamMap; } return $res; } /** * @param array $map * * @return StartStreamOutResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failStreamMap'])) { $model->failStreamMap = $map['failStreamMap']; } if (isset($map['successStreamMap'])) { $model->successStreamMap = $map['successStreamMap']; } return $model; } } src/conference_1_0/Models/StopCloudRecordHeaders.php 0000644 00000002340 14713400346 0016405 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StopCloudRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/StopCloudRecordRequest.php 0000644 00000001571 14713400346 0016467 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return StopCloudRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/StopCloudRecordResponse.php 0000644 00000002734 14713400346 0016637 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StopCloudRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StopCloudRecordResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/StopCloudRecordResponseBody.php 0000644 00000001461 14713400346 0017451 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return StopCloudRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/StopMinutesHeaders.php 0000644 00000002330 14713400346 0015623 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StopMinutesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/StopMinutesRequest.php 0000644 00000001561 14713400346 0015705 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return StopMinutesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/StopMinutesResponse.php 0000644 00000002714 14713400346 0016054 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StopMinutesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StopMinutesResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/StopMinutesResponseBody.php 0000644 00000001451 14713400346 0016667 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return StopMinutesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/StopStreamOutHeaders.php 0000644 00000002334 14713400346 0016126 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return StopStreamOutHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/StopStreamOutRequest.php 0000644 00000003253 14713400346 0016204 0 ustar 00 'stopAllStream', 'streamId' => 'streamId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->stopAllStream) { $res['stopAllStream'] = $this->stopAllStream; } if (null !== $this->streamId) { $res['streamId'] = $this->streamId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return StopStreamOutRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['stopAllStream'])) { $model->stopAllStream = $map['stopAllStream']; } if (isset($map['streamId'])) { $model->streamId = $map['streamId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conference_1_0/Models/StopStreamOutResponse.php 0000644 00000002724 14713400346 0016354 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return StopStreamOutResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = StopStreamOutResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/StopStreamOutResponseBody.php 0000644 00000001544 14713400346 0017171 0 ustar 00 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return StopStreamOutResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConfSettingsHeaders.php 0000644 00000002366 14713400346 0020570 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateScheduleConfSettingsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConfSettingsRequest.php 0000644 00000004063 14713400346 0020641 0 ustar 00 'creatorUnionId', 'scheduleConfSettingModel' => 'scheduleConfSettingModel', 'scheduleConferenceId' => 'scheduleConferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->scheduleConfSettingModel) { $res['scheduleConfSettingModel'] = null !== $this->scheduleConfSettingModel ? $this->scheduleConfSettingModel->toMap() : null; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } return $res; } /** * @param array $map * * @return UpdateScheduleConfSettingsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['scheduleConfSettingModel'])) { $model->scheduleConfSettingModel = scheduleConfSettingModel::fromMap($map['scheduleConfSettingModel']); } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConfSettingsRequest/scheduleConfSettingModel.php 0000644 00000010571 14713400346 0025563 0 ustar 00 'cohostUnionIds', 'confAllowedCorpId' => 'confAllowedCorpId', 'hostUnionId' => 'hostUnionId', 'lockRoom' => 'lockRoom', 'moziConfOpenRecordSetting' => 'moziConfOpenRecordSetting', 'moziConfVirtualExtraSetting' => 'moziConfVirtualExtraSetting', 'muteOnJoin' => 'muteOnJoin', 'screenShareForbidden' => 'screenShareForbidden', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cohostUnionIds) { $res['cohostUnionIds'] = $this->cohostUnionIds; } if (null !== $this->confAllowedCorpId) { $res['confAllowedCorpId'] = $this->confAllowedCorpId; } if (null !== $this->hostUnionId) { $res['hostUnionId'] = $this->hostUnionId; } if (null !== $this->lockRoom) { $res['lockRoom'] = $this->lockRoom; } if (null !== $this->moziConfOpenRecordSetting) { $res['moziConfOpenRecordSetting'] = null !== $this->moziConfOpenRecordSetting ? $this->moziConfOpenRecordSetting->toMap() : null; } if (null !== $this->moziConfVirtualExtraSetting) { $res['moziConfVirtualExtraSetting'] = null !== $this->moziConfVirtualExtraSetting ? $this->moziConfVirtualExtraSetting->toMap() : null; } if (null !== $this->muteOnJoin) { $res['muteOnJoin'] = $this->muteOnJoin; } if (null !== $this->screenShareForbidden) { $res['screenShareForbidden'] = $this->screenShareForbidden; } return $res; } /** * @param array $map * * @return scheduleConfSettingModel */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cohostUnionIds'])) { if (!empty($map['cohostUnionIds'])) { $model->cohostUnionIds = $map['cohostUnionIds']; } } if (isset($map['confAllowedCorpId'])) { $model->confAllowedCorpId = $map['confAllowedCorpId']; } if (isset($map['hostUnionId'])) { $model->hostUnionId = $map['hostUnionId']; } if (isset($map['lockRoom'])) { $model->lockRoom = $map['lockRoom']; } if (isset($map['moziConfOpenRecordSetting'])) { $model->moziConfOpenRecordSetting = moziConfOpenRecordSetting::fromMap($map['moziConfOpenRecordSetting']); } if (isset($map['moziConfVirtualExtraSetting'])) { $model->moziConfVirtualExtraSetting = moziConfVirtualExtraSetting::fromMap($map['moziConfVirtualExtraSetting']); } if (isset($map['muteOnJoin'])) { $model->muteOnJoin = $map['muteOnJoin']; } if (isset($map['screenShareForbidden'])) { $model->screenShareForbidden = $map['screenShareForbidden']; } return $model; } } Models/UpdateScheduleConfSettingsRequest/scheduleConfSettingModel/moziConfOpenRecordSetting.php 0000644 00000004757 14713400346 0032620 0 ustar 00 src/conference_1_0 'isFollowHost', 'mode' => 'mode', 'recordAutoStart' => 'recordAutoStart', 'recordAutoStartType' => 'recordAutoStartType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isFollowHost) { $res['isFollowHost'] = $this->isFollowHost; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->recordAutoStart) { $res['recordAutoStart'] = $this->recordAutoStart; } if (null !== $this->recordAutoStartType) { $res['recordAutoStartType'] = $this->recordAutoStartType; } return $res; } /** * @param array $map * * @return moziConfOpenRecordSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isFollowHost'])) { $model->isFollowHost = $map['isFollowHost']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['recordAutoStart'])) { $model->recordAutoStart = $map['recordAutoStart']; } if (isset($map['recordAutoStartType'])) { $model->recordAutoStartType = $map['recordAutoStartType']; } return $model; } } Models/UpdateScheduleConfSettingsRequest/scheduleConfSettingModel/moziConfVirtualExtraSetting.php 0000644 00000014552 14713400346 0033204 0 ustar 00 src/conference_1_0 'cloudRecordOwnerUnionId', 'enableChat' => 'enableChat', 'enableWebAnonymousJoin' => 'enableWebAnonymousJoin', 'joinBeforeHost' => 'joinBeforeHost', 'lockMediaStatusMicMute' => 'lockMediaStatusMicMute', 'lockNick' => 'lockNick', 'minutesOwnerUnionId' => 'minutesOwnerUnionId', 'moziConfExtensionAppSettings' => 'moziConfExtensionAppSettings', 'pushAllMeetingRecords' => 'pushAllMeetingRecords', 'pushCloudRecordCard' => 'pushCloudRecordCard', 'pushMinutesCard' => 'pushMinutesCard', 'waitingRoom' => 'waitingRoom', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cloudRecordOwnerUnionId) { $res['cloudRecordOwnerUnionId'] = $this->cloudRecordOwnerUnionId; } if (null !== $this->enableChat) { $res['enableChat'] = $this->enableChat; } if (null !== $this->enableWebAnonymousJoin) { $res['enableWebAnonymousJoin'] = $this->enableWebAnonymousJoin; } if (null !== $this->joinBeforeHost) { $res['joinBeforeHost'] = $this->joinBeforeHost; } if (null !== $this->lockMediaStatusMicMute) { $res['lockMediaStatusMicMute'] = $this->lockMediaStatusMicMute; } if (null !== $this->lockNick) { $res['lockNick'] = $this->lockNick; } if (null !== $this->minutesOwnerUnionId) { $res['minutesOwnerUnionId'] = $this->minutesOwnerUnionId; } if (null !== $this->moziConfExtensionAppSettings) { $res['moziConfExtensionAppSettings'] = []; if (null !== $this->moziConfExtensionAppSettings && \is_array($this->moziConfExtensionAppSettings)) { $n = 0; foreach ($this->moziConfExtensionAppSettings as $item) { $res['moziConfExtensionAppSettings'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pushAllMeetingRecords) { $res['pushAllMeetingRecords'] = $this->pushAllMeetingRecords; } if (null !== $this->pushCloudRecordCard) { $res['pushCloudRecordCard'] = $this->pushCloudRecordCard; } if (null !== $this->pushMinutesCard) { $res['pushMinutesCard'] = $this->pushMinutesCard; } if (null !== $this->waitingRoom) { $res['waitingRoom'] = $this->waitingRoom; } return $res; } /** * @param array $map * * @return moziConfVirtualExtraSetting */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cloudRecordOwnerUnionId'])) { $model->cloudRecordOwnerUnionId = $map['cloudRecordOwnerUnionId']; } if (isset($map['enableChat'])) { $model->enableChat = $map['enableChat']; } if (isset($map['enableWebAnonymousJoin'])) { $model->enableWebAnonymousJoin = $map['enableWebAnonymousJoin']; } if (isset($map['joinBeforeHost'])) { $model->joinBeforeHost = $map['joinBeforeHost']; } if (isset($map['lockMediaStatusMicMute'])) { $model->lockMediaStatusMicMute = $map['lockMediaStatusMicMute']; } if (isset($map['lockNick'])) { $model->lockNick = $map['lockNick']; } if (isset($map['minutesOwnerUnionId'])) { $model->minutesOwnerUnionId = $map['minutesOwnerUnionId']; } if (isset($map['moziConfExtensionAppSettings'])) { if (!empty($map['moziConfExtensionAppSettings'])) { $model->moziConfExtensionAppSettings = []; $n = 0; foreach ($map['moziConfExtensionAppSettings'] as $item) { $model->moziConfExtensionAppSettings[$n++] = null !== $item ? moziConfExtensionAppSettings::fromMap($item) : $item; } } } if (isset($map['pushAllMeetingRecords'])) { $model->pushAllMeetingRecords = $map['pushAllMeetingRecords']; } if (isset($map['pushCloudRecordCard'])) { $model->pushCloudRecordCard = $map['pushCloudRecordCard']; } if (isset($map['pushMinutesCard'])) { $model->pushMinutesCard = $map['pushMinutesCard']; } if (isset($map['waitingRoom'])) { $model->waitingRoom = $map['waitingRoom']; } return $model; } } scheduleConfSettingModel/moziConfVirtualExtraSetting/moziConfExtensionAppSettings.php 0000644 00000003544 14713400346 0041046 0 ustar 00 src/conference_1_0/Models/UpdateScheduleConfSettingsRequest 'autoOpenMode', 'coolAppCode' => 'coolAppCode', 'extensionAppBizData' => 'extensionAppBizData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->autoOpenMode) { $res['autoOpenMode'] = $this->autoOpenMode; } if (null !== $this->coolAppCode) { $res['coolAppCode'] = $this->coolAppCode; } if (null !== $this->extensionAppBizData) { $res['extensionAppBizData'] = $this->extensionAppBizData; } return $res; } /** * @param array $map * * @return moziConfExtensionAppSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['autoOpenMode'])) { $model->autoOpenMode = $map['autoOpenMode']; } if (isset($map['coolAppCode'])) { $model->coolAppCode = $map['coolAppCode']; } if (isset($map['extensionAppBizData'])) { $model->extensionAppBizData = $map['extensionAppBizData']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConfSettingsResponse.php 0000644 00000003010 14713400346 0020776 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateScheduleConfSettingsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateScheduleConfSettingsResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/UpdateScheduleConfSettingsResponseBody.php 0000644 00000001540 14713400346 0021622 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateScheduleConfSettingsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConferenceHeaders.php 0000644 00000002362 14713400346 0020225 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateScheduleConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConferenceRequest.php 0000644 00000005202 14713400346 0020276 0 ustar 00 'creatorUnionId', 'endTime' => 'endTime', 'scheduleConferenceId' => 'scheduleConferenceId', 'startTime' => 'startTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUnionId) { $res['creatorUnionId'] = $this->creatorUnionId; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->scheduleConferenceId) { $res['scheduleConferenceId'] = $this->scheduleConferenceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return UpdateScheduleConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUnionId'])) { $model->creatorUnionId = $map['creatorUnionId']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['scheduleConferenceId'])) { $model->scheduleConferenceId = $map['scheduleConferenceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/conference_1_0/Models/UpdateScheduleConferenceResponse.php 0000644 00000003000 14713400346 0020436 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateScheduleConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateScheduleConferenceResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/UpdateScheduleConferenceResponseBody.php 0000644 00000001534 14713400346 0021266 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateScheduleConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceExtInfoHeaders.php 0000644 00000002372 14713400346 0021035 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceExtInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceExtInfoResponse.php 0000644 00000003020 14713400346 0021247 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceExtInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateVideoConferenceExtInfoResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceExtInfoResponseBody.php 0000644 00000002107 14713400346 0022072 0 ustar 00 'case', 'code' => 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->case) { $res['case'] = $this->case; } if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceExtInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['case'])) { $model->case = $map['case']; } if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceSettingHeaders.php 0000644 00000002372 14713400346 0021076 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceSettingRequest.php 0000644 00000005347 14713400346 0021160 0 ustar 00 'allowUnmuteSelf', 'autoTransferHost' => 'autoTransferHost', 'forbiddenShareScreen' => 'forbiddenShareScreen', 'lockConference' => 'lockConference', 'muteAll' => 'muteAll', 'onlyInternalEmployeesJoin' => 'onlyInternalEmployeesJoin', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->allowUnmuteSelf) { $res['allowUnmuteSelf'] = $this->allowUnmuteSelf; } if (null !== $this->autoTransferHost) { $res['autoTransferHost'] = $this->autoTransferHost; } if (null !== $this->forbiddenShareScreen) { $res['forbiddenShareScreen'] = $this->forbiddenShareScreen; } if (null !== $this->lockConference) { $res['lockConference'] = $this->lockConference; } if (null !== $this->muteAll) { $res['muteAll'] = $this->muteAll; } if (null !== $this->onlyInternalEmployeesJoin) { $res['onlyInternalEmployeesJoin'] = $this->onlyInternalEmployeesJoin; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['allowUnmuteSelf'])) { $model->allowUnmuteSelf = $map['allowUnmuteSelf']; } if (isset($map['autoTransferHost'])) { $model->autoTransferHost = $map['autoTransferHost']; } if (isset($map['forbiddenShareScreen'])) { $model->forbiddenShareScreen = $map['forbiddenShareScreen']; } if (isset($map['lockConference'])) { $model->lockConference = $map['lockConference']; } if (isset($map['muteAll'])) { $model->muteAll = $map['muteAll']; } if (isset($map['onlyInternalEmployeesJoin'])) { $model->onlyInternalEmployeesJoin = $map['onlyInternalEmployeesJoin']; } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceSettingResponse.php 0000644 00000003020 14713400346 0021310 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateVideoConferenceSettingResponseBody::fromMap($map['body']); } return $model; } } src/conference_1_0/Models/UpdateVideoConferenceSettingResponseBody.php 0000644 00000002107 14713400346 0022133 0 ustar 00 'case', 'code' => 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->case) { $res['case'] = $this->case; } if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return UpdateVideoConferenceSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['case'])) { $model->case = $map['case']; } if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/connector_1_0/Dingtalk.php 0000644 00000106024 14713400346 0012237 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建执行动作 * * * @param CreateActionRequest $request CreateActionRequest * @param CreateActionHeaders $headers CreateActionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateActionResponse CreateActionResponse */ public function createActionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionInfo)) { $body['actionInfo'] = $request->actionInfo; } if (!Utils::isUnset($request->integratorFlag)) { $body['integratorFlag'] = $request->integratorFlag; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateAction', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/actions', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateActionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建执行动作 * * * @param CreateActionRequest $request CreateActionRequest * * @return CreateActionResponse CreateActionResponse */ public function createAction($request) { $runtime = new RuntimeOptions([]); $headers = new CreateActionHeaders([]); return $this->createActionWithOptions($request, $headers, $runtime); } /** * @summary 创建连接器 * * * @param CreateConnectorRequest $request CreateConnectorRequest * @param CreateConnectorHeaders $headers CreateConnectorHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateConnectorResponse CreateConnectorResponse */ public function createConnectorWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->connectorInfo)) { $body['connectorInfo'] = $request->connectorInfo; } if (!Utils::isUnset($request->integratorFlag)) { $body['integratorFlag'] = $request->integratorFlag; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateConnector', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/connectors', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateConnectorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建连接器 * * * @param CreateConnectorRequest $request CreateConnectorRequest * * @return CreateConnectorResponse CreateConnectorResponse */ public function createConnector($request) { $runtime = new RuntimeOptions([]); $headers = new CreateConnectorHeaders([]); return $this->createConnectorWithOptions($request, $headers, $runtime); } /** * @summary 创建一个用于运行执行动作/集成流的可调用实例 * * * @param CreateInvocableInstanceRequest $request CreateInvocableInstanceRequest * @param CreateInvocableInstanceHeaders $headers CreateInvocableInstanceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateInvocableInstanceResponse CreateInvocableInstanceResponse */ public function createInvocableInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->connectAssetUri)) { $body['connectAssetUri'] = $request->connectAssetUri; } if (!Utils::isUnset($request->instanceKey)) { $body['instanceKey'] = $request->instanceKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateInvocableInstance', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/instances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateInvocableInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建一个用于运行执行动作/集成流的可调用实例 * * * @param CreateInvocableInstanceRequest $request CreateInvocableInstanceRequest * * @return CreateInvocableInstanceResponse CreateInvocableInstanceResponse */ public function createInvocableInstance($request) { $runtime = new RuntimeOptions([]); $headers = new CreateInvocableInstanceHeaders([]); return $this->createInvocableInstanceWithOptions($request, $headers, $runtime); } /** * @summary 创建触发器 * * * @param CreateTriggerRequest $request CreateTriggerRequest * @param CreateTriggerHeaders $headers CreateTriggerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateTriggerResponse CreateTriggerResponse */ public function createTriggerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->integratorFlag)) { $body['integratorFlag'] = $request->integratorFlag; } if (!Utils::isUnset($request->triggerInfo)) { $body['triggerInfo'] = $request->triggerInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTrigger', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/triggers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateTriggerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建触发器 * * * @param CreateTriggerRequest $request CreateTriggerRequest * * @return CreateTriggerResponse CreateTriggerResponse */ public function createTrigger($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTriggerHeaders([]); return $this->createTriggerWithOptions($request, $headers, $runtime); } /** * @summary 获取执行动作详情 * * * @param GetActionDetailRequest $request GetActionDetailRequest * @param GetActionDetailHeaders $headers GetActionDetailHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetActionDetailResponse GetActionDetailResponse */ public function getActionDetailWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->connectAssetUri)) { $body['connectAssetUri'] = $request->connectAssetUri; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetActionDetail', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/assets/actions/details/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetActionDetailResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取执行动作详情 * * * @param GetActionDetailRequest $request GetActionDetailRequest * * @return GetActionDetailResponse GetActionDetailResponse */ public function getActionDetail($request) { $runtime = new RuntimeOptions([]); $headers = new GetActionDetailHeaders([]); return $this->getActionDetailWithOptions($request, $headers, $runtime); } /** * @summary 调用执行实例 * * * @param InvokeInstanceRequest $request InvokeInstanceRequest * @param InvokeInstanceHeaders $headers InvokeInstanceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return InvokeInstanceResponse InvokeInstanceResponse */ public function invokeInstanceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->connectAssetUri)) { $body['connectAssetUri'] = $request->connectAssetUri; } if (!Utils::isUnset($request->inputJsonString)) { $body['inputJsonString'] = $request->inputJsonString; } if (!Utils::isUnset($request->instanceKey)) { $body['instanceKey'] = $request->instanceKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InvokeInstance', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/instances/invoke', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InvokeInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 调用执行实例 * * * @param InvokeInstanceRequest $request InvokeInstanceRequest * * @return InvokeInstanceResponse InvokeInstanceResponse */ public function invokeInstance($request) { $runtime = new RuntimeOptions([]); $headers = new InvokeInstanceHeaders([]); return $this->invokeInstanceWithOptions($request, $headers, $runtime); } /** * @summary 分页拉取连接器主数据 * * * @param PullDataByPageRequest $request PullDataByPageRequest * @param PullDataByPageHeaders $headers PullDataByPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PullDataByPageResponse PullDataByPageResponse */ public function pullDataByPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appId)) { $query['appId'] = $request->appId; } if (!Utils::isUnset($request->dataModelId)) { $query['dataModelId'] = $request->dataModelId; } if (!Utils::isUnset($request->datetimeFilterField)) { $query['datetimeFilterField'] = $request->datetimeFilterField; } if (!Utils::isUnset($request->maxDatetime)) { $query['maxDatetime'] = $request->maxDatetime; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->minDatetime)) { $query['minDatetime'] = $request->minDatetime; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'PullDataByPage', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/data', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PullDataByPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页拉取连接器主数据 * * * @param PullDataByPageRequest $request PullDataByPageRequest * * @return PullDataByPageResponse PullDataByPageResponse */ public function pullDataByPage($request) { $runtime = new RuntimeOptions([]); $headers = new PullDataByPageHeaders([]); return $this->pullDataByPageWithOptions($request, $headers, $runtime); } /** * @summary 通过业务主键拉取单条连接器主数据 * * * @param string $dataModelId * @param PullDataByPkRequest $request PullDataByPkRequest * @param PullDataByPkHeaders $headers PullDataByPkHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PullDataByPkResponse PullDataByPkResponse */ public function pullDataByPkWithOptions($dataModelId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appId)) { $query['appId'] = $request->appId; } if (!Utils::isUnset($request->primaryKey)) { $query['primaryKey'] = $request->primaryKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'PullDataByPk', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/data/' . $dataModelId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PullDataByPkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过业务主键拉取单条连接器主数据 * * * @param string $dataModelId * @param PullDataByPkRequest $request PullDataByPkRequest * * @return PullDataByPkResponse PullDataByPkResponse */ public function pullDataByPk($dataModelId, $request) { $runtime = new RuntimeOptions([]); $headers = new PullDataByPkHeaders([]); return $this->pullDataByPkWithOptions($dataModelId, $request, $headers, $runtime); } /** * @summary 搜索执行动作 * * * @param SearchActionsRequest $request SearchActionsRequest * @param SearchActionsHeaders $headers SearchActionsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SearchActionsResponse SearchActionsResponse */ public function searchActionsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->connectorId)) { $body['connectorId'] = $request->connectorId; } if (!Utils::isUnset($request->connectorProviderCorpId)) { $body['connectorProviderCorpId'] = $request->connectorProviderCorpId; } if (!Utils::isUnset($request->integrationTypes)) { $body['integrationTypes'] = $request->integrationTypes; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SearchActions', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/assets/actions/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchActionsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 搜索执行动作 * * * @param SearchActionsRequest $request SearchActionsRequest * * @return SearchActionsResponse SearchActionsResponse */ public function searchActions($request) { $runtime = new RuntimeOptions([]); $headers = new SearchActionsHeaders([]); return $this->searchActionsWithOptions($request, $headers, $runtime); } /** * @summary 搜索连接器 * * * @param SearchConnectorsRequest $request SearchConnectorsRequest * @param SearchConnectorsHeaders $headers SearchConnectorsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SearchConnectorsResponse SearchConnectorsResponse */ public function searchConnectorsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchConnectors', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/assets/connectors', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchConnectorsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 搜索连接器 * * * @param SearchConnectorsRequest $request SearchConnectorsRequest * * @return SearchConnectorsResponse SearchConnectorsResponse */ public function searchConnectors($request) { $runtime = new RuntimeOptions([]); $headers = new SearchConnectorsHeaders([]); return $this->searchConnectorsWithOptions($request, $headers, $runtime); } /** * @summary 同步连接器数据 * * * @param SyncDataRequest $request SyncDataRequest * @param SyncDataHeaders $headers SyncDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SyncDataResponse SyncDataResponse */ public function syncDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->appId)) { $body['appId'] = $request->appId; } if (!Utils::isUnset($request->triggerDataList)) { $body['triggerDataList'] = $request->triggerDataList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncData', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/triggers/data/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 同步连接器数据 * * * @param SyncDataRequest $request SyncDataRequest * * @return SyncDataResponse SyncDataResponse */ public function syncData($request) { $runtime = new RuntimeOptions([]); $headers = new SyncDataHeaders([]); return $this->syncDataWithOptions($request, $headers, $runtime); } /** * @summary 更新执行动作信息 * * * @param UpdateActionRequest $request UpdateActionRequest * @param UpdateActionHeaders $headers UpdateActionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateActionResponse UpdateActionResponse */ public function updateActionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->actionInfo)) { $body['actionInfo'] = $request->actionInfo; } if (!Utils::isUnset($request->integratorFlag)) { $body['integratorFlag'] = $request->integratorFlag; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateAction', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/actions', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateActionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新执行动作信息 * * * @param UpdateActionRequest $request UpdateActionRequest * * @return UpdateActionResponse UpdateActionResponse */ public function updateAction($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateActionHeaders([]); return $this->updateActionWithOptions($request, $headers, $runtime); } /** * @summary 更新连接器信息 * * * @param UpdateConnectorRequest $request UpdateConnectorRequest * @param UpdateConnectorHeaders $headers UpdateConnectorHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateConnectorResponse UpdateConnectorResponse */ public function updateConnectorWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->connectorInfo)) { $body['connectorInfo'] = $request->connectorInfo; } if (!Utils::isUnset($request->integratorFlag)) { $body['integratorFlag'] = $request->integratorFlag; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateConnector', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/connectors', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateConnectorResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新连接器信息 * * * @param UpdateConnectorRequest $request UpdateConnectorRequest * * @return UpdateConnectorResponse UpdateConnectorResponse */ public function updateConnector($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateConnectorHeaders([]); return $this->updateConnectorWithOptions($request, $headers, $runtime); } /** * @summary 更新触发事件信息 * * * @param UpdateTriggerRequest $request UpdateTriggerRequest * @param UpdateTriggerHeaders $headers UpdateTriggerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateTriggerResponse UpdateTriggerResponse */ public function updateTriggerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->integratorFlag)) { $body['integratorFlag'] = $request->integratorFlag; } if (!Utils::isUnset($request->triggerInfo)) { $body['triggerInfo'] = $request->triggerInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTrigger', 'version' => 'connector_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/connector/triggers', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTriggerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新触发事件信息 * * * @param UpdateTriggerRequest $request UpdateTriggerRequest * * @return UpdateTriggerResponse UpdateTriggerResponse */ public function updateTrigger($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTriggerHeaders([]); return $this->updateTriggerWithOptions($request, $headers, $runtime); } } src/connector_1_0/Models/CreateActionHeaders.php 0000644 00000002331 14713400346 0015556 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateActionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/CreateActionRequest.php 0000644 00000003515 14713400346 0015640 0 ustar 00 'actionInfo', 'integratorFlag' => 'integratorFlag', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionInfo) { $res['actionInfo'] = []; if (null !== $this->actionInfo && \is_array($this->actionInfo)) { $n = 0; foreach ($this->actionInfo as $item) { $res['actionInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->integratorFlag) { $res['integratorFlag'] = $this->integratorFlag; } return $res; } /** * @param array $map * * @return CreateActionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionInfo'])) { if (!empty($map['actionInfo'])) { $model->actionInfo = []; $n = 0; foreach ($map['actionInfo'] as $item) { $model->actionInfo[$n++] = null !== $item ? actionInfo::fromMap($item) : $item; } } } if (isset($map['integratorFlag'])) { $model->integratorFlag = $map['integratorFlag']; } return $model; } } src/connector_1_0/Models/CreateActionRequest/actionInfo.php 0000644 00000012736 14713400346 0017736 0 ustar 00 'apiPath', 'description' => 'description', 'dingConnectorId' => 'dingConnectorId', 'inputMappingConfig' => 'inputMappingConfig', 'inputSchema' => 'inputSchema', 'integratorActionId' => 'integratorActionId', 'integratorConnectorId' => 'integratorConnectorId', 'name' => 'name', 'outputDataRules' => 'outputDataRules', 'outputMappingConfig' => 'outputMappingConfig', 'outputSchema' => 'outputSchema', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiPath) { $res['apiPath'] = $this->apiPath; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->inputMappingConfig) { $res['inputMappingConfig'] = null !== $this->inputMappingConfig ? $this->inputMappingConfig->toMap() : null; } if (null !== $this->inputSchema) { $res['inputSchema'] = $this->inputSchema; } if (null !== $this->integratorActionId) { $res['integratorActionId'] = $this->integratorActionId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->outputDataRules) { $res['outputDataRules'] = []; if (null !== $this->outputDataRules && \is_array($this->outputDataRules)) { $n = 0; foreach ($this->outputDataRules as $item) { $res['outputDataRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outputMappingConfig) { $res['outputMappingConfig'] = null !== $this->outputMappingConfig ? $this->outputMappingConfig->toMap() : null; } if (null !== $this->outputSchema) { $res['outputSchema'] = $this->outputSchema; } return $res; } /** * @param array $map * * @return actionInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiPath'])) { $model->apiPath = $map['apiPath']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['inputMappingConfig'])) { $model->inputMappingConfig = inputMappingConfig::fromMap($map['inputMappingConfig']); } if (isset($map['inputSchema'])) { $model->inputSchema = $map['inputSchema']; } if (isset($map['integratorActionId'])) { $model->integratorActionId = $map['integratorActionId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['outputDataRules'])) { if (!empty($map['outputDataRules'])) { $model->outputDataRules = []; $n = 0; foreach ($map['outputDataRules'] as $item) { $model->outputDataRules[$n++] = null !== $item ? outputDataRules::fromMap($item) : $item; } } } if (isset($map['outputMappingConfig'])) { $model->outputMappingConfig = outputMappingConfig::fromMap($map['outputMappingConfig']); } if (isset($map['outputSchema'])) { $model->outputSchema = $map['outputSchema']; } return $model; } } src/connector_1_0/Models/CreateActionRequest/actionInfo/inputMappingConfig.php 0000644 00000002327 14713400346 0023532 0 ustar 00 'customSchemaMapping', 'rules' => 'rules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customSchemaMapping) { $res['customSchemaMapping'] = $this->customSchemaMapping; } if (null !== $this->rules) { $res['rules'] = $this->rules; } return $res; } /** * @param array $map * * @return inputMappingConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customSchemaMapping'])) { $model->customSchemaMapping = $map['customSchemaMapping']; } if (isset($map['rules'])) { $model->rules = $map['rules']; } return $model; } } src/connector_1_0/Models/CreateActionRequest/actionInfo/outputDataRules.php 0000644 00000003047 14713400346 0023076 0 ustar 00 'expectValue', 'operate' => 'operate', 'propertyPath' => 'propertyPath', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expectValue) { $res['expectValue'] = $this->expectValue; } if (null !== $this->operate) { $res['operate'] = $this->operate; } if (null !== $this->propertyPath) { $res['propertyPath'] = $this->propertyPath; } return $res; } /** * @param array $map * * @return outputDataRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expectValue'])) { $model->expectValue = $map['expectValue']; } if (isset($map['operate'])) { $model->operate = $map['operate']; } if (isset($map['propertyPath'])) { $model->propertyPath = $map['propertyPath']; } return $model; } } src/connector_1_0/Models/CreateActionRequest/actionInfo/outputMappingConfig.php 0000644 00000002331 14713400346 0023726 0 ustar 00 'customSchemaMapping', 'rules' => 'rules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customSchemaMapping) { $res['customSchemaMapping'] = $this->customSchemaMapping; } if (null !== $this->rules) { $res['rules'] = $this->rules; } return $res; } /** * @param array $map * * @return outputMappingConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customSchemaMapping'])) { $model->customSchemaMapping = $map['customSchemaMapping']; } if (isset($map['rules'])) { $model->rules = $map['rules']; } return $model; } } src/connector_1_0/Models/CreateActionResponse.php 0000644 00000002717 14713400346 0016011 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateActionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateActionResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/CreateActionResponseBody.php 0000644 00000002626 14713400346 0016626 0 ustar 00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = []; if (null !== $this->item && \is_array($this->item)) { $n = 0; foreach ($this->item as $item) { $res['item'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateActionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { if (!empty($map['item'])) { $model->item = []; $n = 0; foreach ($map['item'] as $item) { $model->item[$n++] = null !== $item ? item::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/CreateActionResponseBody/item.php 0000644 00000006373 14713400346 0017567 0 ustar 00 'dingActionId', 'dingConnectorId' => 'dingConnectorId', 'integratorActionId' => 'integratorActionId', 'integratorConnectorId' => 'integratorConnectorId', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingActionId) { $res['dingActionId'] = $this->dingActionId; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->integratorActionId) { $res['integratorActionId'] = $this->integratorActionId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingActionId'])) { $model->dingActionId = $map['dingActionId']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['integratorActionId'])) { $model->integratorActionId = $map['integratorActionId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/connector_1_0/Models/CreateConnectorHeaders.php 0000644 00000002337 14713400346 0016301 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateConnectorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/CreateConnectorRequest.php 0000644 00000003611 14713400346 0016352 0 ustar 00 'connectorInfo', 'integratorFlag' => 'integratorFlag', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectorInfo) { $res['connectorInfo'] = []; if (null !== $this->connectorInfo && \is_array($this->connectorInfo)) { $n = 0; foreach ($this->connectorInfo as $item) { $res['connectorInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->integratorFlag) { $res['integratorFlag'] = $this->integratorFlag; } return $res; } /** * @param array $map * * @return CreateConnectorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectorInfo'])) { if (!empty($map['connectorInfo'])) { $model->connectorInfo = []; $n = 0; foreach ($map['connectorInfo'] as $item) { $model->connectorInfo[$n++] = null !== $item ? connectorInfo::fromMap($item) : $item; } } } if (isset($map['integratorFlag'])) { $model->integratorFlag = $map['integratorFlag']; } return $model; } } src/connector_1_0/Models/CreateConnectorRequest/connectorInfo.php 0000644 00000006772 14713400346 0021173 0 ustar 00 'apiDomain', 'apiSecret' => 'apiSecret', 'appId' => 'appId', 'authValueEnv' => 'authValueEnv', 'description' => 'description', 'domainEnv' => 'domainEnv', 'iconMediaId' => 'iconMediaId', 'integratorConnectorId' => 'integratorConnectorId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiDomain) { $res['apiDomain'] = $this->apiDomain; } if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->authValueEnv) { $res['authValueEnv'] = $this->authValueEnv; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->domainEnv) { $res['domainEnv'] = $this->domainEnv; } if (null !== $this->iconMediaId) { $res['iconMediaId'] = $this->iconMediaId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return connectorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiDomain'])) { $model->apiDomain = $map['apiDomain']; } if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['authValueEnv'])) { $model->authValueEnv = $map['authValueEnv']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['domainEnv'])) { $model->domainEnv = $map['domainEnv']; } if (isset($map['iconMediaId'])) { $model->iconMediaId = $map['iconMediaId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/connector_1_0/Models/CreateConnectorResponse.php 0000644 00000002733 14713400346 0016524 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateConnectorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateConnectorResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/CreateConnectorResponseBody.php 0000644 00000002637 14713400346 0017345 0 ustar 00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = []; if (null !== $this->item && \is_array($this->item)) { $n = 0; foreach ($this->item as $item) { $res['item'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateConnectorResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { if (!empty($map['item'])) { $model->item = []; $n = 0; foreach ($map['item'] as $item) { $model->item[$n++] = null !== $item ? item::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/CreateConnectorResponseBody/item.php 0000644 00000004613 14713400346 0020277 0 ustar 00 'dingConnectorId', 'integratorConnectorId' => 'integratorConnectorId', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/connector_1_0/Models/CreateInvocableInstanceHeaders.php 0000644 00000002357 14713400346 0017740 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateInvocableInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/CreateInvocableInstanceRequest.php 0000644 00000002746 14713400346 0020017 0 ustar 00 'connectAssetUri', 'instanceKey' => 'instanceKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectAssetUri) { $res['connectAssetUri'] = $this->connectAssetUri; } if (null !== $this->instanceKey) { $res['instanceKey'] = $this->instanceKey; } return $res; } /** * @param array $map * * @return CreateInvocableInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectAssetUri'])) { $model->connectAssetUri = $map['connectAssetUri']; } if (isset($map['instanceKey'])) { $model->instanceKey = $map['instanceKey']; } return $model; } } src/connector_1_0/Models/CreateInvocableInstanceResponse.php 0000644 00000002773 14713400346 0020165 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateInvocableInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateInvocableInstanceResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/CreateInvocableInstanceResponseBody.php 0000644 00000002574 14713400346 0021002 0 ustar 00 'connectAssetUri', 'versionId' => 'versionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectAssetUri) { $res['connectAssetUri'] = $this->connectAssetUri; } if (null !== $this->versionId) { $res['versionId'] = $this->versionId; } return $res; } /** * @param array $map * * @return CreateInvocableInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectAssetUri'])) { $model->connectAssetUri = $map['connectAssetUri']; } if (isset($map['versionId'])) { $model->versionId = $map['versionId']; } return $model; } } src/connector_1_0/Models/CreateTriggerHeaders.php 0000644 00000002333 14713400346 0015746 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTriggerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/CreateTriggerRequest.php 0000644 00000003541 14713400346 0016025 0 ustar 00 'integratorFlag', 'triggerInfo' => 'triggerInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->integratorFlag) { $res['integratorFlag'] = $this->integratorFlag; } if (null !== $this->triggerInfo) { $res['triggerInfo'] = []; if (null !== $this->triggerInfo && \is_array($this->triggerInfo)) { $n = 0; foreach ($this->triggerInfo as $item) { $res['triggerInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateTriggerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['integratorFlag'])) { $model->integratorFlag = $map['integratorFlag']; } if (isset($map['triggerInfo'])) { if (!empty($map['triggerInfo'])) { $model->triggerInfo = []; $n = 0; foreach ($map['triggerInfo'] as $item) { $model->triggerInfo[$n++] = null !== $item ? triggerInfo::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/CreateTriggerRequest/triggerInfo.php 0000644 00000005433 14713400346 0020306 0 ustar 00 'description', 'dingConnectorId' => 'dingConnectorId', 'inputSchema' => 'inputSchema', 'integratorConnectorId' => 'integratorConnectorId', 'integratorTriggerId' => 'integratorTriggerId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->inputSchema) { $res['inputSchema'] = $this->inputSchema; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->integratorTriggerId) { $res['integratorTriggerId'] = $this->integratorTriggerId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return triggerInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['inputSchema'])) { $model->inputSchema = $map['inputSchema']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['integratorTriggerId'])) { $model->integratorTriggerId = $map['integratorTriggerId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/connector_1_0/Models/CreateTriggerResponse.php 0000644 00000002723 14713400346 0016174 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTriggerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTriggerResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/CreateTriggerResponseBody.php 0000644 00000002631 14713400346 0017010 0 ustar 00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = []; if (null !== $this->item && \is_array($this->item)) { $n = 0; foreach ($this->item as $item) { $res['item'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return CreateTriggerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { if (!empty($map['item'])) { $model->item = []; $n = 0; foreach ($map['item'] as $item) { $model->item[$n++] = null !== $item ? item::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/CreateTriggerResponseBody/item.php 0000644 00000006412 14713400346 0017747 0 ustar 00 'dingConnectorId', 'dingTriggerId' => 'dingTriggerId', 'integratorConnectorId' => 'integratorConnectorId', 'integratorTriggerId' => 'integratorTriggerId', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->dingTriggerId) { $res['dingTriggerId'] = $this->dingTriggerId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->integratorTriggerId) { $res['integratorTriggerId'] = $this->integratorTriggerId; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['dingTriggerId'])) { $model->dingTriggerId = $map['dingTriggerId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['integratorTriggerId'])) { $model->integratorTriggerId = $map['integratorTriggerId']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/connector_1_0/Models/GetActionDetailHeaders.php 0000644 00000002337 14713400346 0016223 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetActionDetailHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/GetActionDetailRequest.php 0000644 00000002102 14713400346 0016266 0 ustar 00 'connectAssetUri', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectAssetUri) { $res['connectAssetUri'] = $this->connectAssetUri; } return $res; } /** * @param array $map * * @return GetActionDetailRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectAssetUri'])) { $model->connectAssetUri = $map['connectAssetUri']; } return $model; } } src/connector_1_0/Models/GetActionDetailResponse.php 0000644 00000002733 14713400346 0016446 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetActionDetailResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetActionDetailResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/GetActionDetailResponseBody.php 0000644 00000010066 14713400346 0017262 0 ustar 00 'connectAssetUri', 'inputSchema' => 'inputSchema', 'integrationConfig' => 'integrationConfig', 'name' => 'name', 'outputSchema' => 'outputSchema', 'refId' => 'refId', 'refProviderCorpId' => 'refProviderCorpId', 'refType' => 'refType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectAssetUri) { $res['connectAssetUri'] = $this->connectAssetUri; } if (null !== $this->inputSchema) { $res['inputSchema'] = $this->inputSchema; } if (null !== $this->integrationConfig) { $res['integrationConfig'] = null !== $this->integrationConfig ? $this->integrationConfig->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->outputSchema) { $res['outputSchema'] = $this->outputSchema; } if (null !== $this->refId) { $res['refId'] = $this->refId; } if (null !== $this->refProviderCorpId) { $res['refProviderCorpId'] = $this->refProviderCorpId; } if (null !== $this->refType) { $res['refType'] = $this->refType; } return $res; } /** * @param array $map * * @return GetActionDetailResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectAssetUri'])) { $model->connectAssetUri = $map['connectAssetUri']; } if (isset($map['inputSchema'])) { $model->inputSchema = $map['inputSchema']; } if (isset($map['integrationConfig'])) { $model->integrationConfig = integrationConfig::fromMap($map['integrationConfig']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['outputSchema'])) { $model->outputSchema = $map['outputSchema']; } if (isset($map['refId'])) { $model->refId = $map['refId']; } if (isset($map['refProviderCorpId'])) { $model->refProviderCorpId = $map['refProviderCorpId']; } if (isset($map['refType'])) { $model->refType = $map['refType']; } return $model; } } src/connector_1_0/Models/GetActionDetailResponseBody/integrationConfig.php 0000644 00000005327 14713400346 0022737 0 ustar 00 'categoryNames', 'entityName' => 'entityName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->categoryNames) { $res['categoryNames'] = []; if (null !== $this->categoryNames && \is_array($this->categoryNames)) { $n = 0; foreach ($this->categoryNames as $item) { $res['categoryNames'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->entityName) { $res['entityName'] = $this->entityName; } if (null !== $this->props) { $res['props'] = []; if (null !== $this->props && \is_array($this->props)) { $n = 0; foreach ($this->props as $item) { $res['props'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return integrationConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['categoryNames'])) { if (!empty($map['categoryNames'])) { $model->categoryNames = []; $n = 0; foreach ($map['categoryNames'] as $item) { $model->categoryNames[$n++] = null !== $item ? categoryNames::fromMap($item) : $item; } } } if (isset($map['entityName'])) { $model->entityName = $map['entityName']; } if (isset($map['props'])) { if (!empty($map['props'])) { $model->props = []; $n = 0; foreach ($map['props'] as $item) { $model->props[$n++] = null !== $item ? props::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/GetActionDetailResponseBody/integrationConfig/categoryNames.php 0000644 00000001551 14713400346 0025533 0 ustar 00 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return categoryNames */ public static function fromMap($map = []) { $model = new self(); if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/connector_1_0/Models/GetActionDetailResponseBody/integrationConfig/props.php 0000644 00000002157 14713400346 0024100 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/connector_1_0/Models/InvokeInstanceHeaders.php 0000644 00000002335 14713400346 0016141 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InvokeInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/InvokeInstanceRequest.php 0000644 00000003337 14713400346 0016221 0 ustar 00 'connectAssetUri', 'inputJsonString' => 'inputJsonString', 'instanceKey' => 'instanceKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectAssetUri) { $res['connectAssetUri'] = $this->connectAssetUri; } if (null !== $this->inputJsonString) { $res['inputJsonString'] = $this->inputJsonString; } if (null !== $this->instanceKey) { $res['instanceKey'] = $this->instanceKey; } return $res; } /** * @param array $map * * @return InvokeInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectAssetUri'])) { $model->connectAssetUri = $map['connectAssetUri']; } if (isset($map['inputJsonString'])) { $model->inputJsonString = $map['inputJsonString']; } if (isset($map['instanceKey'])) { $model->instanceKey = $map['instanceKey']; } return $model; } } src/connector_1_0/Models/InvokeInstanceResponse.php 0000644 00000002727 14713400346 0016371 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InvokeInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InvokeInstanceResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/InvokeInstanceResponseBody.php 0000644 00000004237 14713400346 0017205 0 ustar 00 'cost', 'errorCode' => 'errorCode', 'errorMessage' => 'errorMessage', 'instanceId' => 'instanceId', 'outputJson' => 'outputJson', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cost) { $res['cost'] = $this->cost; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMessage) { $res['errorMessage'] = $this->errorMessage; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->outputJson) { $res['outputJson'] = $this->outputJson; } return $res; } /** * @param array $map * * @return InvokeInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cost'])) { $model->cost = $map['cost']; } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMessage'])) { $model->errorMessage = $map['errorMessage']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['outputJson'])) { $model->outputJson = $map['outputJson']; } return $model; } } src/connector_1_0/Models/PullDataByPageHeaders.php 0000644 00000002335 14713400346 0016017 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PullDataByPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/PullDataByPageRequest.php 0000644 00000005443 14713400346 0016077 0 ustar 00 'appId', 'dataModelId' => 'dataModelId', 'datetimeFilterField' => 'datetimeFilterField', 'maxDatetime' => 'maxDatetime', 'maxResults' => 'maxResults', 'minDatetime' => 'minDatetime', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->dataModelId) { $res['dataModelId'] = $this->dataModelId; } if (null !== $this->datetimeFilterField) { $res['datetimeFilterField'] = $this->datetimeFilterField; } if (null !== $this->maxDatetime) { $res['maxDatetime'] = $this->maxDatetime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->minDatetime) { $res['minDatetime'] = $this->minDatetime; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return PullDataByPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['dataModelId'])) { $model->dataModelId = $map['dataModelId']; } if (isset($map['datetimeFilterField'])) { $model->datetimeFilterField = $map['datetimeFilterField']; } if (isset($map['maxDatetime'])) { $model->maxDatetime = $map['maxDatetime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['minDatetime'])) { $model->minDatetime = $map['minDatetime']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/connector_1_0/Models/PullDataByPageResponse.php 0000644 00000002727 14713400346 0016247 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PullDataByPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PullDataByPageResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/PullDataByPageResponseBody.php 0000644 00000003776 14713400346 0017072 0 ustar 00 'list', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return PullDataByPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/connector_1_0/Models/PullDataByPageResponseBody/list_.php 0000644 00000006513 14713400346 0020174 0 ustar 00 'dataCreateAppId', 'dataCreateAppType' => 'dataCreateAppType', 'dataGmtCreate' => 'dataGmtCreate', 'dataGmtModified' => 'dataGmtModified', 'dataModifiedAppId' => 'dataModifiedAppId', 'dataModifiedAppType' => 'dataModifiedAppType', 'jsonData' => 'jsonData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataCreateAppId) { $res['dataCreateAppId'] = $this->dataCreateAppId; } if (null !== $this->dataCreateAppType) { $res['dataCreateAppType'] = $this->dataCreateAppType; } if (null !== $this->dataGmtCreate) { $res['dataGmtCreate'] = $this->dataGmtCreate; } if (null !== $this->dataGmtModified) { $res['dataGmtModified'] = $this->dataGmtModified; } if (null !== $this->dataModifiedAppId) { $res['dataModifiedAppId'] = $this->dataModifiedAppId; } if (null !== $this->dataModifiedAppType) { $res['dataModifiedAppType'] = $this->dataModifiedAppType; } if (null !== $this->jsonData) { $res['jsonData'] = $this->jsonData; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataCreateAppId'])) { $model->dataCreateAppId = $map['dataCreateAppId']; } if (isset($map['dataCreateAppType'])) { $model->dataCreateAppType = $map['dataCreateAppType']; } if (isset($map['dataGmtCreate'])) { $model->dataGmtCreate = $map['dataGmtCreate']; } if (isset($map['dataGmtModified'])) { $model->dataGmtModified = $map['dataGmtModified']; } if (isset($map['dataModifiedAppId'])) { $model->dataModifiedAppId = $map['dataModifiedAppId']; } if (isset($map['dataModifiedAppType'])) { $model->dataModifiedAppType = $map['dataModifiedAppType']; } if (isset($map['jsonData'])) { $model->jsonData = $map['jsonData']; } return $model; } } src/connector_1_0/Models/PullDataByPkHeaders.php 0000644 00000002331 14713400346 0015511 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PullDataByPkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/PullDataByPkRequest.php 0000644 00000002227 14713400346 0015572 0 ustar 00 'appId', 'primaryKey' => 'primaryKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->primaryKey) { $res['primaryKey'] = $this->primaryKey; } return $res; } /** * @param array $map * * @return PullDataByPkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['primaryKey'])) { $model->primaryKey = $map['primaryKey']; } return $model; } } src/connector_1_0/Models/PullDataByPkResponse.php 0000644 00000002717 14713400346 0015744 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PullDataByPkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PullDataByPkResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/PullDataByPkResponseBody.php 0000644 00000006526 14713400346 0016564 0 ustar 00 'dataCreateAppId', 'dataCreateAppType' => 'dataCreateAppType', 'dataGmtCreate' => 'dataGmtCreate', 'dataGmtModified' => 'dataGmtModified', 'dataModifiedAppId' => 'dataModifiedAppId', 'dataModifiedAppType' => 'dataModifiedAppType', 'jsonData' => 'jsonData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataCreateAppId) { $res['dataCreateAppId'] = $this->dataCreateAppId; } if (null !== $this->dataCreateAppType) { $res['dataCreateAppType'] = $this->dataCreateAppType; } if (null !== $this->dataGmtCreate) { $res['dataGmtCreate'] = $this->dataGmtCreate; } if (null !== $this->dataGmtModified) { $res['dataGmtModified'] = $this->dataGmtModified; } if (null !== $this->dataModifiedAppId) { $res['dataModifiedAppId'] = $this->dataModifiedAppId; } if (null !== $this->dataModifiedAppType) { $res['dataModifiedAppType'] = $this->dataModifiedAppType; } if (null !== $this->jsonData) { $res['jsonData'] = $this->jsonData; } return $res; } /** * @param array $map * * @return PullDataByPkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataCreateAppId'])) { $model->dataCreateAppId = $map['dataCreateAppId']; } if (isset($map['dataCreateAppType'])) { $model->dataCreateAppType = $map['dataCreateAppType']; } if (isset($map['dataGmtCreate'])) { $model->dataGmtCreate = $map['dataGmtCreate']; } if (isset($map['dataGmtModified'])) { $model->dataGmtModified = $map['dataGmtModified']; } if (isset($map['dataModifiedAppId'])) { $model->dataModifiedAppId = $map['dataModifiedAppId']; } if (isset($map['dataModifiedAppType'])) { $model->dataModifiedAppType = $map['dataModifiedAppType']; } if (isset($map['jsonData'])) { $model->jsonData = $map['jsonData']; } return $model; } } src/connector_1_0/Models/SearchActionsHeaders.php 0000644 00000002333 14713400346 0015745 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchActionsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/SearchActionsRequest.php 0000644 00000005102 14713400346 0016017 0 ustar 00 'connectorId', 'connectorProviderCorpId' => 'connectorProviderCorpId', 'integrationTypes' => 'integrationTypes', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectorId) { $res['connectorId'] = $this->connectorId; } if (null !== $this->connectorProviderCorpId) { $res['connectorProviderCorpId'] = $this->connectorProviderCorpId; } if (null !== $this->integrationTypes) { $res['integrationTypes'] = $this->integrationTypes; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return SearchActionsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectorId'])) { $model->connectorId = $map['connectorId']; } if (isset($map['connectorProviderCorpId'])) { $model->connectorProviderCorpId = $map['connectorProviderCorpId']; } if (isset($map['integrationTypes'])) { if (!empty($map['integrationTypes'])) { $model->integrationTypes = $map['integrationTypes']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/connector_1_0/Models/SearchActionsResponse.php 0000644 00000002723 14713400346 0016173 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchActionsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchActionsResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/SearchActionsResponseBody.php 0000644 00000004334 14713400346 0017011 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchActionsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/connector_1_0/Models/SearchActionsResponseBody/list_.php 0000644 00000010516 14713400346 0020122 0 ustar 00 'authorityUrl', 'authorized' => 'authorized', 'connectAssetUri' => 'connectAssetUri', 'connectorId' => 'connectorId', 'description' => 'description', 'icon' => 'icon', 'id' => 'id', 'integrationType' => 'integrationType', 'name' => 'name', 'providerCorpId' => 'providerCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorityUrl) { $res['authorityUrl'] = $this->authorityUrl; } if (null !== $this->authorized) { $res['authorized'] = $this->authorized; } if (null !== $this->connectAssetUri) { $res['connectAssetUri'] = $this->connectAssetUri; } if (null !== $this->connectorId) { $res['connectorId'] = $this->connectorId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->integrationType) { $res['integrationType'] = $this->integrationType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->providerCorpId) { $res['providerCorpId'] = $this->providerCorpId; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorityUrl'])) { $model->authorityUrl = $map['authorityUrl']; } if (isset($map['authorized'])) { $model->authorized = $map['authorized']; } if (isset($map['connectAssetUri'])) { $model->connectAssetUri = $map['connectAssetUri']; } if (isset($map['connectorId'])) { $model->connectorId = $map['connectorId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['integrationType'])) { $model->integrationType = $map['integrationType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['providerCorpId'])) { $model->providerCorpId = $map['providerCorpId']; } return $model; } } src/connector_1_0/Models/SearchConnectorsHeaders.php 0000644 00000002341 14713400346 0016461 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchConnectorsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/SearchConnectorsRequest.php 0000644 00000003021 14713400346 0016532 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return SearchConnectorsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/connector_1_0/Models/SearchConnectorsResponse.php 0000644 00000002737 14713400346 0016715 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchConnectorsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchConnectorsResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/SearchConnectorsResponseBody.php 0000644 00000004401 14713400346 0017521 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchConnectorsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/connector_1_0/Models/SearchConnectorsResponseBody/list_.php 0000644 00000004310 14713400346 0020632 0 ustar 00 'description', 'icon' => 'icon', 'id' => 'id', 'name' => 'name', 'providerCorpId' => 'providerCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->providerCorpId) { $res['providerCorpId'] = $this->providerCorpId; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['providerCorpId'])) { $model->providerCorpId = $map['providerCorpId']; } return $model; } } src/connector_1_0/Models/SyncDataHeaders.php 0000644 00000002321 14713400346 0014722 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/SyncDataRequest.php 0000644 00000003520 14713400346 0015001 0 ustar 00 'appId', 'triggerDataList' => 'triggerDataList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->triggerDataList) { $res['triggerDataList'] = []; if (null !== $this->triggerDataList && \is_array($this->triggerDataList)) { $n = 0; foreach ($this->triggerDataList as $item) { $res['triggerDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SyncDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['triggerDataList'])) { if (!empty($map['triggerDataList'])) { $model->triggerDataList = []; $n = 0; foreach ($map['triggerDataList'] as $item) { $model->triggerDataList[$n++] = null !== $item ? triggerDataList::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/SyncDataRequest/triggerDataList.php 0000644 00000006631 14713400346 0020100 0 ustar 00 'action', 'customTriggerId' => 'customTriggerId', 'dataGmtCreate' => 'dataGmtCreate', 'dataGmtModified' => 'dataGmtModified', 'integrationObject' => 'integrationObject', 'jsonData' => 'jsonData', 'triggerCondition' => 'triggerCondition', 'triggerId' => 'triggerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->customTriggerId) { $res['customTriggerId'] = $this->customTriggerId; } if (null !== $this->dataGmtCreate) { $res['dataGmtCreate'] = $this->dataGmtCreate; } if (null !== $this->dataGmtModified) { $res['dataGmtModified'] = $this->dataGmtModified; } if (null !== $this->integrationObject) { $res['integrationObject'] = $this->integrationObject; } if (null !== $this->jsonData) { $res['jsonData'] = $this->jsonData; } if (null !== $this->triggerCondition) { $res['triggerCondition'] = $this->triggerCondition; } if (null !== $this->triggerId) { $res['triggerId'] = $this->triggerId; } return $res; } /** * @param array $map * * @return triggerDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['customTriggerId'])) { $model->customTriggerId = $map['customTriggerId']; } if (isset($map['dataGmtCreate'])) { $model->dataGmtCreate = $map['dataGmtCreate']; } if (isset($map['dataGmtModified'])) { $model->dataGmtModified = $map['dataGmtModified']; } if (isset($map['integrationObject'])) { $model->integrationObject = $map['integrationObject']; } if (isset($map['jsonData'])) { $model->jsonData = $map['jsonData']; } if (isset($map['triggerCondition'])) { $model->triggerCondition = $map['triggerCondition']; } if (isset($map['triggerId'])) { $model->triggerId = $map['triggerId']; } return $model; } } src/connector_1_0/Models/SyncDataResponse.php 0000644 00000002677 14713400346 0015163 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncDataResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/SyncDataResponseBody.php 0000644 00000002615 14713400346 0015771 0 ustar 00 'list', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return SyncDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/SyncDataResponseBody/list_.php 0000644 00000004447 14713400346 0017110 0 ustar 00 'bizPrimaryKey', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', 'triggerId' => 'triggerId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizPrimaryKey) { $res['bizPrimaryKey'] = $this->bizPrimaryKey; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->triggerId) { $res['triggerId'] = $this->triggerId; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizPrimaryKey'])) { $model->bizPrimaryKey = $map['bizPrimaryKey']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['triggerId'])) { $model->triggerId = $map['triggerId']; } return $model; } } src/connector_1_0/Models/UpdateActionHeaders.php 0000644 00000002331 14713400346 0015575 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateActionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/UpdateActionRequest.php 0000644 00000003604 14713400346 0015656 0 ustar 00 'actionInfo', 'integratorFlag' => 'integratorFlag', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionInfo) { $res['actionInfo'] = []; if (null !== $this->actionInfo && \is_array($this->actionInfo)) { $n = 0; foreach ($this->actionInfo as $item) { $res['actionInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->integratorFlag) { $res['integratorFlag'] = $this->integratorFlag; } return $res; } /** * @param array $map * * @return UpdateActionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionInfo'])) { if (!empty($map['actionInfo'])) { $model->actionInfo = []; $n = 0; foreach ($map['actionInfo'] as $item) { $model->actionInfo[$n++] = null !== $item ? actionInfo::fromMap($item) : $item; } } } if (isset($map['integratorFlag'])) { $model->integratorFlag = $map['integratorFlag']; } return $model; } } src/connector_1_0/Models/UpdateActionRequest/actionInfo.php 0000644 00000013364 14713400346 0017753 0 ustar 00 'apiPath', 'description' => 'description', 'dingActionId' => 'dingActionId', 'dingConnectorId' => 'dingConnectorId', 'inputMappingConfig' => 'inputMappingConfig', 'inputSchema' => 'inputSchema', 'integratorActionId' => 'integratorActionId', 'integratorConnectorId' => 'integratorConnectorId', 'name' => 'name', 'outputDataRules' => 'outputDataRules', 'outputMappingConfig' => 'outputMappingConfig', 'outputSchema' => 'outputSchema', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiPath) { $res['apiPath'] = $this->apiPath; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->dingActionId) { $res['dingActionId'] = $this->dingActionId; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->inputMappingConfig) { $res['inputMappingConfig'] = null !== $this->inputMappingConfig ? $this->inputMappingConfig->toMap() : null; } if (null !== $this->inputSchema) { $res['inputSchema'] = $this->inputSchema; } if (null !== $this->integratorActionId) { $res['integratorActionId'] = $this->integratorActionId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->outputDataRules) { $res['outputDataRules'] = []; if (null !== $this->outputDataRules && \is_array($this->outputDataRules)) { $n = 0; foreach ($this->outputDataRules as $item) { $res['outputDataRules'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outputMappingConfig) { $res['outputMappingConfig'] = null !== $this->outputMappingConfig ? $this->outputMappingConfig->toMap() : null; } if (null !== $this->outputSchema) { $res['outputSchema'] = $this->outputSchema; } return $res; } /** * @param array $map * * @return actionInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiPath'])) { $model->apiPath = $map['apiPath']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['dingActionId'])) { $model->dingActionId = $map['dingActionId']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['inputMappingConfig'])) { $model->inputMappingConfig = inputMappingConfig::fromMap($map['inputMappingConfig']); } if (isset($map['inputSchema'])) { $model->inputSchema = $map['inputSchema']; } if (isset($map['integratorActionId'])) { $model->integratorActionId = $map['integratorActionId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['outputDataRules'])) { if (!empty($map['outputDataRules'])) { $model->outputDataRules = []; $n = 0; foreach ($map['outputDataRules'] as $item) { $model->outputDataRules[$n++] = null !== $item ? outputDataRules::fromMap($item) : $item; } } } if (isset($map['outputMappingConfig'])) { $model->outputMappingConfig = outputMappingConfig::fromMap($map['outputMappingConfig']); } if (isset($map['outputSchema'])) { $model->outputSchema = $map['outputSchema']; } return $model; } } src/connector_1_0/Models/UpdateActionRequest/actionInfo/inputMappingConfig.php 0000644 00000002327 14713400346 0023551 0 ustar 00 'customSchemaMapping', 'rules' => 'rules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customSchemaMapping) { $res['customSchemaMapping'] = $this->customSchemaMapping; } if (null !== $this->rules) { $res['rules'] = $this->rules; } return $res; } /** * @param array $map * * @return inputMappingConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customSchemaMapping'])) { $model->customSchemaMapping = $map['customSchemaMapping']; } if (isset($map['rules'])) { $model->rules = $map['rules']; } return $model; } } src/connector_1_0/Models/UpdateActionRequest/actionInfo/outputDataRules.php 0000644 00000003047 14713400346 0023115 0 ustar 00 'expectValue', 'operate' => 'operate', 'propertyPath' => 'propertyPath', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->expectValue) { $res['expectValue'] = $this->expectValue; } if (null !== $this->operate) { $res['operate'] = $this->operate; } if (null !== $this->propertyPath) { $res['propertyPath'] = $this->propertyPath; } return $res; } /** * @param array $map * * @return outputDataRules */ public static function fromMap($map = []) { $model = new self(); if (isset($map['expectValue'])) { $model->expectValue = $map['expectValue']; } if (isset($map['operate'])) { $model->operate = $map['operate']; } if (isset($map['propertyPath'])) { $model->propertyPath = $map['propertyPath']; } return $model; } } src/connector_1_0/Models/UpdateActionRequest/actionInfo/outputMappingConfig.php 0000644 00000002331 14713400346 0023745 0 ustar 00 'customSchemaMapping', 'rules' => 'rules', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customSchemaMapping) { $res['customSchemaMapping'] = $this->customSchemaMapping; } if (null !== $this->rules) { $res['rules'] = $this->rules; } return $res; } /** * @param array $map * * @return outputMappingConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customSchemaMapping'])) { $model->customSchemaMapping = $map['customSchemaMapping']; } if (isset($map['rules'])) { $model->rules = $map['rules']; } return $model; } } src/connector_1_0/Models/UpdateActionResponse.php 0000644 00000002717 14713400346 0016030 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateActionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateActionResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/UpdateActionResponseBody.php 0000644 00000002626 14713400346 0016645 0 ustar 00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = []; if (null !== $this->item && \is_array($this->item)) { $n = 0; foreach ($this->item as $item) { $res['item'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateActionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { if (!empty($map['item'])) { $model->item = []; $n = 0; foreach ($map['item'] as $item) { $model->item[$n++] = null !== $item ? item::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/UpdateActionResponseBody/item.php 0000644 00000006373 14713400346 0017606 0 ustar 00 'dingActionId', 'dingConnectorId' => 'dingConnectorId', 'integratorActionId' => 'integratorActionId', 'integratorConnectorId' => 'integratorConnectorId', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingActionId) { $res['dingActionId'] = $this->dingActionId; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->integratorActionId) { $res['integratorActionId'] = $this->integratorActionId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingActionId'])) { $model->dingActionId = $map['dingActionId']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['integratorActionId'])) { $model->integratorActionId = $map['integratorActionId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/connector_1_0/Models/UpdateConnectorHeaders.php 0000644 00000002337 14713400346 0016320 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateConnectorHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/UpdateConnectorRequest.php 0000644 00000003700 14713400346 0016370 0 ustar 00 'connectorInfo', 'integratorFlag' => 'integratorFlag', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->connectorInfo) { $res['connectorInfo'] = []; if (null !== $this->connectorInfo && \is_array($this->connectorInfo)) { $n = 0; foreach ($this->connectorInfo as $item) { $res['connectorInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->integratorFlag) { $res['integratorFlag'] = $this->integratorFlag; } return $res; } /** * @param array $map * * @return UpdateConnectorRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['connectorInfo'])) { if (!empty($map['connectorInfo'])) { $model->connectorInfo = []; $n = 0; foreach ($map['connectorInfo'] as $item) { $model->connectorInfo[$n++] = null !== $item ? connectorInfo::fromMap($item) : $item; } } } if (isset($map['integratorFlag'])) { $model->integratorFlag = $map['integratorFlag']; } return $model; } } src/connector_1_0/Models/UpdateConnectorRequest/connectorInfo.php 0000644 00000007361 14713400346 0021205 0 ustar 00 'apiDomain', 'apiSecret' => 'apiSecret', 'appId' => 'appId', 'authValueEnv' => 'authValueEnv', 'description' => 'description', 'dingConnectorId' => 'dingConnectorId', 'domainEnv' => 'domainEnv', 'iconMediaId' => 'iconMediaId', 'integratorConnectorId' => 'integratorConnectorId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiDomain) { $res['apiDomain'] = $this->apiDomain; } if (null !== $this->apiSecret) { $res['apiSecret'] = $this->apiSecret; } if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->authValueEnv) { $res['authValueEnv'] = $this->authValueEnv; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->domainEnv) { $res['domainEnv'] = $this->domainEnv; } if (null !== $this->iconMediaId) { $res['iconMediaId'] = $this->iconMediaId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return connectorInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiDomain'])) { $model->apiDomain = $map['apiDomain']; } if (isset($map['apiSecret'])) { $model->apiSecret = $map['apiSecret']; } if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['authValueEnv'])) { $model->authValueEnv = $map['authValueEnv']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['domainEnv'])) { $model->domainEnv = $map['domainEnv']; } if (isset($map['iconMediaId'])) { $model->iconMediaId = $map['iconMediaId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/connector_1_0/Models/UpdateConnectorResponse.php 0000644 00000002733 14713400346 0016543 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateConnectorResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateConnectorResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/UpdateConnectorResponseBody.php 0000644 00000002637 14713400346 0017364 0 ustar 00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = []; if (null !== $this->item && \is_array($this->item)) { $n = 0; foreach ($this->item as $item) { $res['item'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateConnectorResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { if (!empty($map['item'])) { $model->item = []; $n = 0; foreach ($map['item'] as $item) { $model->item[$n++] = null !== $item ? item::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/UpdateConnectorResponseBody/item.php 0000644 00000004613 14713400346 0020316 0 ustar 00 'dingConnectorId', 'integratorConnectorId' => 'integratorConnectorId', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/connector_1_0/Models/UpdateTriggerHeaders.php 0000644 00000002333 14713400346 0015765 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTriggerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/connector_1_0/Models/UpdateTriggerRequest.php 0000644 00000003630 14713400346 0016043 0 ustar 00 'integratorFlag', 'triggerInfo' => 'triggerInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->integratorFlag) { $res['integratorFlag'] = $this->integratorFlag; } if (null !== $this->triggerInfo) { $res['triggerInfo'] = []; if (null !== $this->triggerInfo && \is_array($this->triggerInfo)) { $n = 0; foreach ($this->triggerInfo as $item) { $res['triggerInfo'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateTriggerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['integratorFlag'])) { $model->integratorFlag = $map['integratorFlag']; } if (isset($map['triggerInfo'])) { if (!empty($map['triggerInfo'])) { $model->triggerInfo = []; $n = 0; foreach ($map['triggerInfo'] as $item) { $model->triggerInfo[$n++] = null !== $item ? triggerInfo::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/UpdateTriggerRequest/triggerInfo.php 0000644 00000006002 14713400346 0020316 0 ustar 00 'description', 'dingConnectorId' => 'dingConnectorId', 'dingTriggerId' => 'dingTriggerId', 'inputSchema' => 'inputSchema', 'integratorConnectorId' => 'integratorConnectorId', 'integratorTriggerId' => 'integratorTriggerId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->dingTriggerId) { $res['dingTriggerId'] = $this->dingTriggerId; } if (null !== $this->inputSchema) { $res['inputSchema'] = $this->inputSchema; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->integratorTriggerId) { $res['integratorTriggerId'] = $this->integratorTriggerId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return triggerInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['dingTriggerId'])) { $model->dingTriggerId = $map['dingTriggerId']; } if (isset($map['inputSchema'])) { $model->inputSchema = $map['inputSchema']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['integratorTriggerId'])) { $model->integratorTriggerId = $map['integratorTriggerId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/connector_1_0/Models/UpdateTriggerResponse.php 0000644 00000002723 14713400346 0016213 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTriggerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTriggerResponseBody::fromMap($map['body']); } return $model; } } src/connector_1_0/Models/UpdateTriggerResponseBody.php 0000644 00000002631 14713400346 0017027 0 ustar 00 'item', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->item) { $res['item'] = []; if (null !== $this->item && \is_array($this->item)) { $n = 0; foreach ($this->item as $item) { $res['item'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateTriggerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['item'])) { if (!empty($map['item'])) { $model->item = []; $n = 0; foreach ($map['item'] as $item) { $model->item[$n++] = null !== $item ? item::fromMap($item) : $item; } } } return $model; } } src/connector_1_0/Models/UpdateTriggerResponseBody/item.php 0000644 00000006412 14713400346 0017766 0 ustar 00 'dingConnectorId', 'dingTriggerId' => 'dingTriggerId', 'integratorConnectorId' => 'integratorConnectorId', 'integratorTriggerId' => 'integratorTriggerId', 'subErrCode' => 'subErrCode', 'subErrMsg' => 'subErrMsg', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingConnectorId) { $res['dingConnectorId'] = $this->dingConnectorId; } if (null !== $this->dingTriggerId) { $res['dingTriggerId'] = $this->dingTriggerId; } if (null !== $this->integratorConnectorId) { $res['integratorConnectorId'] = $this->integratorConnectorId; } if (null !== $this->integratorTriggerId) { $res['integratorTriggerId'] = $this->integratorTriggerId; } if (null !== $this->subErrCode) { $res['subErrCode'] = $this->subErrCode; } if (null !== $this->subErrMsg) { $res['subErrMsg'] = $this->subErrMsg; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return item */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingConnectorId'])) { $model->dingConnectorId = $map['dingConnectorId']; } if (isset($map['dingTriggerId'])) { $model->dingTriggerId = $map['dingTriggerId']; } if (isset($map['integratorConnectorId'])) { $model->integratorConnectorId = $map['integratorConnectorId']; } if (isset($map['integratorTriggerId'])) { $model->integratorTriggerId = $map['integratorTriggerId']; } if (isset($map['subErrCode'])) { $model->subErrCode = $map['subErrCode']; } if (isset($map['subErrMsg'])) { $model->subErrMsg = $map['subErrMsg']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contact_1_0/Dingtalk.php 0000644 00000630111 14713400346 0011677 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建账号映射 * * * @param AddAccountMappingRequest $request AddAccountMappingRequest * @param AddAccountMappingHeaders $headers AddAccountMappingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddAccountMappingResponse AddAccountMappingResponse */ public function addAccountMappingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->domain)) { $body['domain'] = $request->domain; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->outId)) { $body['outId'] = $request->outId; } if (!Utils::isUnset($request->outTenantId)) { $body['outTenantId'] = $request->outTenantId; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddAccountMapping', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/accountMappings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddAccountMappingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建账号映射 * * * @param AddAccountMappingRequest $request AddAccountMappingRequest * * @return AddAccountMappingResponse AddAccountMappingResponse */ public function addAccountMapping($request) { $runtime = new RuntimeOptions([]); $headers = new AddAccountMappingHeaders([]); return $this->addAccountMappingWithOptions($request, $headers, $runtime); } /** * @summary 添加通讯录组织架构分场景隐藏设置 * * * @param AddContactHideBySceneSettingRequest $request AddContactHideBySceneSettingRequest * @param AddContactHideBySceneSettingHeaders $headers AddContactHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddContactHideBySceneSettingResponse AddContactHideBySceneSettingResponse */ public function addContactHideBySceneSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->excludeUserIds)) { $body['excludeUserIds'] = $request->excludeUserIds; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->nodeListSceneConfig)) { $body['nodeListSceneConfig'] = $request->nodeListSceneConfig; } if (!Utils::isUnset($request->objectDeptIds)) { $body['objectDeptIds'] = $request->objectDeptIds; } if (!Utils::isUnset($request->objectTagIds)) { $body['objectTagIds'] = $request->objectTagIds; } if (!Utils::isUnset($request->objectUserIds)) { $body['objectUserIds'] = $request->objectUserIds; } if (!Utils::isUnset($request->profileSceneConfig)) { $body['profileSceneConfig'] = $request->profileSceneConfig; } if (!Utils::isUnset($request->searchSceneConfig)) { $body['searchSceneConfig'] = $request->searchSceneConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddContactHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/organizations/hides/settings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddContactHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加通讯录组织架构分场景隐藏设置 * * * @param AddContactHideBySceneSettingRequest $request AddContactHideBySceneSettingRequest * * @return AddContactHideBySceneSettingResponse AddContactHideBySceneSettingResponse */ public function addContactHideBySceneSetting($request) { $runtime = new RuntimeOptions([]); $headers = new AddContactHideBySceneSettingHeaders([]); return $this->addContactHideBySceneSettingWithOptions($request, $headers, $runtime); } /** * @summary 添加员工属性分场景隐藏设置 * * * @param AddEmpAttributeHideBySceneSettingRequest $request AddEmpAttributeHideBySceneSettingRequest * @param AddEmpAttributeHideBySceneSettingHeaders $headers AddEmpAttributeHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddEmpAttributeHideBySceneSettingResponse AddEmpAttributeHideBySceneSettingResponse */ public function addEmpAttributeHideBySceneSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatSubtitleConfig)) { $body['chatSubtitleConfig'] = $request->chatSubtitleConfig; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->excludeUserIds)) { $body['excludeUserIds'] = $request->excludeUserIds; } if (!Utils::isUnset($request->hideFields)) { $body['hideFields'] = $request->hideFields; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->objectDeptIds)) { $body['objectDeptIds'] = $request->objectDeptIds; } if (!Utils::isUnset($request->objectTagIds)) { $body['objectTagIds'] = $request->objectTagIds; } if (!Utils::isUnset($request->objectUserIds)) { $body['objectUserIds'] = $request->objectUserIds; } if (!Utils::isUnset($request->profileSceneConfig)) { $body['profileSceneConfig'] = $request->profileSceneConfig; } if (!Utils::isUnset($request->searchSceneConfig)) { $body['searchSceneConfig'] = $request->searchSceneConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddEmpAttributeHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/empAttributes/hides/settings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddEmpAttributeHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加员工属性分场景隐藏设置 * * * @param AddEmpAttributeHideBySceneSettingRequest $request AddEmpAttributeHideBySceneSettingRequest * * @return AddEmpAttributeHideBySceneSettingResponse AddEmpAttributeHideBySceneSettingResponse */ public function addEmpAttributeHideBySceneSetting($request) { $runtime = new RuntimeOptions([]); $headers = new AddEmpAttributeHideBySceneSettingHeaders([]); return $this->addEmpAttributeHideBySceneSettingWithOptions($request, $headers, $runtime); } /** * @summary 新增企业账号工作状态 * * * @param AddOrgAccountOwnnessRequest $request AddOrgAccountOwnnessRequest * @param AddOrgAccountOwnnessHeaders $headers AddOrgAccountOwnnessHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddOrgAccountOwnnessResponse AddOrgAccountOwnnessResponse */ public function addOrgAccountOwnnessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->ownenssType)) { $body['ownenssType'] = $request->ownenssType; } if (!Utils::isUnset($request->ownnessId)) { $body['ownnessId'] = $request->ownnessId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->text)) { $body['text'] = $request->text; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddOrgAccountOwnness', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/owness', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddOrgAccountOwnnessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增企业账号工作状态 * * * @param AddOrgAccountOwnnessRequest $request AddOrgAccountOwnnessRequest * * @return AddOrgAccountOwnnessResponse AddOrgAccountOwnnessResponse */ public function addOrgAccountOwnness($request) { $runtime = new RuntimeOptions([]); $headers = new AddOrgAccountOwnnessHeaders([]); return $this->addOrgAccountOwnnessWithOptions($request, $headers, $runtime); } /** * @summary 年检认证审核 * * * @param AnnualCertificationAuditRequest $request AnnualCertificationAuditRequest * @param AnnualCertificationAuditHeaders $headers AnnualCertificationAuditHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AnnualCertificationAuditResponse AnnualCertificationAuditResponse */ public function annualCertificationAuditWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->applicantMobile)) { $body['applicantMobile'] = $request->applicantMobile; } if (!Utils::isUnset($request->applicantName)) { $body['applicantName'] = $request->applicantName; } if (!Utils::isUnset($request->applicationLetter)) { $body['applicationLetter'] = $request->applicationLetter; } if (!Utils::isUnset($request->authStatus)) { $body['authStatus'] = $request->authStatus; } if (!Utils::isUnset($request->certificateType)) { $body['certificateType'] = $request->certificateType; } if (!Utils::isUnset($request->corpName)) { $body['corpName'] = $request->corpName; } if (!Utils::isUnset($request->depositaryBank)) { $body['depositaryBank'] = $request->depositaryBank; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->legalPerson)) { $body['legalPerson'] = $request->legalPerson; } if (!Utils::isUnset($request->licenseNumber)) { $body['licenseNumber'] = $request->licenseNumber; } if (!Utils::isUnset($request->licenseUrl)) { $body['licenseUrl'] = $request->licenseUrl; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } if (!Utils::isUnset($request->publicAccount)) { $body['publicAccount'] = $request->publicAccount; } if (!Utils::isUnset($request->reasonCode)) { $body['reasonCode'] = $request->reasonCode; } if (!Utils::isUnset($request->reasonMsg)) { $body['reasonMsg'] = $request->reasonMsg; } if (!Utils::isUnset($request->tag)) { $body['tag'] = $request->tag; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AnnualCertificationAudit', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/organizations/authorities/audit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AnnualCertificationAuditResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 年检认证审核 * * * @param AnnualCertificationAuditRequest $request AnnualCertificationAuditRequest * * @return AnnualCertificationAuditResponse AnnualCertificationAuditResponse */ public function annualCertificationAudit($request) { $runtime = new RuntimeOptions([]); $headers = new AnnualCertificationAuditHeaders([]); return $this->annualCertificationAuditWithOptions($request, $headers, $runtime); } /** * @summary 批量同意(合作空间/集团)的关联申请 * * * @param BatchApproveUnionApplyRequest $request BatchApproveUnionApplyRequest * @param BatchApproveUnionApplyHeaders $headers BatchApproveUnionApplyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchApproveUnionApplyResponse BatchApproveUnionApplyResponse */ public function batchApproveUnionApplyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'BatchApproveUnionApply', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cooperateCorps/unionApplications/approve', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchApproveUnionApplyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量同意(合作空间/集团)的关联申请 * * * @param BatchApproveUnionApplyRequest $request BatchApproveUnionApplyRequest * * @return BatchApproveUnionApplyResponse BatchApproveUnionApplyResponse */ public function batchApproveUnionApply($request) { $runtime = new RuntimeOptions([]); $headers = new BatchApproveUnionApplyHeaders([]); return $this->batchApproveUnionApplyWithOptions($request, $headers, $runtime); } /** * @summary 专属帐号转交主管理员(创建者) * * * @param ChangeMainAdminRequest $request ChangeMainAdminRequest * @param ChangeMainAdminHeaders $headers ChangeMainAdminHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ChangeMainAdminResponse ChangeMainAdminResponse */ public function changeMainAdminWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->effectCorpId)) { $body['effectCorpId'] = $request->effectCorpId; } if (!Utils::isUnset($request->sourceUserId)) { $body['sourceUserId'] = $request->sourceUserId; } if (!Utils::isUnset($request->targetUserId)) { $body['targetUserId'] = $request->targetUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ChangeMainAdmin', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/mainAdministrators/change', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return ChangeMainAdminResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 专属帐号转交主管理员(创建者) * * * @param ChangeMainAdminRequest $request ChangeMainAdminRequest * * @return ChangeMainAdminResponse ChangeMainAdminResponse */ public function changeMainAdmin($request) { $runtime = new RuntimeOptions([]); $headers = new ChangeMainAdminHeaders([]); return $this->changeMainAdminWithOptions($request, $headers, $runtime); } /** * @summary 创建合作空间 * * * @param CreateCooperateOrgRequest $request CreateCooperateOrgRequest * @param CreateCooperateOrgHeaders $headers CreateCooperateOrgHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateCooperateOrgResponse CreateCooperateOrgResponse */ public function createCooperateOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->industryCode)) { $body['industryCode'] = $request->industryCode; } if (!Utils::isUnset($request->logoMediaId)) { $body['logoMediaId'] = $request->logoMediaId; } if (!Utils::isUnset($request->orgName)) { $body['orgName'] = $request->orgName; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCooperateOrg', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cooperateCorps', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateCooperateOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建合作空间 * * * @param CreateCooperateOrgRequest $request CreateCooperateOrgRequest * * @return CreateCooperateOrgResponse CreateCooperateOrgResponse */ public function createCooperateOrg($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCooperateOrgHeaders([]); return $this->createCooperateOrgWithOptions($request, $headers, $runtime); } /** * @summary 创建管理组 * * * @param CreateManagementGroupRequest $request CreateManagementGroupRequest * @param CreateManagementGroupHeaders $headers CreateManagementGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateManagementGroupResponse CreateManagementGroupResponse */ public function createManagementGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->resourceIds)) { $body['resourceIds'] = $request->resourceIds; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateManagementGroup', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/managementGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateManagementGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建管理组 * * * @param CreateManagementGroupRequest $request CreateManagementGroupRequest * * @return CreateManagementGroupResponse CreateManagementGroupResponse */ public function createManagementGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateManagementGroupHeaders([]); return $this->createManagementGroupWithOptions($request, $headers, $runtime); } /** * @summary 子管理员创建管理组 * * * @param CreateSecondaryManagementGroupRequest $request CreateSecondaryManagementGroupRequest * @param CreateSecondaryManagementGroupHeaders $headers CreateSecondaryManagementGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateSecondaryManagementGroupResponse CreateSecondaryManagementGroupResponse */ public function createSecondaryManagementGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->resourceIds)) { $body['resourceIds'] = $request->resourceIds; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateSecondaryManagementGroup', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/secondaryAdministrators/managementGroups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateSecondaryManagementGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 子管理员创建管理组 * * * @param CreateSecondaryManagementGroupRequest $request CreateSecondaryManagementGroupRequest * * @return CreateSecondaryManagementGroupResponse CreateSecondaryManagementGroupResponse */ public function createSecondaryManagementGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateSecondaryManagementGroupHeaders([]); return $this->createSecondaryManagementGroupWithOptions($request, $headers, $runtime); } /** * @summary 删除账号映射 * * * @param DelAccountMappingRequest $request DelAccountMappingRequest * @param DelAccountMappingHeaders $headers DelAccountMappingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DelAccountMappingResponse DelAccountMappingResponse */ public function delAccountMappingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->domain)) { $query['domain'] = $request->domain; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DelAccountMapping', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/accountMappings', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DelAccountMappingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除账号映射 * * * @param DelAccountMappingRequest $request DelAccountMappingRequest * * @return DelAccountMappingResponse DelAccountMappingResponse */ public function delAccountMapping($request) { $runtime = new RuntimeOptions([]); $headers = new DelAccountMappingHeaders([]); return $this->delAccountMappingWithOptions($request, $headers, $runtime); } /** * @summary 删除企业账号工作状态 * * * @param DelOrgAccUserOwnnessRequest $request DelOrgAccUserOwnnessRequest * @param DelOrgAccUserOwnnessHeaders $headers DelOrgAccUserOwnnessHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DelOrgAccUserOwnnessResponse DelOrgAccUserOwnnessResponse */ public function delOrgAccUserOwnnessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->ownenssType)) { $query['ownenssType'] = $request->ownenssType; } if (!Utils::isUnset($request->ownnessId)) { $query['ownnessId'] = $request->ownnessId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DelOrgAccUserOwnness', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/ownness', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DelOrgAccUserOwnnessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除企业账号工作状态 * * * @param DelOrgAccUserOwnnessRequest $request DelOrgAccUserOwnnessRequest * * @return DelOrgAccUserOwnnessResponse DelOrgAccUserOwnnessResponse */ public function delOrgAccUserOwnness($request) { $runtime = new RuntimeOptions([]); $headers = new DelOrgAccUserOwnnessHeaders([]); return $this->delOrgAccUserOwnnessWithOptions($request, $headers, $runtime); } /** * @summary 删除通讯录组织架构分场景隐藏设置 * * * @param string $settingId * @param DeleteContactHideBySceneSettingHeaders $headers DeleteContactHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteContactHideBySceneSettingResponse DeleteContactHideBySceneSettingResponse */ public function deleteContactHideBySceneSettingWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteContactHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/organizations/hides/settings/' . $settingId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteContactHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除通讯录组织架构分场景隐藏设置 * * * @param string $settingId * * @return DeleteContactHideBySceneSettingResponse DeleteContactHideBySceneSettingResponse */ public function deleteContactHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteContactHideBySceneSettingHeaders([]); return $this->deleteContactHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @summary 删除通讯录隐藏设置 * * * @param string $settingId * @param DeleteContactHideSettingHeaders $headers DeleteContactHideSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteContactHideSettingResponse DeleteContactHideSettingResponse */ public function deleteContactHideSettingWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteContactHideSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/contactHideSettings/' . $settingId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteContactHideSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除通讯录隐藏设置 * * * @param string $settingId * * @return DeleteContactHideSettingResponse DeleteContactHideSettingResponse */ public function deleteContactHideSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteContactHideSettingHeaders([]); return $this->deleteContactHideSettingWithOptions($settingId, $headers, $runtime); } /** * @summary 删除限制查看通讯录设置 * * * @param string $settingId * @param DeleteContactRestrictSettingHeaders $headers DeleteContactRestrictSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteContactRestrictSettingResponse DeleteContactRestrictSettingResponse */ public function deleteContactRestrictSettingWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteContactRestrictSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/restrictions/settings/' . $settingId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteContactRestrictSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除限制查看通讯录设置 * * * @param string $settingId * * @return DeleteContactRestrictSettingResponse DeleteContactRestrictSettingResponse */ public function deleteContactRestrictSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteContactRestrictSettingHeaders([]); return $this->deleteContactRestrictSettingWithOptions($settingId, $headers, $runtime); } /** * @summary 删除员工属性分场景隐藏设置 * * * @param string $settingId * @param DeleteEmpAttributeHideBySceneSettingHeaders $headers DeleteEmpAttributeHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteEmpAttributeHideBySceneSettingResponse DeleteEmpAttributeHideBySceneSettingResponse */ public function deleteEmpAttributeHideBySceneSettingWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteEmpAttributeHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/empAttributes/hides/settings/' . $settingId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteEmpAttributeHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除员工属性分场景隐藏设置 * * * @param string $settingId * * @return DeleteEmpAttributeHideBySceneSettingResponse DeleteEmpAttributeHideBySceneSettingResponse */ public function deleteEmpAttributeHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteEmpAttributeHideBySceneSettingHeaders([]); return $this->deleteEmpAttributeHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @summary 删除员工字段可见性设置 * * * @param string $settingId * @param DeleteEmpAttributeVisibilityHeaders $headers DeleteEmpAttributeVisibilityHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteEmpAttributeVisibilityResponse DeleteEmpAttributeVisibilityResponse */ public function deleteEmpAttributeVisibilityWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteEmpAttributeVisibility', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/staffAttributes/visibilitySettings/' . $settingId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteEmpAttributeVisibilityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除员工字段可见性设置 * * * @param string $settingId * * @return DeleteEmpAttributeVisibilityResponse DeleteEmpAttributeVisibilityResponse */ public function deleteEmpAttributeVisibility($settingId) { $runtime = new RuntimeOptions([]); $headers = new DeleteEmpAttributeVisibilityHeaders([]); return $this->deleteEmpAttributeVisibilityWithOptions($settingId, $headers, $runtime); } /** * @summary 删除管理组 * * * @param string $groupId * @param DeleteManagementGroupHeaders $headers DeleteManagementGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteManagementGroupResponse DeleteManagementGroupResponse */ public function deleteManagementGroupWithOptions($groupId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'DeleteManagementGroup', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/managementGroups/' . $groupId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeleteManagementGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除管理组 * * * @param string $groupId * * @return DeleteManagementGroupResponse DeleteManagementGroupResponse */ public function deleteManagementGroup($groupId) { $runtime = new RuntimeOptions([]); $headers = new DeleteManagementGroupHeaders([]); return $this->deleteManagementGroupWithOptions($groupId, $headers, $runtime); } /** * @summary 获取账号映射 * * * @param GetAccountMappingRequest $request GetAccountMappingRequest * @param GetAccountMappingHeaders $headers GetAccountMappingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAccountMappingResponse GetAccountMappingResponse */ public function getAccountMappingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->domain)) { $query['domain'] = $request->domain; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAccountMapping', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/accountMappings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAccountMappingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取账号映射 * * * @param GetAccountMappingRequest $request GetAccountMappingRequest * * @return GetAccountMappingResponse GetAccountMappingResponse */ public function getAccountMapping($request) { $runtime = new RuntimeOptions([]); $headers = new GetAccountMappingHeaders([]); return $this->getAccountMappingWithOptions($request, $headers, $runtime); } /** * @summary 获取企业的邀请信息,如果传部门ID则邀请链接为邀请加入部门,否则加入根部门;如果企业未开启邀请或者链接申请加入邀请链接为null * * * @param GetApplyInviteInfoRequest $request GetApplyInviteInfoRequest * @param GetApplyInviteInfoHeaders $headers GetApplyInviteInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetApplyInviteInfoResponse GetApplyInviteInfoResponse */ public function getApplyInviteInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->inviterUserId)) { $query['inviterUserId'] = $request->inviterUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetApplyInviteInfo', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/invites/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetApplyInviteInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业的邀请信息,如果传部门ID则邀请链接为邀请加入部门,否则加入根部门;如果企业未开启邀请或者链接申请加入邀请链接为null * * * @param GetApplyInviteInfoRequest $request GetApplyInviteInfoRequest * * @return GetApplyInviteInfoResponse GetApplyInviteInfoResponse */ public function getApplyInviteInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetApplyInviteInfoHeaders([]); return $this->getApplyInviteInfoWithOptions($request, $headers, $runtime); } /** * @summary 分支授权主干的行业数据 * * * @param GetBranchAuthDataRequest $request GetBranchAuthDataRequest * @param GetBranchAuthDataHeaders $headers GetBranchAuthDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetBranchAuthDataResponse GetBranchAuthDataResponse */ public function getBranchAuthDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->branchCorpId)) { $query['branchCorpId'] = $request->branchCorpId; } if (!Utils::isUnset($request->code)) { $query['code'] = $request->code; } $body = []; if (!Utils::isUnset($request->body)) { $body['body'] = $request->body; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetBranchAuthData', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/branchAuthDatas/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetBranchAuthDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分支授权主干的行业数据 * * * @param GetBranchAuthDataRequest $request GetBranchAuthDataRequest * * @return GetBranchAuthDataResponse GetBranchAuthDataResponse */ public function getBranchAuthData($request) { $runtime = new RuntimeOptions([]); $headers = new GetBranchAuthDataHeaders([]); return $this->getBranchAuthDataWithOptions($request, $headers, $runtime); } /** * @summary 查询用户名片夹中的某张名片信息 * * * @param string $cardId * @param GetCardInUserHolderHeaders $headers GetCardInUserHolderHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCardInUserHolderResponse GetCardInUserHolderResponse */ public function getCardInUserHolderWithOptions($cardId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCardInUserHolder', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/holders/infos/' . $cardId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCardInUserHolderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户名片夹中的某张名片信息 * * * @param string $cardId * * @return GetCardInUserHolderResponse GetCardInUserHolderResponse */ public function getCardInUserHolder($cardId) { $runtime = new RuntimeOptions([]); $headers = new GetCardInUserHolderHeaders([]); return $this->getCardInUserHolderWithOptions($cardId, $headers, $runtime); } /** * @summary 查询用户名片信息 * * * @param string $cardId * @param GetCardInfoHeaders $headers GetCardInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCardInfoResponse GetCardInfoResponse */ public function getCardInfoWithOptions($cardId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCardInfo', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/infos/' . $cardId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCardInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户名片信息 * * * @param string $cardId * * @return GetCardInfoResponse GetCardInfoResponse */ public function getCardInfo($cardId) { $runtime = new RuntimeOptions([]); $headers = new GetCardInfoHeaders([]); return $this->getCardInfoWithOptions($cardId, $headers, $runtime); } /** * @summary 获取通讯录组织架构分场景隐藏设置 * * * @param string $settingId * @param GetContactHideBySceneSettingHeaders $headers GetContactHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetContactHideBySceneSettingResponse GetContactHideBySceneSettingResponse */ public function getContactHideBySceneSettingWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetContactHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/organizations/hides/settings/' . $settingId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetContactHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取通讯录组织架构分场景隐藏设置 * * * @param string $settingId * * @return GetContactHideBySceneSettingResponse GetContactHideBySceneSettingResponse */ public function getContactHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new GetContactHideBySceneSettingHeaders([]); return $this->getContactHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @summary 获取邀请加入合作空间链接,分享链接之后企业可以申请加入 * * * @param string $cooperateCorpId * @param GetCooperateOrgInviteInfoHeaders $headers GetCooperateOrgInviteInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCooperateOrgInviteInfoResponse GetCooperateOrgInviteInfoResponse */ public function getCooperateOrgInviteInfoWithOptions($cooperateCorpId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCooperateOrgInviteInfo', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cooperateCorps/' . $cooperateCorpId . '/inviteInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCooperateOrgInviteInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取邀请加入合作空间链接,分享链接之后企业可以申请加入 * * * @param string $cooperateCorpId * * @return GetCooperateOrgInviteInfoResponse GetCooperateOrgInviteInfoResponse */ public function getCooperateOrgInviteInfo($cooperateCorpId) { $runtime = new RuntimeOptions([]); $headers = new GetCooperateOrgInviteInfoHeaders([]); return $this->getCooperateOrgInviteInfoWithOptions($cooperateCorpId, $headers, $runtime); } /** * @summary 查询企业模板列表 * * * @param GetCorpCardStyleListHeaders $headers GetCorpCardStyleListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCorpCardStyleListResponse GetCorpCardStyleListResponse */ public function getCorpCardStyleListWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCorpCardStyleList', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/styles/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCorpCardStyleListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询企业模板列表 * * * @return GetCorpCardStyleListResponse GetCorpCardStyleListResponse */ public function getCorpCardStyleList() { $runtime = new RuntimeOptions([]); $headers = new GetCorpCardStyleListHeaders([]); return $this->getCorpCardStyleListWithOptions($headers, $runtime); } /** * @summary 普通帐号迁移为专属帐号后,根据迁移后的dingId查询原dingId * * * @param GetDingIdByMigrationDingIdRequest $request GetDingIdByMigrationDingIdRequest * @param GetDingIdByMigrationDingIdHeaders $headers GetDingIdByMigrationDingIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDingIdByMigrationDingIdResponse GetDingIdByMigrationDingIdResponse */ public function getDingIdByMigrationDingIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->migrationDingId)) { $query['migrationDingId'] = $request->migrationDingId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDingIdByMigrationDingId', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccount/getDingIdByMigrationDingIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDingIdByMigrationDingIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 普通帐号迁移为专属帐号后,根据迁移后的dingId查询原dingId * * * @param GetDingIdByMigrationDingIdRequest $request GetDingIdByMigrationDingIdRequest * * @return GetDingIdByMigrationDingIdResponse GetDingIdByMigrationDingIdResponse */ public function getDingIdByMigrationDingId($request) { $runtime = new RuntimeOptions([]); $headers = new GetDingIdByMigrationDingIdHeaders([]); return $this->getDingIdByMigrationDingIdWithOptions($request, $headers, $runtime); } /** * @summary 获取员工属性分场景隐藏设置 * * * @param string $settingId * @param GetEmpAttributeHideBySceneSettingHeaders $headers GetEmpAttributeHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetEmpAttributeHideBySceneSettingResponse GetEmpAttributeHideBySceneSettingResponse */ public function getEmpAttributeHideBySceneSettingWithOptions($settingId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetEmpAttributeHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/empAttributes/hides/settings/' . $settingId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEmpAttributeHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取员工属性分场景隐藏设置 * * * @param string $settingId * * @return GetEmpAttributeHideBySceneSettingResponse GetEmpAttributeHideBySceneSettingResponse */ public function getEmpAttributeHideBySceneSetting($settingId) { $runtime = new RuntimeOptions([]); $headers = new GetEmpAttributeHideBySceneSettingHeaders([]); return $this->getEmpAttributeHideBySceneSettingWithOptions($settingId, $headers, $runtime); } /** * @summary 获取企业最新的钉钉指数 * * * @param GetLatestDingIndexHeaders $headers GetLatestDingIndexHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetLatestDingIndexResponse GetLatestDingIndexResponse */ public function getLatestDingIndexWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetLatestDingIndex', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/dingIndexs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetLatestDingIndexResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业最新的钉钉指数 * * * @return GetLatestDingIndexResponse GetLatestDingIndexResponse */ public function getLatestDingIndex() { $runtime = new RuntimeOptions([]); $headers = new GetLatestDingIndexHeaders([]); return $this->getLatestDingIndexWithOptions($headers, $runtime); } /** * @summary 普通帐号迁移为专属帐号后,根据原dingId查询迁移后的dingId * * * @param GetMigrationDingIdByDingIdRequest $request GetMigrationDingIdByDingIdRequest * @param GetMigrationDingIdByDingIdHeaders $headers GetMigrationDingIdByDingIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMigrationDingIdByDingIdResponse GetMigrationDingIdByDingIdResponse */ public function getMigrationDingIdByDingIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dingId)) { $query['dingId'] = $request->dingId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMigrationDingIdByDingId', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccount/getMigrationDingIdByDingIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMigrationDingIdByDingIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 普通帐号迁移为专属帐号后,根据原dingId查询迁移后的dingId * * * @param GetMigrationDingIdByDingIdRequest $request GetMigrationDingIdByDingIdRequest * * @return GetMigrationDingIdByDingIdResponse GetMigrationDingIdByDingIdResponse */ public function getMigrationDingIdByDingId($request) { $runtime = new RuntimeOptions([]); $headers = new GetMigrationDingIdByDingIdHeaders([]); return $this->getMigrationDingIdByDingIdWithOptions($request, $headers, $runtime); } /** * @summary 普通帐号迁移为专属帐号后,根据原unionId查询迁移后的unionId * * * @param GetMigrationUnionIdByUnionIdRequest $request GetMigrationUnionIdByUnionIdRequest * @param GetMigrationUnionIdByUnionIdHeaders $headers GetMigrationUnionIdByUnionIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMigrationUnionIdByUnionIdResponse GetMigrationUnionIdByUnionIdResponse */ public function getMigrationUnionIdByUnionIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMigrationUnionIdByUnionId', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccount/getMigrationUnionIdByUnionIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetMigrationUnionIdByUnionIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 普通帐号迁移为专属帐号后,根据原unionId查询迁移后的unionId * * * @param GetMigrationUnionIdByUnionIdRequest $request GetMigrationUnionIdByUnionIdRequest * * @return GetMigrationUnionIdByUnionIdResponse GetMigrationUnionIdByUnionIdResponse */ public function getMigrationUnionIdByUnionId($request) { $runtime = new RuntimeOptions([]); $headers = new GetMigrationUnionIdByUnionIdHeaders([]); return $this->getMigrationUnionIdByUnionIdWithOptions($request, $headers, $runtime); } /** * @summary 查询企业认证信息 * * * @param GetOrgAuthInfoRequest $request GetOrgAuthInfoRequest * @param GetOrgAuthInfoHeaders $headers GetOrgAuthInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOrgAuthInfoResponse GetOrgAuthInfoResponse */ public function getOrgAuthInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->targetCorpId)) { $query['targetCorpId'] = $request->targetCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOrgAuthInfo', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/organizations/authInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOrgAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询企业认证信息 * * * @param GetOrgAuthInfoRequest $request GetOrgAuthInfoRequest * * @return GetOrgAuthInfoResponse GetOrgAuthInfoResponse */ public function getOrgAuthInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetOrgAuthInfoHeaders([]); return $this->getOrgAuthInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取异步文件内容转译结果 * * * @param GetTranslateFileJobResultRequest $request GetTranslateFileJobResultRequest * @param GetTranslateFileJobResultHeaders $headers GetTranslateFileJobResultHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetTranslateFileJobResultResponse GetTranslateFileJobResultResponse */ public function getTranslateFileJobResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->jobId)) { $query['jobId'] = $request->jobId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTranslateFileJobResult', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/files/translateResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTranslateFileJobResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取异步文件内容转译结果 * * * @param GetTranslateFileJobResultRequest $request GetTranslateFileJobResultRequest * * @return GetTranslateFileJobResultResponse GetTranslateFileJobResultResponse */ public function getTranslateFileJobResult($request) { $runtime = new RuntimeOptions([]); $headers = new GetTranslateFileJobResultHeaders([]); return $this->getTranslateFileJobResultWithOptions($request, $headers, $runtime); } /** * @summary 普通帐号迁移为专属帐号后,根据迁移后的unionId查询原unionId * * * @param GetUnionIdByMigrationUnionIdRequest $request GetUnionIdByMigrationUnionIdRequest * @param GetUnionIdByMigrationUnionIdHeaders $headers GetUnionIdByMigrationUnionIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUnionIdByMigrationUnionIdResponse GetUnionIdByMigrationUnionIdResponse */ public function getUnionIdByMigrationUnionIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->migrationUnionId)) { $query['migrationUnionId'] = $request->migrationUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUnionIdByMigrationUnionId', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccount/getUnionIdByMigrationUnionIds', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUnionIdByMigrationUnionIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 普通帐号迁移为专属帐号后,根据迁移后的unionId查询原unionId * * * @param GetUnionIdByMigrationUnionIdRequest $request GetUnionIdByMigrationUnionIdRequest * * @return GetUnionIdByMigrationUnionIdResponse GetUnionIdByMigrationUnionIdResponse */ public function getUnionIdByMigrationUnionId($request) { $runtime = new RuntimeOptions([]); $headers = new GetUnionIdByMigrationUnionIdHeaders([]); return $this->getUnionIdByMigrationUnionIdWithOptions($request, $headers, $runtime); } /** * @summary 获取用户个人信息 * * * @param string $unionId * @param GetUserHeaders $headers GetUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserResponse GetUserResponse */ public function getUserWithOptions($unionId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetUser', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/users/' . $unionId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取用户个人信息 * * * @param string $unionId * * @return GetUserResponse GetUserResponse */ public function getUser($unionId) { $runtime = new RuntimeOptions([]); $headers = new GetUserHeaders([]); return $this->getUserWithOptions($unionId, $headers, $runtime); } /** * @summary 查询用户名片夹信息 * * * @param GetUserCardHolderListRequest $request GetUserCardHolderListRequest * @param GetUserCardHolderListHeaders $headers GetUserCardHolderListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserCardHolderListResponse GetUserCardHolderListResponse */ public function getUserCardHolderListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUserCardHolderList', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/holders/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetUserCardHolderListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户名片夹信息 * * * @param GetUserCardHolderListRequest $request GetUserCardHolderListRequest * * @return GetUserCardHolderListResponse GetUserCardHolderListResponse */ public function getUserCardHolderList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserCardHolderListHeaders([]); return $this->getUserCardHolderListWithOptions($request, $headers, $runtime); } /** * @summary 判断某用户跟给定专属账号是否存在好友关系 * * * @param IsFriendRequest $request IsFriendRequest * @param IsFriendHeaders $headers IsFriendHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return IsFriendResponse IsFriendResponse */ public function isFriendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->mobileNo)) { $body['mobileNo'] = $request->mobileNo; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IsFriend', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/relationships/friends/judge', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IsFriendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 判断某用户跟给定专属账号是否存在好友关系 * * * @param IsFriendRequest $request IsFriendRequest * * @return IsFriendResponse IsFriendResponse */ public function isFriend($request) { $runtime = new RuntimeOptions([]); $headers = new IsFriendHeaders([]); return $this->isFriendWithOptions($request, $headers, $runtime); } /** * @summary 名片事件推送 * * * @param IsvCardEventPushRequest $request IsvCardEventPushRequest * @param IsvCardEventPushHeaders $headers IsvCardEventPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return IsvCardEventPushResponse IsvCardEventPushResponse */ public function isvCardEventPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->isvCardId)) { $query['isvCardId'] = $request->isvCardId; } if (!Utils::isUnset($request->isvToken)) { $query['isvToken'] = $request->isvToken; } if (!Utils::isUnset($request->isvUid)) { $query['isvUid'] = $request->isvUid; } $body = []; if (!Utils::isUnset($request->eventParams)) { $body['eventParams'] = $request->eventParams; } if (!Utils::isUnset($request->eventType)) { $body['eventType'] = $request->eventType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'IsvCardEventPush', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/events/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return IsvCardEventPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 名片事件推送 * * * @param IsvCardEventPushRequest $request IsvCardEventPushRequest * * @return IsvCardEventPushResponse IsvCardEventPushResponse */ public function isvCardEventPush($request) { $runtime = new RuntimeOptions([]); $headers = new IsvCardEventPushHeaders([]); return $this->isvCardEventPushWithOptions($request, $headers, $runtime); } /** * @summary 拉取管理组基本信息列表分页接口 * * * @param ListBasicRoleInPageRequest $request ListBasicRoleInPageRequest * @param ListBasicRoleInPageHeaders $headers ListBasicRoleInPageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListBasicRoleInPageResponse ListBasicRoleInPageResponse */ public function listBasicRoleInPageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->agentId)) { $query['agentId'] = $request->agentId; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListBasicRoleInPage', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/rbac/administrativeGroups/baseInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListBasicRoleInPageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 拉取管理组基本信息列表分页接口 * * * @param ListBasicRoleInPageRequest $request ListBasicRoleInPageRequest * * @return ListBasicRoleInPageResponse ListBasicRoleInPageResponse */ public function listBasicRoleInPage($request) { $runtime = new RuntimeOptions([]); $headers = new ListBasicRoleInPageHeaders([]); return $this->listBasicRoleInPageWithOptions($request, $headers, $runtime); } /** * @summary 获取通讯录隐藏设置 * * * @param ListContactHideSettingsRequest $request ListContactHideSettingsRequest * @param ListContactHideSettingsHeaders $headers ListContactHideSettingsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListContactHideSettingsResponse ListContactHideSettingsResponse */ public function listContactHideSettingsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListContactHideSettings', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/contactHideSettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListContactHideSettingsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取通讯录隐藏设置 * * * @param ListContactHideSettingsRequest $request ListContactHideSettingsRequest * * @return ListContactHideSettingsResponse ListContactHideSettingsResponse */ public function listContactHideSettings($request) { $runtime = new RuntimeOptions([]); $headers = new ListContactHideSettingsHeaders([]); return $this->listContactHideSettingsWithOptions($request, $headers, $runtime); } /** * @summary 获取限制查看通讯录设置列表 * * * @param ListContactRestrictSettingRequest $request ListContactRestrictSettingRequest * @param ListContactRestrictSettingHeaders $headers ListContactRestrictSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListContactRestrictSettingResponse ListContactRestrictSettingResponse */ public function listContactRestrictSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListContactRestrictSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/restrictions/settings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListContactRestrictSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取限制查看通讯录设置列表 * * * @param ListContactRestrictSettingRequest $request ListContactRestrictSettingRequest * * @return ListContactRestrictSettingResponse ListContactRestrictSettingResponse */ public function listContactRestrictSetting($request) { $runtime = new RuntimeOptions([]); $headers = new ListContactRestrictSettingHeaders([]); return $this->listContactRestrictSettingWithOptions($request, $headers, $runtime); } /** * @summary 获取员工字段可见性设置 * * * @param ListEmpAttributeVisibilityRequest $request ListEmpAttributeVisibilityRequest * @param ListEmpAttributeVisibilityHeaders $headers ListEmpAttributeVisibilityHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListEmpAttributeVisibilityResponse ListEmpAttributeVisibilityResponse */ public function listEmpAttributeVisibilityWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListEmpAttributeVisibility', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/staffAttributes/visibilitySettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListEmpAttributeVisibilityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取员工字段可见性设置 * * * @param ListEmpAttributeVisibilityRequest $request ListEmpAttributeVisibilityRequest * * @return ListEmpAttributeVisibilityResponse ListEmpAttributeVisibilityResponse */ public function listEmpAttributeVisibility($request) { $runtime = new RuntimeOptions([]); $headers = new ListEmpAttributeVisibilityHeaders([]); return $this->listEmpAttributeVisibilityWithOptions($request, $headers, $runtime); } /** * @summary 查询离职记录 * * * @param ListEmpLeaveRecordsRequest $request ListEmpLeaveRecordsRequest * @param ListEmpLeaveRecordsHeaders $headers ListEmpLeaveRecordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListEmpLeaveRecordsResponse ListEmpLeaveRecordsResponse */ public function listEmpLeaveRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListEmpLeaveRecords', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/empLeaveRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListEmpLeaveRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询离职记录 * * * @param ListEmpLeaveRecordsRequest $request ListEmpLeaveRecordsRequest * * @return ListEmpLeaveRecordsResponse ListEmpLeaveRecordsResponse */ public function listEmpLeaveRecords($request) { $runtime = new RuntimeOptions([]); $headers = new ListEmpLeaveRecordsHeaders([]); return $this->listEmpLeaveRecordsWithOptions($request, $headers, $runtime); } /** * @summary 分页查询管理组 * * * @param ListManagementGroupsRequest $request ListManagementGroupsRequest * @param ListManagementGroupsHeaders $headers ListManagementGroupsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListManagementGroupsResponse ListManagementGroupsResponse */ public function listManagementGroupsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListManagementGroups', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/managementGroups', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListManagementGroupsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页查询管理组 * * * @param ListManagementGroupsRequest $request ListManagementGroupsRequest * * @return ListManagementGroupsResponse ListManagementGroupsResponse */ public function listManagementGroups($request) { $runtime = new RuntimeOptions([]); $headers = new ListManagementGroupsHeaders([]); return $this->listManagementGroupsWithOptions($request, $headers, $runtime); } /** * @summary 查询专属帐号拥有的组织(作为创建者的组织) * * * @param ListOwnedOrgByStaffIdRequest $request ListOwnedOrgByStaffIdRequest * @param ListOwnedOrgByStaffIdHeaders $headers ListOwnedOrgByStaffIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListOwnedOrgByStaffIdResponse ListOwnedOrgByStaffIdResponse */ public function listOwnedOrgByStaffIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListOwnedOrgByStaffId', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/ownedOrganizations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListOwnedOrgByStaffIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询专属帐号拥有的组织(作为创建者的组织) * * * @param ListOwnedOrgByStaffIdRequest $request ListOwnedOrgByStaffIdRequest * * @return ListOwnedOrgByStaffIdResponse ListOwnedOrgByStaffIdResponse */ public function listOwnedOrgByStaffId($request) { $runtime = new RuntimeOptions([]); $headers = new ListOwnedOrgByStaffIdHeaders([]); return $this->listOwnedOrgByStaffIdWithOptions($request, $headers, $runtime); } /** * @summary 获取员工高管设置 * * * @param ListSeniorSettingsRequest $request ListSeniorSettingsRequest * @param ListSeniorSettingsHeaders $headers ListSeniorSettingsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListSeniorSettingsResponse ListSeniorSettingsResponse */ public function listSeniorSettingsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->seniorStaffId)) { $query['seniorStaffId'] = $request->seniorStaffId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListSeniorSettings', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/seniorSettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListSeniorSettingsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取员工高管设置 * * * @param ListSeniorSettingsRequest $request ListSeniorSettingsRequest * * @return ListSeniorSettingsResponse ListSeniorSettingsResponse */ public function listSeniorSettings($request) { $runtime = new RuntimeOptions([]); $headers = new ListSeniorSettingsHeaders([]); return $this->listSeniorSettingsWithOptions($request, $headers, $runtime); } /** * @summary 更新企业账号工作状态 * * * @param ModifyOrgAccUserOwnnessRequest $request ModifyOrgAccUserOwnnessRequest * @param ModifyOrgAccUserOwnnessHeaders $headers ModifyOrgAccUserOwnnessHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ModifyOrgAccUserOwnnessResponse ModifyOrgAccUserOwnnessResponse */ public function modifyOrgAccUserOwnnessWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->ownenssType)) { $body['ownenssType'] = $request->ownenssType; } if (!Utils::isUnset($request->ownnessId)) { $body['ownnessId'] = $request->ownnessId; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->text)) { $body['text'] = $request->text; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ModifyOrgAccUserOwnness', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/owness', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ModifyOrgAccUserOwnnessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新企业账号工作状态 * * * @param ModifyOrgAccUserOwnnessRequest $request ModifyOrgAccUserOwnnessRequest * * @return ModifyOrgAccUserOwnnessResponse ModifyOrgAccUserOwnnessResponse */ public function modifyOrgAccUserOwnness($request) { $runtime = new RuntimeOptions([]); $headers = new ModifyOrgAccUserOwnnessHeaders([]); return $this->modifyOrgAccUserOwnnessWithOptions($request, $headers, $runtime); } /** * @summary 授权专属帐号可加入多组织 * * * @param MultiOrgPermissionGrantRequest $request MultiOrgPermissionGrantRequest * @param MultiOrgPermissionGrantHeaders $headers MultiOrgPermissionGrantHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return MultiOrgPermissionGrantResponse MultiOrgPermissionGrantResponse */ public function multiOrgPermissionGrantWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->grantDeptIdList)) { $body['grantDeptIdList'] = $request->grantDeptIdList; } if (!Utils::isUnset($request->joinCorpId)) { $body['joinCorpId'] = $request->joinCorpId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'MultiOrgPermissionGrant', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/multiOrgPermissions/auth', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return MultiOrgPermissionGrantResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 授权专属帐号可加入多组织 * * * @param MultiOrgPermissionGrantRequest $request MultiOrgPermissionGrantRequest * * @return MultiOrgPermissionGrantResponse MultiOrgPermissionGrantResponse */ public function multiOrgPermissionGrant($request) { $runtime = new RuntimeOptions([]); $headers = new MultiOrgPermissionGrantHeaders([]); return $this->multiOrgPermissionGrantWithOptions($request, $headers, $runtime); } /** * @summary 给员工推送事件唤起核身组件 * * * @param PushVerifyEventRequest $request PushVerifyEventRequest * @param PushVerifyEventHeaders $headers PushVerifyEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushVerifyEventResponse PushVerifyEventResponse */ public function pushVerifyEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->callerDeviceId)) { $body['callerDeviceId'] = $request->callerDeviceId; } if (!Utils::isUnset($request->factorCodeList)) { $body['factorCodeList'] = $request->factorCodeList; } if (!Utils::isUnset($request->state)) { $body['state'] = $request->state; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushVerifyEvent', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/verifyIdentitys/verifyEvents/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushVerifyEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 给员工推送事件唤起核身组件 * * * @param PushVerifyEventRequest $request PushVerifyEventRequest * * @return PushVerifyEventResponse PushVerifyEventResponse */ public function pushVerifyEvent($request) { $runtime = new RuntimeOptions([]); $headers = new PushVerifyEventHeaders([]); return $this->pushVerifyEventWithOptions($request, $headers, $runtime); } /** * @summary 查询访客统计信息信息 * * * @param QueryCardVisitorStatisticDataRequest $request QueryCardVisitorStatisticDataRequest * @param QueryCardVisitorStatisticDataHeaders $headers QueryCardVisitorStatisticDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCardVisitorStatisticDataResponse QueryCardVisitorStatisticDataResponse */ public function queryCardVisitorStatisticDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCardVisitorStatisticData', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/visitors/statistics', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCardVisitorStatisticDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询访客统计信息信息 * * * @param QueryCardVisitorStatisticDataRequest $request QueryCardVisitorStatisticDataRequest * * @return QueryCardVisitorStatisticDataResponse QueryCardVisitorStatisticDataResponse */ public function queryCardVisitorStatisticData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCardVisitorStatisticDataHeaders([]); return $this->queryCardVisitorStatisticDataWithOptions($request, $headers, $runtime); } /** * @summary 查询企业模版的统计数据 * * * @param QueryCorpStatisticDataRequest $request QueryCorpStatisticDataRequest * @param QueryCorpStatisticDataHeaders $headers QueryCorpStatisticDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCorpStatisticDataResponse QueryCorpStatisticDataResponse */ public function queryCorpStatisticDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->templateIds)) { $body['templateIds'] = $request->templateIds; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCorpStatisticData', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/templates/statistics/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCorpStatisticDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询企业模版的统计数据 * * * @param QueryCorpStatisticDataRequest $request QueryCorpStatisticDataRequest * * @return QueryCorpStatisticDataResponse QueryCorpStatisticDataResponse */ public function queryCorpStatisticData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCorpStatisticDataHeaders([]); return $this->queryCorpStatisticDataWithOptions($request, $headers, $runtime); } /** * @summary 查询企业用户名片统计数据 * * * @param QueryCorpUserStatisticRequest $request QueryCorpUserStatisticRequest * @param QueryCorpUserStatisticHeaders $headers QueryCorpUserStatisticHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCorpUserStatisticResponse QueryCorpUserStatisticResponse */ public function queryCorpUserStatisticWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } if (!Utils::isUnset($request->templateIds)) { $body['templateIds'] = $request->templateIds; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCorpUserStatistic', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cards/users/statistics/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCorpUserStatisticResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询企业用户名片统计数据 * * * @param QueryCorpUserStatisticRequest $request QueryCorpUserStatisticRequest * * @return QueryCorpUserStatisticResponse QueryCorpUserStatisticResponse */ public function queryCorpUserStatistic($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCorpUserStatisticHeaders([]); return $this->queryCorpUserStatisticWithOptions($request, $headers, $runtime); } /** * @summary 查询可管理资源的成员 * * * @param string $resourceId * @param QueryResourceManagementMembersHeaders $headers QueryResourceManagementMembersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryResourceManagementMembersResponse QueryResourceManagementMembersResponse */ public function queryResourceManagementMembersWithOptions($resourceId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryResourceManagementMembers', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/resources/' . $resourceId . '/managementMembers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryResourceManagementMembersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询可管理资源的成员 * * * @param string $resourceId * * @return QueryResourceManagementMembersResponse QueryResourceManagementMembersResponse */ public function queryResourceManagementMembers($resourceId) { $runtime = new RuntimeOptions([]); $headers = new QueryResourceManagementMembersHeaders([]); return $this->queryResourceManagementMembersWithOptions($resourceId, $headers, $runtime); } /** * @summary 查询专属帐号状态 * * * @param QueryStatusRequest $request QueryStatusRequest * @param QueryStatusHeaders $headers QueryStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryStatusResponse QueryStatusResponse */ public function queryStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryStatus', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/status', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询专属帐号状态 * * * @param QueryStatusRequest $request QueryStatusRequest * * @return QueryStatusResponse QueryStatusResponse */ public function queryStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QueryStatusHeaders([]); return $this->queryStatusWithOptions($request, $headers, $runtime); } /** * @summary 查询用户可以管理的资源 * * * @param string $userId * @param QueryUserManagementResourcesHeaders $headers QueryUserManagementResourcesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryUserManagementResourcesResponse QueryUserManagementResourcesResponse */ public function queryUserManagementResourcesWithOptions($userId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'QueryUserManagementResources', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/users/' . $userId . '/managemementResources', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryUserManagementResourcesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户可以管理的资源 * * * @param string $userId * * @return QueryUserManagementResourcesResponse QueryUserManagementResourcesResponse */ public function queryUserManagementResources($userId) { $runtime = new RuntimeOptions([]); $headers = new QueryUserManagementResourcesHeaders([]); return $this->queryUserManagementResourcesWithOptions($userId, $headers, $runtime); } /** * @summary 读取员工核身结果 * * * @param QueryVerifyResultRequest $request QueryVerifyResultRequest * @param QueryVerifyResultHeaders $headers QueryVerifyResultHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryVerifyResultResponse QueryVerifyResultResponse */ public function queryVerifyResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->verifyId)) { $query['verifyId'] = $request->verifyId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryVerifyResult', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/verifyIdentitys/verifyResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryVerifyResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 读取员工核身结果 * * * @param QueryVerifyResultRequest $request QueryVerifyResultRequest * * @return QueryVerifyResultResponse QueryVerifyResultResponse */ public function queryVerifyResult($request) { $runtime = new RuntimeOptions([]); $headers = new QueryVerifyResultHeaders([]); return $this->queryVerifyResultWithOptions($request, $headers, $runtime); } /** * @summary 搜索部门 * * * @param SearchDepartmentRequest $request SearchDepartmentRequest * @param SearchDepartmentHeaders $headers SearchDepartmentHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SearchDepartmentResponse SearchDepartmentResponse */ public function searchDepartmentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->offset)) { $body['offset'] = $request->offset; } if (!Utils::isUnset($request->queryWord)) { $body['queryWord'] = $request->queryWord; } if (!Utils::isUnset($request->size)) { $body['size'] = $request->size; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SearchDepartment', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/departments/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchDepartmentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 搜索部门 * * * @param SearchDepartmentRequest $request SearchDepartmentRequest * * @return SearchDepartmentResponse SearchDepartmentResponse */ public function searchDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new SearchDepartmentHeaders([]); return $this->searchDepartmentWithOptions($request, $headers, $runtime); } /** * @summary 搜索用户 * * * @param SearchUserRequest $request SearchUserRequest * @param SearchUserHeaders $headers SearchUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SearchUserResponse SearchUserResponse */ public function searchUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fullMatchField)) { $body['fullMatchField'] = $request->fullMatchField; } if (!Utils::isUnset($request->offset)) { $body['offset'] = $request->offset; } if (!Utils::isUnset($request->queryWord)) { $body['queryWord'] = $request->queryWord; } if (!Utils::isUnset($request->size)) { $body['size'] = $request->size; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SearchUser', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/users/search', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 搜索用户 * * * @param SearchUserRequest $request SearchUserRequest * * @return SearchUserResponse SearchUserResponse */ public function searchUser($request) { $runtime = new RuntimeOptions([]); $headers = new SearchUserHeaders([]); return $this->searchUserWithOptions($request, $headers, $runtime); } /** * @summary 解除关联组织 * * * @param SeparateBranchOrgRequest $request SeparateBranchOrgRequest * @param SeparateBranchOrgHeaders $headers SeparateBranchOrgHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SeparateBranchOrgResponse SeparateBranchOrgResponse */ public function separateBranchOrgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attachDeptId)) { $body['attachDeptId'] = $request->attachDeptId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SeparateBranchOrg', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cooperateCorps/separate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SeparateBranchOrgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 解除关联组织 * * * @param SeparateBranchOrgRequest $request SeparateBranchOrgRequest * * @return SeparateBranchOrgResponse SeparateBranchOrgResponse */ public function separateBranchOrg($request) { $runtime = new RuntimeOptions([]); $headers = new SeparateBranchOrgHeaders([]); return $this->separateBranchOrgWithOptions($request, $headers, $runtime); } /** * @summary 停用专属帐号 * * * @param SetDisableRequest $request SetDisableRequest * @param SetDisableHeaders $headers SetDisableHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SetDisableResponse SetDisableResponse */ public function setDisableWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->reason)) { $body['reason'] = $request->reason; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetDisable', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/disable', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetDisableResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 停用专属帐号 * * * @param SetDisableRequest $request SetDisableRequest * * @return SetDisableResponse SetDisableResponse */ public function setDisable($request) { $runtime = new RuntimeOptions([]); $headers = new SetDisableHeaders([]); return $this->setDisableWithOptions($request, $headers, $runtime); } /** * @summary 启用专属帐号 * * * @param SetEnableRequest $request SetEnableRequest * @param SetEnableHeaders $headers SetEnableHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SetEnableResponse SetEnableResponse */ public function setEnableWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SetEnable', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/enable', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SetEnableResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 启用专属帐号 * * * @param SetEnableRequest $request SetEnableRequest * * @return SetEnableResponse SetEnableResponse */ public function setEnable($request) { $runtime = new RuntimeOptions([]); $headers = new SetEnableHeaders([]); return $this->setEnableWithOptions($request, $headers, $runtime); } /** * @summary 强制登出专属帐号 * * * @param SignOutRequest $request SignOutRequest * @param SignOutHeaders $headers SignOutHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SignOutResponse SignOutResponse */ public function signOutWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->reason)) { $body['reason'] = $request->reason; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SignOut', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccounts/signOut', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SignOutResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 强制登出专属帐号 * * * @param SignOutRequest $request SignOutRequest * * @return SignOutResponse SignOutResponse */ public function signOut($request) { $runtime = new RuntimeOptions([]); $headers = new SignOutHeaders([]); return $this->signOutWithOptions($request, $headers, $runtime); } /** * @summary 根据用户名排序 * * * @param SortUserRequest $request SortUserRequest * @param SortUserHeaders $headers SortUserHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SortUserResponse SortUserResponse */ public function sortUserWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->sortType)) { $body['sortType'] = $request->sortType; } if (!Utils::isUnset($request->userIdList)) { $body['userIdList'] = $request->userIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SortUser', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/users/sort', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SortUserResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据用户名排序 * * * @param SortUserRequest $request SortUserRequest * * @return SortUserResponse SortUserResponse */ public function sortUser($request) { $runtime = new RuntimeOptions([]); $headers = new SortUserHeaders([]); return $this->sortUserWithOptions($request, $headers, $runtime); } /** * @summary 普通帐号转换为专属帐号 * * * @param TransformToExclusiveAccountRequest $request TransformToExclusiveAccountRequest * @param TransformToExclusiveAccountHeaders $headers TransformToExclusiveAccountHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return TransformToExclusiveAccountResponse TransformToExclusiveAccountResponse */ public function transformToExclusiveAccountWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->idpDingTalk)) { $body['idpDingTalk'] = $request->idpDingTalk; } if (!Utils::isUnset($request->initPassword)) { $body['initPassword'] = $request->initPassword; } if (!Utils::isUnset($request->loginId)) { $body['loginId'] = $request->loginId; } if (!Utils::isUnset($request->transformType)) { $body['transformType'] = $request->transformType; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TransformToExclusiveAccount', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/orgAccount/transformToExclusiveAccounts', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return TransformToExclusiveAccountResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 普通帐号转换为专属帐号 * * * @param TransformToExclusiveAccountRequest $request TransformToExclusiveAccountRequest * * @return TransformToExclusiveAccountResponse TransformToExclusiveAccountResponse */ public function transformToExclusiveAccount($request) { $runtime = new RuntimeOptions([]); $headers = new TransformToExclusiveAccountHeaders([]); return $this->transformToExclusiveAccountWithOptions($request, $headers, $runtime); } /** * @summary 异步文件内容转译 * * * @param TranslateFileRequest $request TranslateFileRequest * @param TranslateFileHeaders $headers TranslateFileHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return TranslateFileResponse TranslateFileResponse */ public function translateFileWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->medias)) { $body['medias'] = $request->medias; } if (!Utils::isUnset($request->outputFileName)) { $body['outputFileName'] = $request->outputFileName; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TranslateFile', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/files/translate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TranslateFileResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 异步文件内容转译 * * * @param TranslateFileRequest $request TranslateFileRequest * * @return TranslateFileResponse TranslateFileResponse */ public function translateFile($request) { $runtime = new RuntimeOptions([]); $headers = new TranslateFileHeaders([]); return $this->translateFileWithOptions($request, $headers, $runtime); } /** * @summary 唯一查询用户名片 * * * @param UniqueQueryUserCardRequest $request UniqueQueryUserCardRequest * @param UniqueQueryUserCardHeaders $headers UniqueQueryUserCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UniqueQueryUserCardResponse UniqueQueryUserCardResponse */ public function uniqueQueryUserCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->templateId)) { $query['templateId'] = $request->templateId; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'UniqueQueryUserCard', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/uniques/cards', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UniqueQueryUserCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 唯一查询用户名片 * * * @param UniqueQueryUserCardRequest $request UniqueQueryUserCardRequest * * @return UniqueQueryUserCardResponse UniqueQueryUserCardResponse */ public function uniqueQueryUserCard($request) { $runtime = new RuntimeOptions([]); $headers = new UniqueQueryUserCardHeaders([]); return $this->uniqueQueryUserCardWithOptions($request, $headers, $runtime); } /** * @summary 更新(分支/伙伴)在(集团/合作空间)的属性信息 * * * @param UpdateBranchAttributesInCooperateRequest $request UpdateBranchAttributesInCooperateRequest * @param UpdateBranchAttributesInCooperateHeaders $headers UpdateBranchAttributesInCooperateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateBranchAttributesInCooperateResponse UpdateBranchAttributesInCooperateResponse */ public function updateBranchAttributesInCooperateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'UpdateBranchAttributesInCooperate', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cooperateCorps/branchAttributes', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateBranchAttributesInCooperateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新(分支/伙伴)在(集团/合作空间)的属性信息 * * * @param UpdateBranchAttributesInCooperateRequest $request UpdateBranchAttributesInCooperateRequest * * @return UpdateBranchAttributesInCooperateResponse UpdateBranchAttributesInCooperateResponse */ public function updateBranchAttributesInCooperate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBranchAttributesInCooperateHeaders([]); return $this->updateBranchAttributesInCooperateWithOptions($request, $headers, $runtime); } /** * @summary 设置(分支/伙伴)在(集团/合作空间)的可见范围 * * * @param UpdateBranchVisibleSettingInCooperateRequest $request UpdateBranchVisibleSettingInCooperateRequest * @param UpdateBranchVisibleSettingInCooperateHeaders $headers UpdateBranchVisibleSettingInCooperateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateBranchVisibleSettingInCooperateResponse UpdateBranchVisibleSettingInCooperateResponse */ public function updateBranchVisibleSettingInCooperateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'UpdateBranchVisibleSettingInCooperate', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/cooperateCorps/branchVisibleSettings', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateBranchVisibleSettingInCooperateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设置(分支/伙伴)在(集团/合作空间)的可见范围 * * * @param UpdateBranchVisibleSettingInCooperateRequest $request UpdateBranchVisibleSettingInCooperateRequest * * @return UpdateBranchVisibleSettingInCooperateResponse UpdateBranchVisibleSettingInCooperateResponse */ public function updateBranchVisibleSettingInCooperate($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateBranchVisibleSettingInCooperateHeaders([]); return $this->updateBranchVisibleSettingInCooperateWithOptions($request, $headers, $runtime); } /** * @summary 更新通讯录组织架构隐藏设置 * * * @param string $settingId * @param UpdateContactHideBySceneSettingRequest $request UpdateContactHideBySceneSettingRequest * @param UpdateContactHideBySceneSettingHeaders $headers UpdateContactHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateContactHideBySceneSettingResponse UpdateContactHideBySceneSettingResponse */ public function updateContactHideBySceneSettingWithOptions($settingId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->excludeUserIds)) { $body['excludeUserIds'] = $request->excludeUserIds; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->nodeListSceneConfig)) { $body['nodeListSceneConfig'] = $request->nodeListSceneConfig; } if (!Utils::isUnset($request->objectDeptIds)) { $body['objectDeptIds'] = $request->objectDeptIds; } if (!Utils::isUnset($request->objectTagIds)) { $body['objectTagIds'] = $request->objectTagIds; } if (!Utils::isUnset($request->objectUserIds)) { $body['objectUserIds'] = $request->objectUserIds; } if (!Utils::isUnset($request->profileSceneConfig)) { $body['profileSceneConfig'] = $request->profileSceneConfig; } if (!Utils::isUnset($request->searchSceneConfig)) { $body['searchSceneConfig'] = $request->searchSceneConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateContactHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/organizations/hides/settings/' . $settingId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateContactHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新通讯录组织架构隐藏设置 * * * @param string $settingId * @param UpdateContactHideBySceneSettingRequest $request UpdateContactHideBySceneSettingRequest * * @return UpdateContactHideBySceneSettingResponse UpdateContactHideBySceneSettingResponse */ public function updateContactHideBySceneSetting($settingId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateContactHideBySceneSettingHeaders([]); return $this->updateContactHideBySceneSettingWithOptions($settingId, $request, $headers, $runtime); } /** * @summary 更新通讯录隐藏设置 * * * @param UpdateContactHideSettingRequest $request UpdateContactHideSettingRequest * @param UpdateContactHideSettingHeaders $headers UpdateContactHideSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateContactHideSettingResponse UpdateContactHideSettingResponse */ public function updateContactHideSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->active)) { $body['active'] = $request->active; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeStaffIds)) { $body['excludeStaffIds'] = $request->excludeStaffIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->hideInSearch)) { $body['hideInSearch'] = $request->hideInSearch; } if (!Utils::isUnset($request->hideInUserProfile)) { $body['hideInUserProfile'] = $request->hideInUserProfile; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->objectDeptIds)) { $body['objectDeptIds'] = $request->objectDeptIds; } if (!Utils::isUnset($request->objectStaffIds)) { $body['objectStaffIds'] = $request->objectStaffIds; } if (!Utils::isUnset($request->objectTagIds)) { $body['objectTagIds'] = $request->objectTagIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateContactHideSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/contactHideSettings', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateContactHideSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新通讯录隐藏设置 * * * @param UpdateContactHideSettingRequest $request UpdateContactHideSettingRequest * * @return UpdateContactHideSettingResponse UpdateContactHideSettingResponse */ public function updateContactHideSetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateContactHideSettingHeaders([]); return $this->updateContactHideSettingWithOptions($request, $headers, $runtime); } /** * @summary 新增或修改限制查看通讯录设置 * * * @param UpdateContactRestrictSettingRequest $request UpdateContactRestrictSettingRequest * @param UpdateContactRestrictSettingHeaders $headers UpdateContactRestrictSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateContactRestrictSettingResponse UpdateContactRestrictSettingResponse */ public function updateContactRestrictSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->active)) { $body['active'] = $request->active; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->excludeUserIds)) { $body['excludeUserIds'] = $request->excludeUserIds; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->restrictInSearch)) { $body['restrictInSearch'] = $request->restrictInSearch; } if (!Utils::isUnset($request->restrictInUserProfile)) { $body['restrictInUserProfile'] = $request->restrictInUserProfile; } if (!Utils::isUnset($request->subjectDeptIds)) { $body['subjectDeptIds'] = $request->subjectDeptIds; } if (!Utils::isUnset($request->subjectTagIds)) { $body['subjectTagIds'] = $request->subjectTagIds; } if (!Utils::isUnset($request->subjectUserIds)) { $body['subjectUserIds'] = $request->subjectUserIds; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateContactRestrictSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/restrictions/settings', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateContactRestrictSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增或修改限制查看通讯录设置 * * * @param UpdateContactRestrictSettingRequest $request UpdateContactRestrictSettingRequest * * @return UpdateContactRestrictSettingResponse UpdateContactRestrictSettingResponse */ public function updateContactRestrictSetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateContactRestrictSettingHeaders([]); return $this->updateContactRestrictSettingWithOptions($request, $headers, $runtime); } /** * @summary 通讯录可见性部门设置子部门设置优先 * * * @param UpdateDeptSettngTailFirstRequest $request UpdateDeptSettngTailFirstRequest * @param UpdateDeptSettngTailFirstHeaders $headers UpdateDeptSettngTailFirstHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateDeptSettngTailFirstResponse UpdateDeptSettngTailFirstResponse */ public function updateDeptSettngTailFirstWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->enable)) { $body['enable'] = $request->enable; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateDeptSettngTailFirst', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/depts/settings/priorities', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'formData', 'bodyType' => 'json', ]); return UpdateDeptSettngTailFirstResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通讯录可见性部门设置子部门设置优先 * * * @param UpdateDeptSettngTailFirstRequest $request UpdateDeptSettngTailFirstRequest * * @return UpdateDeptSettngTailFirstResponse UpdateDeptSettngTailFirstResponse */ public function updateDeptSettngTailFirst($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateDeptSettngTailFirstHeaders([]); return $this->updateDeptSettngTailFirstWithOptions($request, $headers, $runtime); } /** * @summary 更新企业员工属性字段可见性设置 * * * @param UpdateEmpAttrbuteVisibilitySettingRequest $request UpdateEmpAttrbuteVisibilitySettingRequest * @param UpdateEmpAttrbuteVisibilitySettingHeaders $headers UpdateEmpAttrbuteVisibilitySettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateEmpAttrbuteVisibilitySettingResponse UpdateEmpAttrbuteVisibilitySettingResponse */ public function updateEmpAttrbuteVisibilitySettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->active)) { $body['active'] = $request->active; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeStaffIds)) { $body['excludeStaffIds'] = $request->excludeStaffIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->hideFields)) { $body['hideFields'] = $request->hideFields; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->objectDeptIds)) { $body['objectDeptIds'] = $request->objectDeptIds; } if (!Utils::isUnset($request->objectStaffIds)) { $body['objectStaffIds'] = $request->objectStaffIds; } if (!Utils::isUnset($request->objectTagIds)) { $body['objectTagIds'] = $request->objectTagIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateEmpAttrbuteVisibilitySetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/staffAttributes/visibilitySettings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateEmpAttrbuteVisibilitySettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新企业员工属性字段可见性设置 * * * @param UpdateEmpAttrbuteVisibilitySettingRequest $request UpdateEmpAttrbuteVisibilitySettingRequest * * @return UpdateEmpAttrbuteVisibilitySettingResponse UpdateEmpAttrbuteVisibilitySettingResponse */ public function updateEmpAttrbuteVisibilitySetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateEmpAttrbuteVisibilitySettingHeaders([]); return $this->updateEmpAttrbuteVisibilitySettingWithOptions($request, $headers, $runtime); } /** * @summary 更新员工属性分场景隐藏设置 * * * @param string $settingId * @param UpdateEmpAttributeHideBySceneSettingRequest $request UpdateEmpAttributeHideBySceneSettingRequest * @param UpdateEmpAttributeHideBySceneSettingHeaders $headers UpdateEmpAttributeHideBySceneSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateEmpAttributeHideBySceneSettingResponse UpdateEmpAttributeHideBySceneSettingResponse */ public function updateEmpAttributeHideBySceneSettingWithOptions($settingId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatSubtitleConfig)) { $body['chatSubtitleConfig'] = $request->chatSubtitleConfig; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->excludeDeptIds)) { $body['excludeDeptIds'] = $request->excludeDeptIds; } if (!Utils::isUnset($request->excludeTagIds)) { $body['excludeTagIds'] = $request->excludeTagIds; } if (!Utils::isUnset($request->excludeUserIds)) { $body['excludeUserIds'] = $request->excludeUserIds; } if (!Utils::isUnset($request->hideFields)) { $body['hideFields'] = $request->hideFields; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->objectDeptIds)) { $body['objectDeptIds'] = $request->objectDeptIds; } if (!Utils::isUnset($request->objectTagIds)) { $body['objectTagIds'] = $request->objectTagIds; } if (!Utils::isUnset($request->objectUserIds)) { $body['objectUserIds'] = $request->objectUserIds; } if (!Utils::isUnset($request->profileSceneConfig)) { $body['profileSceneConfig'] = $request->profileSceneConfig; } if (!Utils::isUnset($request->searchSceneConfig)) { $body['searchSceneConfig'] = $request->searchSceneConfig; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateEmpAttributeHideBySceneSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/empAttributes/hides/settings/' . $settingId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateEmpAttributeHideBySceneSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新员工属性分场景隐藏设置 * * * @param string $settingId * @param UpdateEmpAttributeHideBySceneSettingRequest $request UpdateEmpAttributeHideBySceneSettingRequest * * @return UpdateEmpAttributeHideBySceneSettingResponse UpdateEmpAttributeHideBySceneSettingResponse */ public function updateEmpAttributeHideBySceneSetting($settingId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateEmpAttributeHideBySceneSettingHeaders([]); return $this->updateEmpAttributeHideBySceneSettingWithOptions($settingId, $request, $headers, $runtime); } /** * @summary 更新管理组 * * * @param string $groupId * @param UpdateManagementGroupRequest $request UpdateManagementGroupRequest * @param UpdateManagementGroupHeaders $headers UpdateManagementGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateManagementGroupResponse UpdateManagementGroupResponse */ public function updateManagementGroupWithOptions($groupId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->members)) { $body['members'] = $request->members; } if (!Utils::isUnset($request->resourceIds)) { $body['resourceIds'] = $request->resourceIds; } if (!Utils::isUnset($request->scope)) { $body['scope'] = $request->scope; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateManagementGroup', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/managementGroups/' . $groupId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return UpdateManagementGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新管理组 * * * @param string $groupId * @param UpdateManagementGroupRequest $request UpdateManagementGroupRequest * * @return UpdateManagementGroupResponse UpdateManagementGroupResponse */ public function updateManagementGroup($groupId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateManagementGroupHeaders([]); return $this->updateManagementGroupWithOptions($groupId, $request, $headers, $runtime); } /** * @summary 设置高管模式 * * * @param UpdateSeniorSettingRequest $request UpdateSeniorSettingRequest * @param UpdateSeniorSettingHeaders $headers UpdateSeniorSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateSeniorSettingResponse UpdateSeniorSettingResponse */ public function updateSeniorSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->open)) { $body['open'] = $request->open; } if (!Utils::isUnset($request->permitDeptIds)) { $body['permitDeptIds'] = $request->permitDeptIds; } if (!Utils::isUnset($request->permitStaffIds)) { $body['permitStaffIds'] = $request->permitStaffIds; } if (!Utils::isUnset($request->permitTagIds)) { $body['permitTagIds'] = $request->permitTagIds; } if (!Utils::isUnset($request->protectScenes)) { $body['protectScenes'] = $request->protectScenes; } if (!Utils::isUnset($request->seniorStaffId)) { $body['seniorStaffId'] = $request->seniorStaffId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateSeniorSetting', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/seniorSettings', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'none', ]); return UpdateSeniorSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设置高管模式 * * * @param UpdateSeniorSettingRequest $request UpdateSeniorSettingRequest * * @return UpdateSeniorSettingResponse UpdateSeniorSettingResponse */ public function updateSeniorSetting($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateSeniorSettingHeaders([]); return $this->updateSeniorSettingWithOptions($request, $headers, $runtime); } /** * @summary 三方通过该接口更新个人履历的审核状态 * * * @param UpdateTitleAuditStatusRequest $request UpdateTitleAuditStatusRequest * @param UpdateTitleAuditStatusHeaders $headers UpdateTitleAuditStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateTitleAuditStatusResponse UpdateTitleAuditStatusResponse */ public function updateTitleAuditStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->authStatus)) { $body['authStatus'] = $request->authStatus; } if (!Utils::isUnset($request->educationLevel)) { $body['educationLevel'] = $request->educationLevel; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->major)) { $body['major'] = $request->major; } if (!Utils::isUnset($request->position)) { $body['position'] = $request->position; } if (!Utils::isUnset($request->reasonCode)) { $body['reasonCode'] = $request->reasonCode; } if (!Utils::isUnset($request->reasonMsg)) { $body['reasonMsg'] = $request->reasonMsg; } if (!Utils::isUnset($request->school)) { $body['school'] = $request->school; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateTitleAuditStatus', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/userTitles/auditStatuses', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateTitleAuditStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 三方通过该接口更新个人履历的审核状态 * * * @param UpdateTitleAuditStatusRequest $request UpdateTitleAuditStatusRequest * * @return UpdateTitleAuditStatusResponse UpdateTitleAuditStatusResponse */ public function updateTitleAuditStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateTitleAuditStatusHeaders([]); return $this->updateTitleAuditStatusWithOptions($request, $headers, $runtime); } /** * @summary 更新用户个人状态 * * * @param string $userId * @param UpdateUserOwnnessRequest $request UpdateUserOwnnessRequest * @param UpdateUserOwnnessHeaders $headers UpdateUserOwnnessHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateUserOwnnessResponse UpdateUserOwnnessResponse */ public function updateUserOwnnessWithOptions($userId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deletedFlag)) { $body['deletedFlag'] = $request->deletedFlag; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->ownenssType)) { $body['ownenssType'] = $request->ownenssType; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateUserOwnness', 'version' => 'contact_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contact/user/' . $userId . '/ownness', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateUserOwnnessResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新用户个人状态 * * * @param string $userId * @param UpdateUserOwnnessRequest $request UpdateUserOwnnessRequest * * @return UpdateUserOwnnessResponse UpdateUserOwnnessResponse */ public function updateUserOwnness($userId, $request) { $runtime = new RuntimeOptions([]); $headers = new UpdateUserOwnnessHeaders([]); return $this->updateUserOwnnessWithOptions($userId, $request, $headers, $runtime); } } src/contact_1_0/Models/AddAccountMappingHeaders.php 0000644 00000002341 14713400346 0016200 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddAccountMappingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/AddAccountMappingRequest.php 0000644 00000004571 14713400346 0016264 0 ustar 00 'domain', 'extension' => 'extension', 'outId' => 'outId', 'outTenantId' => 'outTenantId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->outTenantId) { $res['outTenantId'] = $this->outTenantId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddAccountMappingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['outTenantId'])) { $model->outTenantId = $map['outTenantId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/AddAccountMappingResponse.php 0000644 00000002741 14713400346 0016427 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddAccountMappingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddAccountMappingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/AddAccountMappingResponseBody.php 0000644 00000001625 14713400346 0017245 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddAccountMappingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingHeaders.php 0000644 00000002367 14713400346 0020274 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddContactHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingRequest.php 0000644 00000012457 14713400346 0020352 0 ustar 00 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'name' => 'name', 'nodeListSceneConfig' => 'nodeListSceneConfig', 'objectDeptIds' => 'objectDeptIds', 'objectTagIds' => 'objectTagIds', 'objectUserIds' => 'objectUserIds', 'profileSceneConfig' => 'profileSceneConfig', 'searchSceneConfig' => 'searchSceneConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeListSceneConfig) { $res['nodeListSceneConfig'] = null !== $this->nodeListSceneConfig ? $this->nodeListSceneConfig->toMap() : null; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } if (null !== $this->objectUserIds) { $res['objectUserIds'] = $this->objectUserIds; } if (null !== $this->profileSceneConfig) { $res['profileSceneConfig'] = null !== $this->profileSceneConfig ? $this->profileSceneConfig->toMap() : null; } if (null !== $this->searchSceneConfig) { $res['searchSceneConfig'] = null !== $this->searchSceneConfig ? $this->searchSceneConfig->toMap() : null; } return $res; } /** * @param array $map * * @return AddContactHideBySceneSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeListSceneConfig'])) { $model->nodeListSceneConfig = nodeListSceneConfig::fromMap($map['nodeListSceneConfig']); } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } if (isset($map['objectUserIds'])) { if (!empty($map['objectUserIds'])) { $model->objectUserIds = $map['objectUserIds']; } } if (isset($map['profileSceneConfig'])) { $model->profileSceneConfig = profileSceneConfig::fromMap($map['profileSceneConfig']); } if (isset($map['searchSceneConfig'])) { $model->searchSceneConfig = searchSceneConfig::fromMap($map['searchSceneConfig']); } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingRequest/nodeListSceneConfig.php 0000644 00000002352 14713400346 0024230 0 ustar 00 'active', 'deptObjectIncludeEmp' => 'deptObjectIncludeEmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->deptObjectIncludeEmp) { $res['deptObjectIncludeEmp'] = $this->deptObjectIncludeEmp; } return $res; } /** * @param array $map * * @return nodeListSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['deptObjectIncludeEmp'])) { $model->deptObjectIncludeEmp = $map['deptObjectIncludeEmp']; } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingRequest/profileSceneConfig.php 0000644 00000001520 14713400346 0024103 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return profileSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingRequest/searchSceneConfig.php 0000644 00000002346 14713400346 0023717 0 ustar 00 'active', 'deptObjectIncludeEmp' => 'deptObjectIncludeEmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->deptObjectIncludeEmp) { $res['deptObjectIncludeEmp'] = $this->deptObjectIncludeEmp; } return $res; } /** * @param array $map * * @return searchSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['deptObjectIncludeEmp'])) { $model->deptObjectIncludeEmp = $map['deptObjectIncludeEmp']; } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingResponse.php 0000644 00000003015 14713400346 0020506 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddContactHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddContactHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/AddContactHideBySceneSettingResponseBody.php 0000644 00000001621 14713400346 0021325 0 ustar 00 'settingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->settingId) { $res['settingId'] = $this->settingId; } return $res; } /** * @param array $map * * @return AddContactHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['settingId'])) { $model->settingId = $map['settingId']; } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingHeaders.php 0000644 00000002401 14713400346 0021273 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddEmpAttributeHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingRequest.php 0000644 00000013255 14713400346 0021361 0 ustar 00 'chatSubtitleConfig', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'hideFields' => 'hideFields', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectTagIds' => 'objectTagIds', 'objectUserIds' => 'objectUserIds', 'profileSceneConfig' => 'profileSceneConfig', 'searchSceneConfig' => 'searchSceneConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatSubtitleConfig) { $res['chatSubtitleConfig'] = null !== $this->chatSubtitleConfig ? $this->chatSubtitleConfig->toMap() : null; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->hideFields) { $res['hideFields'] = $this->hideFields; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } if (null !== $this->objectUserIds) { $res['objectUserIds'] = $this->objectUserIds; } if (null !== $this->profileSceneConfig) { $res['profileSceneConfig'] = null !== $this->profileSceneConfig ? $this->profileSceneConfig->toMap() : null; } if (null !== $this->searchSceneConfig) { $res['searchSceneConfig'] = null !== $this->searchSceneConfig ? $this->searchSceneConfig->toMap() : null; } return $res; } /** * @param array $map * * @return AddEmpAttributeHideBySceneSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatSubtitleConfig'])) { $model->chatSubtitleConfig = chatSubtitleConfig::fromMap($map['chatSubtitleConfig']); } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['hideFields'])) { if (!empty($map['hideFields'])) { $model->hideFields = $map['hideFields']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } if (isset($map['objectUserIds'])) { if (!empty($map['objectUserIds'])) { $model->objectUserIds = $map['objectUserIds']; } } if (isset($map['profileSceneConfig'])) { $model->profileSceneConfig = profileSceneConfig::fromMap($map['profileSceneConfig']); } if (isset($map['searchSceneConfig'])) { $model->searchSceneConfig = searchSceneConfig::fromMap($map['searchSceneConfig']); } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingRequest/chatSubtitleConfig.php 0000644 00000001525 14713400346 0025137 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return chatSubtitleConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingRequest/profileSceneConfig.php 0000644 00000001525 14713400346 0025122 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return profileSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingRequest/searchSceneConfig.php 0000644 00000001523 14713400346 0024725 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return searchSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingResponse.php 0000644 00000003041 14713400346 0021517 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddEmpAttributeHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddEmpAttributeHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/AddEmpAttributeHideBySceneSettingResponseBody.php 0000644 00000001633 14713400346 0022342 0 ustar 00 'settingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->settingId) { $res['settingId'] = $this->settingId; } return $res; } /** * @param array $map * * @return AddEmpAttributeHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['settingId'])) { $model->settingId = $map['settingId']; } return $model; } } src/contact_1_0/Models/AddOrgAccountOwnnessHeaders.php 0000644 00000002347 14713400346 0016717 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddOrgAccountOwnnessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/AddOrgAccountOwnnessRequest.php 0000644 00000005357 14713400346 0017000 0 ustar 00 'endTime', 'ownenssType' => 'ownenssType', 'ownnessId' => 'ownnessId', 'startTime' => 'startTime', 'text' => 'text', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->ownenssType) { $res['ownenssType'] = $this->ownenssType; } if (null !== $this->ownnessId) { $res['ownnessId'] = $this->ownnessId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return AddOrgAccountOwnnessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['ownenssType'])) { $model->ownenssType = $map['ownenssType']; } if (isset($map['ownnessId'])) { $model->ownnessId = $map['ownnessId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/AddOrgAccountOwnnessResponse.php 0000644 00000002755 14713400346 0017145 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddOrgAccountOwnnessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddOrgAccountOwnnessResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/AddOrgAccountOwnnessResponseBody.php 0000644 00000001545 14713400346 0017757 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddOrgAccountOwnnessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/AnnualCertificationAuditHeaders.php 0000644 00000002357 14713400346 0017577 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AnnualCertificationAuditHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/AnnualCertificationAuditRequest.php 0000644 00000013272 14713400346 0017652 0 ustar 00 'applicantMobile', 'applicantName' => 'applicantName', 'applicationLetter' => 'applicationLetter', 'authStatus' => 'authStatus', 'certificateType' => 'certificateType', 'corpName' => 'corpName', 'depositaryBank' => 'depositaryBank', 'extension' => 'extension', 'legalPerson' => 'legalPerson', 'licenseNumber' => 'licenseNumber', 'licenseUrl' => 'licenseUrl', 'orderId' => 'orderId', 'publicAccount' => 'publicAccount', 'reasonCode' => 'reasonCode', 'reasonMsg' => 'reasonMsg', 'tag' => 'tag', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applicantMobile) { $res['applicantMobile'] = $this->applicantMobile; } if (null !== $this->applicantName) { $res['applicantName'] = $this->applicantName; } if (null !== $this->applicationLetter) { $res['applicationLetter'] = $this->applicationLetter; } if (null !== $this->authStatus) { $res['authStatus'] = $this->authStatus; } if (null !== $this->certificateType) { $res['certificateType'] = $this->certificateType; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->depositaryBank) { $res['depositaryBank'] = $this->depositaryBank; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->legalPerson) { $res['legalPerson'] = $this->legalPerson; } if (null !== $this->licenseNumber) { $res['licenseNumber'] = $this->licenseNumber; } if (null !== $this->licenseUrl) { $res['licenseUrl'] = $this->licenseUrl; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } if (null !== $this->publicAccount) { $res['publicAccount'] = $this->publicAccount; } if (null !== $this->reasonCode) { $res['reasonCode'] = $this->reasonCode; } if (null !== $this->reasonMsg) { $res['reasonMsg'] = $this->reasonMsg; } if (null !== $this->tag) { $res['tag'] = $this->tag; } return $res; } /** * @param array $map * * @return AnnualCertificationAuditRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applicantMobile'])) { $model->applicantMobile = $map['applicantMobile']; } if (isset($map['applicantName'])) { $model->applicantName = $map['applicantName']; } if (isset($map['applicationLetter'])) { $model->applicationLetter = $map['applicationLetter']; } if (isset($map['authStatus'])) { $model->authStatus = $map['authStatus']; } if (isset($map['certificateType'])) { $model->certificateType = $map['certificateType']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['depositaryBank'])) { $model->depositaryBank = $map['depositaryBank']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['legalPerson'])) { $model->legalPerson = $map['legalPerson']; } if (isset($map['licenseNumber'])) { $model->licenseNumber = $map['licenseNumber']; } if (isset($map['licenseUrl'])) { $model->licenseUrl = $map['licenseUrl']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } if (isset($map['publicAccount'])) { $model->publicAccount = $map['publicAccount']; } if (isset($map['reasonCode'])) { $model->reasonCode = $map['reasonCode']; } if (isset($map['reasonMsg'])) { $model->reasonMsg = $map['reasonMsg']; } if (isset($map['tag'])) { $model->tag = $map['tag']; } return $model; } } src/contact_1_0/Models/AnnualCertificationAuditResponse.php 0000644 00000002775 14713400346 0020026 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AnnualCertificationAuditResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AnnualCertificationAuditResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/AnnualCertificationAuditResponseBody.php 0000644 00000001520 14713400346 0020627 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AnnualCertificationAuditResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/BatchApproveUnionApplyHeaders.php 0000644 00000002353 14713400346 0017257 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchApproveUnionApplyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/BatchApproveUnionApplyRequest.php 0000644 00000002552 14713400346 0017335 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = []; if (null !== $this->body && \is_array($this->body)) { $n = 0; foreach ($this->body as $item) { $res['body'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchApproveUnionApplyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = []; $n = 0; foreach ($map['body'] as $item) { $model->body[$n++] = null !== $item ? body::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/BatchApproveUnionApplyRequest/body.php 0000644 00000003102 14713400346 0020262 0 ustar 00 'branchCorpId', 'linkDeptId' => 'linkDeptId', 'unionRootName' => 'unionRootName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->branchCorpId) { $res['branchCorpId'] = $this->branchCorpId; } if (null !== $this->linkDeptId) { $res['linkDeptId'] = $this->linkDeptId; } if (null !== $this->unionRootName) { $res['unionRootName'] = $this->unionRootName; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['branchCorpId'])) { $model->branchCorpId = $map['branchCorpId']; } if (isset($map['linkDeptId'])) { $model->linkDeptId = $map['linkDeptId']; } if (isset($map['unionRootName'])) { $model->unionRootName = $map['unionRootName']; } return $model; } } src/contact_1_0/Models/BatchApproveUnionApplyResponse.php 0000644 00000002765 14713400346 0017511 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchApproveUnionApplyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchApproveUnionApplyResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/BatchApproveUnionApplyResponseBody.php 0000644 00000001514 14713400346 0020316 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchApproveUnionApplyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/ChangeMainAdminHeaders.php 0000644 00000002335 14713400346 0015625 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ChangeMainAdminHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ChangeMainAdminRequest.php 0000644 00000003372 14713400346 0015704 0 ustar 00 'effectCorpId', 'sourceUserId' => 'sourceUserId', 'targetUserId' => 'targetUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->effectCorpId) { $res['effectCorpId'] = $this->effectCorpId; } if (null !== $this->sourceUserId) { $res['sourceUserId'] = $this->sourceUserId; } if (null !== $this->targetUserId) { $res['targetUserId'] = $this->targetUserId; } return $res; } /** * @param array $map * * @return ChangeMainAdminRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['effectCorpId'])) { $model->effectCorpId = $map['effectCorpId']; } if (isset($map['sourceUserId'])) { $model->sourceUserId = $map['sourceUserId']; } if (isset($map['targetUserId'])) { $model->targetUserId = $map['targetUserId']; } return $model; } } src/contact_1_0/Models/ChangeMainAdminResponse.php 0000644 00000002165 14713400346 0016051 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return ChangeMainAdminResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/CreateCooperateOrgHeaders.php 0000644 00000002343 14713400346 0016376 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCooperateOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/CreateCooperateOrgRequest.php 0000644 00000003137 14713400346 0016455 0 ustar 00 'industryCode', 'logoMediaId' => 'logoMediaId', 'orgName' => 'orgName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->industryCode) { $res['industryCode'] = $this->industryCode; } if (null !== $this->logoMediaId) { $res['logoMediaId'] = $this->logoMediaId; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } return $res; } /** * @param array $map * * @return CreateCooperateOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['industryCode'])) { $model->industryCode = $map['industryCode']; } if (isset($map['logoMediaId'])) { $model->logoMediaId = $map['logoMediaId']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } return $model; } } src/contact_1_0/Models/CreateCooperateOrgResponse.php 0000644 00000002745 14713400346 0016627 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCooperateOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCooperateOrgResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/CreateCooperateOrgResponseBody.php 0000644 00000001627 14713400346 0017443 0 ustar 00 'cooperateCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cooperateCorpId) { $res['cooperateCorpId'] = $this->cooperateCorpId; } return $res; } /** * @param array $map * * @return CreateCooperateOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cooperateCorpId'])) { $model->cooperateCorpId = $map['cooperateCorpId']; } return $model; } } src/contact_1_0/Models/CreateManagementGroupHeaders.php 0000644 00000002351 14713400346 0017075 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateManagementGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/CreateManagementGroupRequest.php 0000644 00000005276 14713400346 0017163 0 ustar 00 'groupName', 'members' => 'members', 'resourceIds' => 'resourceIds', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->members) { $res['members'] = []; if (null !== $this->members && \is_array($this->members)) { $n = 0; foreach ($this->members as $item) { $res['members'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourceIds) { $res['resourceIds'] = $this->resourceIds; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } return $res; } /** * @param array $map * * @return CreateManagementGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['members'])) { if (!empty($map['members'])) { $model->members = []; $n = 0; foreach ($map['members'] as $item) { $model->members[$n++] = null !== $item ? members::fromMap($item) : $item; } } } if (isset($map['resourceIds'])) { if (!empty($map['resourceIds'])) { $model->resourceIds = $map['resourceIds']; } } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } return $model; } } src/contact_1_0/Models/CreateManagementGroupRequest/members.php 0000644 00000002442 14713400346 0020605 0 ustar 00 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/contact_1_0/Models/CreateManagementGroupRequest/scope.php 0000644 00000002426 14713400346 0020266 0 ustar 00 'deptIds', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/contact_1_0/Models/CreateManagementGroupResponse.php 0000644 00000002761 14713400346 0017325 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateManagementGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateManagementGroupResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/CreateManagementGroupResponseBody.php 0000644 00000001653 14713400346 0020142 0 ustar 00 'groupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } return $res; } /** * @param array $map * * @return CreateManagementGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } return $model; } } src/contact_1_0/Models/CreateSecondaryManagementGroupHeaders.php 0000644 00000002373 14713400346 0020751 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateSecondaryManagementGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/CreateSecondaryManagementGroupRequest.php 0000644 00000006163 14713400346 0021027 0 ustar 00 'groupName', 'members' => 'members', 'resourceIds' => 'resourceIds', 'scope' => 'scope', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->members) { $res['members'] = []; if (null !== $this->members && \is_array($this->members)) { $n = 0; foreach ($this->members as $item) { $res['members'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourceIds) { $res['resourceIds'] = $this->resourceIds; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateSecondaryManagementGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['members'])) { if (!empty($map['members'])) { $model->members = []; $n = 0; foreach ($map['members'] as $item) { $model->members[$n++] = null !== $item ? members::fromMap($item) : $item; } } } if (isset($map['resourceIds'])) { if (!empty($map['resourceIds'])) { $model->resourceIds = $map['resourceIds']; } } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/CreateSecondaryManagementGroupRequest/members.php 0000644 00000002453 14713400346 0022457 0 ustar 00 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/contact_1_0/Models/CreateSecondaryManagementGroupRequest/scope.php 0000644 00000002437 14713400346 0022140 0 ustar 00 'deptIds', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/contact_1_0/Models/CreateSecondaryManagementGroupResponse.php 0000644 00000003025 14713400346 0021167 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateSecondaryManagementGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateSecondaryManagementGroupResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/CreateSecondaryManagementGroupResponseBody.php 0000644 00000001675 14713400346 0022016 0 ustar 00 'groupId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } return $res; } /** * @param array $map * * @return CreateSecondaryManagementGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } return $model; } } src/contact_1_0/Models/DelAccountMappingHeaders.php 0000644 00000002341 14713400346 0016214 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DelAccountMappingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DelAccountMappingRequest.php 0000644 00000002364 14713400346 0016276 0 ustar 00 'domain', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DelAccountMappingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/DelAccountMappingResponse.php 0000644 00000002741 14713400346 0016443 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DelAccountMappingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DelAccountMappingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/DelAccountMappingResponseBody.php 0000644 00000001536 14713400346 0017262 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DelAccountMappingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/DelOrgAccUserOwnnessHeaders.php 0000644 00000002347 14713400346 0016664 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DelOrgAccUserOwnnessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DelOrgAccUserOwnnessRequest.php 0000644 00000003234 14713400346 0016735 0 ustar 00 'ownenssType', 'ownnessId' => 'ownnessId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownenssType) { $res['ownenssType'] = $this->ownenssType; } if (null !== $this->ownnessId) { $res['ownnessId'] = $this->ownnessId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return DelOrgAccUserOwnnessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownenssType'])) { $model->ownenssType = $map['ownenssType']; } if (isset($map['ownnessId'])) { $model->ownnessId = $map['ownnessId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/DelOrgAccUserOwnnessResponse.php 0000644 00000002755 14713400346 0017112 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DelOrgAccUserOwnnessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DelOrgAccUserOwnnessResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/DelOrgAccUserOwnnessResponseBody.php 0000644 00000001577 14713400346 0017731 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DelOrgAccUserOwnnessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/DeleteContactHideBySceneSettingHeaders.php 0000644 00000002375 14713400346 0021005 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteContactHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DeleteContactHideBySceneSettingResponse.php 0000644 00000003031 14713400346 0021216 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteContactHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteContactHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/DeleteContactHideBySceneSettingResponseBody.php 0000644 00000001547 14713400346 0022046 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteContactHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contact_1_0/Models/DeleteContactHideSettingHeaders.php 0000644 00000002357 14713400346 0017534 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteContactHideSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DeleteContactHideSettingResponse.php 0000644 00000002207 14713400346 0017751 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return DeleteContactHideSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/DeleteContactRestrictSettingHeaders.php 0000644 00000002367 14713400346 0020463 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteContactRestrictSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DeleteContactRestrictSettingResponse.php 0000644 00000003015 14713400346 0020675 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteContactRestrictSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteContactRestrictSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/DeleteContactRestrictSettingResponseBody.php 0000644 00000001564 14713400346 0021522 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeleteContactRestrictSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/DeleteEmpAttributeHideBySceneSettingHeaders.php 0000644 00000002407 14713400346 0022013 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteEmpAttributeHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DeleteEmpAttributeHideBySceneSettingResponse.php 0000644 00000003055 14713400346 0022236 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteEmpAttributeHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteEmpAttributeHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/DeleteEmpAttributeHideBySceneSettingResponseBody.php 0000644 00000001561 14713400346 0023054 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteEmpAttributeHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contact_1_0/Models/DeleteEmpAttributeVisibilityHeaders.php 0000644 00000002367 14713400346 0020467 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteEmpAttributeVisibilityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DeleteEmpAttributeVisibilityResponse.php 0000644 00000002217 14713400346 0020704 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return DeleteEmpAttributeVisibilityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/DeleteManagementGroupHeaders.php 0000644 00000002351 14713400346 0017074 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteManagementGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/DeleteManagementGroupResponse.php 0000644 00000002201 14713400346 0017311 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return DeleteManagementGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/GetAccountMappingHeaders.php 0000644 00000002341 14713400346 0016227 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAccountMappingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetAccountMappingRequest.php 0000644 00000002364 14713400346 0016311 0 ustar 00 'domain', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetAccountMappingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/GetAccountMappingResponse.php 0000644 00000002741 14713400346 0016456 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAccountMappingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAccountMappingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetAccountMappingResponseBody.php 0000644 00000001726 14713400346 0017276 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetAccountMappingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/contact_1_0/Models/GetAccountMappingResponseBody/result.php 0000644 00000004307 14713400346 0020612 0 ustar 00 'domain', 'extension' => 'extension', 'outId' => 'outId', 'outTenantId' => 'outTenantId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->outId) { $res['outId'] = $this->outId; } if (null !== $this->outTenantId) { $res['outTenantId'] = $this->outTenantId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['outId'])) { $model->outId = $map['outId']; } if (isset($map['outTenantId'])) { $model->outTenantId = $map['outTenantId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/GetApplyInviteInfoHeaders.php 0000644 00000002343 14713400346 0016401 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetApplyInviteInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetApplyInviteInfoRequest.php 0000644 00000002215 14713400346 0016454 0 ustar 00 'deptId', 'inviterUserId' => 'inviterUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->inviterUserId) { $res['inviterUserId'] = $this->inviterUserId; } return $res; } /** * @param array $map * * @return GetApplyInviteInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['inviterUserId'])) { $model->inviterUserId = $map['inviterUserId']; } return $model; } } src/contact_1_0/Models/GetApplyInviteInfoResponse.php 0000644 00000002745 14713400346 0016632 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetApplyInviteInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetApplyInviteInfoResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetApplyInviteInfoResponseBody.php 0000644 00000006253 14713400346 0017446 0 ustar 00 'auditType', 'empApplyJoinDept' => 'empApplyJoinDept', 'inviteSwitch' => 'inviteSwitch', 'inviteUrl' => 'inviteUrl', 'linkInvite' => 'linkInvite', 'orgApplyCodeInvite' => 'orgApplyCodeInvite', 'searchNameInvite' => 'searchNameInvite', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->auditType) { $res['auditType'] = $this->auditType; } if (null !== $this->empApplyJoinDept) { $res['empApplyJoinDept'] = $this->empApplyJoinDept; } if (null !== $this->inviteSwitch) { $res['inviteSwitch'] = $this->inviteSwitch; } if (null !== $this->inviteUrl) { $res['inviteUrl'] = $this->inviteUrl; } if (null !== $this->linkInvite) { $res['linkInvite'] = $this->linkInvite; } if (null !== $this->orgApplyCodeInvite) { $res['orgApplyCodeInvite'] = $this->orgApplyCodeInvite; } if (null !== $this->searchNameInvite) { $res['searchNameInvite'] = $this->searchNameInvite; } return $res; } /** * @param array $map * * @return GetApplyInviteInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['auditType'])) { $model->auditType = $map['auditType']; } if (isset($map['empApplyJoinDept'])) { $model->empApplyJoinDept = $map['empApplyJoinDept']; } if (isset($map['inviteSwitch'])) { $model->inviteSwitch = $map['inviteSwitch']; } if (isset($map['inviteUrl'])) { $model->inviteUrl = $map['inviteUrl']; } if (isset($map['linkInvite'])) { $model->linkInvite = $map['linkInvite']; } if (isset($map['orgApplyCodeInvite'])) { $model->orgApplyCodeInvite = $map['orgApplyCodeInvite']; } if (isset($map['searchNameInvite'])) { $model->searchNameInvite = $map['searchNameInvite']; } return $model; } } src/contact_1_0/Models/GetBranchAuthDataHeaders.php 0000644 00000002341 14713400346 0016130 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBranchAuthDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetBranchAuthDataRequest.php 0000644 00000003065 14713400346 0016211 0 ustar 00 'body', 'branchCorpId' => 'branchCorpId', 'code' => 'code', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->branchCorpId) { $res['branchCorpId'] = $this->branchCorpId; } if (null !== $this->code) { $res['code'] = $this->code; } return $res; } /** * @param array $map * * @return GetBranchAuthDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { $model->body = $map['body']; } if (isset($map['branchCorpId'])) { $model->branchCorpId = $map['branchCorpId']; } if (isset($map['code'])) { $model->code = $map['code']; } return $model; } } src/contact_1_0/Models/GetBranchAuthDataResponse.php 0000644 00000002741 14713400346 0016357 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBranchAuthDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBranchAuthDataResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetBranchAuthDataResponseBody.php 0000644 00000002616 14713400346 0017176 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetBranchAuthDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/GetBranchAuthDataResponseBody/result.php 0000644 00000003015 14713400346 0020506 0 ustar 00 'fieldCode', 'fieldName' => 'fieldName', 'fieldValue' => 'fieldValue', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldCode) { $res['fieldCode'] = $this->fieldCode; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->fieldValue) { $res['fieldValue'] = $this->fieldValue; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldCode'])) { $model->fieldCode = $map['fieldCode']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['fieldValue'])) { $model->fieldValue = $map['fieldValue']; } return $model; } } src/contact_1_0/Models/GetCardInUserHolderHeaders.php 0000644 00000002345 14713400346 0016460 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCardInUserHolderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetCardInUserHolderResponse.php 0000644 00000002751 14713400346 0016704 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCardInUserHolderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCardInUserHolderResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetCardInUserHolderResponseBody.php 0000644 00000010667 14713400346 0017527 0 ustar 00 'avatarUrl', 'cardAcceptStatus' => 'cardAcceptStatus', 'cardAcceptTimeLong' => 'cardAcceptTimeLong', 'cardId' => 'cardId', 'cardSource' => 'cardSource', 'extension' => 'extension', 'industryName' => 'industryName', 'introduce' => 'introduce', 'name' => 'name', 'orgName' => 'orgName', 'templateId' => 'templateId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->cardAcceptStatus) { $res['cardAcceptStatus'] = $this->cardAcceptStatus; } if (null !== $this->cardAcceptTimeLong) { $res['cardAcceptTimeLong'] = $this->cardAcceptTimeLong; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->cardSource) { $res['cardSource'] = $this->cardSource; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->industryName) { $res['industryName'] = $this->industryName; } if (null !== $this->introduce) { $res['introduce'] = $this->introduce; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return GetCardInUserHolderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['cardAcceptStatus'])) { $model->cardAcceptStatus = $map['cardAcceptStatus']; } if (isset($map['cardAcceptTimeLong'])) { $model->cardAcceptTimeLong = $map['cardAcceptTimeLong']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['cardSource'])) { $model->cardSource = $map['cardSource']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['industryName'])) { $model->industryName = $map['industryName']; } if (isset($map['introduce'])) { $model->introduce = $map['introduce']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/contact_1_0/Models/GetCardInfoHeaders.php 0000644 00000002325 14713400346 0015006 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCardInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponse.php 0000644 00000002711 14713400346 0015230 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCardInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCardInfoResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody.php 0000644 00000010051 14713400346 0016042 0 ustar 00 'adminRole', 'avatarUrl' => 'avatarUrl', 'cardId' => 'cardId', 'extension' => 'extension', 'industryName' => 'industryName', 'introduce' => 'introduce', 'name' => 'name', 'orgName' => 'orgName', 'settings' => 'settings', 'templateId' => 'templateId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->adminRole) { $res['adminRole'] = $this->adminRole; } if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->industryName) { $res['industryName'] = $this->industryName; } if (null !== $this->introduce) { $res['introduce'] = $this->introduce; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->settings) { $res['settings'] = $this->settings; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return GetCardInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['adminRole'])) { $model->adminRole = $map['adminRole']; } if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['industryName'])) { $model->industryName = $map['industryName']; } if (isset($map['introduce'])) { $model->introduce = $map['introduce']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['settings'])) { $model->settings = $map['settings']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension.php 0000644 00000010143 14713400346 0020060 0 ustar 00 'cardContactInfo', 'corpId' => 'corpId', 'department' => 'department', 'orgAuthed' => 'orgAuthed', 'orgLogo' => 'orgLogo', 'originCardUrl' => 'originCardUrl', 'shareContent' => 'shareContent', 'thumbnailUrl' => 'thumbnailUrl', 'videoFileName' => 'videoFileName', 'videoTitle' => 'videoTitle', 'videoUrl' => 'videoUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardContactInfo) { $res['cardContactInfo'] = null !== $this->cardContactInfo ? $this->cardContactInfo->toMap() : null; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->department) { $res['department'] = $this->department; } if (null !== $this->orgAuthed) { $res['orgAuthed'] = $this->orgAuthed; } if (null !== $this->orgLogo) { $res['orgLogo'] = $this->orgLogo; } if (null !== $this->originCardUrl) { $res['originCardUrl'] = $this->originCardUrl; } if (null !== $this->shareContent) { $res['shareContent'] = $this->shareContent; } if (null !== $this->thumbnailUrl) { $res['thumbnailUrl'] = $this->thumbnailUrl; } if (null !== $this->videoFileName) { $res['videoFileName'] = $this->videoFileName; } if (null !== $this->videoTitle) { $res['videoTitle'] = $this->videoTitle; } if (null !== $this->videoUrl) { $res['videoUrl'] = $this->videoUrl; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardContactInfo'])) { $model->cardContactInfo = cardContactInfo::fromMap($map['cardContactInfo']); } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['department'])) { $model->department = $map['department']; } if (isset($map['orgAuthed'])) { $model->orgAuthed = $map['orgAuthed']; } if (isset($map['orgLogo'])) { $model->orgLogo = $map['orgLogo']; } if (isset($map['originCardUrl'])) { $model->originCardUrl = $map['originCardUrl']; } if (isset($map['shareContent'])) { $model->shareContent = $map['shareContent']; } if (isset($map['thumbnailUrl'])) { $model->thumbnailUrl = $map['thumbnailUrl']; } if (isset($map['videoFileName'])) { $model->videoFileName = $map['videoFileName']; } if (isset($map['videoTitle'])) { $model->videoTitle = $map['videoTitle']; } if (isset($map['videoUrl'])) { $model->videoUrl = $map['videoUrl']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo.php 0000644 00000011653 14713400346 0023130 0 ustar 00 'address', 'email' => 'email', 'link' => 'link', 'telephone' => 'telephone', 'workPhone' => 'workPhone', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = []; if (null !== $this->address && \is_array($this->address)) { $n = 0; foreach ($this->address as $item) { $res['address'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->email) { $res['email'] = []; if (null !== $this->email && \is_array($this->email)) { $n = 0; foreach ($this->email as $item) { $res['email'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->link) { $res['link'] = []; if (null !== $this->link && \is_array($this->link)) { $n = 0; foreach ($this->link as $item) { $res['link'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->telephone) { $res['telephone'] = []; if (null !== $this->telephone && \is_array($this->telephone)) { $n = 0; foreach ($this->telephone as $item) { $res['telephone'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->workPhone) { $res['workPhone'] = []; if (null !== $this->workPhone && \is_array($this->workPhone)) { $n = 0; foreach ($this->workPhone as $item) { $res['workPhone'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return cardContactInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { if (!empty($map['address'])) { $model->address = []; $n = 0; foreach ($map['address'] as $item) { $model->address[$n++] = null !== $item ? address::fromMap($item) : $item; } } } if (isset($map['email'])) { if (!empty($map['email'])) { $model->email = []; $n = 0; foreach ($map['email'] as $item) { $model->email[$n++] = null !== $item ? email::fromMap($item) : $item; } } } if (isset($map['link'])) { if (!empty($map['link'])) { $model->link = []; $n = 0; foreach ($map['link'] as $item) { $model->link[$n++] = null !== $item ? link::fromMap($item) : $item; } } } if (isset($map['telephone'])) { if (!empty($map['telephone'])) { $model->telephone = []; $n = 0; foreach ($map['telephone'] as $item) { $model->telephone[$n++] = null !== $item ? telephone::fromMap($item) : $item; } } } if (isset($map['workPhone'])) { if (!empty($map['workPhone'])) { $model->workPhone = []; $n = 0; foreach ($map['workPhone'] as $item) { $model->workPhone[$n++] = null !== $item ? workPhone::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo/address.php 0000644 00000002356 14713400346 0024555 0 ustar 00 'area', 'detail' => 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->area) { $res['area'] = null !== $this->area ? $this->area->toMap() : null; } if (null !== $this->detail) { $res['detail'] = $this->detail; } return $res; } /** * @param array $map * * @return address */ public static function fromMap($map = []) { $model = new self(); if (isset($map['area'])) { $model->area = area::fromMap($map['area']); } if (isset($map['detail'])) { $model->detail = $map['detail']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo/address/area.php 0000644 00000002252 14713400346 0025460 0 ustar 00 'region', 'regionFullName' => 'regionFullName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->regionFullName) { $res['regionFullName'] = $this->regionFullName; } return $res; } /** * @param array $map * * @return area */ public static function fromMap($map = []) { $model = new self(); if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['regionFullName'])) { $model->regionFullName = $map['regionFullName']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo/email.php 0000644 00000002102 14713400346 0024204 0 ustar 00 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return email */ public static function fromMap($map = []) { $model = new self(); if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo/link.php 0000644 00000002100 14713400346 0024050 0 ustar 00 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return link */ public static function fromMap($map = []) { $model = new self(); if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo/telephone.php 0000644 00000002112 14713400346 0025101 0 ustar 00 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return telephone */ public static function fromMap($map = []) { $model = new self(); if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/contact_1_0/Models/GetCardInfoResponseBody/extension/cardContactInfo/workPhone.php 0000644 00000002112 14713400346 0025072 0 ustar 00 'label', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return workPhone */ public static function fromMap($map = []) { $model = new self(); if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/contact_1_0/Models/GetContactHideBySceneSettingHeaders.php 0000644 00000002367 14713400346 0020323 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetContactHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetContactHideBySceneSettingResponse.php 0000644 00000003015 14713400346 0020535 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetContactHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetContactHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetContactHideBySceneSettingResponseBody.php 0000644 00000013130 14713400346 0021352 0 ustar 00 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'id' => 'id', 'name' => 'name', 'nodeListSceneConfig' => 'nodeListSceneConfig', 'objectDeptIds' => 'objectDeptIds', 'objectTagIds' => 'objectTagIds', 'objectUserIds' => 'objectUserIds', 'profileSceneConfig' => 'profileSceneConfig', 'searchSceneConfig' => 'searchSceneConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeListSceneConfig) { $res['nodeListSceneConfig'] = null !== $this->nodeListSceneConfig ? $this->nodeListSceneConfig->toMap() : null; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } if (null !== $this->objectUserIds) { $res['objectUserIds'] = $this->objectUserIds; } if (null !== $this->profileSceneConfig) { $res['profileSceneConfig'] = null !== $this->profileSceneConfig ? $this->profileSceneConfig->toMap() : null; } if (null !== $this->searchSceneConfig) { $res['searchSceneConfig'] = null !== $this->searchSceneConfig ? $this->searchSceneConfig->toMap() : null; } return $res; } /** * @param array $map * * @return GetContactHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeListSceneConfig'])) { $model->nodeListSceneConfig = nodeListSceneConfig::fromMap($map['nodeListSceneConfig']); } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } if (isset($map['objectUserIds'])) { if (!empty($map['objectUserIds'])) { $model->objectUserIds = $map['objectUserIds']; } } if (isset($map['profileSceneConfig'])) { $model->profileSceneConfig = profileSceneConfig::fromMap($map['profileSceneConfig']); } if (isset($map['searchSceneConfig'])) { $model->searchSceneConfig = searchSceneConfig::fromMap($map['searchSceneConfig']); } return $model; } } src/contact_1_0/Models/GetContactHideBySceneSettingResponseBody/nodeListSceneConfig.php 0000644 00000002357 14713400346 0025250 0 ustar 00 'active', 'deptObjectIncludeEmp' => 'deptObjectIncludeEmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->deptObjectIncludeEmp) { $res['deptObjectIncludeEmp'] = $this->deptObjectIncludeEmp; } return $res; } /** * @param array $map * * @return nodeListSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['deptObjectIncludeEmp'])) { $model->deptObjectIncludeEmp = $map['deptObjectIncludeEmp']; } return $model; } } src/contact_1_0/Models/GetContactHideBySceneSettingResponseBody/profileSceneConfig.php 0000644 00000001525 14713400346 0025123 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return profileSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/GetContactHideBySceneSettingResponseBody/searchSceneConfig.php 0000644 00000002353 14713400346 0024730 0 ustar 00 'active', 'deptObjectIncludeEmp' => 'deptObjectIncludeEmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->deptObjectIncludeEmp) { $res['deptObjectIncludeEmp'] = $this->deptObjectIncludeEmp; } return $res; } /** * @param array $map * * @return searchSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['deptObjectIncludeEmp'])) { $model->deptObjectIncludeEmp = $map['deptObjectIncludeEmp']; } return $model; } } src/contact_1_0/Models/GetCooperateOrgInviteInfoHeaders.php 0000644 00000002361 14713400346 0017705 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCooperateOrgInviteInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetCooperateOrgInviteInfoResponse.php 0000644 00000003001 14713400346 0020120 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCooperateOrgInviteInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCooperateOrgInviteInfoResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetCooperateOrgInviteInfoResponseBody.php 0000644 00000001646 14713400346 0020753 0 ustar 00 'inviteUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->inviteUrl) { $res['inviteUrl'] = $this->inviteUrl; } return $res; } /** * @param array $map * * @return GetCooperateOrgInviteInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['inviteUrl'])) { $model->inviteUrl = $map['inviteUrl']; } return $model; } } src/contact_1_0/Models/GetCorpCardStyleListHeaders.php 0000644 00000002347 14713400346 0016677 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCorpCardStyleListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetCorpCardStyleListResponse.php 0000644 00000002755 14713400346 0017125 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCorpCardStyleListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCorpCardStyleListResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetCorpCardStyleListResponseBody.php 0000644 00000001700 14713400346 0017730 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetCorpCardStyleListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } return $model; } } src/contact_1_0/Models/GetDingIdByMigrationDingIdHeaders.php 0000644 00000002363 14713400346 0017705 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDingIdByMigrationDingIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetDingIdByMigrationDingIdRequest.php 0000644 00000001724 14713400346 0017762 0 ustar 00 'migrationDingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->migrationDingId) { $res['migrationDingId'] = $this->migrationDingId; } return $res; } /** * @param array $map * * @return GetDingIdByMigrationDingIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['migrationDingId'])) { $model->migrationDingId = $map['migrationDingId']; } return $model; } } src/contact_1_0/Models/GetDingIdByMigrationDingIdResponse.php 0000644 00000003005 14713400346 0020122 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDingIdByMigrationDingIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDingIdByMigrationDingIdResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetDingIdByMigrationDingIdResponseBody.php 0000644 00000001526 14713400346 0020746 0 ustar 00 'dingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingId) { $res['dingId'] = $this->dingId; } return $res; } /** * @param array $map * * @return GetDingIdByMigrationDingIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingId'])) { $model->dingId = $map['dingId']; } return $model; } } src/contact_1_0/Models/GetEmpAttributeHideBySceneSettingHeaders.php 0000644 00000002401 14713400346 0021322 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEmpAttributeHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetEmpAttributeHideBySceneSettingResponse.php 0000644 00000003041 14713400346 0021546 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEmpAttributeHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEmpAttributeHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetEmpAttributeHideBySceneSettingResponseBody.php 0000644 00000013725 14713400346 0022376 0 ustar 00 'chatSubtitleConfig', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'hideFields' => 'hideFields', 'id' => 'id', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectTagIds' => 'objectTagIds', 'objectUserIds' => 'objectUserIds', 'profileSceneConfig' => 'profileSceneConfig', 'searchSceneConfig' => 'searchSceneConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatSubtitleConfig) { $res['chatSubtitleConfig'] = null !== $this->chatSubtitleConfig ? $this->chatSubtitleConfig->toMap() : null; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->hideFields) { $res['hideFields'] = $this->hideFields; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } if (null !== $this->objectUserIds) { $res['objectUserIds'] = $this->objectUserIds; } if (null !== $this->profileSceneConfig) { $res['profileSceneConfig'] = null !== $this->profileSceneConfig ? $this->profileSceneConfig->toMap() : null; } if (null !== $this->searchSceneConfig) { $res['searchSceneConfig'] = null !== $this->searchSceneConfig ? $this->searchSceneConfig->toMap() : null; } return $res; } /** * @param array $map * * @return GetEmpAttributeHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatSubtitleConfig'])) { $model->chatSubtitleConfig = chatSubtitleConfig::fromMap($map['chatSubtitleConfig']); } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['hideFields'])) { if (!empty($map['hideFields'])) { $model->hideFields = $map['hideFields']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } if (isset($map['objectUserIds'])) { if (!empty($map['objectUserIds'])) { $model->objectUserIds = $map['objectUserIds']; } } if (isset($map['profileSceneConfig'])) { $model->profileSceneConfig = profileSceneConfig::fromMap($map['profileSceneConfig']); } if (isset($map['searchSceneConfig'])) { $model->searchSceneConfig = searchSceneConfig::fromMap($map['searchSceneConfig']); } return $model; } } src/contact_1_0/Models/GetEmpAttributeHideBySceneSettingResponseBody/chatSubtitleConfig.php 0000644 00000001532 14713400346 0026150 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return chatSubtitleConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/GetEmpAttributeHideBySceneSettingResponseBody/profileSceneConfig.php 0000644 00000001532 14713400346 0026133 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return profileSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/GetEmpAttributeHideBySceneSettingResponseBody/searchSceneConfig.php 0000644 00000001530 14713400346 0025736 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return searchSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/GetLatestDingIndexHeaders.php 0000644 00000002343 14713400346 0016347 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetLatestDingIndexHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetLatestDingIndexResponse.php 0000644 00000002745 14713400346 0016600 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetLatestDingIndexResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetLatestDingIndexResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetLatestDingIndexResponseBody.php 0000644 00000004742 14713400346 0017415 0 ustar 00 'idxCarbon', 'idxEfficiency' => 'idxEfficiency', 'idxMonthlyAvg' => 'idxMonthlyAvg', 'idxTotal' => 'idxTotal', 'statDate' => 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->idxCarbon) { $res['idxCarbon'] = $this->idxCarbon; } if (null !== $this->idxEfficiency) { $res['idxEfficiency'] = $this->idxEfficiency; } if (null !== $this->idxMonthlyAvg) { $res['idxMonthlyAvg'] = $this->idxMonthlyAvg; } if (null !== $this->idxTotal) { $res['idxTotal'] = $this->idxTotal; } if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return GetLatestDingIndexResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['idxCarbon'])) { $model->idxCarbon = $map['idxCarbon']; } if (isset($map['idxEfficiency'])) { $model->idxEfficiency = $map['idxEfficiency']; } if (isset($map['idxMonthlyAvg'])) { $model->idxMonthlyAvg = $map['idxMonthlyAvg']; } if (isset($map['idxTotal'])) { $model->idxTotal = $map['idxTotal']; } if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/contact_1_0/Models/GetMigrationDingIdByDingIdHeaders.php 0000644 00000002363 14713400346 0017705 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMigrationDingIdByDingIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetMigrationDingIdByDingIdRequest.php 0000644 00000001603 14713400346 0017756 0 ustar 00 'dingId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingId) { $res['dingId'] = $this->dingId; } return $res; } /** * @param array $map * * @return GetMigrationDingIdByDingIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingId'])) { $model->dingId = $map['dingId']; } return $model; } } src/contact_1_0/Models/GetMigrationDingIdByDingIdResponse.php 0000644 00000003005 14713400346 0020122 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMigrationDingIdByDingIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMigrationDingIdByDingIdResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetMigrationDingIdByDingIdResponseBody.php 0000644 00000001714 14713400346 0020745 0 ustar 00 'migrationDingIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->migrationDingIdList) { $res['migrationDingIdList'] = $this->migrationDingIdList; } return $res; } /** * @param array $map * * @return GetMigrationDingIdByDingIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['migrationDingIdList'])) { $model->migrationDingIdList = $map['migrationDingIdList']; } return $model; } } src/contact_1_0/Models/GetMigrationUnionIdByUnionIdHeaders.php 0000644 00000002367 14713400346 0020327 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMigrationUnionIdByUnionIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetMigrationUnionIdByUnionIdRequest.php 0000644 00000001620 14713400346 0020373 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetMigrationUnionIdByUnionIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/GetMigrationUnionIdByUnionIdResponse.php 0000644 00000003015 14713400346 0020541 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMigrationUnionIdByUnionIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMigrationUnionIdByUnionIdResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetMigrationUnionIdByUnionIdResponseBody.php 0000644 00000001731 14713400346 0021362 0 ustar 00 'migrationUnionIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->migrationUnionIdList) { $res['migrationUnionIdList'] = $this->migrationUnionIdList; } return $res; } /** * @param array $map * * @return GetMigrationUnionIdByUnionIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['migrationUnionIdList'])) { $model->migrationUnionIdList = $map['migrationUnionIdList']; } return $model; } } src/contact_1_0/Models/GetOrgAuthInfoHeaders.php 0000644 00000002333 14713400346 0015505 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOrgAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetOrgAuthInfoRequest.php 0000644 00000001615 14713400346 0015564 0 ustar 00 'targetCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->targetCorpId) { $res['targetCorpId'] = $this->targetCorpId; } return $res; } /** * @param array $map * * @return GetOrgAuthInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['targetCorpId'])) { $model->targetCorpId = $map['targetCorpId']; } return $model; } } src/contact_1_0/Models/GetOrgAuthInfoResponse.php 0000644 00000002725 14713400346 0015735 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOrgAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOrgAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetOrgAuthInfoResponseBody.php 0000644 00000007120 14713400346 0016545 0 ustar 00 'authLevel', 'legalPerson' => 'legalPerson', 'licenseOrgName' => 'licenseOrgName', 'licenseUrl' => 'licenseUrl', 'orgName' => 'orgName', 'organizationCode' => 'organizationCode', 'registrationNum' => 'registrationNum', 'unifiedSocialCredit' => 'unifiedSocialCredit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authLevel) { $res['authLevel'] = $this->authLevel; } if (null !== $this->legalPerson) { $res['legalPerson'] = $this->legalPerson; } if (null !== $this->licenseOrgName) { $res['licenseOrgName'] = $this->licenseOrgName; } if (null !== $this->licenseUrl) { $res['licenseUrl'] = $this->licenseUrl; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->organizationCode) { $res['organizationCode'] = $this->organizationCode; } if (null !== $this->registrationNum) { $res['registrationNum'] = $this->registrationNum; } if (null !== $this->unifiedSocialCredit) { $res['unifiedSocialCredit'] = $this->unifiedSocialCredit; } return $res; } /** * @param array $map * * @return GetOrgAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authLevel'])) { $model->authLevel = $map['authLevel']; } if (isset($map['legalPerson'])) { $model->legalPerson = $map['legalPerson']; } if (isset($map['licenseOrgName'])) { $model->licenseOrgName = $map['licenseOrgName']; } if (isset($map['licenseUrl'])) { $model->licenseUrl = $map['licenseUrl']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['organizationCode'])) { $model->organizationCode = $map['organizationCode']; } if (isset($map['registrationNum'])) { $model->registrationNum = $map['registrationNum']; } if (isset($map['unifiedSocialCredit'])) { $model->unifiedSocialCredit = $map['unifiedSocialCredit']; } return $model; } } src/contact_1_0/Models/GetTranslateFileJobResultHeaders.php 0000644 00000002361 14713400346 0017710 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTranslateFileJobResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetTranslateFileJobResultRequest.php 0000644 00000001650 14713400346 0017765 0 ustar 00 'jobId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } return $res; } /** * @param array $map * * @return GetTranslateFileJobResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } return $model; } } src/contact_1_0/Models/GetTranslateFileJobResultResponse.php 0000644 00000003001 14713400346 0020123 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTranslateFileJobResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTranslateFileJobResultResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetTranslateFileJobResultResponseBody.php 0000644 00000002266 14713400346 0020755 0 ustar 00 'status', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return GetTranslateFileJobResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/contact_1_0/Models/GetUnionIdByMigrationUnionIdHeaders.php 0000644 00000002367 14713400346 0020327 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUnionIdByMigrationUnionIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetUnionIdByMigrationUnionIdRequest.php 0000644 00000001741 14713400346 0020377 0 ustar 00 'migrationUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->migrationUnionId) { $res['migrationUnionId'] = $this->migrationUnionId; } return $res; } /** * @param array $map * * @return GetUnionIdByMigrationUnionIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['migrationUnionId'])) { $model->migrationUnionId = $map['migrationUnionId']; } return $model; } } src/contact_1_0/Models/GetUnionIdByMigrationUnionIdResponse.php 0000644 00000003015 14713400346 0020541 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUnionIdByMigrationUnionIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUnionIdByMigrationUnionIdResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetUnionIdByMigrationUnionIdResponseBody.php 0000644 00000001543 14713400346 0021363 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetUnionIdByMigrationUnionIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/GetUserCardHolderListHeaders.php 0000644 00000002351 14713400346 0017022 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserCardHolderListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetUserCardHolderListRequest.php 0000644 00000002301 14713400346 0017072 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetUserCardHolderListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/GetUserCardHolderListResponse.php 0000644 00000002761 14713400346 0017252 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserCardHolderListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserCardHolderListResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetUserCardHolderListResponseBody.php 0000644 00000004533 14713400346 0020067 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return GetUserCardHolderListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/contact_1_0/Models/GetUserCardHolderListResponseBody/list_.php 0000644 00000011270 14713400346 0021175 0 ustar 00 'avatarUrl', 'cardAcceptStatus' => 'cardAcceptStatus', 'cardAcceptTimeLong' => 'cardAcceptTimeLong', 'cardId' => 'cardId', 'cardSource' => 'cardSource', 'extension' => 'extension', 'industryName' => 'industryName', 'introduce' => 'introduce', 'name' => 'name', 'orgName' => 'orgName', 'templateId' => 'templateId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->cardAcceptStatus) { $res['cardAcceptStatus'] = $this->cardAcceptStatus; } if (null !== $this->cardAcceptTimeLong) { $res['cardAcceptTimeLong'] = $this->cardAcceptTimeLong; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->cardSource) { $res['cardSource'] = $this->cardSource; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->industryName) { $res['industryName'] = $this->industryName; } if (null !== $this->introduce) { $res['introduce'] = $this->introduce; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['cardAcceptStatus'])) { $model->cardAcceptStatus = $map['cardAcceptStatus']; } if (isset($map['cardAcceptTimeLong'])) { $model->cardAcceptTimeLong = $map['cardAcceptTimeLong']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['cardSource'])) { $model->cardSource = $map['cardSource']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['industryName'])) { $model->industryName = $map['industryName']; } if (isset($map['introduce'])) { $model->introduce = $map['introduce']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/contact_1_0/Models/GetUserHeaders.php 0000644 00000002315 14713400346 0014236 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/GetUserResponse.php 0000644 00000002671 14713400346 0014466 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/GetUserResponseBody.php 0000644 00000006012 14713400346 0015275 0 ustar 00 'avatarUrl', 'email' => 'email', 'loginEmail' => 'loginEmail', 'mobile' => 'mobile', 'nick' => 'nick', 'openId' => 'openId', 'stateCode' => 'stateCode', 'unionId' => 'unionId', 'visitor' => 'visitor', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->email) { $res['email'] = $this->email; } if (null !== $this->loginEmail) { $res['loginEmail'] = $this->loginEmail; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->openId) { $res['openId'] = $this->openId; } if (null !== $this->stateCode) { $res['stateCode'] = $this->stateCode; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->visitor) { $res['visitor'] = $this->visitor; } return $res; } /** * @param array $map * * @return GetUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['email'])) { $model->email = $map['email']; } if (isset($map['loginEmail'])) { $model->loginEmail = $map['loginEmail']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['openId'])) { $model->openId = $map['openId']; } if (isset($map['stateCode'])) { $model->stateCode = $map['stateCode']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['visitor'])) { $model->visitor = $map['visitor']; } return $model; } } src/contact_1_0/Models/IsFriendHeaders.php 0000644 00000002317 14713400346 0014365 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IsFriendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/IsFriendRequest.php 0000644 00000002213 14713400346 0014435 0 ustar 00 'mobileNo', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobileNo) { $res['mobileNo'] = $this->mobileNo; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return IsFriendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobileNo'])) { $model->mobileNo = $map['mobileNo']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/IsFriendResponse.php 0000644 00000002675 14713400346 0014617 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IsFriendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IsFriendResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/IsFriendResponseBody.php 0000644 00000001536 14713400346 0015430 0 ustar 00 'isFriend', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isFriend) { $res['isFriend'] = $this->isFriend; } return $res; } /** * @param array $map * * @return IsFriendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isFriend'])) { $model->isFriend = $map['isFriend']; } return $model; } } src/contact_1_0/Models/IsvCardEventPushHeaders.php 0000644 00000002337 14713400346 0016061 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return IsvCardEventPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/IsvCardEventPushRequest.php 0000644 00000004405 14713400346 0016134 0 ustar 00 'eventParams', 'eventType' => 'eventType', 'isvCardId' => 'isvCardId', 'isvToken' => 'isvToken', 'isvUid' => 'isvUid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->eventParams) { $res['eventParams'] = $this->eventParams; } if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } if (null !== $this->isvCardId) { $res['isvCardId'] = $this->isvCardId; } if (null !== $this->isvToken) { $res['isvToken'] = $this->isvToken; } if (null !== $this->isvUid) { $res['isvUid'] = $this->isvUid; } return $res; } /** * @param array $map * * @return IsvCardEventPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['eventParams'])) { $model->eventParams = $map['eventParams']; } if (isset($map['eventType'])) { $model->eventType = $map['eventType']; } if (isset($map['isvCardId'])) { $model->isvCardId = $map['isvCardId']; } if (isset($map['isvToken'])) { $model->isvToken = $map['isvToken']; } if (isset($map['isvUid'])) { $model->isvUid = $map['isvUid']; } return $model; } } src/contact_1_0/Models/IsvCardEventPushResponse.php 0000644 00000002735 14713400346 0016306 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return IsvCardEventPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = IsvCardEventPushResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/IsvCardEventPushResponseBody.php 0000644 00000001600 14713400346 0017112 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return IsvCardEventPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageHeaders.php 0000644 00000002345 14713400346 0016446 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListBasicRoleInPageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageRequest.php 0000644 00000002673 14713400346 0016527 0 ustar 00 'agentId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->agentId) { $res['agentId'] = $this->agentId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListBasicRoleInPageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['agentId'])) { $model->agentId = $map['agentId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageResponse.php 0000644 00000002751 14713400346 0016672 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListBasicRoleInPageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListBasicRoleInPageResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageResponseBody.php 0000644 00000003665 14713400346 0017515 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListBasicRoleInPageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageResponseBody/list_.php 0000644 00000005715 14713400346 0020625 0 ustar 00 'openAction', 'openMembers' => 'openMembers', 'openResources' => 'openResources', 'openRoleId' => 'openRoleId', 'openRoleName' => 'openRoleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openAction) { $res['openAction'] = null !== $this->openAction ? $this->openAction->toMap() : null; } if (null !== $this->openMembers) { $res['openMembers'] = []; if (null !== $this->openMembers && \is_array($this->openMembers)) { $n = 0; foreach ($this->openMembers as $item) { $res['openMembers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openResources) { $res['openResources'] = $this->openResources; } if (null !== $this->openRoleId) { $res['openRoleId'] = $this->openRoleId; } if (null !== $this->openRoleName) { $res['openRoleName'] = $this->openRoleName; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openAction'])) { $model->openAction = openAction::fromMap($map['openAction']); } if (isset($map['openMembers'])) { if (!empty($map['openMembers'])) { $model->openMembers = []; $n = 0; foreach ($map['openMembers'] as $item) { $model->openMembers[$n++] = null !== $item ? openMembers::fromMap($item) : $item; } } } if (isset($map['openResources'])) { if (!empty($map['openResources'])) { $model->openResources = $map['openResources']; } } if (isset($map['openRoleId'])) { $model->openRoleId = $map['openRoleId']; } if (isset($map['openRoleName'])) { $model->openRoleName = $map['openRoleName']; } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageResponseBody/list_/openAction.php 0000644 00000002662 14713400346 0022722 0 ustar 00 'actionIds', 'openCondition' => 'openCondition', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionIds) { $res['actionIds'] = $this->actionIds; } if (null !== $this->openCondition) { $res['openCondition'] = null !== $this->openCondition ? $this->openCondition->toMap() : null; } return $res; } /** * @param array $map * * @return openAction */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionIds'])) { if (!empty($map['actionIds'])) { $model->actionIds = $map['actionIds']; } } if (isset($map['openCondition'])) { $model->openCondition = openCondition::fromMap($map['openCondition']); } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageResponseBody/list_/openAction/openCondition.php 0000644 00000002212 14713400346 0025521 0 ustar 00 'openContactScope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openContactScope) { $res['openContactScope'] = null !== $this->openContactScope ? $this->openContactScope->toMap() : null; } return $res; } /** * @param array $map * * @return openCondition */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openContactScope'])) { $model->openContactScope = openContactScope::fromMap($map['openContactScope']); } return $model; } } Models/ListBasicRoleInPageResponseBody/list_/openAction/openCondition/openContactScope.php 0000644 00000004072 14713400346 0030717 0 ustar 00 src/contact_1_0 'deptIds', 'includeMemberDepts' => 'includeMemberDepts', 'includeSelfManageDepts' => 'includeSelfManageDepts', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->includeMemberDepts) { $res['includeMemberDepts'] = $this->includeMemberDepts; } if (null !== $this->includeSelfManageDepts) { $res['includeSelfManageDepts'] = $this->includeSelfManageDepts; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return openContactScope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['includeMemberDepts'])) { $model->includeMemberDepts = $map['includeMemberDepts']; } if (isset($map['includeSelfManageDepts'])) { $model->includeSelfManageDepts = $map['includeSelfManageDepts']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/contact_1_0/Models/ListBasicRoleInPageResponseBody/list_/openMembers.php 0000644 00000003444 14713400346 0023076 0 ustar 00 'belongCorpId', 'memberId' => 'memberId', 'memberType' => 'memberType', 'operateUserId' => 'operateUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->belongCorpId) { $res['belongCorpId'] = $this->belongCorpId; } if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } if (null !== $this->operateUserId) { $res['operateUserId'] = $this->operateUserId; } return $res; } /** * @param array $map * * @return openMembers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['belongCorpId'])) { $model->belongCorpId = $map['belongCorpId']; } if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } if (isset($map['operateUserId'])) { $model->operateUserId = $map['operateUserId']; } return $model; } } src/contact_1_0/Models/ListContactHideSettingsHeaders.php 0000644 00000002355 14713400346 0017426 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListContactHideSettingsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListContactHideSettingsRequest.php 0000644 00000002216 14713400346 0017477 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListContactHideSettingsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListContactHideSettingsResponse.php 0000644 00000002771 14713400346 0017653 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListContactHideSettingsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListContactHideSettingsResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListContactHideSettingsResponseBody.php 0000644 00000003735 14713400346 0020472 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListContactHideSettingsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListContactHideSettingsResponseBody/list_.php 0000644 00000010172 14713400346 0021575 0 ustar 00 'active', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeStaffIds' => 'excludeStaffIds', 'excludeTagIds' => 'excludeTagIds', 'id' => 'id', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectStaffIds' => 'objectStaffIds', 'objectTagIds' => 'objectTagIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeStaffIds) { $res['excludeStaffIds'] = $this->excludeStaffIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectStaffIds) { $res['objectStaffIds'] = $this->objectStaffIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeStaffIds'])) { if (!empty($map['excludeStaffIds'])) { $model->excludeStaffIds = $map['excludeStaffIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectStaffIds'])) { if (!empty($map['objectStaffIds'])) { $model->objectStaffIds = $map['objectStaffIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } return $model; } } src/contact_1_0/Models/ListContactRestrictSettingHeaders.php 0000644 00000002363 14713400346 0020170 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListContactRestrictSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListContactRestrictSettingRequest.php 0000644 00000002224 14713400346 0020241 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListContactRestrictSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListContactRestrictSettingResponse.php 0000644 00000003005 14713400346 0020405 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListContactRestrictSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListContactRestrictSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListContactRestrictSettingResponseBody.php 0000644 00000003746 14713400346 0021237 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListContactRestrictSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListContactRestrictSettingResponseBody/list_.php 0000644 00000012333 14713400346 0022341 0 ustar 00 'active', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'id' => 'id', 'name' => 'name', 'restrictInSearch' => 'restrictInSearch', 'restrictInUserProfile' => 'restrictInUserProfile', 'subjectDeptIds' => 'subjectDeptIds', 'subjectTagIds' => 'subjectTagIds', 'subjectUserIds' => 'subjectUserIds', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->restrictInSearch) { $res['restrictInSearch'] = $this->restrictInSearch; } if (null !== $this->restrictInUserProfile) { $res['restrictInUserProfile'] = $this->restrictInUserProfile; } if (null !== $this->subjectDeptIds) { $res['subjectDeptIds'] = $this->subjectDeptIds; } if (null !== $this->subjectTagIds) { $res['subjectTagIds'] = $this->subjectTagIds; } if (null !== $this->subjectUserIds) { $res['subjectUserIds'] = $this->subjectUserIds; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['restrictInSearch'])) { $model->restrictInSearch = $map['restrictInSearch']; } if (isset($map['restrictInUserProfile'])) { $model->restrictInUserProfile = $map['restrictInUserProfile']; } if (isset($map['subjectDeptIds'])) { if (!empty($map['subjectDeptIds'])) { $model->subjectDeptIds = $map['subjectDeptIds']; } } if (isset($map['subjectTagIds'])) { if (!empty($map['subjectTagIds'])) { $model->subjectTagIds = $map['subjectTagIds']; } } if (isset($map['subjectUserIds'])) { if (!empty($map['subjectUserIds'])) { $model->subjectUserIds = $map['subjectUserIds']; } } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/contact_1_0/Models/ListEmpAttributeVisibilityHeaders.php 0000644 00000002363 14713400346 0020174 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListEmpAttributeVisibilityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListEmpAttributeVisibilityRequest.php 0000644 00000002224 14713400346 0020245 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListEmpAttributeVisibilityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListEmpAttributeVisibilityResponse.php 0000644 00000003005 14713400346 0020411 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListEmpAttributeVisibilityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListEmpAttributeVisibilityResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListEmpAttributeVisibilityResponseBody.php 0000644 00000004137 14713400346 0021236 0 ustar 00 'hasMore', 'list' => 'list', 'nextCursor' => 'nextCursor', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } return $res; } /** * @param array $map * * @return ListEmpAttributeVisibilityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } return $model; } } src/contact_1_0/Models/ListEmpAttributeVisibilityResponseBody/list_.php 0000644 00000012007 14713400346 0022343 0 ustar 00 'active', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeStaffIds' => 'excludeStaffIds', 'excludeTagIds' => 'excludeTagIds', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'hideFields' => 'hideFields', 'id' => 'id', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectStaffIds' => 'objectStaffIds', 'objectTagIds' => 'objectTagIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeStaffIds) { $res['excludeStaffIds'] = $this->excludeStaffIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->hideFields) { $res['hideFields'] = $this->hideFields; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectStaffIds) { $res['objectStaffIds'] = $this->objectStaffIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeStaffIds'])) { if (!empty($map['excludeStaffIds'])) { $model->excludeStaffIds = $map['excludeStaffIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['hideFields'])) { if (!empty($map['hideFields'])) { $model->hideFields = $map['hideFields']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectStaffIds'])) { if (!empty($map['objectStaffIds'])) { $model->objectStaffIds = $map['objectStaffIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } return $model; } } src/contact_1_0/Models/ListEmpLeaveRecordsHeaders.php 0000644 00000002345 14713400346 0016537 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListEmpLeaveRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListEmpLeaveRecordsRequest.php 0000644 00000003723 14713400346 0016615 0 ustar 00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return ListEmpLeaveRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/contact_1_0/Models/ListEmpLeaveRecordsResponse.php 0000644 00000002751 14713400346 0016763 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListEmpLeaveRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListEmpLeaveRecordsResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListEmpLeaveRecordsResponseBody.php 0000644 00000003460 14713400346 0017577 0 ustar 00 'nextToken', 'records' => 'records', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->records) { $res['records'] = []; if (null !== $this->records && \is_array($this->records)) { $n = 0; foreach ($this->records as $item) { $res['records'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListEmpLeaveRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['records'])) { if (!empty($map['records'])) { $model->records = []; $n = 0; foreach ($map['records'] as $item) { $model->records[$n++] = null !== $item ? records::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/ListEmpLeaveRecordsResponseBody/records.php 0000644 00000005356 14713400346 0021246 0 ustar 00 'leaveReason', 'leaveTime' => 'leaveTime', 'mobile' => 'mobile', 'name' => 'name', 'stateCode' => 'stateCode', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->leaveReason) { $res['leaveReason'] = $this->leaveReason; } if (null !== $this->leaveTime) { $res['leaveTime'] = $this->leaveTime; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->stateCode) { $res['stateCode'] = $this->stateCode; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return records */ public static function fromMap($map = []) { $model = new self(); if (isset($map['leaveReason'])) { $model->leaveReason = $map['leaveReason']; } if (isset($map['leaveTime'])) { $model->leaveTime = $map['leaveTime']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['stateCode'])) { $model->stateCode = $map['stateCode']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/ListManagementGroupsHeaders.php 0000644 00000002347 14713400346 0016775 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListManagementGroupsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListManagementGroupsRequest.php 0000644 00000002366 14713400346 0017053 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListManagementGroupsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListManagementGroupsResponse.php 0000644 00000002755 14713400346 0017223 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListManagementGroupsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListManagementGroupsResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListManagementGroupsResponseBody.php 0000644 00000004174 14713400346 0020036 0 ustar 00 'groups', 'hasMore' => 'hasMore', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groups) { $res['groups'] = []; if (null !== $this->groups && \is_array($this->groups)) { $n = 0; foreach ($this->groups as $item) { $res['groups'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return ListManagementGroupsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groups'])) { if (!empty($map['groups'])) { $model->groups = []; $n = 0; foreach ($map['groups'] as $item) { $model->groups[$n++] = null !== $item ? groups::fromMap($item) : $item; } } } if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/contact_1_0/Models/ListManagementGroupsResponseBody/groups.php 0000644 00000005671 14713400346 0021360 0 ustar 00 'groupId', 'groupName' => 'groupName', 'members' => 'members', 'resourceIds' => 'resourceIds', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->members) { $res['members'] = []; if (null !== $this->members && \is_array($this->members)) { $n = 0; foreach ($this->members as $item) { $res['members'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourceIds) { $res['resourceIds'] = $this->resourceIds; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } return $res; } /** * @param array $map * * @return groups */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['members'])) { if (!empty($map['members'])) { $model->members = []; $n = 0; foreach ($map['members'] as $item) { $model->members[$n++] = null !== $item ? members::fromMap($item) : $item; } } } if (isset($map['resourceIds'])) { if (!empty($map['resourceIds'])) { $model->resourceIds = $map['resourceIds']; } } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } return $model; } } src/contact_1_0/Models/ListManagementGroupsResponseBody/groups/members.php 0000644 00000002455 14713400346 0023007 0 ustar 00 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/contact_1_0/Models/ListManagementGroupsResponseBody/groups/scope.php 0000644 00000002441 14713400346 0022461 0 ustar 00 'deptIds', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/contact_1_0/Models/ListOwnedOrgByStaffIdHeaders.php 0000644 00000002351 14713400346 0016774 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListOwnedOrgByStaffIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListOwnedOrgByStaffIdRequest.php 0000644 00000001632 14713400346 0017052 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ListOwnedOrgByStaffIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/ListOwnedOrgByStaffIdResponse.php 0000644 00000002761 14713400346 0017224 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListOwnedOrgByStaffIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListOwnedOrgByStaffIdResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListOwnedOrgByStaffIdResponseBody.php 0000644 00000002654 14713400346 0020043 0 ustar 00 'orgList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orgList) { $res['orgList'] = []; if (null !== $this->orgList && \is_array($this->orgList)) { $n = 0; foreach ($this->orgList as $item) { $res['orgList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListOwnedOrgByStaffIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orgList'])) { if (!empty($map['orgList'])) { $model->orgList = []; $n = 0; foreach ($map['orgList'] as $item) { $model->orgList[$n++] = null !== $item ? orgList::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/ListOwnedOrgByStaffIdResponseBody/orgList.php 0000644 00000002416 14713400346 0021462 0 ustar 00 'corpId', 'corpName' => 'corpName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } return $res; } /** * @param array $map * * @return orgList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } return $model; } } src/contact_1_0/Models/ListSeniorSettingsHeaders.php 0000644 00000002343 14713400346 0016475 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListSeniorSettingsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ListSeniorSettingsRequest.php 0000644 00000001662 14713400346 0016555 0 ustar 00 'seniorStaffId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->seniorStaffId) { $res['seniorStaffId'] = $this->seniorStaffId; } return $res; } /** * @param array $map * * @return ListSeniorSettingsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['seniorStaffId'])) { $model->seniorStaffId = $map['seniorStaffId']; } return $model; } } src/contact_1_0/Models/ListSeniorSettingsResponse.php 0000644 00000002745 14713400346 0016726 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListSeniorSettingsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListSeniorSettingsResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ListSeniorSettingsResponseBody.php 0000644 00000004426 14713400346 0017542 0 ustar 00 'protectScenes', 'seniorStaffId' => 'seniorStaffId', 'seniorWhiteList' => 'seniorWhiteList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->protectScenes) { $res['protectScenes'] = $this->protectScenes; } if (null !== $this->seniorStaffId) { $res['seniorStaffId'] = $this->seniorStaffId; } if (null !== $this->seniorWhiteList) { $res['seniorWhiteList'] = []; if (null !== $this->seniorWhiteList && \is_array($this->seniorWhiteList)) { $n = 0; foreach ($this->seniorWhiteList as $item) { $res['seniorWhiteList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListSeniorSettingsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['protectScenes'])) { if (!empty($map['protectScenes'])) { $model->protectScenes = $map['protectScenes']; } } if (isset($map['seniorStaffId'])) { $model->seniorStaffId = $map['seniorStaffId']; } if (isset($map['seniorWhiteList'])) { if (!empty($map['seniorWhiteList'])) { $model->seniorWhiteList = []; $n = 0; foreach ($map['seniorWhiteList'] as $item) { $model->seniorWhiteList[$n++] = null !== $item ? seniorWhiteList::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/ListSeniorSettingsResponseBody/seniorWhiteList.php 0000644 00000002563 14713400346 0022676 0 ustar 00 'id', 'name' => 'name', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return seniorWhiteList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/contact_1_0/Models/ModifyOrgAccUserOwnnessHeaders.php 0000644 00000002355 14713400346 0017406 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ModifyOrgAccUserOwnnessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/ModifyOrgAccUserOwnnessRequest.php 0000644 00000005365 14713400346 0017467 0 ustar 00 'endTime', 'ownenssType' => 'ownenssType', 'ownnessId' => 'ownnessId', 'startTime' => 'startTime', 'text' => 'text', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->ownenssType) { $res['ownenssType'] = $this->ownenssType; } if (null !== $this->ownnessId) { $res['ownnessId'] = $this->ownnessId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return ModifyOrgAccUserOwnnessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['ownenssType'])) { $model->ownenssType = $map['ownenssType']; } if (isset($map['ownnessId'])) { $model->ownnessId = $map['ownnessId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/ModifyOrgAccUserOwnnessResponse.php 0000644 00000002771 14713400346 0017633 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ModifyOrgAccUserOwnnessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ModifyOrgAccUserOwnnessResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/ModifyOrgAccUserOwnnessResponseBody.php 0000644 00000001516 14713400346 0020445 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ModifyOrgAccUserOwnnessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/MultiOrgPermissionGrantHeaders.php 0000644 00000002355 14713400346 0017473 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return MultiOrgPermissionGrantHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/MultiOrgPermissionGrantRequest.php 0000644 00000002605 14713400346 0017546 0 ustar 00 'grantDeptIdList', 'joinCorpId' => 'joinCorpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->grantDeptIdList) { $res['grantDeptIdList'] = $this->grantDeptIdList; } if (null !== $this->joinCorpId) { $res['joinCorpId'] = $this->joinCorpId; } return $res; } /** * @param array $map * * @return MultiOrgPermissionGrantRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['grantDeptIdList'])) { if (!empty($map['grantDeptIdList'])) { $model->grantDeptIdList = $map['grantDeptIdList']; } } if (isset($map['joinCorpId'])) { $model->joinCorpId = $map['joinCorpId']; } return $model; } } src/contact_1_0/Models/MultiOrgPermissionGrantResponse.php 0000644 00000002205 14713400346 0017710 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return MultiOrgPermissionGrantResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/PushVerifyEventHeaders.php 0000644 00000002335 14713400346 0015770 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushVerifyEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/PushVerifyEventRequest.php 0000644 00000003654 14713400346 0016052 0 ustar 00 'callerDeviceId', 'factorCodeList' => 'factorCodeList', 'state' => 'state', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->callerDeviceId) { $res['callerDeviceId'] = $this->callerDeviceId; } if (null !== $this->factorCodeList) { $res['factorCodeList'] = $this->factorCodeList; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PushVerifyEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['callerDeviceId'])) { $model->callerDeviceId = $map['callerDeviceId']; } if (isset($map['factorCodeList'])) { if (!empty($map['factorCodeList'])) { $model->factorCodeList = $map['factorCodeList']; } } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/PushVerifyEventResponse.php 0000644 00000002731 14713400346 0016213 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushVerifyEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushVerifyEventResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/PushVerifyEventResponseBody.php 0000644 00000001522 14713400346 0017026 0 ustar 00 'verifyId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->verifyId) { $res['verifyId'] = $this->verifyId; } return $res; } /** * @param array $map * * @return PushVerifyEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['verifyId'])) { $model->verifyId = $map['verifyId']; } return $model; } } src/contact_1_0/Models/QueryCardVisitorStatisticDataHeaders.php 0000644 00000002371 14713400346 0020623 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCardVisitorStatisticDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryCardVisitorStatisticDataRequest.php 0000644 00000001704 14713400346 0020677 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryCardVisitorStatisticDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/QueryCardVisitorStatisticDataResponse.php 0000644 00000003021 14713400346 0021037 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCardVisitorStatisticDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCardVisitorStatisticDataResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryCardVisitorStatisticDataResponseBody.php 0000644 00000010052 14713400346 0021657 0 ustar 00 'cardSendCnt', 'todayVisitAddCnt' => 'todayVisitAddCnt', 'todayVisitCnt' => 'todayVisitCnt', 'totalVisitAddCnt' => 'totalVisitAddCnt', 'totalVisitCnt' => 'totalVisitCnt', 'wechatTodayVisitAddCnt' => 'wechatTodayVisitAddCnt', 'wechatTodayVisitCnt' => 'wechatTodayVisitCnt', 'wechatTotalVisitAddCnt' => 'wechatTotalVisitAddCnt', 'wechatTotalVisitCnt' => 'wechatTotalVisitCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardSendCnt) { $res['cardSendCnt'] = $this->cardSendCnt; } if (null !== $this->todayVisitAddCnt) { $res['todayVisitAddCnt'] = $this->todayVisitAddCnt; } if (null !== $this->todayVisitCnt) { $res['todayVisitCnt'] = $this->todayVisitCnt; } if (null !== $this->totalVisitAddCnt) { $res['totalVisitAddCnt'] = $this->totalVisitAddCnt; } if (null !== $this->totalVisitCnt) { $res['totalVisitCnt'] = $this->totalVisitCnt; } if (null !== $this->wechatTodayVisitAddCnt) { $res['wechatTodayVisitAddCnt'] = $this->wechatTodayVisitAddCnt; } if (null !== $this->wechatTodayVisitCnt) { $res['wechatTodayVisitCnt'] = $this->wechatTodayVisitCnt; } if (null !== $this->wechatTotalVisitAddCnt) { $res['wechatTotalVisitAddCnt'] = $this->wechatTotalVisitAddCnt; } if (null !== $this->wechatTotalVisitCnt) { $res['wechatTotalVisitCnt'] = $this->wechatTotalVisitCnt; } return $res; } /** * @param array $map * * @return QueryCardVisitorStatisticDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardSendCnt'])) { $model->cardSendCnt = $map['cardSendCnt']; } if (isset($map['todayVisitAddCnt'])) { $model->todayVisitAddCnt = $map['todayVisitAddCnt']; } if (isset($map['todayVisitCnt'])) { $model->todayVisitCnt = $map['todayVisitCnt']; } if (isset($map['totalVisitAddCnt'])) { $model->totalVisitAddCnt = $map['totalVisitAddCnt']; } if (isset($map['totalVisitCnt'])) { $model->totalVisitCnt = $map['totalVisitCnt']; } if (isset($map['wechatTodayVisitAddCnt'])) { $model->wechatTodayVisitAddCnt = $map['wechatTodayVisitAddCnt']; } if (isset($map['wechatTodayVisitCnt'])) { $model->wechatTodayVisitCnt = $map['wechatTodayVisitCnt']; } if (isset($map['wechatTotalVisitAddCnt'])) { $model->wechatTotalVisitAddCnt = $map['wechatTotalVisitAddCnt']; } if (isset($map['wechatTotalVisitCnt'])) { $model->wechatTotalVisitCnt = $map['wechatTotalVisitCnt']; } return $model; } } src/contact_1_0/Models/QueryCorpStatisticDataHeaders.php 0000644 00000002353 14713400346 0017275 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCorpStatisticDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryCorpStatisticDataRequest.php 0000644 00000004054 14713400346 0017352 0 ustar 00 'endTime', 'startTime' => 'startTime', 'templateIds' => 'templateIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->templateIds) { $res['templateIds'] = $this->templateIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryCorpStatisticDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['templateIds'])) { if (!empty($map['templateIds'])) { $model->templateIds = $map['templateIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/QueryCorpStatisticDataResponse.php 0000644 00000002765 14713400346 0017527 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCorpStatisticDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCorpStatisticDataResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryCorpStatisticDataResponseBody.php 0000644 00000002635 14713400346 0020341 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCorpStatisticDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/QueryCorpStatisticDataResponseBody/result.php 0000644 00000006401 14713400346 0021652 0 ustar 00 'cardBeReceivedTotalCnt', 'cardReceiveTotalCnt' => 'cardReceiveTotalCnt', 'cardTotalBeVisitedCnt' => 'cardTotalBeVisitedCnt', 'dataDate' => 'dataDate', 'dingTotalShareCnt' => 'dingTotalShareCnt', 'totalSendCnt' => 'totalSendCnt', 'wechatTotalShareCnt' => 'wechatTotalShareCnt', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardBeReceivedTotalCnt) { $res['cardBeReceivedTotalCnt'] = $this->cardBeReceivedTotalCnt; } if (null !== $this->cardReceiveTotalCnt) { $res['cardReceiveTotalCnt'] = $this->cardReceiveTotalCnt; } if (null !== $this->cardTotalBeVisitedCnt) { $res['cardTotalBeVisitedCnt'] = $this->cardTotalBeVisitedCnt; } if (null !== $this->dataDate) { $res['dataDate'] = $this->dataDate; } if (null !== $this->dingTotalShareCnt) { $res['dingTotalShareCnt'] = $this->dingTotalShareCnt; } if (null !== $this->totalSendCnt) { $res['totalSendCnt'] = $this->totalSendCnt; } if (null !== $this->wechatTotalShareCnt) { $res['wechatTotalShareCnt'] = $this->wechatTotalShareCnt; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardBeReceivedTotalCnt'])) { $model->cardBeReceivedTotalCnt = $map['cardBeReceivedTotalCnt']; } if (isset($map['cardReceiveTotalCnt'])) { $model->cardReceiveTotalCnt = $map['cardReceiveTotalCnt']; } if (isset($map['cardTotalBeVisitedCnt'])) { $model->cardTotalBeVisitedCnt = $map['cardTotalBeVisitedCnt']; } if (isset($map['dataDate'])) { $model->dataDate = $map['dataDate']; } if (isset($map['dingTotalShareCnt'])) { $model->dingTotalShareCnt = $map['dingTotalShareCnt']; } if (isset($map['totalSendCnt'])) { $model->totalSendCnt = $map['totalSendCnt']; } if (isset($map['wechatTotalShareCnt'])) { $model->wechatTotalShareCnt = $map['wechatTotalShareCnt']; } return $model; } } src/contact_1_0/Models/QueryCorpUserStatisticHeaders.php 0000644 00000002353 14713400346 0017342 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCorpUserStatisticHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryCorpUserStatisticRequest.php 0000644 00000005413 14713400346 0017417 0 ustar 00 'endTime', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'startTime' => 'startTime', 'templateIds' => 'templateIds', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->templateIds) { $res['templateIds'] = $this->templateIds; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryCorpUserStatisticRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['templateIds'])) { if (!empty($map['templateIds'])) { $model->templateIds = $map['templateIds']; } } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/QueryCorpUserStatisticResponse.php 0000644 00000002765 14713400346 0017574 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCorpUserStatisticResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCorpUserStatisticResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryCorpUserStatisticResponseBody.php 0000644 00000004443 14713400346 0020405 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryCorpUserStatisticResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/contact_1_0/Models/QueryCorpUserStatisticResponseBody/list_.php 0000644 00000004145 14713400346 0021516 0 ustar 00 'avatarUrl', 'name' => 'name', 'receiveCnt' => 'receiveCnt', 'sendCnt' => 'sendCnt', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->receiveCnt) { $res['receiveCnt'] = $this->receiveCnt; } if (null !== $this->sendCnt) { $res['sendCnt'] = $this->sendCnt; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['receiveCnt'])) { $model->receiveCnt = $map['receiveCnt']; } if (isset($map['sendCnt'])) { $model->sendCnt = $map['sendCnt']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/QueryResourceManagementMembersHeaders.php 0000644 00000002373 14713400346 0021011 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryResourceManagementMembersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryResourceManagementMembersResponse.php 0000644 00000003025 14713400346 0021227 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryResourceManagementMembersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryResourceManagementMembersResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryResourceManagementMembersResponseBody.php 0000644 00000002707 14713400346 0022053 0 ustar 00 'members', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->members) { $res['members'] = []; if (null !== $this->members && \is_array($this->members)) { $n = 0; foreach ($this->members as $item) { $res['members'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryResourceManagementMembersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['members'])) { if (!empty($map['members'])) { $model->members = []; $n = 0; foreach ($map['members'] as $item) { $model->members[$n++] = null !== $item ? members::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/QueryResourceManagementMembersResponseBody/members.php 0000644 00000002302 14713400346 0023474 0 ustar 00 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/contact_1_0/Models/QueryStatusHeaders.php 0000644 00000002325 14713400346 0015172 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryStatusRequest.php 0000644 00000001606 14713400346 0015250 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/QueryStatusResponse.php 0000644 00000002711 14713400346 0015414 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryStatusResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryStatusResponseBody.php 0000644 00000001630 14713400346 0016231 0 ustar 00 'disable', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->disable) { $res['disable'] = $this->disable; } return $res; } /** * @param array $map * * @return QueryStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['disable'])) { $model->disable = $map['disable']; } return $model; } } src/contact_1_0/Models/QueryUserManagementResourcesHeaders.php 0000644 00000002367 14713400346 0020523 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryUserManagementResourcesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryUserManagementResourcesResponse.php 0000644 00000003015 14713400346 0020735 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryUserManagementResourcesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryUserManagementResourcesResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryUserManagementResourcesResponseBody.php 0000644 00000001712 14713400346 0021555 0 ustar 00 'resourceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->resourceIds) { $res['resourceIds'] = $this->resourceIds; } return $res; } /** * @param array $map * * @return QueryUserManagementResourcesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['resourceIds'])) { if (!empty($map['resourceIds'])) { $model->resourceIds = $map['resourceIds']; } } return $model; } } src/contact_1_0/Models/QueryVerifyResultHeaders.php 0000644 00000002341 14713400346 0016350 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryVerifyResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/QueryVerifyResultRequest.php 0000644 00000001603 14713400346 0016425 0 ustar 00 'verifyId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->verifyId) { $res['verifyId'] = $this->verifyId; } return $res; } /** * @param array $map * * @return QueryVerifyResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['verifyId'])) { $model->verifyId = $map['verifyId']; } return $model; } } src/contact_1_0/Models/QueryVerifyResultResponse.php 0000644 00000002741 14713400346 0016577 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryVerifyResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryVerifyResultResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/QueryVerifyResultResponseBody.php 0000644 00000005653 14713400346 0017422 0 ustar 00 'corpId', 'factorCode' => 'factorCode', 'factorDesc' => 'factorDesc', 'resultCode' => 'resultCode', 'resultDesc' => 'resultDesc', 'state' => 'state', 'userId' => 'userId', 'verifyTimestamp' => 'verifyTimestamp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->factorCode) { $res['factorCode'] = $this->factorCode; } if (null !== $this->factorDesc) { $res['factorDesc'] = $this->factorDesc; } if (null !== $this->resultCode) { $res['resultCode'] = $this->resultCode; } if (null !== $this->resultDesc) { $res['resultDesc'] = $this->resultDesc; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->verifyTimestamp) { $res['verifyTimestamp'] = $this->verifyTimestamp; } return $res; } /** * @param array $map * * @return QueryVerifyResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['factorCode'])) { $model->factorCode = $map['factorCode']; } if (isset($map['factorDesc'])) { $model->factorDesc = $map['factorDesc']; } if (isset($map['resultCode'])) { $model->resultCode = $map['resultCode']; } if (isset($map['resultDesc'])) { $model->resultDesc = $map['resultDesc']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['verifyTimestamp'])) { $model->verifyTimestamp = $map['verifyTimestamp']; } return $model; } } src/contact_1_0/Models/SearchDepartmentHeaders.php 0000644 00000002337 14713400346 0016115 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchDepartmentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SearchDepartmentRequest.php 0000644 00000003130 14713400346 0016162 0 ustar 00 'offset', 'queryWord' => 'queryWord', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->queryWord) { $res['queryWord'] = $this->queryWord; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return SearchDepartmentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['queryWord'])) { $model->queryWord = $map['queryWord']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/contact_1_0/Models/SearchDepartmentResponse.php 0000644 00000002735 14713400346 0016342 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchDepartmentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchDepartmentResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SearchDepartmentResponseBody.php 0000644 00000003044 14713400346 0017152 0 ustar 00 'hasMore', 'list' => 'list', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = $this->list; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchDepartmentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = $map['list']; } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/contact_1_0/Models/SearchUserHeaders.php 0000644 00000002323 14713400346 0014723 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SearchUserRequest.php 0000644 00000003704 14713400346 0015004 0 ustar 00 'fullMatchField', 'offset' => 'offset', 'queryWord' => 'queryWord', 'size' => 'size', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fullMatchField) { $res['fullMatchField'] = $this->fullMatchField; } if (null !== $this->offset) { $res['offset'] = $this->offset; } if (null !== $this->queryWord) { $res['queryWord'] = $this->queryWord; } if (null !== $this->size) { $res['size'] = $this->size; } return $res; } /** * @param array $map * * @return SearchUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fullMatchField'])) { $model->fullMatchField = $map['fullMatchField']; } if (isset($map['offset'])) { $model->offset = $map['offset']; } if (isset($map['queryWord'])) { $model->queryWord = $map['queryWord']; } if (isset($map['size'])) { $model->size = $map['size']; } return $model; } } src/contact_1_0/Models/SearchUserResponse.php 0000644 00000002705 14713400346 0015152 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchUserResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SearchUserResponseBody.php 0000644 00000002655 14713400346 0015774 0 ustar 00 'hasMore', 'list' => 'list', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = $this->list; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return SearchUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = $map['list']; } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/contact_1_0/Models/SeparateBranchOrgHeaders.php 0000644 00000002341 14713400346 0016211 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SeparateBranchOrgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SeparateBranchOrgRequest.php 0000644 00000001677 14713400346 0016301 0 ustar 00 'attachDeptId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attachDeptId) { $res['attachDeptId'] = $this->attachDeptId; } return $res; } /** * @param array $map * * @return SeparateBranchOrgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attachDeptId'])) { $model->attachDeptId = $map['attachDeptId']; } return $model; } } src/contact_1_0/Models/SeparateBranchOrgResponse.php 0000644 00000002741 14713400346 0016440 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SeparateBranchOrgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SeparateBranchOrgResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SeparateBranchOrgResponseBody.php 0000644 00000001625 14713400346 0017256 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SeparateBranchOrgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/SetDisableHeaders.php 0000644 00000002323 14713400346 0014676 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetDisableHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SetDisableRequest.php 0000644 00000002263 14713400346 0014756 0 ustar 00 'reason', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->reason) { $res['reason'] = $this->reason; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SetDisableRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['reason'])) { $model->reason = $map['reason']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/SetDisableResponse.php 0000644 00000002705 14713400346 0015125 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetDisableResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetDisableResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SetDisableResponseBody.php 0000644 00000001464 14713400346 0015744 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SetDisableResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/SetEnableHeaders.php 0000644 00000002321 14713400346 0014517 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SetEnableHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SetEnableRequest.php 0000644 00000001602 14713400346 0014575 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SetEnableRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/SetEnableResponse.php 0000644 00000002701 14713400346 0014744 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SetEnableResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SetEnableResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SetEnableResponseBody.php 0000644 00000001462 14713400346 0015565 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SetEnableResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/SignOutHeaders.php 0000644 00000002315 14713400346 0014250 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SignOutHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SignOutRequest.php 0000644 00000002153 14713400346 0014325 0 ustar 00 'reason', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->reason) { $res['reason'] = $this->reason; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SignOutRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['reason'])) { $model->reason = $map['reason']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/SignOutResponse.php 0000644 00000002671 14713400346 0014500 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SignOutResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SignOutResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SignOutResponseBody.php 0000644 00000001456 14713400346 0015316 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return SignOutResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/SortUserHeaders.php 0000644 00000002317 14713400346 0014450 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SortUserHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/SortUserRequest.php 0000644 00000002375 14713400346 0014531 0 ustar 00 'sortType', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->sortType) { $res['sortType'] = $this->sortType; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return SortUserRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['sortType'])) { $model->sortType = $map['sortType']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/contact_1_0/Models/SortUserResponse.php 0000644 00000002675 14713400346 0014702 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SortUserResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SortUserResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/SortUserResponseBody.php 0000644 00000001717 14713400346 0015514 0 ustar 00 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return SortUserResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/contact_1_0/Models/TransformToExclusiveAccountHeaders.php 0000644 00000002365 14713400346 0020350 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TransformToExclusiveAccountHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/TransformToExclusiveAccountRequest.php 0000644 00000004356 14713400346 0020427 0 ustar 00 'idpDingTalk', 'initPassword' => 'initPassword', 'loginId' => 'loginId', 'transformType' => 'transformType', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->idpDingTalk) { $res['idpDingTalk'] = $this->idpDingTalk; } if (null !== $this->initPassword) { $res['initPassword'] = $this->initPassword; } if (null !== $this->loginId) { $res['loginId'] = $this->loginId; } if (null !== $this->transformType) { $res['transformType'] = $this->transformType; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return TransformToExclusiveAccountRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['idpDingTalk'])) { $model->idpDingTalk = $map['idpDingTalk']; } if (isset($map['initPassword'])) { $model->initPassword = $map['initPassword']; } if (isset($map['loginId'])) { $model->loginId = $map['loginId']; } if (isset($map['transformType'])) { $model->transformType = $map['transformType']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/contact_1_0/Models/TransformToExclusiveAccountResponse.php 0000644 00000002215 14713400346 0020565 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return TransformToExclusiveAccountResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/TranslateFileHeaders.php 0000644 00000002331 14713400346 0015413 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TranslateFileHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/TranslateFileRequest.php 0000644 00000003274 14713400346 0015477 0 ustar 00 'medias', 'outputFileName' => 'outputFileName', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->medias) { $res['medias'] = $this->medias; } if (null !== $this->outputFileName) { $res['outputFileName'] = $this->outputFileName; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return TranslateFileRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['medias'])) { $model->medias = $map['medias']; } if (isset($map['outputFileName'])) { $model->outputFileName = $map['outputFileName']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/TranslateFileResponse.php 0000644 00000002721 14713400346 0015641 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TranslateFileResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TranslateFileResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/TranslateFileResponseBody.php 0000644 00000001543 14713400346 0016460 0 ustar 00 'jobId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->jobId) { $res['jobId'] = $this->jobId; } return $res; } /** * @param array $map * * @return TranslateFileResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['jobId'])) { $model->jobId = $map['jobId']; } return $model; } } src/contact_1_0/Models/UniqueQueryUserCardHeaders.php 0000644 00000002345 14713400346 0016610 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UniqueQueryUserCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UniqueQueryUserCardRequest.php 0000644 00000002363 14713400346 0016665 0 ustar 00 'templateId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return UniqueQueryUserCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contact_1_0/Models/UniqueQueryUserCardResponse.php 0000644 00000002751 14713400346 0017034 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UniqueQueryUserCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UniqueQueryUserCardResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UniqueQueryUserCardResponseBody.php 0000644 00000007346 14713400346 0017657 0 ustar 00 'avatarUrl', 'cardId' => 'cardId', 'extension' => 'extension', 'industryName' => 'industryName', 'introduce' => 'introduce', 'name' => 'name', 'orgName' => 'orgName', 'settings' => 'settings', 'templateId' => 'templateId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->cardId) { $res['cardId'] = $this->cardId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->industryName) { $res['industryName'] = $this->industryName; } if (null !== $this->introduce) { $res['introduce'] = $this->introduce; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->settings) { $res['settings'] = $this->settings; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return UniqueQueryUserCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['cardId'])) { $model->cardId = $map['cardId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['industryName'])) { $model->industryName = $map['industryName']; } if (isset($map['introduce'])) { $model->introduce = $map['introduce']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['settings'])) { $model->settings = $map['settings']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/contact_1_0/Models/UpdateBranchAttributesInCooperateHeaders.php 0000644 00000002401 14713400346 0021414 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateBranchAttributesInCooperateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateBranchAttributesInCooperateRequest.php 0000644 00000002702 14713400346 0021475 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = []; if (null !== $this->body && \is_array($this->body)) { $n = 0; foreach ($this->body as $item) { $res['body'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateBranchAttributesInCooperateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = []; $n = 0; foreach ($map['body'] as $item) { $model->body[$n++] = null !== $item ? body::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/UpdateBranchAttributesInCooperateRequest/body.php 0000644 00000003363 14713400346 0022436 0 ustar 00 'branchCorpId', 'linkDeptId' => 'linkDeptId', 'unionRootName' => 'unionRootName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->branchCorpId) { $res['branchCorpId'] = $this->branchCorpId; } if (null !== $this->linkDeptId) { $res['linkDeptId'] = $this->linkDeptId; } if (null !== $this->unionRootName) { $res['unionRootName'] = $this->unionRootName; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['branchCorpId'])) { $model->branchCorpId = $map['branchCorpId']; } if (isset($map['linkDeptId'])) { $model->linkDeptId = $map['linkDeptId']; } if (isset($map['unionRootName'])) { $model->unionRootName = $map['unionRootName']; } return $model; } } src/contact_1_0/Models/UpdateBranchAttributesInCooperateResponse.php 0000644 00000002231 14713400346 0021640 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return UpdateBranchAttributesInCooperateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/UpdateBranchVisibleSettingInCooperateHeaders.php 0000644 00000002411 14713400346 0022222 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateBranchVisibleSettingInCooperateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateBranchVisibleSettingInCooperateRequest.php 0000644 00000002716 14713400346 0022307 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = []; if (null !== $this->body && \is_array($this->body)) { $n = 0; foreach ($this->body as $item) { $res['body'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateBranchVisibleSettingInCooperateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = []; $n = 0; foreach ($map['body'] as $item) { $model->body[$n++] = null !== $item ? body::fromMap($item) : $item; } } } return $model; } } src/contact_1_0/Models/UpdateBranchVisibleSettingInCooperateRequest/body.php 0000644 00000005001 14713400346 0023232 0 ustar 00 'branchCorpId', 'open' => 'open', 'type' => 'type', 'visibleBranchCorpIds' => 'visibleBranchCorpIds', 'visibleDeptIds' => 'visibleDeptIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->branchCorpId) { $res['branchCorpId'] = $this->branchCorpId; } if (null !== $this->open) { $res['open'] = $this->open; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->visibleBranchCorpIds) { $res['visibleBranchCorpIds'] = $this->visibleBranchCorpIds; } if (null !== $this->visibleDeptIds) { $res['visibleDeptIds'] = $this->visibleDeptIds; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['branchCorpId'])) { $model->branchCorpId = $map['branchCorpId']; } if (isset($map['open'])) { $model->open = $map['open']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['visibleBranchCorpIds'])) { if (!empty($map['visibleBranchCorpIds'])) { $model->visibleBranchCorpIds = $map['visibleBranchCorpIds']; } } if (isset($map['visibleDeptIds'])) { if (!empty($map['visibleDeptIds'])) { $model->visibleDeptIds = $map['visibleDeptIds']; } } return $model; } } src/contact_1_0/Models/UpdateBranchVisibleSettingInCooperateResponse.php 0000644 00000002241 14713400346 0022446 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return UpdateBranchVisibleSettingInCooperateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingHeaders.php 0000644 00000002375 14713400346 0021025 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateContactHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingRequest.php 0000644 00000012476 14713400346 0021105 0 ustar 00 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'name' => 'name', 'nodeListSceneConfig' => 'nodeListSceneConfig', 'objectDeptIds' => 'objectDeptIds', 'objectTagIds' => 'objectTagIds', 'objectUserIds' => 'objectUserIds', 'profileSceneConfig' => 'profileSceneConfig', 'searchSceneConfig' => 'searchSceneConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nodeListSceneConfig) { $res['nodeListSceneConfig'] = null !== $this->nodeListSceneConfig ? $this->nodeListSceneConfig->toMap() : null; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } if (null !== $this->objectUserIds) { $res['objectUserIds'] = $this->objectUserIds; } if (null !== $this->profileSceneConfig) { $res['profileSceneConfig'] = null !== $this->profileSceneConfig ? $this->profileSceneConfig->toMap() : null; } if (null !== $this->searchSceneConfig) { $res['searchSceneConfig'] = null !== $this->searchSceneConfig ? $this->searchSceneConfig->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateContactHideBySceneSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nodeListSceneConfig'])) { $model->nodeListSceneConfig = nodeListSceneConfig::fromMap($map['nodeListSceneConfig']); } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } if (isset($map['objectUserIds'])) { if (!empty($map['objectUserIds'])) { $model->objectUserIds = $map['objectUserIds']; } } if (isset($map['profileSceneConfig'])) { $model->profileSceneConfig = profileSceneConfig::fromMap($map['profileSceneConfig']); } if (isset($map['searchSceneConfig'])) { $model->searchSceneConfig = searchSceneConfig::fromMap($map['searchSceneConfig']); } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingRequest/nodeListSceneConfig.php 0000644 00000002355 14713400346 0024765 0 ustar 00 'active', 'deptObjectIncludeEmp' => 'deptObjectIncludeEmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->deptObjectIncludeEmp) { $res['deptObjectIncludeEmp'] = $this->deptObjectIncludeEmp; } return $res; } /** * @param array $map * * @return nodeListSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['deptObjectIncludeEmp'])) { $model->deptObjectIncludeEmp = $map['deptObjectIncludeEmp']; } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingRequest/profileSceneConfig.php 0000644 00000001523 14713400346 0024640 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return profileSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingRequest/searchSceneConfig.php 0000644 00000002351 14713400346 0024445 0 ustar 00 'active', 'deptObjectIncludeEmp' => 'deptObjectIncludeEmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->deptObjectIncludeEmp) { $res['deptObjectIncludeEmp'] = $this->deptObjectIncludeEmp; } return $res; } /** * @param array $map * * @return searchSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['deptObjectIncludeEmp'])) { $model->deptObjectIncludeEmp = $map['deptObjectIncludeEmp']; } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingResponse.php 0000644 00000003031 14713400346 0021236 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateContactHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateContactHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateContactHideBySceneSettingResponseBody.php 0000644 00000001547 14713400346 0022066 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateContactHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contact_1_0/Models/UpdateContactHideSettingHeaders.php 0000644 00000002357 14713400346 0017554 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateContactHideSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateContactHideSettingRequest.php 0000644 00000011534 14713400346 0017626 0 ustar 00 'active', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeStaffIds' => 'excludeStaffIds', 'excludeTagIds' => 'excludeTagIds', 'hideInSearch' => 'hideInSearch', 'hideInUserProfile' => 'hideInUserProfile', 'id' => 'id', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectStaffIds' => 'objectStaffIds', 'objectTagIds' => 'objectTagIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeStaffIds) { $res['excludeStaffIds'] = $this->excludeStaffIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->hideInSearch) { $res['hideInSearch'] = $this->hideInSearch; } if (null !== $this->hideInUserProfile) { $res['hideInUserProfile'] = $this->hideInUserProfile; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectStaffIds) { $res['objectStaffIds'] = $this->objectStaffIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } return $res; } /** * @param array $map * * @return UpdateContactHideSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeStaffIds'])) { if (!empty($map['excludeStaffIds'])) { $model->excludeStaffIds = $map['excludeStaffIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['hideInSearch'])) { $model->hideInSearch = $map['hideInSearch']; } if (isset($map['hideInUserProfile'])) { $model->hideInUserProfile = $map['hideInUserProfile']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectStaffIds'])) { if (!empty($map['objectStaffIds'])) { $model->objectStaffIds = $map['objectStaffIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } return $model; } } src/contact_1_0/Models/UpdateContactHideSettingResponse.php 0000644 00000002775 14713400346 0020003 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateContactHideSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateContactHideSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateContactHideSettingResponseBody.php 0000644 00000001556 14713400346 0020615 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateContactHideSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/UpdateContactRestrictSettingHeaders.php 0000644 00000002367 14713400346 0020503 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateContactRestrictSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateContactRestrictSettingRequest.php 0000644 00000012454 14713400346 0020556 0 ustar 00 'active', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'id' => 'id', 'name' => 'name', 'restrictInSearch' => 'restrictInSearch', 'restrictInUserProfile' => 'restrictInUserProfile', 'subjectDeptIds' => 'subjectDeptIds', 'subjectTagIds' => 'subjectTagIds', 'subjectUserIds' => 'subjectUserIds', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->restrictInSearch) { $res['restrictInSearch'] = $this->restrictInSearch; } if (null !== $this->restrictInUserProfile) { $res['restrictInUserProfile'] = $this->restrictInUserProfile; } if (null !== $this->subjectDeptIds) { $res['subjectDeptIds'] = $this->subjectDeptIds; } if (null !== $this->subjectTagIds) { $res['subjectTagIds'] = $this->subjectTagIds; } if (null !== $this->subjectUserIds) { $res['subjectUserIds'] = $this->subjectUserIds; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return UpdateContactRestrictSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['restrictInSearch'])) { $model->restrictInSearch = $map['restrictInSearch']; } if (isset($map['restrictInUserProfile'])) { $model->restrictInUserProfile = $map['restrictInUserProfile']; } if (isset($map['subjectDeptIds'])) { if (!empty($map['subjectDeptIds'])) { $model->subjectDeptIds = $map['subjectDeptIds']; } } if (isset($map['subjectTagIds'])) { if (!empty($map['subjectTagIds'])) { $model->subjectTagIds = $map['subjectTagIds']; } } if (isset($map['subjectUserIds'])) { if (!empty($map['subjectUserIds'])) { $model->subjectUserIds = $map['subjectUserIds']; } } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/contact_1_0/Models/UpdateContactRestrictSettingResponse.php 0000644 00000003015 14713400346 0020715 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateContactRestrictSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateContactRestrictSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateContactRestrictSettingResponseBody.php 0000644 00000001564 14713400346 0021542 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateContactRestrictSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/UpdateDeptSettngTailFirstHeaders.php 0000644 00000002361 14713400346 0017727 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateDeptSettngTailFirstHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateDeptSettngTailFirstRequest.php 0000644 00000001577 14713400346 0020014 0 ustar 00 'enable', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enable) { $res['enable'] = $this->enable; } return $res; } /** * @param array $map * * @return UpdateDeptSettngTailFirstRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enable'])) { $model->enable = $map['enable']; } return $model; } } src/contact_1_0/Models/UpdateDeptSettngTailFirstResponse.php 0000644 00000002211 14713400346 0020144 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return UpdateDeptSettngTailFirstResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttrbuteVisibilitySettingHeaders.php 0000644 00000002403 14713400346 0021663 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateEmpAttrbuteVisibilitySettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttrbuteVisibilitySettingRequest.php 0000644 00000010672 14713400346 0021747 0 ustar 00 'active', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeStaffIds' => 'excludeStaffIds', 'excludeTagIds' => 'excludeTagIds', 'hideFields' => 'hideFields', 'id' => 'id', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectStaffIds' => 'objectStaffIds', 'objectTagIds' => 'objectTagIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeStaffIds) { $res['excludeStaffIds'] = $this->excludeStaffIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->hideFields) { $res['hideFields'] = $this->hideFields; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectStaffIds) { $res['objectStaffIds'] = $this->objectStaffIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } return $res; } /** * @param array $map * * @return UpdateEmpAttrbuteVisibilitySettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeStaffIds'])) { if (!empty($map['excludeStaffIds'])) { $model->excludeStaffIds = $map['excludeStaffIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['hideFields'])) { if (!empty($map['hideFields'])) { $model->hideFields = $map['hideFields']; } } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectStaffIds'])) { if (!empty($map['objectStaffIds'])) { $model->objectStaffIds = $map['objectStaffIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } return $model; } } src/contact_1_0/Models/UpdateEmpAttrbuteVisibilitySettingResponse.php 0000644 00000003045 14713400346 0022111 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateEmpAttrbuteVisibilitySettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateEmpAttrbuteVisibilitySettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateEmpAttrbuteVisibilitySettingResponseBody.php 0000644 00000001543 14713400346 0022730 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateEmpAttrbuteVisibilitySettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingHeaders.php 0000644 00000002407 14713400346 0022033 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateEmpAttributeHideBySceneSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingRequest.php 0000644 00000013274 14713400346 0022114 0 ustar 00 'chatSubtitleConfig', 'description' => 'description', 'excludeDeptIds' => 'excludeDeptIds', 'excludeTagIds' => 'excludeTagIds', 'excludeUserIds' => 'excludeUserIds', 'hideFields' => 'hideFields', 'name' => 'name', 'objectDeptIds' => 'objectDeptIds', 'objectTagIds' => 'objectTagIds', 'objectUserIds' => 'objectUserIds', 'profileSceneConfig' => 'profileSceneConfig', 'searchSceneConfig' => 'searchSceneConfig', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatSubtitleConfig) { $res['chatSubtitleConfig'] = null !== $this->chatSubtitleConfig ? $this->chatSubtitleConfig->toMap() : null; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->excludeDeptIds) { $res['excludeDeptIds'] = $this->excludeDeptIds; } if (null !== $this->excludeTagIds) { $res['excludeTagIds'] = $this->excludeTagIds; } if (null !== $this->excludeUserIds) { $res['excludeUserIds'] = $this->excludeUserIds; } if (null !== $this->hideFields) { $res['hideFields'] = $this->hideFields; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->objectDeptIds) { $res['objectDeptIds'] = $this->objectDeptIds; } if (null !== $this->objectTagIds) { $res['objectTagIds'] = $this->objectTagIds; } if (null !== $this->objectUserIds) { $res['objectUserIds'] = $this->objectUserIds; } if (null !== $this->profileSceneConfig) { $res['profileSceneConfig'] = null !== $this->profileSceneConfig ? $this->profileSceneConfig->toMap() : null; } if (null !== $this->searchSceneConfig) { $res['searchSceneConfig'] = null !== $this->searchSceneConfig ? $this->searchSceneConfig->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateEmpAttributeHideBySceneSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatSubtitleConfig'])) { $model->chatSubtitleConfig = chatSubtitleConfig::fromMap($map['chatSubtitleConfig']); } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['excludeDeptIds'])) { if (!empty($map['excludeDeptIds'])) { $model->excludeDeptIds = $map['excludeDeptIds']; } } if (isset($map['excludeTagIds'])) { if (!empty($map['excludeTagIds'])) { $model->excludeTagIds = $map['excludeTagIds']; } } if (isset($map['excludeUserIds'])) { if (!empty($map['excludeUserIds'])) { $model->excludeUserIds = $map['excludeUserIds']; } } if (isset($map['hideFields'])) { if (!empty($map['hideFields'])) { $model->hideFields = $map['hideFields']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['objectDeptIds'])) { if (!empty($map['objectDeptIds'])) { $model->objectDeptIds = $map['objectDeptIds']; } } if (isset($map['objectTagIds'])) { if (!empty($map['objectTagIds'])) { $model->objectTagIds = $map['objectTagIds']; } } if (isset($map['objectUserIds'])) { if (!empty($map['objectUserIds'])) { $model->objectUserIds = $map['objectUserIds']; } } if (isset($map['profileSceneConfig'])) { $model->profileSceneConfig = profileSceneConfig::fromMap($map['profileSceneConfig']); } if (isset($map['searchSceneConfig'])) { $model->searchSceneConfig = searchSceneConfig::fromMap($map['searchSceneConfig']); } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingRequest/chatSubtitleConfig.php 0000644 00000001530 14713400346 0025665 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return chatSubtitleConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingRequest/profileSceneConfig.php 0000644 00000001530 14713400346 0025650 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return profileSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingRequest/searchSceneConfig.php 0000644 00000001526 14713400346 0025462 0 ustar 00 'active', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->active) { $res['active'] = $this->active; } return $res; } /** * @param array $map * * @return searchSceneConfig */ public static function fromMap($map = []) { $model = new self(); if (isset($map['active'])) { $model->active = $map['active']; } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingResponse.php 0000644 00000003055 14713400346 0022256 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateEmpAttributeHideBySceneSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateEmpAttributeHideBySceneSettingResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateEmpAttributeHideBySceneSettingResponseBody.php 0000644 00000001561 14713400346 0023074 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateEmpAttributeHideBySceneSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contact_1_0/Models/UpdateManagementGroupHeaders.php 0000644 00000002351 14713400346 0017114 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateManagementGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateManagementGroupRequest.php 0000644 00000005345 14713400346 0017177 0 ustar 00 'groupName', 'members' => 'members', 'resourceIds' => 'resourceIds', 'scope' => 'scope', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->members) { $res['members'] = []; if (null !== $this->members && \is_array($this->members)) { $n = 0; foreach ($this->members as $item) { $res['members'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourceIds) { $res['resourceIds'] = $this->resourceIds; } if (null !== $this->scope) { $res['scope'] = null !== $this->scope ? $this->scope->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateManagementGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['members'])) { if (!empty($map['members'])) { $model->members = []; $n = 0; foreach ($map['members'] as $item) { $model->members[$n++] = null !== $item ? members::fromMap($item) : $item; } } } if (isset($map['resourceIds'])) { if (!empty($map['resourceIds'])) { $model->resourceIds = $map['resourceIds']; } } if (isset($map['scope'])) { $model->scope = scope::fromMap($map['scope']); } return $model; } } src/contact_1_0/Models/UpdateManagementGroupRequest/members.php 0000644 00000002442 14713400346 0020624 0 ustar 00 'memberId', 'memberType' => 'memberType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->memberType) { $res['memberType'] = $this->memberType; } return $res; } /** * @param array $map * * @return members */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['memberType'])) { $model->memberType = $map['memberType']; } return $model; } } src/contact_1_0/Models/UpdateManagementGroupRequest/scope.php 0000644 00000002426 14713400346 0020305 0 ustar 00 'deptIds', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return scope */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/contact_1_0/Models/UpdateManagementGroupResponse.php 0000644 00000002201 14713400346 0017331 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return UpdateManagementGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/UpdateSeniorSettingHeaders.php 0000644 00000002345 14713400346 0016623 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateSeniorSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateSeniorSettingRequest.php 0000644 00000005466 14713400346 0016707 0 ustar 00 'open', 'permitDeptIds' => 'permitDeptIds', 'permitStaffIds' => 'permitStaffIds', 'permitTagIds' => 'permitTagIds', 'protectScenes' => 'protectScenes', 'seniorStaffId' => 'seniorStaffId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->open) { $res['open'] = $this->open; } if (null !== $this->permitDeptIds) { $res['permitDeptIds'] = $this->permitDeptIds; } if (null !== $this->permitStaffIds) { $res['permitStaffIds'] = $this->permitStaffIds; } if (null !== $this->permitTagIds) { $res['permitTagIds'] = $this->permitTagIds; } if (null !== $this->protectScenes) { $res['protectScenes'] = $this->protectScenes; } if (null !== $this->seniorStaffId) { $res['seniorStaffId'] = $this->seniorStaffId; } return $res; } /** * @param array $map * * @return UpdateSeniorSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['open'])) { $model->open = $map['open']; } if (isset($map['permitDeptIds'])) { if (!empty($map['permitDeptIds'])) { $model->permitDeptIds = $map['permitDeptIds']; } } if (isset($map['permitStaffIds'])) { if (!empty($map['permitStaffIds'])) { $model->permitStaffIds = $map['permitStaffIds']; } } if (isset($map['permitTagIds'])) { if (!empty($map['permitTagIds'])) { $model->permitTagIds = $map['permitTagIds']; } } if (isset($map['protectScenes'])) { if (!empty($map['protectScenes'])) { $model->protectScenes = $map['protectScenes']; } } if (isset($map['seniorStaffId'])) { $model->seniorStaffId = $map['seniorStaffId']; } return $model; } } src/contact_1_0/Models/UpdateSeniorSettingResponse.php 0000644 00000002175 14713400346 0017047 0 ustar 00 'headers', 'statusCode' => 'statusCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } return $res; } /** * @param array $map * * @return UpdateSeniorSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } return $model; } } src/contact_1_0/Models/UpdateTitleAuditStatusHeaders.php 0000644 00000002353 14713400346 0017301 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateTitleAuditStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateTitleAuditStatusRequest.php 0000644 00000007310 14713400346 0017354 0 ustar 00 'authStatus', 'educationLevel' => 'educationLevel', 'extension' => 'extension', 'major' => 'major', 'position' => 'position', 'reasonCode' => 'reasonCode', 'reasonMsg' => 'reasonMsg', 'school' => 'school', 'type' => 'type', 'unionId' => 'unionId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authStatus) { $res['authStatus'] = $this->authStatus; } if (null !== $this->educationLevel) { $res['educationLevel'] = $this->educationLevel; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->major) { $res['major'] = $this->major; } if (null !== $this->position) { $res['position'] = $this->position; } if (null !== $this->reasonCode) { $res['reasonCode'] = $this->reasonCode; } if (null !== $this->reasonMsg) { $res['reasonMsg'] = $this->reasonMsg; } if (null !== $this->school) { $res['school'] = $this->school; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return UpdateTitleAuditStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authStatus'])) { $model->authStatus = $map['authStatus']; } if (isset($map['educationLevel'])) { $model->educationLevel = $map['educationLevel']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['major'])) { $model->major = $map['major']; } if (isset($map['position'])) { $model->position = $map['position']; } if (isset($map['reasonCode'])) { $model->reasonCode = $map['reasonCode']; } if (isset($map['reasonMsg'])) { $model->reasonMsg = $map['reasonMsg']; } if (isset($map['school'])) { $model->school = $map['school']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/contact_1_0/Models/UpdateTitleAuditStatusResponse.php 0000644 00000002765 14713400346 0017533 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateTitleAuditStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateTitleAuditStatusResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateTitleAuditStatusResponseBody.php 0000644 00000001514 14713400346 0020340 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateTitleAuditStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/contact_1_0/Models/UpdateUserOwnnessHeaders.php 0000644 00000002341 14713400346 0016315 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateUserOwnnessHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contact_1_0/Models/UpdateUserOwnnessRequest.php 0000644 00000004523 14713400346 0016376 0 ustar 00 'deletedFlag', 'endTime' => 'endTime', 'id' => 'id', 'ownenssType' => 'ownenssType', 'startTime' => 'startTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deletedFlag) { $res['deletedFlag'] = $this->deletedFlag; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->ownenssType) { $res['ownenssType'] = $this->ownenssType; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } return $res; } /** * @param array $map * * @return UpdateUserOwnnessRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deletedFlag'])) { $model->deletedFlag = $map['deletedFlag']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['ownenssType'])) { $model->ownenssType = $map['ownenssType']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } return $model; } } src/contact_1_0/Models/UpdateUserOwnnessResponse.php 0000644 00000002741 14713400346 0016544 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateUserOwnnessResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateUserOwnnessResponseBody::fromMap($map['body']); } return $model; } } src/contact_1_0/Models/UpdateUserOwnnessResponseBody.php 0000644 00000001631 14713400346 0017357 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateUserOwnnessResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/content_1_0/Dingtalk.php 0000644 00000042024 14713400346 0011716 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建内容 * * * @param CreateFeedRequest $request CreateFeedRequest * @param CreateFeedHeaders $headers CreateFeedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateFeedResponse CreateFeedResponse */ public function createFeedWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->courseInfo)) { $body['courseInfo'] = $request->courseInfo; } if (!Utils::isUnset($request->createUserId)) { $body['createUserId'] = $request->createUserId; } if (!Utils::isUnset($request->feedInfo)) { $body['feedInfo'] = $request->feedInfo; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateFeed', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/feeds', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建内容 * * * @param CreateFeedRequest $request CreateFeedRequest * * @return CreateFeedResponse CreateFeedResponse */ public function createFeed($request) { $runtime = new RuntimeOptions([]); $headers = new CreateFeedHeaders([]); return $this->createFeedWithOptions($request, $headers, $runtime); } /** * @summary 点众下架视频接口 * * * @param DeleteVideosRequest $request DeleteVideosRequest * @param DeleteVideosHeaders $headers DeleteVideosHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteVideosResponse DeleteVideosResponse */ public function deleteVideosWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => $request->body, ]); $params = new Params([ 'action' => 'DeleteVideos', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/dian/videos/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteVideosResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 点众下架视频接口 * * * @param DeleteVideosRequest $request DeleteVideosRequest * * @return DeleteVideosResponse DeleteVideosResponse */ public function deleteVideos($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteVideosHeaders([]); return $this->deleteVideosWithOptions($request, $headers, $runtime); } /** * @summary 获取feed的详细信息,包括子课程的信息 * * * @param string $feedId * @param GetFeedRequest $request GetFeedRequest * @param GetFeedHeaders $headers GetFeedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetFeedResponse GetFeedResponse */ public function getFeedWithOptions($feedId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->mcnId)) { $query['mcnId'] = $request->mcnId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetFeed', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/feeds/' . $feedId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取feed的详细信息,包括子课程的信息 * * * @param string $feedId * @param GetFeedRequest $request GetFeedRequest * * @return GetFeedResponse GetFeedResponse */ public function getFeed($feedId, $request) { $runtime = new RuntimeOptions([]); $headers = new GetFeedHeaders([]); return $this->getFeedWithOptions($feedId, $request, $headers, $runtime); } /** * @summary 获取oss上传凭证 * * * @param GetMediaCerficateRequest $request GetMediaCerficateRequest * @param GetMediaCerficateHeaders $headers GetMediaCerficateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetMediaCerficateResponse GetMediaCerficateResponse */ public function getMediaCerficateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->fileName)) { $query['fileName'] = $request->fileName; } if (!Utils::isUnset($request->mcnId)) { $query['mcnId'] = $request->mcnId; } if (!Utils::isUnset($request->mediaId)) { $query['mediaId'] = $request->mediaId; } if (!Utils::isUnset($request->mediaIntroduction)) { $query['mediaIntroduction'] = $request->mediaIntroduction; } if (!Utils::isUnset($request->mediaTitle)) { $query['mediaTitle'] = $request->mediaTitle; } if (!Utils::isUnset($request->thumbUrl)) { $query['thumbUrl'] = $request->thumbUrl; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetMediaCerficate', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/media/cerficates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetMediaCerficateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取oss上传凭证 * * * @param GetMediaCerficateRequest $request GetMediaCerficateRequest * * @return GetMediaCerficateResponse GetMediaCerficateResponse */ public function getMediaCerficate($request) { $runtime = new RuntimeOptions([]); $headers = new GetMediaCerficateHeaders([]); return $this->getMediaCerficateWithOptions($request, $headers, $runtime); } /** * @summary 展示机构内观看内容的统计信息 * * * @param string $itemId * @param ListItemUserDataRequest $request ListItemUserDataRequest * @param ListItemUserDataHeaders $headers ListItemUserDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListItemUserDataResponse ListItemUserDataResponse */ public function listItemUserDataWithOptions($itemId, $request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => $request->body, ]); $params = new Params([ 'action' => 'ListItemUserData', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/feeds/items/' . $itemId . '/userStatistics/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ListItemUserDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 展示机构内观看内容的统计信息 * * * @param string $itemId * @param ListItemUserDataRequest $request ListItemUserDataRequest * * @return ListItemUserDataResponse ListItemUserDataResponse */ public function listItemUserData($itemId, $request) { $runtime = new RuntimeOptions([]); $headers = new ListItemUserDataHeaders([]); return $this->listItemUserDataWithOptions($itemId, $request, $headers, $runtime); } /** * @summary 获取机构下课程列表 * * * @param PageFeedRequest $request PageFeedRequest * @param PageFeedHeaders $headers PageFeedHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PageFeedResponse PageFeedResponse */ public function pageFeedWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->mcnId)) { $query['mcnId'] = $request->mcnId; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => $request->body, ]); $params = new Params([ 'action' => 'PageFeed', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/feeds/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return PageFeedResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取机构下课程列表 * * * @param PageFeedRequest $request PageFeedRequest * * @return PageFeedResponse PageFeedResponse */ public function pageFeed($request) { $runtime = new RuntimeOptions([]); $headers = new PageFeedHeaders([]); return $this->pageFeedWithOptions($request, $headers, $runtime); } /** * @summary 点众上传视频信息 * * * @param UploadVideosRequest $request UploadVideosRequest * @param UploadVideosHeaders $headers UploadVideosHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UploadVideosResponse UploadVideosResponse */ public function uploadVideosWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => Utils::toArray($request->body), ]); $params = new Params([ 'action' => 'UploadVideos', 'version' => 'content_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/content/dian/videos/upload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadVideosResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 点众上传视频信息 * * * @param UploadVideosRequest $request UploadVideosRequest * * @return UploadVideosResponse UploadVideosResponse */ public function uploadVideos($request) { $runtime = new RuntimeOptions([]); $headers = new UploadVideosHeaders([]); return $this->uploadVideosWithOptions($request, $headers, $runtime); } } src/content_1_0/Models/CreateFeedHeaders.php 0000644 00000002323 14713400346 0014665 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/CreateFeedRequest.php 0000644 00000003566 14713400346 0014754 0 ustar 00 'courseInfo', 'createUserId' => 'createUserId', 'feedInfo' => 'feedInfo', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->courseInfo) { $res['courseInfo'] = null !== $this->courseInfo ? $this->courseInfo->toMap() : null; } if (null !== $this->createUserId) { $res['createUserId'] = $this->createUserId; } if (null !== $this->feedInfo) { $res['feedInfo'] = null !== $this->feedInfo ? $this->feedInfo->toMap() : null; } return $res; } /** * @param array $map * * @return CreateFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['courseInfo'])) { $model->courseInfo = courseInfo::fromMap($map['courseInfo']); } if (isset($map['createUserId'])) { $model->createUserId = $map['createUserId']; } if (isset($map['feedInfo'])) { $model->feedInfo = feedInfo::fromMap($map['feedInfo']); } return $model; } } src/content_1_0/Models/CreateFeedRequest/courseInfo.php 0000644 00000003614 14713400346 0017062 0 ustar 00 'lectorUserInfo', 'payInfo' => 'payInfo', 'studyGroupName' => 'studyGroupName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->lectorUserInfo) { $res['lectorUserInfo'] = null !== $this->lectorUserInfo ? $this->lectorUserInfo->toMap() : null; } if (null !== $this->payInfo) { $res['payInfo'] = null !== $this->payInfo ? $this->payInfo->toMap() : null; } if (null !== $this->studyGroupName) { $res['studyGroupName'] = $this->studyGroupName; } return $res; } /** * @param array $map * * @return courseInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['lectorUserInfo'])) { $model->lectorUserInfo = lectorUserInfo::fromMap($map['lectorUserInfo']); } if (isset($map['payInfo'])) { $model->payInfo = payInfo::fromMap($map['payInfo']); } if (isset($map['studyGroupName'])) { $model->studyGroupName = $map['studyGroupName']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/courseInfo/lectorUserInfo.php 0000644 00000003175 14713400346 0022027 0 ustar 00 'avatar', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return lectorUserInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/courseInfo/payInfo.php 0000644 00000003615 14713400346 0020470 0 ustar 00 'csUserInfo', 'discountInfo' => 'discountInfo', 'price' => 'price', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->csUserInfo) { $res['csUserInfo'] = null !== $this->csUserInfo ? $this->csUserInfo->toMap() : null; } if (null !== $this->discountInfo) { $res['discountInfo'] = null !== $this->discountInfo ? $this->discountInfo->toMap() : null; } if (null !== $this->price) { $res['price'] = $this->price; } return $res; } /** * @param array $map * * @return payInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['csUserInfo'])) { $model->csUserInfo = csUserInfo::fromMap($map['csUserInfo']); } if (isset($map['discountInfo'])) { $model->discountInfo = discountInfo::fromMap($map['discountInfo']); } if (isset($map['price'])) { $model->price = $map['price']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/courseInfo/payInfo/csUserInfo.php 0000644 00000003175 14713400346 0022551 0 ustar 00 'avatar', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return csUserInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/courseInfo/payInfo/discountInfo.php 0000644 00000003367 14713400346 0023140 0 ustar 00 'endTimeMillis', 'price' => 'price', 'startTimeMillis' => 'startTimeMillis', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTimeMillis) { $res['endTimeMillis'] = $this->endTimeMillis; } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->startTimeMillis) { $res['startTimeMillis'] = $this->startTimeMillis; } return $res; } /** * @param array $map * * @return discountInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTimeMillis'])) { $model->endTimeMillis = $map['endTimeMillis']; } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['startTimeMillis'])) { $model->startTimeMillis = $map['startTimeMillis']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/feedInfo.php 0000644 00000015742 14713400346 0016472 0 ustar 00 'actionType', 'belongsTo' => 'belongsTo', 'feedCategory' => 'feedCategory', 'feedId' => 'feedId', 'feedTag' => 'feedTag', 'feedType' => 'feedType', 'industryId' => 'industryId', 'introduction' => 'introduction', 'introductionPicUrl' => 'introductionPicUrl', 'mcnId' => 'mcnId', 'mediaContents' => 'mediaContents', 'recommends' => 'recommends', 'thumbUrl' => 'thumbUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionType) { $res['actionType'] = $this->actionType; } if (null !== $this->belongsTo) { $res['belongsTo'] = $this->belongsTo; } if (null !== $this->feedCategory) { $res['feedCategory'] = $this->feedCategory; } if (null !== $this->feedId) { $res['feedId'] = $this->feedId; } if (null !== $this->feedTag) { $res['feedTag'] = $this->feedTag; } if (null !== $this->feedType) { $res['feedType'] = $this->feedType; } if (null !== $this->industryId) { $res['industryId'] = $this->industryId; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->introductionPicUrl) { $res['introductionPicUrl'] = $this->introductionPicUrl; } if (null !== $this->mcnId) { $res['mcnId'] = $this->mcnId; } if (null !== $this->mediaContents) { $res['mediaContents'] = []; if (null !== $this->mediaContents && \is_array($this->mediaContents)) { $n = 0; foreach ($this->mediaContents as $item) { $res['mediaContents'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->recommends) { $res['recommends'] = []; if (null !== $this->recommends && \is_array($this->recommends)) { $n = 0; foreach ($this->recommends as $item) { $res['recommends'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->thumbUrl) { $res['thumbUrl'] = $this->thumbUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return feedInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionType'])) { $model->actionType = $map['actionType']; } if (isset($map['belongsTo'])) { $model->belongsTo = $map['belongsTo']; } if (isset($map['feedCategory'])) { $model->feedCategory = $map['feedCategory']; } if (isset($map['feedId'])) { $model->feedId = $map['feedId']; } if (isset($map['feedTag'])) { $model->feedTag = $map['feedTag']; } if (isset($map['feedType'])) { $model->feedType = $map['feedType']; } if (isset($map['industryId'])) { $model->industryId = $map['industryId']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['introductionPicUrl'])) { $model->introductionPicUrl = $map['introductionPicUrl']; } if (isset($map['mcnId'])) { $model->mcnId = $map['mcnId']; } if (isset($map['mediaContents'])) { if (!empty($map['mediaContents'])) { $model->mediaContents = []; $n = 0; foreach ($map['mediaContents'] as $item) { $model->mediaContents[$n++] = null !== $item ? mediaContents::fromMap($item) : $item; } } } if (isset($map['recommends'])) { if (!empty($map['recommends'])) { $model->recommends = []; $n = 0; foreach ($map['recommends'] as $item) { $model->recommends[$n++] = null !== $item ? recommends::fromMap($item) : $item; } } } if (isset($map['thumbUrl'])) { $model->thumbUrl = $map['thumbUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/feedInfo/mediaContents.php 0000644 00000003145 14713400346 0021261 0 ustar 00 'mediaId', 'title' => 'title', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return mediaContents */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/content_1_0/Models/CreateFeedRequest/feedInfo/recommends.php 0000644 00000002413 14713400346 0020615 0 ustar 00 'objectId', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->objectId) { $res['objectId'] = $this->objectId; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return recommends */ public static function fromMap($map = []) { $model = new self(); if (isset($map['objectId'])) { $model->objectId = $map['objectId']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/content_1_0/Models/CreateFeedResponse.php 0000644 00000002705 14713400346 0015114 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateFeedResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/CreateFeedResponseBody.php 0000644 00000001651 14713400346 0015731 0 ustar 00 'feedId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feedId) { $res['feedId'] = $this->feedId; } return $res; } /** * @param array $map * * @return CreateFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['feedId'])) { $model->feedId = $map['feedId']; } return $model; } } src/content_1_0/Models/DeleteVideosHeaders.php 0000644 00000002327 14713400346 0015256 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteVideosHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/DeleteVideosRequest.php 0000644 00000001532 14713400346 0015330 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } return $res; } /** * @param array $map * * @return DeleteVideosRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = $map['body']; } } return $model; } } src/content_1_0/Models/DeleteVideosResponse.php 0000644 00000002715 14713400346 0015502 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteVideosResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteVideosResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/DeleteVideosResponseBody.php 0000644 00000002335 14713400346 0016316 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DeleteVideosResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/content_1_0/Models/DeleteVideosResponseBody/result.php 0000644 00000002606 14713400346 0017635 0 ustar 00 'failed', 'success' => 'success', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failed) { $res['failed'] = $this->failed; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failed'])) { if (!empty($map['failed'])) { $model->failed = $map['failed']; } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/content_1_0/Models/GetFeedHeaders.php 0000644 00000002315 14713400346 0014202 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/GetFeedRequest.php 0000644 00000001576 14713400346 0014267 0 ustar 00 'mcnId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mcnId) { $res['mcnId'] = $this->mcnId; } return $res; } /** * @param array $map * * @return GetFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mcnId'])) { $model->mcnId = $map['mcnId']; } return $model; } } src/content_1_0/Models/GetFeedResponse.php 0000644 00000002671 14713400346 0014432 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetFeedResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/GetFeedResponseBody.php 0000644 00000003516 14713400346 0015247 0 ustar 00 'feedId', 'feedItem' => 'feedItem', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feedId) { $res['feedId'] = $this->feedId; } if (null !== $this->feedItem) { $res['feedItem'] = []; if (null !== $this->feedItem && \is_array($this->feedItem)) { $n = 0; foreach ($this->feedItem as $item) { $res['feedItem'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['feedId'])) { $model->feedId = $map['feedId']; } if (isset($map['feedItem'])) { if (!empty($map['feedItem'])) { $model->feedItem = []; $n = 0; foreach ($map['feedItem'] as $item) { $model->feedItem[$n++] = null !== $item ? feedItem::fromMap($item) : $item; } } } return $model; } } src/content_1_0/Models/GetFeedResponseBody/feedItem.php 0000644 00000005205 14713400346 0016766 0 ustar 00 'durationMillis', 'feedContentType' => 'feedContentType', 'itemId' => 'itemId', 'title' => 'title', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->durationMillis) { $res['durationMillis'] = $this->durationMillis; } if (null !== $this->feedContentType) { $res['feedContentType'] = $this->feedContentType; } if (null !== $this->itemId) { $res['itemId'] = $this->itemId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return feedItem */ public static function fromMap($map = []) { $model = new self(); if (isset($map['durationMillis'])) { $model->durationMillis = $map['durationMillis']; } if (isset($map['feedContentType'])) { $model->feedContentType = $map['feedContentType']; } if (isset($map['itemId'])) { $model->itemId = $map['itemId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/content_1_0/Models/GetMediaCerficateHeaders.php 0000644 00000002341 14713400346 0016163 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetMediaCerficateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/GetMediaCerficateRequest.php 0000644 00000006267 14713400346 0016253 0 ustar 00 'fileName', 'mcnId' => 'mcnId', 'mediaId' => 'mediaId', 'mediaIntroduction' => 'mediaIntroduction', 'mediaTitle' => 'mediaTitle', 'thumbUrl' => 'thumbUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->mcnId) { $res['mcnId'] = $this->mcnId; } if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->mediaIntroduction) { $res['mediaIntroduction'] = $this->mediaIntroduction; } if (null !== $this->mediaTitle) { $res['mediaTitle'] = $this->mediaTitle; } if (null !== $this->thumbUrl) { $res['thumbUrl'] = $this->thumbUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetMediaCerficateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['mcnId'])) { $model->mcnId = $map['mcnId']; } if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['mediaIntroduction'])) { $model->mediaIntroduction = $map['mediaIntroduction']; } if (isset($map['mediaTitle'])) { $model->mediaTitle = $map['mediaTitle']; } if (isset($map['thumbUrl'])) { $model->thumbUrl = $map['thumbUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/content_1_0/Models/GetMediaCerficateResponse.php 0000644 00000002741 14713400346 0016412 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetMediaCerficateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetMediaCerficateResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/GetMediaCerficateResponseBody.php 0000644 00000011746 14713400346 0017235 0 ustar 00 'mediaId', 'ossAccessKeyId' => 'ossAccessKeyId', 'ossAccessKeySecret' => 'ossAccessKeySecret', 'ossBucketName' => 'ossBucketName', 'ossEndpoint' => 'ossEndpoint', 'ossExpiration' => 'ossExpiration', 'ossFileName' => 'ossFileName', 'ossSecurityToken' => 'ossSecurityToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } if (null !== $this->ossAccessKeyId) { $res['ossAccessKeyId'] = $this->ossAccessKeyId; } if (null !== $this->ossAccessKeySecret) { $res['ossAccessKeySecret'] = $this->ossAccessKeySecret; } if (null !== $this->ossBucketName) { $res['ossBucketName'] = $this->ossBucketName; } if (null !== $this->ossEndpoint) { $res['ossEndpoint'] = $this->ossEndpoint; } if (null !== $this->ossExpiration) { $res['ossExpiration'] = $this->ossExpiration; } if (null !== $this->ossFileName) { $res['ossFileName'] = $this->ossFileName; } if (null !== $this->ossSecurityToken) { $res['ossSecurityToken'] = $this->ossSecurityToken; } return $res; } /** * @param array $map * * @return GetMediaCerficateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } if (isset($map['ossAccessKeyId'])) { $model->ossAccessKeyId = $map['ossAccessKeyId']; } if (isset($map['ossAccessKeySecret'])) { $model->ossAccessKeySecret = $map['ossAccessKeySecret']; } if (isset($map['ossBucketName'])) { $model->ossBucketName = $map['ossBucketName']; } if (isset($map['ossEndpoint'])) { $model->ossEndpoint = $map['ossEndpoint']; } if (isset($map['ossExpiration'])) { $model->ossExpiration = $map['ossExpiration']; } if (isset($map['ossFileName'])) { $model->ossFileName = $map['ossFileName']; } if (isset($map['ossSecurityToken'])) { $model->ossSecurityToken = $map['ossSecurityToken']; } return $model; } } src/content_1_0/Models/ListItemUserDataHeaders.php 0000644 00000002337 14713400346 0016066 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListItemUserDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/ListItemUserDataRequest.php 0000644 00000001631 14713400346 0016137 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } return $res; } /** * @param array $map * * @return ListItemUserDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = $map['body']; } } return $model; } } src/content_1_0/Models/ListItemUserDataResponse.php 0000644 00000002735 14713400346 0016313 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListItemUserDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListItemUserDataResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/ListItemUserDataResponseBody.php 0000644 00000003012 14713400346 0017116 0 ustar 00 'studyInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->studyInfos) { $res['studyInfos'] = []; if (null !== $this->studyInfos && \is_array($this->studyInfos)) { $n = 0; foreach ($this->studyInfos as $item) { $res['studyInfos'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListItemUserDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['studyInfos'])) { if (!empty($map['studyInfos'])) { $model->studyInfos = []; $n = 0; foreach ($map['studyInfos'] as $item) { $model->studyInfos[$n++] = null !== $item ? studyInfos::fromMap($item) : $item; } } } return $model; } } src/content_1_0/Models/ListItemUserDataResponseBody/studyInfos.php 0000644 00000002463 14713400346 0021276 0 ustar 00 'durationMillis', 'uid' => 'uid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->durationMillis) { $res['durationMillis'] = $this->durationMillis; } if (null !== $this->uid) { $res['uid'] = $this->uid; } return $res; } /** * @param array $map * * @return studyInfos */ public static function fromMap($map = []) { $model = new self(); if (isset($map['durationMillis'])) { $model->durationMillis = $map['durationMillis']; } if (isset($map['uid'])) { $model->uid = $map['uid']; } return $model; } } src/content_1_0/Models/PageFeedHeaders.php 0000644 00000002317 14713400346 0014341 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageFeedHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/PageFeedRequest.php 0000644 00000003673 14713400346 0014424 0 ustar 00 'body', 'maxResults' => 'maxResults', 'mcnId' => 'mcnId', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->mcnId) { $res['mcnId'] = $this->mcnId; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return PageFeedRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = $map['body']; } } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['mcnId'])) { $model->mcnId = $map['mcnId']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/content_1_0/Models/PageFeedResponse.php 0000644 00000002675 14713400346 0014573 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageFeedResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageFeedResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/PageFeedResponseBody.php 0000644 00000004273 14713400346 0015405 0 ustar 00 'feedList', 'hasNext' => 'hasNext', 'nextCursor' => 'nextCursor', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feedList) { $res['feedList'] = []; if (null !== $this->feedList && \is_array($this->feedList)) { $n = 0; foreach ($this->feedList as $item) { $res['feedList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->hasNext) { $res['hasNext'] = $this->hasNext; } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } return $res; } /** * @param array $map * * @return PageFeedResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['feedList'])) { if (!empty($map['feedList'])) { $model->feedList = []; $n = 0; foreach ($map['feedList'] as $item) { $model->feedList[$n++] = null !== $item ? feedList::fromMap($item) : $item; } } } if (isset($map['hasNext'])) { $model->hasNext = $map['hasNext']; } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } return $model; } } src/content_1_0/Models/PageFeedResponseBody/feedList.php 0000644 00000005774 14713400346 0017153 0 ustar 00 'feedCategory', 'feedId' => 'feedId', 'feedType' => 'feedType', 'name' => 'name', 'thumbUrl' => 'thumbUrl', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->feedCategory) { $res['feedCategory'] = $this->feedCategory; } if (null !== $this->feedId) { $res['feedId'] = $this->feedId; } if (null !== $this->feedType) { $res['feedType'] = $this->feedType; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->thumbUrl) { $res['thumbUrl'] = $this->thumbUrl; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return feedList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['feedCategory'])) { $model->feedCategory = $map['feedCategory']; } if (isset($map['feedId'])) { $model->feedId = $map['feedId']; } if (isset($map['feedType'])) { $model->feedType = $map['feedType']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['thumbUrl'])) { $model->thumbUrl = $map['thumbUrl']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/content_1_0/Models/UploadVideosHeaders.php 0000644 00000002327 14713400346 0015300 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadVideosHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/content_1_0/Models/UploadVideosRequest.php 0000644 00000002514 14713400346 0015353 0 ustar 00 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = []; if (null !== $this->body && \is_array($this->body)) { $n = 0; foreach ($this->body as $item) { $res['body'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UploadVideosRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = []; $n = 0; foreach ($map['body'] as $item) { $model->body[$n++] = null !== $item ? body::fromMap($item) : $item; } } } return $model; } } src/content_1_0/Models/UploadVideosRequest/body.php 0000644 00000010631 14713400346 0016307 0 ustar 00 'authorIconUrl', 'authorId' => 'authorId', 'authorName' => 'authorName', 'coverUrl' => 'coverUrl', 'jumpIconUrl' => 'jumpIconUrl', 'jumpTitle' => 'jumpTitle', 'jumpUrl' => 'jumpUrl', 'videoDuration' => 'videoDuration', 'videoHeight' => 'videoHeight', 'videoId' => 'videoId', 'videoTitle' => 'videoTitle', 'videoWidth' => 'videoWidth', 'webpUrl' => 'webpUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authorIconUrl) { $res['authorIconUrl'] = $this->authorIconUrl; } if (null !== $this->authorId) { $res['authorId'] = $this->authorId; } if (null !== $this->authorName) { $res['authorName'] = $this->authorName; } if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->jumpIconUrl) { $res['jumpIconUrl'] = $this->jumpIconUrl; } if (null !== $this->jumpTitle) { $res['jumpTitle'] = $this->jumpTitle; } if (null !== $this->jumpUrl) { $res['jumpUrl'] = $this->jumpUrl; } if (null !== $this->videoDuration) { $res['videoDuration'] = $this->videoDuration; } if (null !== $this->videoHeight) { $res['videoHeight'] = $this->videoHeight; } if (null !== $this->videoId) { $res['videoId'] = $this->videoId; } if (null !== $this->videoTitle) { $res['videoTitle'] = $this->videoTitle; } if (null !== $this->videoWidth) { $res['videoWidth'] = $this->videoWidth; } if (null !== $this->webpUrl) { $res['webpUrl'] = $this->webpUrl; } return $res; } /** * @param array $map * * @return body */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authorIconUrl'])) { $model->authorIconUrl = $map['authorIconUrl']; } if (isset($map['authorId'])) { $model->authorId = $map['authorId']; } if (isset($map['authorName'])) { $model->authorName = $map['authorName']; } if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['jumpIconUrl'])) { $model->jumpIconUrl = $map['jumpIconUrl']; } if (isset($map['jumpTitle'])) { $model->jumpTitle = $map['jumpTitle']; } if (isset($map['jumpUrl'])) { $model->jumpUrl = $map['jumpUrl']; } if (isset($map['videoDuration'])) { $model->videoDuration = $map['videoDuration']; } if (isset($map['videoHeight'])) { $model->videoHeight = $map['videoHeight']; } if (isset($map['videoId'])) { $model->videoId = $map['videoId']; } if (isset($map['videoTitle'])) { $model->videoTitle = $map['videoTitle']; } if (isset($map['videoWidth'])) { $model->videoWidth = $map['videoWidth']; } if (isset($map['webpUrl'])) { $model->webpUrl = $map['webpUrl']; } return $model; } } src/content_1_0/Models/UploadVideosResponse.php 0000644 00000002715 14713400346 0015524 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadVideosResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadVideosResponseBody::fromMap($map['body']); } return $model; } } src/content_1_0/Models/UploadVideosResponseBody.php 0000644 00000002335 14713400346 0016340 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UploadVideosResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/content_1_0/Models/UploadVideosResponseBody/result.php 0000644 00000003312 14713400346 0017652 0 ustar 00 'failed', 'hasUploaded' => 'hasUploaded', 'success' => 'success', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failed) { $res['failed'] = $this->failed; } if (null !== $this->hasUploaded) { $res['hasUploaded'] = $this->hasUploaded; } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failed'])) { if (!empty($map['failed'])) { $model->failed = $map['failed']; } } if (isset($map['hasUploaded'])) { $model->hasUploaded = $map['hasUploaded']; } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/contract_1_0/Dingtalk.php 0000644 00000055347 14713400346 0012075 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 合同权益核销 * * * @param ContractBenefitConsumeRequest $request ContractBenefitConsumeRequest * @param ContractBenefitConsumeHeaders $headers ContractBenefitConsumeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ContractBenefitConsumeResponse ContractBenefitConsumeResponse */ public function contractBenefitConsumeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->benefitPoint)) { $body['benefitPoint'] = $request->benefitPoint; } if (!Utils::isUnset($request->bizRequestId)) { $body['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->consumeQuota)) { $body['consumeQuota'] = $request->consumeQuota; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extParams)) { $body['extParams'] = $request->extParams; } if (!Utils::isUnset($request->isvCorpId)) { $body['isvCorpId'] = $request->isvCorpId; } if (!Utils::isUnset($request->optUnionId)) { $body['optUnionId'] = $request->optUnionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ContractBenefitConsume', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/benefits/consume', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ContractBenefitConsumeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 合同权益核销 * * * @param ContractBenefitConsumeRequest $request ContractBenefitConsumeRequest * * @return ContractBenefitConsumeResponse ContractBenefitConsumeResponse */ public function contractBenefitConsume($request) { $runtime = new RuntimeOptions([]); $headers = new ContractBenefitConsumeHeaders([]); return $this->contractBenefitConsumeWithOptions($request, $headers, $runtime); } /** * @summary 天谷侧查询审批单 * * * @param EsignQueryApprovalInfoRequest $request EsignQueryApprovalInfoRequest * @param EsignQueryApprovalInfoHeaders $headers EsignQueryApprovalInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return EsignQueryApprovalInfoResponse EsignQueryApprovalInfoResponse */ public function esignQueryApprovalInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->esignFlowId)) { $body['esignFlowId'] = $request->esignFlowId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EsignQueryApprovalInfo', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/esign/approvalInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EsignQueryApprovalInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 天谷侧查询审批单 * * * @param EsignQueryApprovalInfoRequest $request EsignQueryApprovalInfoRequest * * @return EsignQueryApprovalInfoResponse EsignQueryApprovalInfoResponse */ public function esignQueryApprovalInfo($request) { $runtime = new RuntimeOptions([]); $headers = new EsignQueryApprovalInfoHeaders([]); return $this->esignQueryApprovalInfoWithOptions($request, $headers, $runtime); } /** * @summary 天谷侧查询授权信息接口 * * * @param EsignQueryGrantInfoRequest $request EsignQueryGrantInfoRequest * @param EsignQueryGrantInfoHeaders $headers EsignQueryGrantInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return EsignQueryGrantInfoResponse EsignQueryGrantInfoResponse */ public function esignQueryGrantInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EsignQueryGrantInfo', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/esign/anthInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EsignQueryGrantInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 天谷侧查询授权信息接口 * * * @param EsignQueryGrantInfoRequest $request EsignQueryGrantInfoRequest * * @return EsignQueryGrantInfoResponse EsignQueryGrantInfoResponse */ public function esignQueryGrantInfo($request) { $runtime = new RuntimeOptions([]); $headers = new EsignQueryGrantInfoHeaders([]); return $this->esignQueryGrantInfoWithOptions($request, $headers, $runtime); } /** * @summary 天谷侧查询获取免登信息 * * * @param EsignQueryIdentityByTicketRequest $request EsignQueryIdentityByTicketRequest * @param EsignQueryIdentityByTicketHeaders $headers EsignQueryIdentityByTicketHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return EsignQueryIdentityByTicketResponse EsignQueryIdentityByTicketResponse */ public function esignQueryIdentityByTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->ticket)) { $body['ticket'] = $request->ticket; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EsignQueryIdentityByTicket', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/esign/tickets/identities/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EsignQueryIdentityByTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 天谷侧查询获取免登信息 * * * @param EsignQueryIdentityByTicketRequest $request EsignQueryIdentityByTicketRequest * * @return EsignQueryIdentityByTicketResponse EsignQueryIdentityByTicketResponse */ public function esignQueryIdentityByTicket($request) { $runtime = new RuntimeOptions([]); $headers = new EsignQueryIdentityByTicketHeaders([]); return $this->esignQueryIdentityByTicketWithOptions($request, $headers, $runtime); } /** * @summary e签宝电子签事件同步回传接口 * * * @param EsignSyncEventRequest $request EsignSyncEventRequest * @param EsignSyncEventHeaders $headers EsignSyncEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return EsignSyncEventResponse EsignSyncEventResponse */ public function esignSyncEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->esignData)) { $body['esignData'] = $request->esignData; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EsignSyncEvent', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/esign/events/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EsignSyncEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary e签宝电子签事件同步回传接口 * * * @param EsignSyncEventRequest $request EsignSyncEventRequest * * @return EsignSyncEventResponse EsignSyncEventResponse */ public function esignSyncEvent($request) { $runtime = new RuntimeOptions([]); $headers = new EsignSyncEventHeaders([]); return $this->esignSyncEventWithOptions($request, $headers, $runtime); } /** * @summary 完成工单审查接口 * * * @param FinishReviewOrderRequest $request FinishReviewOrderRequest * @param FinishReviewOrderHeaders $headers FinishReviewOrderHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return FinishReviewOrderResponse FinishReviewOrderResponse */ public function finishReviewOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->endFiles)) { $body['endFiles'] = $request->endFiles; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->orderId)) { $body['orderId'] = $request->orderId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FinishReviewOrder', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/reviews/finish', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FinishReviewOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 完成工单审查接口 * * * @param FinishReviewOrderRequest $request FinishReviewOrderRequest * * @return FinishReviewOrderResponse FinishReviewOrderResponse */ public function finishReviewOrder($request) { $runtime = new RuntimeOptions([]); $headers = new FinishReviewOrderHeaders([]); return $this->finishReviewOrderWithOptions($request, $headers, $runtime); } /** * @summary e签宝查询智能合同版本接口 * * * @param QueryAdvancedContractVersionRequest $request QueryAdvancedContractVersionRequest * @param QueryAdvancedContractVersionHeaders $headers QueryAdvancedContractVersionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryAdvancedContractVersionResponse QueryAdvancedContractVersionResponse */ public function queryAdvancedContractVersionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryAdvancedContractVersion', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/versions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAdvancedContractVersionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary e签宝查询智能合同版本接口 * * * @param QueryAdvancedContractVersionRequest $request QueryAdvancedContractVersionRequest * * @return QueryAdvancedContractVersionResponse QueryAdvancedContractVersionResponse */ public function queryAdvancedContractVersion($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAdvancedContractVersionHeaders([]); return $this->queryAdvancedContractVersionWithOptions($request, $headers, $runtime); } /** * @summary 发送合同相关卡片 * * * @param SendContractCardRequest $request SendContractCardRequest * @param SendContractCardHeaders $headers SendContractCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendContractCardResponse SendContractCardResponse */ public function sendContractCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->cardType)) { $body['cardType'] = $request->cardType; } if (!Utils::isUnset($request->contractInfo)) { $body['contractInfo'] = $request->contractInfo; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extension)) { $body['extension'] = $request->extension; } if (!Utils::isUnset($request->processInstanceId)) { $body['processInstanceId'] = $request->processInstanceId; } if (!Utils::isUnset($request->receiveGroups)) { $body['receiveGroups'] = $request->receiveGroups; } if (!Utils::isUnset($request->receivers)) { $body['receivers'] = $request->receivers; } if (!Utils::isUnset($request->sender)) { $body['sender'] = $request->sender; } if (!Utils::isUnset($request->syncSingleChat)) { $body['syncSingleChat'] = $request->syncSingleChat; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendContractCard', 'version' => 'contract_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/contract/cards/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendContractCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发送合同相关卡片 * * * @param SendContractCardRequest $request SendContractCardRequest * * @return SendContractCardResponse SendContractCardResponse */ public function sendContractCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendContractCardHeaders([]); return $this->sendContractCardWithOptions($request, $headers, $runtime); } } src/contract_1_0/Models/ContractBenefitConsumeHeaders.php 0000644 00000002354 14713400346 0017451 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ContractBenefitConsumeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/ContractBenefitConsumeRequest.php 0000644 00000006242 14713400346 0017526 0 ustar 00 'benefitPoint', 'bizRequestId' => 'bizRequestId', 'consumeQuota' => 'consumeQuota', 'corpId' => 'corpId', 'extParams' => 'extParams', 'isvCorpId' => 'isvCorpId', 'optUnionId' => 'optUnionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitPoint) { $res['benefitPoint'] = $this->benefitPoint; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->consumeQuota) { $res['consumeQuota'] = $this->consumeQuota; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extParams) { $res['extParams'] = $this->extParams; } if (null !== $this->isvCorpId) { $res['isvCorpId'] = $this->isvCorpId; } if (null !== $this->optUnionId) { $res['optUnionId'] = $this->optUnionId; } return $res; } /** * @param array $map * * @return ContractBenefitConsumeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitPoint'])) { $model->benefitPoint = $map['benefitPoint']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['consumeQuota'])) { $model->consumeQuota = $map['consumeQuota']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extParams'])) { $model->extParams = $map['extParams']; } if (isset($map['isvCorpId'])) { $model->isvCorpId = $map['isvCorpId']; } if (isset($map['optUnionId'])) { $model->optUnionId = $map['optUnionId']; } return $model; } } src/contract_1_0/Models/ContractBenefitConsumeResponse.php 0000644 00000002766 14713400346 0017703 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ContractBenefitConsumeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ContractBenefitConsumeResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/ContractBenefitConsumeResponseBody.php 0000644 00000002375 14713400346 0020515 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ContractBenefitConsumeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/ContractBenefitConsumeResponseBody/result.php 0000644 00000001567 14713400346 0022035 0 ustar 00 'consumeResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->consumeResult) { $res['consumeResult'] = $this->consumeResult; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['consumeResult'])) { $model->consumeResult = $map['consumeResult']; } return $model; } } src/contract_1_0/Models/EsignQueryApprovalInfoHeaders.php 0000644 00000002354 14713400346 0017461 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EsignQueryApprovalInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/EsignQueryApprovalInfoRequest.php 0000644 00000003107 14713400346 0017533 0 ustar 00 'corpId', 'esignFlowId' => 'esignFlowId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->esignFlowId) { $res['esignFlowId'] = $this->esignFlowId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return EsignQueryApprovalInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['esignFlowId'])) { $model->esignFlowId = $map['esignFlowId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contract_1_0/Models/EsignQueryApprovalInfoResponse.php 0000644 00000002766 14713400346 0017713 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EsignQueryApprovalInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EsignQueryApprovalInfoResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/EsignQueryApprovalInfoResponseBody.php 0000644 00000002375 14713400346 0020525 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return EsignQueryApprovalInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/EsignQueryApprovalInfoResponseBody/result.php 0000644 00000004141 14713400346 0022034 0 ustar 00 'bpmsProcessBusinessId', 'bpmsProcessInstanceId' => 'bpmsProcessInstanceId', 'bpmsProcessInstanceUrl' => 'bpmsProcessInstanceUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bpmsProcessBusinessId) { $res['bpmsProcessBusinessId'] = $this->bpmsProcessBusinessId; } if (null !== $this->bpmsProcessInstanceId) { $res['bpmsProcessInstanceId'] = $this->bpmsProcessInstanceId; } if (null !== $this->bpmsProcessInstanceUrl) { $res['bpmsProcessInstanceUrl'] = $this->bpmsProcessInstanceUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bpmsProcessBusinessId'])) { $model->bpmsProcessBusinessId = $map['bpmsProcessBusinessId']; } if (isset($map['bpmsProcessInstanceId'])) { $model->bpmsProcessInstanceId = $map['bpmsProcessInstanceId']; } if (isset($map['bpmsProcessInstanceUrl'])) { $model->bpmsProcessInstanceUrl = $map['bpmsProcessInstanceUrl']; } return $model; } } src/contract_1_0/Models/EsignQueryGrantInfoHeaders.php 0000644 00000002346 14713400346 0016751 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EsignQueryGrantInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/EsignQueryGrantInfoRequest.php 0000644 00000002765 14713400346 0017033 0 ustar 00 'corpId', 'extension' => 'extension', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return EsignQueryGrantInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contract_1_0/Models/EsignQueryGrantInfoResponse.php 0000644 00000002752 14713400346 0017175 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EsignQueryGrantInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EsignQueryGrantInfoResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/EsignQueryGrantInfoResponseBody.php 0000644 00000002364 14713400346 0020012 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return EsignQueryGrantInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/EsignQueryGrantInfoResponseBody/result.php 0000644 00000005310 14713400346 0021322 0 ustar 00 'legalPerson', 'mobilePhoneNumber' => 'mobilePhoneNumber', 'orgName' => 'orgName', 'stateCode' => 'stateCode', 'unifiedSocialCredit' => 'unifiedSocialCredit', 'userName' => 'userName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->legalPerson) { $res['legalPerson'] = $this->legalPerson; } if (null !== $this->mobilePhoneNumber) { $res['mobilePhoneNumber'] = $this->mobilePhoneNumber; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->stateCode) { $res['stateCode'] = $this->stateCode; } if (null !== $this->unifiedSocialCredit) { $res['unifiedSocialCredit'] = $this->unifiedSocialCredit; } if (null !== $this->userName) { $res['userName'] = $this->userName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['legalPerson'])) { $model->legalPerson = $map['legalPerson']; } if (isset($map['mobilePhoneNumber'])) { $model->mobilePhoneNumber = $map['mobilePhoneNumber']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['stateCode'])) { $model->stateCode = $map['stateCode']; } if (isset($map['unifiedSocialCredit'])) { $model->unifiedSocialCredit = $map['unifiedSocialCredit']; } if (isset($map['userName'])) { $model->userName = $map['userName']; } return $model; } } src/contract_1_0/Models/EsignQueryIdentityByTicketHeaders.php 0000644 00000002364 14713400346 0020312 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EsignQueryIdentityByTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/EsignQueryIdentityByTicketRequest.php 0000644 00000003162 14713400346 0020364 0 ustar 00 'corpId', 'extension' => 'extension', 'ticket' => 'ticket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->ticket) { $res['ticket'] = $this->ticket; } return $res; } /** * @param array $map * * @return EsignQueryIdentityByTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['ticket'])) { $model->ticket = $map['ticket']; } return $model; } } src/contract_1_0/Models/EsignQueryIdentityByTicketResponse.php 0000644 00000003006 14713400346 0020527 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EsignQueryIdentityByTicketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EsignQueryIdentityByTicketResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/EsignQueryIdentityByTicketResponseBody.php 0000644 00000002411 14713400346 0021344 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return EsignQueryIdentityByTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/EsignQueryIdentityByTicketResponseBody/result.php 0000644 00000001507 14713400346 0022667 0 ustar 00 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contract_1_0/Models/EsignSyncEventHeaders.php 0000644 00000002334 14713400346 0015747 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EsignSyncEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/EsignSyncEventRequest.php 0000644 00000004247 14713400346 0016031 0 ustar 00 'action', 'corpId' => 'corpId', 'esignData' => 'esignData', 'extension' => 'extension', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->esignData) { $res['esignData'] = $this->esignData; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return EsignSyncEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['esignData'])) { $model->esignData = $map['esignData']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/contract_1_0/Models/EsignSyncEventResponse.php 0000644 00000002726 14713400346 0016177 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EsignSyncEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EsignSyncEventResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/EsignSyncEventResponseBody.php 0000644 00000002345 14713400346 0017012 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return EsignSyncEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/EsignSyncEventResponseBody/result.php 0000644 00000001545 14713400346 0020331 0 ustar 00 'message', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->message) { $res['message'] = $this->message; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['message'])) { $model->message = $map['message']; } return $model; } } src/contract_1_0/Models/FinishReviewOrderHeaders.php 0000644 00000002342 14713400346 0016440 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FinishReviewOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/FinishReviewOrderRequest.php 0000644 00000004042 14713400346 0016514 0 ustar 00 'endFiles', 'extension' => 'extension', 'orderId' => 'orderId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endFiles) { $res['endFiles'] = []; if (null !== $this->endFiles && \is_array($this->endFiles)) { $n = 0; foreach ($this->endFiles as $item) { $res['endFiles'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->orderId) { $res['orderId'] = $this->orderId; } return $res; } /** * @param array $map * * @return FinishReviewOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endFiles'])) { if (!empty($map['endFiles'])) { $model->endFiles = []; $n = 0; foreach ($map['endFiles'] as $item) { $model->endFiles[$n++] = null !== $item ? endFiles::fromMap($item) : $item; } } } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['orderId'])) { $model->orderId = $map['orderId']; } return $model; } } src/contract_1_0/Models/FinishReviewOrderRequest/endFiles.php 0000644 00000004133 14713400346 0020246 0 ustar 00 'fileName', 'fileSize' => 'fileSize', 'fileType' => 'fileType', 'fileVersion' => 'fileVersion', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fileName) { $res['fileName'] = $this->fileName; } if (null !== $this->fileSize) { $res['fileSize'] = $this->fileSize; } if (null !== $this->fileType) { $res['fileType'] = $this->fileType; } if (null !== $this->fileVersion) { $res['fileVersion'] = $this->fileVersion; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return endFiles */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fileName'])) { $model->fileName = $map['fileName']; } if (isset($map['fileSize'])) { $model->fileSize = $map['fileSize']; } if (isset($map['fileType'])) { $model->fileType = $map['fileType']; } if (isset($map['fileVersion'])) { $model->fileVersion = $map['fileVersion']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/contract_1_0/Models/FinishReviewOrderResponse.php 0000644 00000002742 14713400346 0016667 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FinishReviewOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FinishReviewOrderResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/FinishReviewOrderResponseBody.php 0000644 00000001514 14713400346 0017501 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return FinishReviewOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/QueryAdvancedContractVersionHeaders.php 0000644 00000002370 14713400346 0020642 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAdvancedContractVersionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/QueryAdvancedContractVersionRequest.php 0000644 00000002273 14713400346 0020721 0 ustar 00 'corpId', 'extension' => 'extension', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } return $res; } /** * @param array $map * * @return QueryAdvancedContractVersionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } return $model; } } src/contract_1_0/Models/QueryAdvancedContractVersionResponse.php 0000644 00000003016 14713400346 0021063 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAdvancedContractVersionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAdvancedContractVersionResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/QueryAdvancedContractVersionResponseBody.php 0000644 00000002417 14713400346 0021705 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryAdvancedContractVersionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/contract_1_0/Models/QueryAdvancedContractVersionResponseBody/result.php 0000644 00000003155 14713400346 0023223 0 ustar 00 'enableEsignAttachmentSign', 'extension' => 'extension', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->enableEsignAttachmentSign) { $res['enableEsignAttachmentSign'] = $this->enableEsignAttachmentSign; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['enableEsignAttachmentSign'])) { $model->enableEsignAttachmentSign = $map['enableEsignAttachmentSign']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/contract_1_0/Models/SendContractCardHeaders.php 0000644 00000002340 14713400346 0016221 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendContractCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/contract_1_0/Models/SendContractCardRequest.php 0000644 00000011322 14713400346 0016276 0 ustar 00 'cardType', 'contractInfo' => 'contractInfo', 'corpId' => 'corpId', 'extension' => 'extension', 'processInstanceId' => 'processInstanceId', 'receiveGroups' => 'receiveGroups', 'receivers' => 'receivers', 'sender' => 'sender', 'syncSingleChat' => 'syncSingleChat', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cardType) { $res['cardType'] = $this->cardType; } if (null !== $this->contractInfo) { $res['contractInfo'] = null !== $this->contractInfo ? $this->contractInfo->toMap() : null; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->processInstanceId) { $res['processInstanceId'] = $this->processInstanceId; } if (null !== $this->receiveGroups) { $res['receiveGroups'] = $this->receiveGroups; } if (null !== $this->receivers) { $res['receivers'] = []; if (null !== $this->receivers && \is_array($this->receivers)) { $n = 0; foreach ($this->receivers as $item) { $res['receivers'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sender) { $res['sender'] = null !== $this->sender ? $this->sender->toMap() : null; } if (null !== $this->syncSingleChat) { $res['syncSingleChat'] = $this->syncSingleChat; } return $res; } /** * @param array $map * * @return SendContractCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cardType'])) { $model->cardType = $map['cardType']; } if (isset($map['contractInfo'])) { $model->contractInfo = contractInfo::fromMap($map['contractInfo']); } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['processInstanceId'])) { $model->processInstanceId = $map['processInstanceId']; } if (isset($map['receiveGroups'])) { if (!empty($map['receiveGroups'])) { $model->receiveGroups = $map['receiveGroups']; } } if (isset($map['receivers'])) { if (!empty($map['receivers'])) { $model->receivers = []; $n = 0; foreach ($map['receivers'] as $item) { $model->receivers[$n++] = null !== $item ? receivers::fromMap($item) : $item; } } } if (isset($map['sender'])) { $model->sender = sender::fromMap($map['sender']); } if (isset($map['syncSingleChat'])) { $model->syncSingleChat = $map['syncSingleChat']; } return $model; } } src/contract_1_0/Models/SendContractCardRequest/contractInfo.php 0000644 00000003652 14713400346 0020736 0 ustar 00 'contractCode', 'contractName' => 'contractName', 'createTime' => 'createTime', 'signUserName' => 'signUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contractCode) { $res['contractCode'] = $this->contractCode; } if (null !== $this->contractName) { $res['contractName'] = $this->contractName; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->signUserName) { $res['signUserName'] = $this->signUserName; } return $res; } /** * @param array $map * * @return contractInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contractCode'])) { $model->contractCode = $map['contractCode']; } if (isset($map['contractName'])) { $model->contractName = $map['contractName']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['signUserName'])) { $model->signUserName = $map['signUserName']; } return $model; } } src/contract_1_0/Models/SendContractCardRequest/receivers.php 0000644 00000002757 14713400346 0020301 0 ustar 00 'corpId', 'userId' => 'userId', 'userType' => 'userType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userType) { $res['userType'] = $this->userType; } return $res; } /** * @param array $map * * @return receivers */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userType'])) { $model->userType = $map['userType']; } return $model; } } src/contract_1_0/Models/SendContractCardRequest/sender.php 0000644 00000002751 14713400346 0017564 0 ustar 00 'corpId', 'userId' => 'userId', 'userType' => 'userType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userType) { $res['userType'] = $this->userType; } return $res; } /** * @param array $map * * @return sender */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userType'])) { $model->userType = $map['userType']; } return $model; } } src/contract_1_0/Models/SendContractCardResponse.php 0000644 00000002736 14713400346 0016455 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendContractCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendContractCardResponseBody::fromMap($map['body']); } return $model; } } src/contract_1_0/Models/SendContractCardResponseBody.php 0000644 00000001512 14713400346 0017262 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendContractCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/conv_file_1_0/Dingtalk.php 0000644 00000025233 14713400346 0012213 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 获取IM会话存储空间信息 * * * @param GetSpaceRequest $request GetSpaceRequest * @param GetSpaceHeaders $headers GetSpaceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSpaceResponse GetSpaceResponse */ public function getSpaceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetSpace', 'version' => 'convFile_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/convFile/conversations/spaces/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSpaceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取IM会话存储空间信息 * * * @param GetSpaceRequest $request GetSpaceRequest * * @return GetSpaceResponse GetSpaceResponse */ public function getSpace($request) { $runtime = new RuntimeOptions([]); $headers = new GetSpaceHeaders([]); return $this->getSpaceWithOptions($request, $headers, $runtime); } /** * @summary 发送文件到指定会话 * * * @param SendRequest $request SendRequest * @param SendHeaders $headers SendHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendResponse SendResponse */ public function sendWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryId)) { $body['dentryId'] = $request->dentryId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->spaceId)) { $body['spaceId'] = $request->spaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'Send', 'version' => 'convFile_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/convFile/conversations/files/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发送文件到指定会话 * * * @param SendRequest $request SendRequest * * @return SendResponse SendResponse */ public function send($request) { $runtime = new RuntimeOptions([]); $headers = new SendHeaders([]); return $this->sendWithOptions($request, $headers, $runtime); } /** * @summary 以应用身份发送文件给自己 * * * @param SendByAppRequest $request SendByAppRequest * @param SendByAppHeaders $headers SendByAppHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendByAppResponse SendByAppResponse */ public function sendByAppWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryId)) { $body['dentryId'] = $request->dentryId; } if (!Utils::isUnset($request->spaceId)) { $body['spaceId'] = $request->spaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendByApp', 'version' => 'convFile_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/convFile/apps/conversations/files/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendByAppResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 以应用身份发送文件给自己 * * * @param SendByAppRequest $request SendByAppRequest * * @return SendByAppResponse SendByAppResponse */ public function sendByApp($request) { $runtime = new RuntimeOptions([]); $headers = new SendByAppHeaders([]); return $this->sendByAppWithOptions($request, $headers, $runtime); } /** * @summary 发送文件链接到指定会话 * * * @param SendLinkRequest $request SendLinkRequest * @param SendLinkHeaders $headers SendLinkHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendLinkResponse SendLinkResponse */ public function sendLinkWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $body = []; if (!Utils::isUnset($request->dentryId)) { $body['dentryId'] = $request->dentryId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->spaceId)) { $body['spaceId'] = $request->spaceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendLink', 'version' => 'convFile_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/convFile/conversations/files/links/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendLinkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发送文件链接到指定会话 * * * @param SendLinkRequest $request SendLinkRequest * * @return SendLinkResponse SendLinkResponse */ public function sendLink($request) { $runtime = new RuntimeOptions([]); $headers = new SendLinkHeaders([]); return $this->sendLinkWithOptions($request, $headers, $runtime); } } src/conv_file_1_0/Models/GetSpaceHeaders.php 0000644 00000002321 14713400346 0014661 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSpaceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conv_file_1_0/Models/GetSpaceRequest.php 0000644 00000002562 14713400346 0014745 0 ustar 00 'openConversationId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return GetSpaceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conv_file_1_0/Models/GetSpaceResponse.php 0000644 00000002677 14713400346 0015122 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpaceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSpaceResponseBody::fromMap($map['body']); } return $model; } } src/conv_file_1_0/Models/GetSpaceResponseBody.php 0000644 00000001662 14713400346 0015731 0 ustar 00 'space', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->space) { $res['space'] = null !== $this->space ? $this->space->toMap() : null; } return $res; } /** * @param array $map * * @return GetSpaceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['space'])) { $model->space = space::fromMap($map['space']); } return $model; } } src/conv_file_1_0/Models/GetSpaceResponseBody/space.php 0000644 00000003474 14713400346 0017027 0 ustar 00 'corpId', 'createTime' => 'createTime', 'modifiedTime' => 'modifiedTime', 'spaceId' => 'spaceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } return $res; } /** * @param array $map * * @return space */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } return $model; } } src/conv_file_1_0/Models/SendByAppHeaders.php 0000644 00000002323 14713400346 0015015 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendByAppHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conv_file_1_0/Models/SendByAppRequest.php 0000644 00000003162 14713400346 0015074 0 ustar 00 'dentryId', 'spaceId' => 'spaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SendByAppRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conv_file_1_0/Models/SendByAppResponse.php 0000644 00000002703 14713400346 0015242 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendByAppResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendByAppResponseBody::fromMap($map['body']); } return $model; } } src/conv_file_1_0/Models/SendByAppResponseBody.php 0000644 00000001650 14713400346 0016060 0 ustar 00 'file', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } return $res; } /** * @param array $map * * @return SendByAppResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } return $model; } } src/conv_file_1_0/Models/SendByAppResponseBody/file.php 0000644 00000013026 14713400346 0016777 0 ustar 00 'conversationId', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'path' => 'path', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/conv_file_1_0/Models/SendHeaders.php 0000644 00000002311 14713400346 0014056 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conv_file_1_0/Models/SendLinkHeaders.php 0000644 00000002321 14713400346 0014675 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendLinkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/conv_file_1_0/Models/SendLinkRequest.php 0000644 00000004153 14713400346 0014757 0 ustar 00 'dentryId', 'openConversationId' => 'openConversationId', 'spaceId' => 'spaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SendLinkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conv_file_1_0/Models/SendLinkResponse.php 0000644 00000002677 14713400346 0015136 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendLinkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendLinkResponseBody::fromMap($map['body']); } return $model; } } src/conv_file_1_0/Models/SendLinkResponseBody.php 0000644 00000001645 14713400346 0015746 0 ustar 00 'file', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } return $res; } /** * @param array $map * * @return SendLinkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } return $model; } } src/conv_file_1_0/Models/SendLinkResponseBody/file.php 0000644 00000013025 14713400346 0016660 0 ustar 00 'conversationId', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'path' => 'path', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/conv_file_1_0/Models/SendRequest.php 0000644 00000004143 14713400346 0014140 0 ustar 00 'dentryId', 'openConversationId' => 'openConversationId', 'spaceId' => 'spaceId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dentryId) { $res['dentryId'] = $this->dentryId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return SendRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dentryId'])) { $model->dentryId = $map['dentryId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/conv_file_1_0/Models/SendResponse.php 0000644 00000002657 14713400346 0014316 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendResponseBody::fromMap($map['body']); } return $model; } } src/conv_file_1_0/Models/SendResponseBody.php 0000644 00000001631 14713400346 0015123 0 ustar 00 'file', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->file) { $res['file'] = null !== $this->file ? $this->file->toMap() : null; } return $res; } /** * @param array $map * * @return SendResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['file'])) { $model->file = file::fromMap($map['file']); } return $model; } } src/conv_file_1_0/Models/SendResponseBody/file.php 0000644 00000013021 14713400346 0016036 0 ustar 00 'conversationId', 'createTime' => 'createTime', 'creatorId' => 'creatorId', 'extension' => 'extension', 'id' => 'id', 'modifiedTime' => 'modifiedTime', 'modifierId' => 'modifierId', 'name' => 'name', 'parentId' => 'parentId', 'path' => 'path', 'size' => 'size', 'spaceId' => 'spaceId', 'status' => 'status', 'type' => 'type', 'uuid' => 'uuid', 'version' => 'version', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorId) { $res['creatorId'] = $this->creatorId; } if (null !== $this->extension) { $res['extension'] = $this->extension; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->modifiedTime) { $res['modifiedTime'] = $this->modifiedTime; } if (null !== $this->modifierId) { $res['modifierId'] = $this->modifierId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->path) { $res['path'] = $this->path; } if (null !== $this->size) { $res['size'] = $this->size; } if (null !== $this->spaceId) { $res['spaceId'] = $this->spaceId; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } if (null !== $this->version) { $res['version'] = $this->version; } return $res; } /** * @param array $map * * @return file */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorId'])) { $model->creatorId = $map['creatorId']; } if (isset($map['extension'])) { $model->extension = $map['extension']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['modifiedTime'])) { $model->modifiedTime = $map['modifiedTime']; } if (isset($map['modifierId'])) { $model->modifierId = $map['modifierId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['path'])) { $model->path = $map['path']; } if (isset($map['size'])) { $model->size = $map['size']; } if (isset($map['spaceId'])) { $model->spaceId = $map['spaceId']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } if (isset($map['version'])) { $model->version = $map['version']; } return $model; } } src/cool_app_1_0/Dingtalk.php 0000644 00000027655 14713400346 0012055 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 群酷应用排序 * * * @param InstallCoolAppOrderToGroupRequest $request InstallCoolAppOrderToGroupRequest * @param InstallCoolAppOrderToGroupHeaders $headers InstallCoolAppOrderToGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return InstallCoolAppOrderToGroupResponse InstallCoolAppOrderToGroupResponse */ public function installCoolAppOrderToGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->sortedPluginIdList)) { $body['sortedPluginIdList'] = $request->sortedPluginIdList; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->unsortedPluginIdList)) { $body['unsortedPluginIdList'] = $request->unsortedPluginIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InstallCoolAppOrderToGroup', 'version' => 'coolApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/coolApp/shortcuts/plugins/order', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallCoolAppOrderToGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 群酷应用排序 * * * @param InstallCoolAppOrderToGroupRequest $request InstallCoolAppOrderToGroupRequest * * @return InstallCoolAppOrderToGroupResponse InstallCoolAppOrderToGroupResponse */ public function installCoolAppOrderToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new InstallCoolAppOrderToGroupHeaders([]); return $this->installCoolAppOrderToGroupWithOptions($request, $headers, $runtime); } /** * @summary 安装酷应用到群 * * * @param InstallCoolAppToGroupRequest $request InstallCoolAppToGroupRequest * @param InstallCoolAppToGroupHeaders $headers InstallCoolAppToGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return InstallCoolAppToGroupResponse InstallCoolAppToGroupResponse */ public function installCoolAppToGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->operateCoolAppCode)) { $body['operateCoolAppCode'] = $request->operateCoolAppCode; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'InstallCoolAppToGroup', 'version' => 'coolApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/coolApp/shortcuts/plugins/install', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return InstallCoolAppToGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 安装酷应用到群 * * * @param InstallCoolAppToGroupRequest $request InstallCoolAppToGroupRequest * * @return InstallCoolAppToGroupResponse InstallCoolAppToGroupResponse */ public function installCoolAppToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new InstallCoolAppToGroupHeaders([]); return $this->installCoolAppToGroupWithOptions($request, $headers, $runtime); } /** * @summary 查询群插件栏 * * * @param QueryCoolAppShortcutOrderRequest $request QueryCoolAppShortcutOrderRequest * @param QueryCoolAppShortcutOrderHeaders $headers QueryCoolAppShortcutOrderHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCoolAppShortcutOrderResponse QueryCoolAppShortcutOrderResponse */ public function queryCoolAppShortcutOrderWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCoolAppShortcutOrder', 'version' => 'coolApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/coolApp/shortcuts/plugins/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCoolAppShortcutOrderResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询群插件栏 * * * @param QueryCoolAppShortcutOrderRequest $request QueryCoolAppShortcutOrderRequest * * @return QueryCoolAppShortcutOrderResponse QueryCoolAppShortcutOrderResponse */ public function queryCoolAppShortcutOrder($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCoolAppShortcutOrderHeaders([]); return $this->queryCoolAppShortcutOrderWithOptions($request, $headers, $runtime); } /** * @summary 从群内卸载酷应用 * * * @param UninstallCoolAppFromGroupRequest $request UninstallCoolAppFromGroupRequest * @param UninstallCoolAppFromGroupHeaders $headers UninstallCoolAppFromGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UninstallCoolAppFromGroupResponse UninstallCoolAppFromGroupResponse */ public function uninstallCoolAppFromGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->operateCoolAppCode)) { $body['operateCoolAppCode'] = $request->operateCoolAppCode; } if (!Utils::isUnset($request->operatorId)) { $body['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UninstallCoolAppFromGroup', 'version' => 'coolApp_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/coolApp/shortcuts/plugins/uninstall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UninstallCoolAppFromGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 从群内卸载酷应用 * * * @param UninstallCoolAppFromGroupRequest $request UninstallCoolAppFromGroupRequest * * @return UninstallCoolAppFromGroupResponse UninstallCoolAppFromGroupResponse */ public function uninstallCoolAppFromGroup($request) { $runtime = new RuntimeOptions([]); $headers = new UninstallCoolAppFromGroupHeaders([]); return $this->uninstallCoolAppFromGroupWithOptions($request, $headers, $runtime); } } src/cool_app_1_0/Models/InstallCoolAppOrderToGroupHeaders.php 0000644 00000002364 14713400346 0020225 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallCoolAppOrderToGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/cool_app_1_0/Models/InstallCoolAppOrderToGroupRequest.php 0000644 00000004264 14713400346 0020303 0 ustar 00 'conversationId', 'sortedPluginIdList' => 'sortedPluginIdList', 'templateId' => 'templateId', 'unsortedPluginIdList' => 'unsortedPluginIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->sortedPluginIdList) { $res['sortedPluginIdList'] = $this->sortedPluginIdList; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->unsortedPluginIdList) { $res['unsortedPluginIdList'] = $this->unsortedPluginIdList; } return $res; } /** * @param array $map * * @return InstallCoolAppOrderToGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['sortedPluginIdList'])) { if (!empty($map['sortedPluginIdList'])) { $model->sortedPluginIdList = $map['sortedPluginIdList']; } } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['unsortedPluginIdList'])) { if (!empty($map['unsortedPluginIdList'])) { $model->unsortedPluginIdList = $map['unsortedPluginIdList']; } } return $model; } } src/cool_app_1_0/Models/InstallCoolAppOrderToGroupResponse.php 0000644 00000003006 14713400346 0020442 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallCoolAppOrderToGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallCoolAppOrderToGroupResponseBody::fromMap($map['body']); } return $model; } } src/cool_app_1_0/Models/InstallCoolAppOrderToGroupResponseBody.php 0000644 00000002155 14713400346 0021264 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return InstallCoolAppOrderToGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/cool_app_1_0/Models/InstallCoolAppToGroupHeaders.php 0000644 00000002352 14713400346 0017226 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return InstallCoolAppToGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/cool_app_1_0/Models/InstallCoolAppToGroupRequest.php 0000644 00000004007 14713400346 0017302 0 ustar 00 'conversationId', 'operateCoolAppCode' => 'operateCoolAppCode', 'operatorId' => 'operatorId', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->operateCoolAppCode) { $res['operateCoolAppCode'] = $this->operateCoolAppCode; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return InstallCoolAppToGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['operateCoolAppCode'])) { $model->operateCoolAppCode = $map['operateCoolAppCode']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/cool_app_1_0/Models/InstallCoolAppToGroupResponse.php 0000644 00000002762 14713400346 0017456 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return InstallCoolAppToGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = InstallCoolAppToGroupResponseBody::fromMap($map['body']); } return $model; } } src/cool_app_1_0/Models/InstallCoolAppToGroupResponseBody.php 0000644 00000002143 14713400346 0020265 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return InstallCoolAppToGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderHeaders.php 0000644 00000002362 14713400346 0020136 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCoolAppShortcutOrderHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderRequest.php 0000644 00000003136 14713400346 0020213 0 ustar 00 'conversationId', 'operatorId' => 'operatorId', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return QueryCoolAppShortcutOrderRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderResponse.php 0000644 00000003002 14713400346 0020351 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCoolAppShortcutOrderResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCoolAppShortcutOrderResponseBody::fromMap($map['body']); } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderResponseBody.php 0000644 00000002406 14713400346 0021176 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryCoolAppShortcutOrderResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderResponseBody/result.php 0000644 00000007152 14713400346 0022517 0 ustar 00 'forbiddenPluginList', 'myPluginList' => 'myPluginList', 'otherPluginList' => 'otherPluginList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->forbiddenPluginList) { $res['forbiddenPluginList'] = []; if (null !== $this->forbiddenPluginList && \is_array($this->forbiddenPluginList)) { $n = 0; foreach ($this->forbiddenPluginList as $item) { $res['forbiddenPluginList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->myPluginList) { $res['myPluginList'] = []; if (null !== $this->myPluginList && \is_array($this->myPluginList)) { $n = 0; foreach ($this->myPluginList as $item) { $res['myPluginList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->otherPluginList) { $res['otherPluginList'] = []; if (null !== $this->otherPluginList && \is_array($this->otherPluginList)) { $n = 0; foreach ($this->otherPluginList as $item) { $res['otherPluginList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['forbiddenPluginList'])) { if (!empty($map['forbiddenPluginList'])) { $model->forbiddenPluginList = []; $n = 0; foreach ($map['forbiddenPluginList'] as $item) { $model->forbiddenPluginList[$n++] = null !== $item ? forbiddenPluginList::fromMap($item) : $item; } } } if (isset($map['myPluginList'])) { if (!empty($map['myPluginList'])) { $model->myPluginList = []; $n = 0; foreach ($map['myPluginList'] as $item) { $model->myPluginList[$n++] = null !== $item ? myPluginList::fromMap($item) : $item; } } } if (isset($map['otherPluginList'])) { if (!empty($map['otherPluginList'])) { $model->otherPluginList = []; $n = 0; foreach ($map['otherPluginList'] as $item) { $model->otherPluginList[$n++] = null !== $item ? otherPluginList::fromMap($item) : $item; } } } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderResponseBody/result/forbiddenPluginList.php 0000644 00000003640 14713400346 0026464 0 ustar 00 'appCode', 'desc' => 'desc', 'pluginId' => 'pluginId', 'source' => 'source', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->pluginId) { $res['pluginId'] = $this->pluginId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return forbiddenPluginList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['pluginId'])) { $model->pluginId = $map['pluginId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderResponseBody/result/myPluginList.php 0000644 00000003622 14713400346 0025155 0 ustar 00 'appCode', 'desc' => 'desc', 'pluginId' => 'pluginId', 'source' => 'source', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->pluginId) { $res['pluginId'] = $this->pluginId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return myPluginList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['pluginId'])) { $model->pluginId = $map['pluginId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/cool_app_1_0/Models/QueryCoolAppShortcutOrderResponseBody/result/otherPluginList.php 0000644 00000003630 14713400346 0025650 0 ustar 00 'appCode', 'desc' => 'desc', 'pluginId' => 'pluginId', 'source' => 'source', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appCode) { $res['appCode'] = $this->appCode; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->pluginId) { $res['pluginId'] = $this->pluginId; } if (null !== $this->source) { $res['source'] = $this->source; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return otherPluginList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appCode'])) { $model->appCode = $map['appCode']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['pluginId'])) { $model->pluginId = $map['pluginId']; } if (isset($map['source'])) { $model->source = $map['source']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/cool_app_1_0/Models/UninstallCoolAppFromGroupHeaders.php 0000644 00000002362 14713400346 0020113 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UninstallCoolAppFromGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/cool_app_1_0/Models/UninstallCoolAppFromGroupRequest.php 0000644 00000004017 14713400346 0020167 0 ustar 00 'conversationId', 'operateCoolAppCode' => 'operateCoolAppCode', 'operatorId' => 'operatorId', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->operateCoolAppCode) { $res['operateCoolAppCode'] = $this->operateCoolAppCode; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return UninstallCoolAppFromGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['operateCoolAppCode'])) { $model->operateCoolAppCode = $map['operateCoolAppCode']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/cool_app_1_0/Models/UninstallCoolAppFromGroupResponse.php 0000644 00000003002 14713400346 0020326 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UninstallCoolAppFromGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UninstallCoolAppFromGroupResponseBody::fromMap($map['body']); } return $model; } } src/cool_app_1_0/Models/UninstallCoolAppFromGroupResponseBody.php 0000644 00000002153 14713400346 0021152 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UninstallCoolAppFromGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/cool_ops_1_0/Dingtalk.php 0000644 00000013135 14713400346 0012062 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary ISV批量查询商机标签 * * * @param BatchQueryOpportunityTagRequest $request BatchQueryOpportunityTagRequest * @param BatchQueryOpportunityTagHeaders $headers BatchQueryOpportunityTagHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchQueryOpportunityTagResponse BatchQueryOpportunityTagResponse */ public function batchQueryOpportunityTagWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpIdList)) { $body['corpIdList'] = $request->corpIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchQueryOpportunityTag', 'version' => 'coolOps_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/coolOps/isvOpportunities/opportunityTags/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchQueryOpportunityTagResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary ISV批量查询商机标签 * * * @param BatchQueryOpportunityTagRequest $request BatchQueryOpportunityTagRequest * * @return BatchQueryOpportunityTagResponse BatchQueryOpportunityTagResponse */ public function batchQueryOpportunityTag($request) { $runtime = new RuntimeOptions([]); $headers = new BatchQueryOpportunityTagHeaders([]); return $this->batchQueryOpportunityTagWithOptions($request, $headers, $runtime); } /** * @summary ISV商机状态同步 * * * @param UpdateIsvOppStatusRequest $request UpdateIsvOppStatusRequest * @param UpdateIsvOppStatusHeaders $headers UpdateIsvOppStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateIsvOppStatusResponse UpdateIsvOppStatusResponse */ public function updateIsvOppStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->isvOpportunityStatusList)) { $body['isvOpportunityStatusList'] = $request->isvOpportunityStatusList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateIsvOppStatus', 'version' => 'coolOps_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/coolOps/isvOpportunities/statuses', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateIsvOppStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary ISV商机状态同步 * * * @param UpdateIsvOppStatusRequest $request UpdateIsvOppStatusRequest * * @return UpdateIsvOppStatusResponse UpdateIsvOppStatusResponse */ public function updateIsvOppStatus($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateIsvOppStatusHeaders([]); return $this->updateIsvOppStatusWithOptions($request, $headers, $runtime); } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagHeaders.php 0000644 00000002360 14713400346 0020042 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchQueryOpportunityTagHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagRequest.php 0000644 00000001657 14713400346 0020127 0 ustar 00 'corpIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpIdList) { $res['corpIdList'] = $this->corpIdList; } return $res; } /** * @param array $map * * @return BatchQueryOpportunityTagRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpIdList'])) { if (!empty($map['corpIdList'])) { $model->corpIdList = $map['corpIdList']; } } return $model; } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagResponse.php 0000644 00000002776 14713400346 0020300 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryOpportunityTagResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchQueryOpportunityTagResponseBody::fromMap($map['body']); } return $model; } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagResponseBody.php 0000644 00000001755 14713400346 0021112 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return BatchQueryOpportunityTagResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagResponseBody/result.php 0000644 00000003067 14713400346 0022426 0 ustar 00 'opportunityList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->opportunityList) { $res['opportunityList'] = []; if (null !== $this->opportunityList && \is_array($this->opportunityList)) { $n = 0; foreach ($this->opportunityList as $item) { $res['opportunityList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['opportunityList'])) { if (!empty($map['opportunityList'])) { $model->opportunityList = []; $n = 0; foreach ($map['opportunityList'] as $item) { $model->opportunityList[$n++] = null !== $item ? opportunityList::fromMap($item) : $item; } } } return $model; } } src/cool_ops_1_0/Models/BatchQueryOpportunityTagResponseBody/result/opportunityList.php 0000644 00000004767 14713400346 0025706 0 ustar 00 'activeUserCnt7d', 'appActiveState' => 'appActiveState', 'corpId' => 'corpId', 'fstFunnelsourceNameLv1' => 'fstFunnelsourceNameLv1', 'funnelsourceNameLv1' => 'funnelsourceNameLv1', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activeUserCnt7d) { $res['activeUserCnt7d'] = $this->activeUserCnt7d; } if (null !== $this->appActiveState) { $res['appActiveState'] = $this->appActiveState; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->fstFunnelsourceNameLv1) { $res['fstFunnelsourceNameLv1'] = $this->fstFunnelsourceNameLv1; } if (null !== $this->funnelsourceNameLv1) { $res['funnelsourceNameLv1'] = $this->funnelsourceNameLv1; } return $res; } /** * @param array $map * * @return opportunityList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activeUserCnt7d'])) { $model->activeUserCnt7d = $map['activeUserCnt7d']; } if (isset($map['appActiveState'])) { $model->appActiveState = $map['appActiveState']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['fstFunnelsourceNameLv1'])) { $model->fstFunnelsourceNameLv1 = $map['fstFunnelsourceNameLv1']; } if (isset($map['funnelsourceNameLv1'])) { $model->funnelsourceNameLv1 = $map['funnelsourceNameLv1']; } return $model; } } src/cool_ops_1_0/Models/UpdateIsvOppStatusHeaders.php 0000644 00000002344 14713400346 0016633 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateIsvOppStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/cool_ops_1_0/Models/UpdateIsvOppStatusRequest.php 0000644 00000003310 14713400346 0016702 0 ustar 00 'isvOpportunityStatusList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isvOpportunityStatusList) { $res['isvOpportunityStatusList'] = []; if (null !== $this->isvOpportunityStatusList && \is_array($this->isvOpportunityStatusList)) { $n = 0; foreach ($this->isvOpportunityStatusList as $item) { $res['isvOpportunityStatusList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return UpdateIsvOppStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isvOpportunityStatusList'])) { if (!empty($map['isvOpportunityStatusList'])) { $model->isvOpportunityStatusList = []; $n = 0; foreach ($map['isvOpportunityStatusList'] as $item) { $model->isvOpportunityStatusList[$n++] = null !== $item ? isvOpportunityStatusList::fromMap($item) : $item; } } } return $model; } } src/cool_ops_1_0/Models/UpdateIsvOppStatusRequest/isvOpportunityStatusList.php 0000644 00000010452 14713400346 0024045 0 ustar 00 'isvCorpId', 'microAppId' => 'microAppId', 'name' => 'name', 'note' => 'note', 'operCorpId' => 'operCorpId', 'operName' => 'operName', 'operTime' => 'operTime', 'operUserId' => 'operUserId', 'oppSourceCorpId' => 'oppSourceCorpId', 'opportunityStatus' => 'opportunityStatus', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->isvCorpId) { $res['isvCorpId'] = $this->isvCorpId; } if (null !== $this->microAppId) { $res['microAppId'] = $this->microAppId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->note) { $res['note'] = $this->note; } if (null !== $this->operCorpId) { $res['operCorpId'] = $this->operCorpId; } if (null !== $this->operName) { $res['operName'] = $this->operName; } if (null !== $this->operTime) { $res['operTime'] = $this->operTime; } if (null !== $this->operUserId) { $res['operUserId'] = $this->operUserId; } if (null !== $this->oppSourceCorpId) { $res['oppSourceCorpId'] = $this->oppSourceCorpId; } if (null !== $this->opportunityStatus) { $res['opportunityStatus'] = $this->opportunityStatus; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return isvOpportunityStatusList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['isvCorpId'])) { $model->isvCorpId = $map['isvCorpId']; } if (isset($map['microAppId'])) { $model->microAppId = $map['microAppId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['note'])) { $model->note = $map['note']; } if (isset($map['operCorpId'])) { $model->operCorpId = $map['operCorpId']; } if (isset($map['operName'])) { $model->operName = $map['operName']; } if (isset($map['operTime'])) { $model->operTime = $map['operTime']; } if (isset($map['operUserId'])) { $model->operUserId = $map['operUserId']; } if (isset($map['oppSourceCorpId'])) { $model->oppSourceCorpId = $map['oppSourceCorpId']; } if (isset($map['opportunityStatus'])) { $model->opportunityStatus = $map['opportunityStatus']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/cool_ops_1_0/Models/UpdateIsvOppStatusResponse.php 0000644 00000002746 14713400346 0017064 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateIsvOppStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateIsvOppStatusResponseBody::fromMap($map['body']); } return $model; } } src/cool_ops_1_0/Models/UpdateIsvOppStatusResponseBody.php 0000644 00000001505 14713400346 0017672 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateIsvOppStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/credit_1_0/Dingtalk.php 0000644 00000006762 14713400346 0011527 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 查询用户金融评分数据 * * * @param QueryScoreRequest $request QueryScoreRequest * @param QueryScoreHeaders $headers QueryScoreHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryScoreResponse QueryScoreResponse */ public function queryScoreWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->encryption)) { $query['encryption'] = $request->encryption; } if (!Utils::isUnset($request->fullName)) { $query['fullName'] = $request->fullName; } if (!Utils::isUnset($request->idCardCode)) { $query['idCardCode'] = $request->idCardCode; } if (!Utils::isUnset($request->mobile)) { $query['mobile'] = $request->mobile; } if (!Utils::isUnset($request->orgName)) { $query['orgName'] = $request->orgName; } if (!Utils::isUnset($request->uniScCode)) { $query['uniScCode'] = $request->uniScCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryScore', 'version' => 'credit_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/credit/scores', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryScoreResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户金融评分数据 * * * @param QueryScoreRequest $request QueryScoreRequest * * @return QueryScoreResponse QueryScoreResponse */ public function queryScore($request) { $runtime = new RuntimeOptions([]); $headers = new QueryScoreHeaders([]); return $this->queryScoreWithOptions($request, $headers, $runtime); } } src/credit_1_0/Models/QueryScoreHeaders.php 0000644 00000002322 14713400346 0014576 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryScoreHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/credit_1_0/Models/QueryScoreRequest.php 0000644 00000005232 14713400346 0014656 0 ustar 00 'encryption', 'fullName' => 'fullName', 'idCardCode' => 'idCardCode', 'mobile' => 'mobile', 'orgName' => 'orgName', 'uniScCode' => 'uniScCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->encryption) { $res['encryption'] = $this->encryption; } if (null !== $this->fullName) { $res['fullName'] = $this->fullName; } if (null !== $this->idCardCode) { $res['idCardCode'] = $this->idCardCode; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->uniScCode) { $res['uniScCode'] = $this->uniScCode; } return $res; } /** * @param array $map * * @return QueryScoreRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['encryption'])) { $model->encryption = $map['encryption']; } if (isset($map['fullName'])) { $model->fullName = $map['fullName']; } if (isset($map['idCardCode'])) { $model->idCardCode = $map['idCardCode']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['uniScCode'])) { $model->uniScCode = $map['uniScCode']; } return $model; } } src/credit_1_0/Models/QueryScoreResponse.php 0000644 00000002704 14713400346 0015025 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScoreResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryScoreResponseBody::fromMap($map['body']); } return $model; } } src/credit_1_0/Models/QueryScoreResponseBody.php 0000644 00000002325 14713400346 0015642 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryScoreResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/credit_1_0/Models/QueryScoreResponseBody/result.php 0000644 00000013362 14713400346 0017163 0 ustar 00 'ccocScore', 'cityChangeCnt3y' => 'cityChangeCnt3y', 'cityChangeTrend2y' => 'cityChangeTrend2y', 'classificationOfOrg' => 'classificationOfOrg', 'growthRateLoginDays180d' => 'growthRateLoginDays180d', 'indChangeCnt3y' => 'indChangeCnt3y', 'indChangeTrend2y' => 'indChangeTrend2y', 'jobChangeCnt3y' => 'jobChangeCnt3y', 'jobTitle' => 'jobTitle', 'joinDays' => 'joinDays', 'loginDays14dPct' => 'loginDays14dPct', 'loginDays365dPct' => 'loginDays365dPct', 'orgCnt' => 'orgCnt', 'orgIndustrySubNameNew' => 'orgIndustrySubNameNew', 'orgIndustryUpNameNew' => 'orgIndustryUpNameNew', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ccocScore) { $res['ccocScore'] = $this->ccocScore; } if (null !== $this->cityChangeCnt3y) { $res['cityChangeCnt3y'] = $this->cityChangeCnt3y; } if (null !== $this->cityChangeTrend2y) { $res['cityChangeTrend2y'] = $this->cityChangeTrend2y; } if (null !== $this->classificationOfOrg) { $res['classificationOfOrg'] = $this->classificationOfOrg; } if (null !== $this->growthRateLoginDays180d) { $res['growthRateLoginDays180d'] = $this->growthRateLoginDays180d; } if (null !== $this->indChangeCnt3y) { $res['indChangeCnt3y'] = $this->indChangeCnt3y; } if (null !== $this->indChangeTrend2y) { $res['indChangeTrend2y'] = $this->indChangeTrend2y; } if (null !== $this->jobChangeCnt3y) { $res['jobChangeCnt3y'] = $this->jobChangeCnt3y; } if (null !== $this->jobTitle) { $res['jobTitle'] = $this->jobTitle; } if (null !== $this->joinDays) { $res['joinDays'] = $this->joinDays; } if (null !== $this->loginDays14dPct) { $res['loginDays14dPct'] = $this->loginDays14dPct; } if (null !== $this->loginDays365dPct) { $res['loginDays365dPct'] = $this->loginDays365dPct; } if (null !== $this->orgCnt) { $res['orgCnt'] = $this->orgCnt; } if (null !== $this->orgIndustrySubNameNew) { $res['orgIndustrySubNameNew'] = $this->orgIndustrySubNameNew; } if (null !== $this->orgIndustryUpNameNew) { $res['orgIndustryUpNameNew'] = $this->orgIndustryUpNameNew; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ccocScore'])) { $model->ccocScore = $map['ccocScore']; } if (isset($map['cityChangeCnt3y'])) { $model->cityChangeCnt3y = $map['cityChangeCnt3y']; } if (isset($map['cityChangeTrend2y'])) { $model->cityChangeTrend2y = $map['cityChangeTrend2y']; } if (isset($map['classificationOfOrg'])) { $model->classificationOfOrg = $map['classificationOfOrg']; } if (isset($map['growthRateLoginDays180d'])) { $model->growthRateLoginDays180d = $map['growthRateLoginDays180d']; } if (isset($map['indChangeCnt3y'])) { $model->indChangeCnt3y = $map['indChangeCnt3y']; } if (isset($map['indChangeTrend2y'])) { $model->indChangeTrend2y = $map['indChangeTrend2y']; } if (isset($map['jobChangeCnt3y'])) { $model->jobChangeCnt3y = $map['jobChangeCnt3y']; } if (isset($map['jobTitle'])) { $model->jobTitle = $map['jobTitle']; } if (isset($map['joinDays'])) { $model->joinDays = $map['joinDays']; } if (isset($map['loginDays14dPct'])) { $model->loginDays14dPct = $map['loginDays14dPct']; } if (isset($map['loginDays365dPct'])) { $model->loginDays365dPct = $map['loginDays365dPct']; } if (isset($map['orgCnt'])) { $model->orgCnt = $map['orgCnt']; } if (isset($map['orgIndustrySubNameNew'])) { $model->orgIndustrySubNameNew = $map['orgIndustrySubNameNew']; } if (isset($map['orgIndustryUpNameNew'])) { $model->orgIndustryUpNameNew = $map['orgIndustryUpNameNew']; } return $model; } } src/crm_1_0/Dingtalk.php 0000644 00000630341 14713400346 0011032 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 从私海放弃客户(退回公海) * * * @param AbandonCustomerRequest $request AbandonCustomerRequest * @param AbandonCustomerHeaders $headers AbandonCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AbandonCustomerResponse AbandonCustomerResponse */ public function abandonCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customTrackDesc)) { $body['customTrackDesc'] = $request->customTrackDesc; } if (!Utils::isUnset($request->instanceIdList)) { $body['instanceIdList'] = $request->instanceIdList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->optType)) { $body['optType'] = $request->optType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AbandonCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customers/abandon', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AbandonCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 从私海放弃客户(退回公海) * * * @param AbandonCustomerRequest $request AbandonCustomerRequest * * @return AbandonCustomerResponse AbandonCustomerResponse */ public function abandonCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new AbandonCustomerHeaders([]); return $this->abandonCustomerWithOptions($request, $headers, $runtime); } /** * @summary 添加crm个人客户(或企业客户) * * * @param AddCrmPersonalCustomerRequest $request AddCrmPersonalCustomerRequest * @param AddCrmPersonalCustomerHeaders $headers AddCrmPersonalCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddCrmPersonalCustomerResponse AddCrmPersonalCustomerResponse */ public function addCrmPersonalCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->creatorNick)) { $body['creatorNick'] = $request->creatorNick; } if (!Utils::isUnset($request->creatorUserId)) { $body['creatorUserId'] = $request->creatorUserId; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->permission)) { $body['permission'] = $request->permission; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->skipDuplicateCheck)) { $body['skipDuplicateCheck'] = $request->skipDuplicateCheck; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddCrmPersonalCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/personalCustomers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddCrmPersonalCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加crm个人客户(或企业客户) * * * @param AddCrmPersonalCustomerRequest $request AddCrmPersonalCustomerRequest * * @return AddCrmPersonalCustomerResponse AddCrmPersonalCustomerResponse */ public function addCrmPersonalCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new AddCrmPersonalCustomerHeaders([]); return $this->addCrmPersonalCustomerWithOptions($request, $headers, $runtime); } /** * @summary 新增动态 * * * @param AddCustomerTrackRequest $request AddCustomerTrackRequest * @param AddCustomerTrackHeaders $headers AddCustomerTrackHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddCustomerTrackResponse AddCustomerTrackResponse */ public function addCustomerTrackWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->customerId)) { $body['customerId'] = $request->customerId; } if (!Utils::isUnset($request->extraBizInfo)) { $body['extraBizInfo'] = $request->extraBizInfo; } if (!Utils::isUnset($request->idempotentKey)) { $body['idempotentKey'] = $request->idempotentKey; } if (!Utils::isUnset($request->maskedContent)) { $body['maskedContent'] = $request->maskedContent; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddCustomerTrack', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customerTracks', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddCustomerTrackResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增动态 * * * @param AddCustomerTrackRequest $request AddCustomerTrackRequest * * @return AddCustomerTrackResponse AddCustomerTrackResponse */ public function addCustomerTrack($request) { $runtime = new RuntimeOptions([]); $headers = new AddCustomerTrackHeaders([]); return $this->addCustomerTrackWithOptions($request, $headers, $runtime); } /** * @summary 添加线索 * * * @param AddLeadsRequest $request AddLeadsRequest * @param AddLeadsHeaders $headers AddLeadsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddLeadsResponse AddLeadsResponse */ public function addLeadsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->assignTimestamp)) { $body['assignTimestamp'] = $request->assignTimestamp; } if (!Utils::isUnset($request->assignUserId)) { $body['assignUserId'] = $request->assignUserId; } if (!Utils::isUnset($request->assignedUserId)) { $body['assignedUserId'] = $request->assignedUserId; } if (!Utils::isUnset($request->leads)) { $body['leads'] = $request->leads; } if (!Utils::isUnset($request->outTaskId)) { $body['outTaskId'] = $request->outTaskId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddLeads', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/leads', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddLeadsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加线索 * * * @param AddLeadsRequest $request AddLeadsRequest * * @return AddLeadsResponse AddLeadsResponse */ public function addLeads($request) { $runtime = new RuntimeOptions([]); $headers = new AddLeadsHeaders([]); return $this->addLeadsWithOptions($request, $headers, $runtime); } /** * @summary 模型表结构增加字段 * * * @param AddMetaModelFieldRequest $request AddMetaModelFieldRequest * @param AddMetaModelFieldHeaders $headers AddMetaModelFieldHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddMetaModelFieldResponse AddMetaModelFieldResponse */ public function addMetaModelFieldWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->fieldDTOList)) { $body['fieldDTOList'] = $request->fieldDTOList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddMetaModelField', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/metas/models/fields', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddMetaModelFieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 模型表结构增加字段 * * * @param AddMetaModelFieldRequest $request AddMetaModelFieldRequest * * @return AddMetaModelFieldResponse AddMetaModelFieldResponse */ public function addMetaModelField($request) { $runtime = new RuntimeOptions([]); $headers = new AddMetaModelFieldHeaders([]); return $this->addMetaModelFieldWithOptions($request, $headers, $runtime); } /** * @summary 关系模型表结构增加字段 * * * @param AddRelationMetaFieldRequest $request AddRelationMetaFieldRequest * @param AddRelationMetaFieldHeaders $headers AddRelationMetaFieldHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddRelationMetaFieldResponse AddRelationMetaFieldResponse */ public function addRelationMetaFieldWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fieldDTOList)) { $body['fieldDTOList'] = $request->fieldDTOList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddRelationMetaField', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relations/metas/fields', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddRelationMetaFieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 关系模型表结构增加字段 * * * @param AddRelationMetaFieldRequest $request AddRelationMetaFieldRequest * * @return AddRelationMetaFieldResponse AddRelationMetaFieldResponse */ public function addRelationMetaField($request) { $runtime = new RuntimeOptions([]); $headers = new AddRelationMetaFieldHeaders([]); return $this->addRelationMetaFieldWithOptions($request, $headers, $runtime); } /** * @summary 追加客户数据权限 * * * @param AppendCustomerDataAuthRequest $request AppendCustomerDataAuthRequest * @param AppendCustomerDataAuthHeaders $headers AppendCustomerDataAuthHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AppendCustomerDataAuthResponse AppendCustomerDataAuthResponse */ public function appendCustomerDataAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customerIds)) { $body['customerIds'] = $request->customerIds; } if (!Utils::isUnset($request->dataAuthUserIds)) { $body['dataAuthUserIds'] = $request->dataAuthUserIds; } if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->operateUserId)) { $body['operateUserId'] = $request->operateUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->roleType)) { $body['roleType'] = $request->roleType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AppendCustomerDataAuth', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customers/dataAuth/append', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AppendCustomerDataAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 追加客户数据权限 * * * @param AppendCustomerDataAuthRequest $request AppendCustomerDataAuthRequest * * @return AppendCustomerDataAuthResponse AppendCustomerDataAuthResponse */ public function appendCustomerDataAuth($request) { $runtime = new RuntimeOptions([]); $headers = new AppendCustomerDataAuthHeaders([]); return $this->appendCustomerDataAuthWithOptions($request, $headers, $runtime); } /** * @summary 批量新增联系人 * * * @param BatchAddContactsRequest $request BatchAddContactsRequest * @param BatchAddContactsHeaders $headers BatchAddContactsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchAddContactsResponse BatchAddContactsResponse */ public function batchAddContactsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationList)) { $body['relationList'] = $request->relationList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchAddContacts', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/contacts/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchAddContactsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量新增联系人 * * * @param BatchAddContactsRequest $request BatchAddContactsRequest * * @return BatchAddContactsResponse BatchAddContactsResponse */ public function batchAddContacts($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddContactsHeaders([]); return $this->batchAddContactsWithOptions($request, $headers, $runtime); } /** * @summary 批量新增跟进记录 * * * @param BatchAddFollowRecordsRequest $request BatchAddFollowRecordsRequest * @param BatchAddFollowRecordsHeaders $headers BatchAddFollowRecordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchAddFollowRecordsResponse BatchAddFollowRecordsResponse */ public function batchAddFollowRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->instanceList)) { $body['instanceList'] = $request->instanceList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchAddFollowRecords', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/followRecords/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchAddFollowRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量新增跟进记录 * * * @param BatchAddFollowRecordsRequest $request BatchAddFollowRecordsRequest * * @return BatchAddFollowRecordsResponse BatchAddFollowRecordsResponse */ public function batchAddFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddFollowRecordsHeaders([]); return $this->batchAddFollowRecordsWithOptions($request, $headers, $runtime); } /** * @summary 批量新增关系数据 * * * @param BatchAddRelationDatasRequest $request BatchAddRelationDatasRequest * @param BatchAddRelationDatasHeaders $headers BatchAddRelationDatasHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchAddRelationDatasResponse BatchAddRelationDatasResponse */ public function batchAddRelationDatasWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationList)) { $body['relationList'] = $request->relationList; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->skipDuplicateCheck)) { $body['skipDuplicateCheck'] = $request->skipDuplicateCheck; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchAddRelationDatas', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relationDatas/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchAddRelationDatasResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量新增关系数据 * * * @param BatchAddRelationDatasRequest $request BatchAddRelationDatasRequest * * @return BatchAddRelationDatasResponse BatchAddRelationDatasResponse */ public function batchAddRelationDatas($request) { $runtime = new RuntimeOptions([]); $headers = new BatchAddRelationDatasHeaders([]); return $this->batchAddRelationDatasWithOptions($request, $headers, $runtime); } /** * @summary 批量创建线索数据 * * * @param BatchCreateClueDataRequest $request BatchCreateClueDataRequest * @param BatchCreateClueDataHeaders $headers BatchCreateClueDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchCreateClueDataResponse BatchCreateClueDataResponse */ public function batchCreateClueDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dataList)) { $body['dataList'] = $request->dataList; } if (!Utils::isUnset($request->privateSeas)) { $body['privateSeas'] = $request->privateSeas; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchCreateClueData', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/clues/datas/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchCreateClueDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量创建线索数据 * * * @param BatchCreateClueDataRequest $request BatchCreateClueDataRequest * * @return BatchCreateClueDataResponse BatchCreateClueDataResponse */ public function batchCreateClueData($request) { $runtime = new RuntimeOptions([]); $headers = new BatchCreateClueDataHeaders([]); return $this->batchCreateClueDataWithOptions($request, $headers, $runtime); } /** * @summary 批量删除跟进记录 * * * @param BatchRemoveFollowRecordsRequest $request BatchRemoveFollowRecordsRequest * @param BatchRemoveFollowRecordsHeaders $headers BatchRemoveFollowRecordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchRemoveFollowRecordsResponse BatchRemoveFollowRecordsResponse */ public function batchRemoveFollowRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->instanceIds)) { $body['instanceIds'] = $request->instanceIds; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRemoveFollowRecords', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/followRecords/batchRemove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchRemoveFollowRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量删除跟进记录 * * * @param BatchRemoveFollowRecordsRequest $request BatchRemoveFollowRecordsRequest * * @return BatchRemoveFollowRecordsResponse BatchRemoveFollowRecordsResponse */ public function batchRemoveFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRemoveFollowRecordsHeaders([]); return $this->batchRemoveFollowRecordsWithOptions($request, $headers, $runtime); } /** * @summary 服务窗消息群发 * * * @param BatchSendOfficialAccountOTOMessageRequest $request BatchSendOfficialAccountOTOMessageRequest * @param BatchSendOfficialAccountOTOMessageHeaders $headers BatchSendOfficialAccountOTOMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchSendOfficialAccountOTOMessageResponse BatchSendOfficialAccountOTOMessageResponse */ public function batchSendOfficialAccountOTOMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountId)) { $body['accountId'] = $request->accountId; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->detail)) { $body['detail'] = $request->detail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchSendOfficialAccountOTOMessage', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/oToMessages/batchSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchSendOfficialAccountOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 服务窗消息群发 * * * @param BatchSendOfficialAccountOTOMessageRequest $request BatchSendOfficialAccountOTOMessageRequest * * @return BatchSendOfficialAccountOTOMessageResponse BatchSendOfficialAccountOTOMessageResponse */ public function batchSendOfficialAccountOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new BatchSendOfficialAccountOTOMessageHeaders([]); return $this->batchSendOfficialAccountOTOMessageWithOptions($request, $headers, $runtime); } /** * @summary 批量修改联系人 * * * @param BatchUpdateContactsRequest $request BatchUpdateContactsRequest * @param BatchUpdateContactsHeaders $headers BatchUpdateContactsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchUpdateContactsResponse BatchUpdateContactsResponse */ public function batchUpdateContactsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationList)) { $body['relationList'] = $request->relationList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchUpdateContacts', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/contacts/batch', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateContactsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量修改联系人 * * * @param BatchUpdateContactsRequest $request BatchUpdateContactsRequest * * @return BatchUpdateContactsResponse BatchUpdateContactsResponse */ public function batchUpdateContacts($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateContactsHeaders([]); return $this->batchUpdateContactsWithOptions($request, $headers, $runtime); } /** * @summary 批量修改跟进记录 * * * @param BatchUpdateFollowRecordsRequest $request BatchUpdateFollowRecordsRequest * @param BatchUpdateFollowRecordsHeaders $headers BatchUpdateFollowRecordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchUpdateFollowRecordsResponse BatchUpdateFollowRecordsResponse */ public function batchUpdateFollowRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->instanceList)) { $body['instanceList'] = $request->instanceList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchUpdateFollowRecords', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/followRecords/batch', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateFollowRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量修改跟进记录 * * * @param BatchUpdateFollowRecordsRequest $request BatchUpdateFollowRecordsRequest * * @return BatchUpdateFollowRecordsResponse BatchUpdateFollowRecordsResponse */ public function batchUpdateFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateFollowRecordsHeaders([]); return $this->batchUpdateFollowRecordsWithOptions($request, $headers, $runtime); } /** * @summary 批量修改关系数据 * * * @param BatchUpdateRelationDatasRequest $request BatchUpdateRelationDatasRequest * @param BatchUpdateRelationDatasHeaders $headers BatchUpdateRelationDatasHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchUpdateRelationDatasResponse BatchUpdateRelationDatasResponse */ public function batchUpdateRelationDatasWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationList)) { $body['relationList'] = $request->relationList; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->skipDuplicateCheck)) { $body['skipDuplicateCheck'] = $request->skipDuplicateCheck; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchUpdateRelationDatas', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relationDatas/batch', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateRelationDatasResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量修改关系数据 * * * @param BatchUpdateRelationDatasRequest $request BatchUpdateRelationDatasRequest * * @return BatchUpdateRelationDatasResponse BatchUpdateRelationDatasResponse */ public function batchUpdateRelationDatas($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateRelationDatasHeaders([]); return $this->batchUpdateRelationDatasWithOptions($request, $headers, $runtime); } /** * @summary 核销权益库存 * * * @param ConsumeBenefitInventoryRequest $request ConsumeBenefitInventoryRequest * @param ConsumeBenefitInventoryHeaders $headers ConsumeBenefitInventoryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ConsumeBenefitInventoryResponse ConsumeBenefitInventoryResponse */ public function consumeBenefitInventoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->benefitCode)) { $body['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->bizRequestId)) { $body['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->consumeQuota)) { $body['consumeQuota'] = $request->consumeQuota; } if (!Utils::isUnset($request->optUserId)) { $body['optUserId'] = $request->optUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConsumeBenefitInventory', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/benefitInventories/consume', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConsumeBenefitInventoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 核销权益库存 * * * @param ConsumeBenefitInventoryRequest $request ConsumeBenefitInventoryRequest * * @return ConsumeBenefitInventoryResponse ConsumeBenefitInventoryResponse */ public function consumeBenefitInventory($request) { $runtime = new RuntimeOptions([]); $headers = new ConsumeBenefitInventoryHeaders([]); return $this->consumeBenefitInventoryWithOptions($request, $headers, $runtime); } /** * @summary CRM客户通讯录数据写入接口,支持客户&联系人数据合并写入 * * * @param CreateCustomerRequest $request CreateCustomerRequest * @param CreateCustomerHeaders $headers CreateCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateCustomerResponse CreateCustomerResponse */ public function createCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->contacts)) { $body['contacts'] = $request->contacts; } if (!Utils::isUnset($request->creatorUserId)) { $body['creatorUserId'] = $request->creatorUserId; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->objectType)) { $body['objectType'] = $request->objectType; } if (!Utils::isUnset($request->permission)) { $body['permission'] = $request->permission; } if (!Utils::isUnset($request->saveOption)) { $body['saveOption'] = $request->saveOption; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customers', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary CRM客户通讯录数据写入接口,支持客户&联系人数据合并写入 * * * @param CreateCustomerRequest $request CreateCustomerRequest * * @return CreateCustomerResponse CreateCustomerResponse */ public function createCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new CreateCustomerHeaders([]); return $this->createCustomerWithOptions($request, $headers, $runtime); } /** * @summary 创建客户群 * * * @param CreateGroupRequest $request CreateGroupRequest * @param CreateGroupHeaders $headers CreateGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateGroupResponse CreateGroupResponse */ public function createGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->groupName)) { $body['groupName'] = $request->groupName; } if (!Utils::isUnset($request->memberUserIds)) { $body['memberUserIds'] = $request->memberUserIds; } if (!Utils::isUnset($request->ownerUserId)) { $body['ownerUserId'] = $request->ownerUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateGroup', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建客户群 * * * @param CreateGroupRequest $request CreateGroupRequest * * @return CreateGroupResponse CreateGroupResponse */ public function createGroup($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupHeaders([]); return $this->createGroupWithOptions($request, $headers, $runtime); } /** * @summary 创建群组 * * * @param CreateGroupSetRequest $request CreateGroupSetRequest * @param CreateGroupSetHeaders $headers CreateGroupSetHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateGroupSetResponse CreateGroupSetResponse */ public function createGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->creatorUserId)) { $body['creatorUserId'] = $request->creatorUserId; } if (!Utils::isUnset($request->managerUserIds)) { $body['managerUserIds'] = $request->managerUserIds; } if (!Utils::isUnset($request->memberQuota)) { $body['memberQuota'] = $request->memberQuota; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->notice)) { $body['notice'] = $request->notice; } if (!Utils::isUnset($request->noticeToped)) { $body['noticeToped'] = $request->noticeToped; } if (!Utils::isUnset($request->ownerUserId)) { $body['ownerUserId'] = $request->ownerUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->welcome)) { $body['welcome'] = $request->welcome; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateGroupSet', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/groupSets', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建群组 * * * @param CreateGroupSetRequest $request CreateGroupSetRequest * * @return CreateGroupSetResponse CreateGroupSetResponse */ public function createGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new CreateGroupSetHeaders([]); return $this->createGroupSetWithOptions($request, $headers, $runtime); } /** * @summary 创建关系模型表结构 * * * @param CreateRelationMetaRequest $request CreateRelationMetaRequest * @param CreateRelationMetaHeaders $headers CreateRelationMetaHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateRelationMetaResponse CreateRelationMetaResponse */ public function createRelationMetaWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationMetaDTO)) { $body['relationMetaDTO'] = $request->relationMetaDTO; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateRelationMeta', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relations/metas/create', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateRelationMetaResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建关系模型表结构 * * * @param CreateRelationMetaRequest $request CreateRelationMetaRequest * * @return CreateRelationMetaResponse CreateRelationMetaResponse */ public function createRelationMeta($request) { $runtime = new RuntimeOptions([]); $headers = new CreateRelationMetaHeaders([]); return $this->createRelationMetaWithOptions($request, $headers, $runtime); } /** * @summary 删除CRM自定义对象数据 * * * @param string $instanceId * @param DeleteCrmCustomObjectDataRequest $request DeleteCrmCustomObjectDataRequest * @param DeleteCrmCustomObjectDataHeaders $headers DeleteCrmCustomObjectDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteCrmCustomObjectDataResponse DeleteCrmCustomObjectDataResponse */ public function deleteCrmCustomObjectDataWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->formCode)) { $query['formCode'] = $request->formCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteCrmCustomObjectData', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customObjectDatas/instances/' . $instanceId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteCrmCustomObjectDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除CRM自定义对象数据 * * * @param string $instanceId * @param DeleteCrmCustomObjectDataRequest $request DeleteCrmCustomObjectDataRequest * * @return DeleteCrmCustomObjectDataResponse DeleteCrmCustomObjectDataResponse */ public function deleteCrmCustomObjectData($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteCrmCustomObjectDataHeaders([]); return $this->deleteCrmCustomObjectDataWithOptions($instanceId, $request, $headers, $runtime); } /** * @summary crm自定义表单数据删除接口 * * * @param string $instanceId * @param DeleteCrmFormInstanceRequest $request DeleteCrmFormInstanceRequest * @param DeleteCrmFormInstanceHeaders $headers DeleteCrmFormInstanceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteCrmFormInstanceResponse DeleteCrmFormInstanceResponse */ public function deleteCrmFormInstanceWithOptions($instanceId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->currentOperatorUserId)) { $query['currentOperatorUserId'] = $request->currentOperatorUserId; } if (!Utils::isUnset($request->name)) { $query['name'] = $request->name; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteCrmFormInstance', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/formInstances/' . $instanceId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteCrmFormInstanceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary crm自定义表单数据删除接口 * * * @param string $instanceId * @param DeleteCrmFormInstanceRequest $request DeleteCrmFormInstanceRequest * * @return DeleteCrmFormInstanceResponse DeleteCrmFormInstanceResponse */ public function deleteCrmFormInstance($instanceId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteCrmFormInstanceHeaders([]); return $this->deleteCrmFormInstanceWithOptions($instanceId, $request, $headers, $runtime); } /** * @summary 删除crm个人客户(或企业客户) * * * @param string $dataId * @param DeleteCrmPersonalCustomerRequest $request DeleteCrmPersonalCustomerRequest * @param DeleteCrmPersonalCustomerHeaders $headers DeleteCrmPersonalCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteCrmPersonalCustomerResponse DeleteCrmPersonalCustomerResponse */ public function deleteCrmPersonalCustomerWithOptions($dataId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->currentOperatorUserId)) { $query['currentOperatorUserId'] = $request->currentOperatorUserId; } if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DeleteCrmPersonalCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/personalCustomers/' . $dataId . '', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteCrmPersonalCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除crm个人客户(或企业客户) * * * @param string $dataId * @param DeleteCrmPersonalCustomerRequest $request DeleteCrmPersonalCustomerRequest * * @return DeleteCrmPersonalCustomerResponse DeleteCrmPersonalCustomerResponse */ public function deleteCrmPersonalCustomer($dataId, $request) { $runtime = new RuntimeOptions([]); $headers = new DeleteCrmPersonalCustomerHeaders([]); return $this->deleteCrmPersonalCustomerWithOptions($dataId, $request, $headers, $runtime); } /** * @summary 删除线索 * * * @param DeleteLeadsRequest $request DeleteLeadsRequest * @param DeleteLeadsHeaders $headers DeleteLeadsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteLeadsResponse DeleteLeadsResponse */ public function deleteLeadsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->outLeadsIds)) { $body['outLeadsIds'] = $request->outLeadsIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteLeads', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/leads/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteLeadsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除线索 * * * @param DeleteLeadsRequest $request DeleteLeadsRequest * * @return DeleteLeadsResponse DeleteLeadsResponse */ public function deleteLeads($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteLeadsHeaders([]); return $this->deleteLeadsWithOptions($request, $headers, $runtime); } /** * @summary 关系模型表结构删除字段 * * * @param DeleteRelationMetaFieldRequest $request DeleteRelationMetaFieldRequest * @param DeleteRelationMetaFieldHeaders $headers DeleteRelationMetaFieldHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeleteRelationMetaFieldResponse DeleteRelationMetaFieldResponse */ public function deleteRelationMetaFieldWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fieldIdList)) { $body['fieldIdList'] = $request->fieldIdList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeleteRelationMetaField', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relations/metas/fields/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeleteRelationMetaFieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 关系模型表结构删除字段 * * * @param DeleteRelationMetaFieldRequest $request DeleteRelationMetaFieldRequest * * @return DeleteRelationMetaFieldResponse DeleteRelationMetaFieldResponse */ public function deleteRelationMetaField($request) { $runtime = new RuntimeOptions([]); $headers = new DeleteRelationMetaFieldHeaders([]); return $this->deleteRelationMetaFieldWithOptions($request, $headers, $runtime); } /** * @summary 获取CRM客户对象的元数据描述 * * * @param DescribeCrmPersonalCustomerObjectMetaRequest $request DescribeCrmPersonalCustomerObjectMetaRequest * @param DescribeCrmPersonalCustomerObjectMetaHeaders $headers DescribeCrmPersonalCustomerObjectMetaHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DescribeCrmPersonalCustomerObjectMetaResponse DescribeCrmPersonalCustomerObjectMetaResponse */ public function describeCrmPersonalCustomerObjectMetaWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DescribeCrmPersonalCustomerObjectMeta', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/personalCustomers/objectMeta', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DescribeCrmPersonalCustomerObjectMetaResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取CRM客户对象的元数据描述 * * * @param DescribeCrmPersonalCustomerObjectMetaRequest $request DescribeCrmPersonalCustomerObjectMetaRequest * * @return DescribeCrmPersonalCustomerObjectMetaResponse DescribeCrmPersonalCustomerObjectMetaResponse */ public function describeCrmPersonalCustomerObjectMeta($request) { $runtime = new RuntimeOptions([]); $headers = new DescribeCrmPersonalCustomerObjectMetaHeaders([]); return $this->describeCrmPersonalCustomerObjectMetaWithOptions($request, $headers, $runtime); } /** * @summary 查询模型表结构 * * * @param DescribeMetaModelRequest $request DescribeMetaModelRequest * @param DescribeMetaModelHeaders $headers DescribeMetaModelHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DescribeMetaModelResponse DescribeMetaModelResponse */ public function describeMetaModelWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizTypes)) { $body['bizTypes'] = $request->bizTypes; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DescribeMetaModel', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/metas/models/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DescribeMetaModelResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询模型表结构 * * * @param DescribeMetaModelRequest $request DescribeMetaModelRequest * * @return DescribeMetaModelResponse DescribeMetaModelResponse */ public function describeMetaModel($request) { $runtime = new RuntimeOptions([]); $headers = new DescribeMetaModelHeaders([]); return $this->describeMetaModelWithOptions($request, $headers, $runtime); } /** * @summary 查询关系模型表结构 * * * @param DescribeRelationMetaRequest $request DescribeRelationMetaRequest * @param DescribeRelationMetaHeaders $headers DescribeRelationMetaHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DescribeRelationMetaResponse DescribeRelationMetaResponse */ public function describeRelationMetaWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationTypes)) { $body['relationTypes'] = $request->relationTypes; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DescribeRelationMeta', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relations/metas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DescribeRelationMetaResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询关系模型表结构 * * * @param DescribeRelationMetaRequest $request DescribeRelationMetaRequest * * @return DescribeRelationMetaResponse DescribeRelationMetaResponse */ public function describeRelationMeta($request) { $runtime = new RuntimeOptions([]); $headers = new DescribeRelationMetaHeaders([]); return $this->describeRelationMetaWithOptions($request, $headers, $runtime); } /** * @summary 分页获取关联对象的跟进记录列表 * * * @param FindTargetRelatedFollowRecordsRequest $request FindTargetRelatedFollowRecordsRequest * @param FindTargetRelatedFollowRecordsHeaders $headers FindTargetRelatedFollowRecordsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return FindTargetRelatedFollowRecordsResponse FindTargetRelatedFollowRecordsResponse */ public function findTargetRelatedFollowRecordsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->followTargetDataId)) { $body['followTargetDataId'] = $request->followTargetDataId; } if (!Utils::isUnset($request->followTargetType)) { $body['followTargetType'] = $request->followTargetType; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'FindTargetRelatedFollowRecords', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/targetFollowRecords/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return FindTargetRelatedFollowRecordsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取关联对象的跟进记录列表 * * * @param FindTargetRelatedFollowRecordsRequest $request FindTargetRelatedFollowRecordsRequest * * @return FindTargetRelatedFollowRecordsResponse FindTargetRelatedFollowRecordsResponse */ public function findTargetRelatedFollowRecords($request) { $runtime = new RuntimeOptions([]); $headers = new FindTargetRelatedFollowRecordsHeaders([]); return $this->findTargetRelatedFollowRecordsWithOptions($request, $headers, $runtime); } /** * @summary 分页获取所有客户的掉保时间数据 * * * @param GetAllCustomerRecyclesRequest $request GetAllCustomerRecyclesRequest * @param GetAllCustomerRecyclesHeaders $headers GetAllCustomerRecyclesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAllCustomerRecyclesResponse GetAllCustomerRecyclesResponse */ public function getAllCustomerRecyclesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAllCustomerRecycles', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customerRecycles', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAllCustomerRecyclesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取所有客户的掉保时间数据 * * * @param GetAllCustomerRecyclesRequest $request GetAllCustomerRecyclesRequest * * @return GetAllCustomerRecyclesResponse GetAllCustomerRecyclesResponse */ public function getAllCustomerRecycles($request) { $runtime = new RuntimeOptions([]); $headers = new GetAllCustomerRecyclesHeaders([]); return $this->getAllCustomerRecyclesWithOptions($request, $headers, $runtime); } /** * @summary 根据指定条件查询联系人数据 * * * @param GetContactsRequest $request GetContactsRequest * @param GetContactsHeaders $headers GetContactsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetContactsResponse GetContactsResponse */ public function getContactsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->currentOperatorUserId)) { $body['currentOperatorUserId'] = $request->currentOperatorUserId; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->objectType)) { $body['objectType'] = $request->objectType; } if (!Utils::isUnset($request->providerCorpId)) { $body['providerCorpId'] = $request->providerCorpId; } if (!Utils::isUnset($request->queryDsl)) { $body['queryDsl'] = $request->queryDsl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetContacts', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customObjects/contacts/datas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetContactsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据指定条件查询联系人数据 * * * @param GetContactsRequest $request GetContactsRequest * * @return GetContactsResponse GetContactsResponse */ public function getContacts($request) { $runtime = new RuntimeOptions([]); $headers = new GetContactsHeaders([]); return $this->getContactsWithOptions($request, $headers, $runtime); } /** * @summary 获取单个客户群 * * * @param string $openConversationId * @param GetCrmGroupChatHeaders $headers GetCrmGroupChatHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCrmGroupChatResponse GetCrmGroupChatResponse */ public function getCrmGroupChatWithOptions($openConversationId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetCrmGroupChat', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/crmGroupChats/' . $openConversationId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCrmGroupChatResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取单个客户群 * * * @param string $openConversationId * * @return GetCrmGroupChatResponse GetCrmGroupChatResponse */ public function getCrmGroupChat($openConversationId) { $runtime = new RuntimeOptions([]); $headers = new GetCrmGroupChatHeaders([]); return $this->getCrmGroupChatWithOptions($openConversationId, $headers, $runtime); } /** * @summary 批量获取多个客户群 * * * @param GetCrmGroupChatMultiRequest $request GetCrmGroupChatMultiRequest * @param GetCrmGroupChatMultiHeaders $headers GetCrmGroupChatMultiHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCrmGroupChatMultiResponse GetCrmGroupChatMultiResponse */ public function getCrmGroupChatMultiWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationIds)) { $body['openConversationIds'] = $request->openConversationIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetCrmGroupChatMulti', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/crmGroupChats/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCrmGroupChatMultiResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取多个客户群 * * * @param GetCrmGroupChatMultiRequest $request GetCrmGroupChatMultiRequest * * @return GetCrmGroupChatMultiResponse GetCrmGroupChatMultiResponse */ public function getCrmGroupChatMulti($request) { $runtime = new RuntimeOptions([]); $headers = new GetCrmGroupChatMultiHeaders([]); return $this->getCrmGroupChatMultiWithOptions($request, $headers, $runtime); } /** * @summary 获取单个客户群 * * * @param GetCrmGroupChatSingleRequest $request GetCrmGroupChatSingleRequest * @param GetCrmGroupChatSingleHeaders $headers GetCrmGroupChatSingleHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCrmGroupChatSingleResponse GetCrmGroupChatSingleResponse */ public function getCrmGroupChatSingleWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openConversationId)) { $query['openConversationId'] = $request->openConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCrmGroupChatSingle', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/crmGroupChats/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCrmGroupChatSingleResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取单个客户群 * * * @param GetCrmGroupChatSingleRequest $request GetCrmGroupChatSingleRequest * * @return GetCrmGroupChatSingleResponse GetCrmGroupChatSingleResponse */ public function getCrmGroupChatSingle($request) { $runtime = new RuntimeOptions([]); $headers = new GetCrmGroupChatSingleHeaders([]); return $this->getCrmGroupChatSingleWithOptions($request, $headers, $runtime); } /** * @summary 获取CRM表单权限配置 * * * @param GetCrmRolePermissionRequest $request GetCrmRolePermissionRequest * @param GetCrmRolePermissionHeaders $headers GetCrmRolePermissionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCrmRolePermissionResponse GetCrmRolePermissionResponse */ public function getCrmRolePermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizType)) { $query['bizType'] = $request->bizType; } if (!Utils::isUnset($request->resourceId)) { $query['resourceId'] = $request->resourceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCrmRolePermission', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/permissions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCrmRolePermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取CRM表单权限配置 * * * @param GetCrmRolePermissionRequest $request GetCrmRolePermissionRequest * * @return GetCrmRolePermissionResponse GetCrmRolePermissionResponse */ public function getCrmRolePermission($request) { $runtime = new RuntimeOptions([]); $headers = new GetCrmRolePermissionHeaders([]); return $this->getCrmRolePermissionWithOptions($request, $headers, $runtime); } /** * @summary 分页获取某个客户的客户动态 * * * @param GetCustomerTracksByRelationIdRequest $request GetCustomerTracksByRelationIdRequest * @param GetCustomerTracksByRelationIdHeaders $headers GetCustomerTracksByRelationIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetCustomerTracksByRelationIdResponse GetCustomerTracksByRelationIdResponse */ public function getCustomerTracksByRelationIdWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->relationId)) { $query['relationId'] = $request->relationId; } if (!Utils::isUnset($request->typeGroup)) { $query['typeGroup'] = $request->typeGroup; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetCustomerTracksByRelationId', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customerTracks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetCustomerTracksByRelationIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取某个客户的客户动态 * * * @param GetCustomerTracksByRelationIdRequest $request GetCustomerTracksByRelationIdRequest * * @return GetCustomerTracksByRelationIdResponse GetCustomerTracksByRelationIdResponse */ public function getCustomerTracksByRelationId($request) { $runtime = new RuntimeOptions([]); $headers = new GetCustomerTracksByRelationIdHeaders([]); return $this->getCustomerTracksByRelationIdWithOptions($request, $headers, $runtime); } /** * @summary 查询群组 * * * @param GetGroupSetRequest $request GetGroupSetRequest * @param GetGroupSetHeaders $headers GetGroupSetHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetGroupSetResponse GetGroupSetResponse */ public function getGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->openGroupSetId)) { $query['openGroupSetId'] = $request->openGroupSetId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetGroupSet', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/groupSets', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询群组 * * * @param GetGroupSetRequest $request GetGroupSetRequest * * @return GetGroupSetResponse GetGroupSetResponse */ public function getGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new GetGroupSetHeaders([]); return $this->getGroupSetWithOptions($request, $headers, $runtime); } /** * @summary 获取内购商品信息 * * * @param GetInAppPurchaseGoodsRequest $request GetInAppPurchaseGoodsRequest * @param GetInAppPurchaseGoodsHeaders $headers GetInAppPurchaseGoodsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetInAppPurchaseGoodsResponse GetInAppPurchaseGoodsResponse */ public function getInAppPurchaseGoodsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetInAppPurchaseGoods', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/inAppPurchaseGoods/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInAppPurchaseGoodsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取内购商品信息 * * * @param GetInAppPurchaseGoodsRequest $request GetInAppPurchaseGoodsRequest * * @return GetInAppPurchaseGoodsResponse GetInAppPurchaseGoodsResponse */ public function getInAppPurchaseGoods($request) { $runtime = new RuntimeOptions([]); $headers = new GetInAppPurchaseGoodsHeaders([]); return $this->getInAppPurchaseGoodsWithOptions($request, $headers, $runtime); } /** * @summary 获取自定义导航挂靠节点结构 * * * @param GetNavigationCatalogRequest $request GetNavigationCatalogRequest * @param GetNavigationCatalogHeaders $headers GetNavigationCatalogHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetNavigationCatalogResponse GetNavigationCatalogResponse */ public function getNavigationCatalogWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizTraceId)) { $query['bizTraceId'] = $request->bizTraceId; } if (!Utils::isUnset($request->module)) { $query['module'] = $request->module; } if (!Utils::isUnset($request->operatorUserId)) { $query['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetNavigationCatalog', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/navigations/catalogs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetNavigationCatalogResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取自定义导航挂靠节点结构 * * * @param GetNavigationCatalogRequest $request GetNavigationCatalogRequest * * @return GetNavigationCatalogResponse GetNavigationCatalogResponse */ public function getNavigationCatalog($request) { $runtime = new RuntimeOptions([]); $headers = new GetNavigationCatalogHeaders([]); return $this->getNavigationCatalogWithOptions($request, $headers, $runtime); } /** * @summary 根据指定条件查询自定义对象数据 * * * @param GetObjectDataRequest $request GetObjectDataRequest * @param GetObjectDataHeaders $headers GetObjectDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetObjectDataResponse GetObjectDataResponse */ public function getObjectDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->currentOperatorUserId)) { $body['currentOperatorUserId'] = $request->currentOperatorUserId; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->queryDsl)) { $body['queryDsl'] = $request->queryDsl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetObjectData', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customObjects/datas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetObjectDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据指定条件查询自定义对象数据 * * * @param GetObjectDataRequest $request GetObjectDataRequest * * @return GetObjectDataResponse GetObjectDataResponse */ public function getObjectData($request) { $runtime = new RuntimeOptions([]); $headers = new GetObjectDataHeaders([]); return $this->getObjectDataWithOptions($request, $headers, $runtime); } /** * @summary 获取关注服务窗的联系人信息,包括手机号、主企业等字段,调用前先进行用户授权 * * * @param string $userId * @param GetOfficialAccountContactInfoHeaders $headers GetOfficialAccountContactInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOfficialAccountContactInfoResponse GetOfficialAccountContactInfoResponse */ public function getOfficialAccountContactInfoWithOptions($userId, $headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetOfficialAccountContactInfo', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/contacts/' . $userId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOfficialAccountContactInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取关注服务窗的联系人信息,包括手机号、主企业等字段,调用前先进行用户授权 * * * @param string $userId * * @return GetOfficialAccountContactInfoResponse GetOfficialAccountContactInfoResponse */ public function getOfficialAccountContactInfo($userId) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountContactInfoHeaders([]); return $this->getOfficialAccountContactInfoWithOptions($userId, $headers, $runtime); } /** * @summary 分页获取服务窗联系人信息 * * * @param GetOfficialAccountContactsRequest $request GetOfficialAccountContactsRequest * @param GetOfficialAccountContactsHeaders $headers GetOfficialAccountContactsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOfficialAccountContactsResponse GetOfficialAccountContactsResponse */ public function getOfficialAccountContactsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOfficialAccountContacts', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/contacts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOfficialAccountContactsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取服务窗联系人信息 * * * @param GetOfficialAccountContactsRequest $request GetOfficialAccountContactsRequest * * @return GetOfficialAccountContactsResponse GetOfficialAccountContactsResponse */ public function getOfficialAccountContacts($request) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountContactsHeaders([]); return $this->getOfficialAccountContactsWithOptions($request, $headers, $runtime); } /** * @summary 获取服务窗消息发送的结果 * * * @param GetOfficialAccountOTOMessageResultRequest $request GetOfficialAccountOTOMessageResultRequest * @param GetOfficialAccountOTOMessageResultHeaders $headers GetOfficialAccountOTOMessageResultHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOfficialAccountOTOMessageResultResponse GetOfficialAccountOTOMessageResultResponse */ public function getOfficialAccountOTOMessageResultWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->accountId)) { $query['accountId'] = $request->accountId; } if (!Utils::isUnset($request->openPushId)) { $query['openPushId'] = $request->openPushId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOfficialAccountOTOMessageResult', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/oToMessages/sendResults', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOfficialAccountOTOMessageResultResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取服务窗消息发送的结果 * * * @param GetOfficialAccountOTOMessageResultRequest $request GetOfficialAccountOTOMessageResultRequest * * @return GetOfficialAccountOTOMessageResultResponse GetOfficialAccountOTOMessageResultResponse */ public function getOfficialAccountOTOMessageResult($request) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountOTOMessageResultHeaders([]); return $this->getOfficialAccountOTOMessageResultWithOptions($request, $headers, $runtime); } /** * @summary 获取某个和oa关联的表单的具体数据 * * * @param GetRelatedViewTabDataRequest $request GetRelatedViewTabDataRequest * @param GetRelatedViewTabDataHeaders $headers GetRelatedViewTabDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetRelatedViewTabDataResponse GetRelatedViewTabDataResponse */ public function getRelatedViewTabDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->relatedField)) { $body['relatedField'] = $request->relatedField; } if (!Utils::isUnset($request->relatedInstId)) { $body['relatedInstId'] = $request->relatedInstId; } if (!Utils::isUnset($request->viewUserId)) { $body['viewUserId'] = $request->viewUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetRelatedViewTabData', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/formRelatedTabs/datas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRelatedViewTabDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取某个和oa关联的表单的具体数据 * * * @param GetRelatedViewTabDataRequest $request GetRelatedViewTabDataRequest * * @return GetRelatedViewTabDataResponse GetRelatedViewTabDataResponse */ public function getRelatedViewTabData($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelatedViewTabDataHeaders([]); return $this->getRelatedViewTabDataWithOptions($request, $headers, $runtime); } /** * @summary 获取和oa关联的表单tab信息 * * * @param GetRelatedViewTabMetaRequest $request GetRelatedViewTabMetaRequest * @param GetRelatedViewTabMetaHeaders $headers GetRelatedViewTabMetaHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetRelatedViewTabMetaResponse GetRelatedViewTabMetaResponse */ public function getRelatedViewTabMetaWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->viewUserId)) { $body['viewUserId'] = $request->viewUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetRelatedViewTabMeta', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/formRelatedTabs/meta/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRelatedViewTabMetaResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取和oa关联的表单tab信息 * * * @param GetRelatedViewTabMetaRequest $request GetRelatedViewTabMetaRequest * * @return GetRelatedViewTabMetaResponse GetRelatedViewTabMetaResponse */ public function getRelatedViewTabMeta($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelatedViewTabMetaHeaders([]); return $this->getRelatedViewTabMetaWithOptions($request, $headers, $runtime); } /** * @summary 获取关系数据查重规则 * * * @param GetRelationUkSettingRequest $request GetRelationUkSettingRequest * @param GetRelationUkSettingHeaders $headers GetRelationUkSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetRelationUkSettingResponse GetRelationUkSettingResponse */ public function getRelationUkSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetRelationUkSetting', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relationUkSettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRelationUkSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取关系数据查重规则 * * * @param GetRelationUkSettingRequest $request GetRelationUkSettingRequest * * @return GetRelationUkSettingResponse GetRelationUkSettingResponse */ public function getRelationUkSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelationUkSettingHeaders([]); return $this->getRelationUkSettingWithOptions($request, $headers, $runtime); } /** * @summary 加入群组 * * * @param JoinGroupSetRequest $request JoinGroupSetRequest * @param JoinGroupSetHeaders $headers JoinGroupSetHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return JoinGroupSetResponse JoinGroupSetResponse */ public function joinGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizDataList)) { $body['bizDataList'] = $request->bizDataList; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->unionId)) { $body['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'JoinGroupSet', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/groupSets/join', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return JoinGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 加入群组 * * * @param JoinGroupSetRequest $request JoinGroupSetRequest * * @return JoinGroupSetResponse JoinGroupSetResponse */ public function joinGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new JoinGroupSetHeaders([]); return $this->joinGroupSetWithOptions($request, $headers, $runtime); } /** * @summary 批量查询可用权益 * * * @param ListAvailableBenefitRequest $request ListAvailableBenefitRequest * @param ListAvailableBenefitHeaders $headers ListAvailableBenefitHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListAvailableBenefitResponse ListAvailableBenefitResponse */ public function listAvailableBenefitWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->benefitCodeList)) { $body['benefitCodeList'] = $request->benefitCodeList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListAvailableBenefit', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/benefits/lists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListAvailableBenefitResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询可用权益 * * * @param ListAvailableBenefitRequest $request ListAvailableBenefitRequest * * @return ListAvailableBenefitResponse ListAvailableBenefitResponse */ public function listAvailableBenefit($request) { $runtime = new RuntimeOptions([]); $headers = new ListAvailableBenefitHeaders([]); return $this->listAvailableBenefitWithOptions($request, $headers, $runtime); } /** * @summary 批量查询license * * * @param ListBenefitLicenseRequest $request ListBenefitLicenseRequest * @param ListBenefitLicenseHeaders $headers ListBenefitLicenseHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListBenefitLicenseResponse ListBenefitLicenseResponse */ public function listBenefitLicenseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->domains)) { $body['domains'] = $request->domains; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListBenefitLicense', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/benefitLicenses/lists/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListBenefitLicenseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询license * * * @param ListBenefitLicenseRequest $request ListBenefitLicenseRequest * * @return ListBenefitLicenseResponse ListBenefitLicenseResponse */ public function listBenefitLicense($request) { $runtime = new RuntimeOptions([]); $headers = new ListBenefitLicenseHeaders([]); return $this->listBenefitLicenseWithOptions($request, $headers, $runtime); } /** * @summary 获取线索标签列表 * * * @param ListClueTagHeaders $headers ListClueTagHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListClueTagResponse ListClueTagResponse */ public function listClueTagWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'ListClueTag', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/clues/tags', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListClueTagResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取线索标签列表 * * * @return ListClueTagResponse ListClueTagResponse */ public function listClueTag() { $runtime = new RuntimeOptions([]); $headers = new ListClueTagHeaders([]); return $this->listClueTagWithOptions($headers, $runtime); } /** * @summary 批量获取crm个人客户 * * * @param ListCrmPersonalCustomersRequest $request ListCrmPersonalCustomersRequest * @param ListCrmPersonalCustomersHeaders $headers ListCrmPersonalCustomersHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListCrmPersonalCustomersResponse ListCrmPersonalCustomersResponse */ public function listCrmPersonalCustomersWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->currentOperatorUserId)) { $query['currentOperatorUserId'] = $request->currentOperatorUserId; } if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => $request->body, ]); $params = new Params([ 'action' => 'ListCrmPersonalCustomers', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/personalCustomers/batchQuery', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListCrmPersonalCustomersResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量获取crm个人客户 * * * @param ListCrmPersonalCustomersRequest $request ListCrmPersonalCustomersRequest * * @return ListCrmPersonalCustomersResponse ListCrmPersonalCustomersResponse */ public function listCrmPersonalCustomers($request) { $runtime = new RuntimeOptions([]); $headers = new ListCrmPersonalCustomersHeaders([]); return $this->listCrmPersonalCustomersWithOptions($request, $headers, $runtime); } /** * @summary 查询群组列表 * * * @param ListGroupSetRequest $request ListGroupSetRequest * @param ListGroupSetHeaders $headers ListGroupSetHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListGroupSetResponse ListGroupSetResponse */ public function listGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->queryDsl)) { $query['queryDsl'] = $request->queryDsl; } if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListGroupSet', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/groupSets/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询群组列表 * * * @param ListGroupSetRequest $request ListGroupSetRequest * * @return ListGroupSetResponse ListGroupSetResponse */ public function listGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new ListGroupSetHeaders([]); return $this->listGroupSetWithOptions($request, $headers, $runtime); } /** * @summary 覆盖更新客户数据权限 * * * @param OverrideUpdateCustomerDataAuthRequest $request OverrideUpdateCustomerDataAuthRequest * @param OverrideUpdateCustomerDataAuthHeaders $headers OverrideUpdateCustomerDataAuthHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return OverrideUpdateCustomerDataAuthResponse OverrideUpdateCustomerDataAuthResponse */ public function overrideUpdateCustomerDataAuthWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customerIds)) { $body['customerIds'] = $request->customerIds; } if (!Utils::isUnset($request->dataAuthUserIds)) { $body['dataAuthUserIds'] = $request->dataAuthUserIds; } if (!Utils::isUnset($request->formCode)) { $body['formCode'] = $request->formCode; } if (!Utils::isUnset($request->operateUserId)) { $body['operateUserId'] = $request->operateUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->roleType)) { $body['roleType'] = $request->roleType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OverrideUpdateCustomerDataAuth', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customers/dataAuth/overrideUpdate', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OverrideUpdateCustomerDataAuthResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 覆盖更新客户数据权限 * * * @param OverrideUpdateCustomerDataAuthRequest $request OverrideUpdateCustomerDataAuthRequest * * @return OverrideUpdateCustomerDataAuthResponse OverrideUpdateCustomerDataAuthResponse */ public function overrideUpdateCustomerDataAuth($request) { $runtime = new RuntimeOptions([]); $headers = new OverrideUpdateCustomerDataAuthHeaders([]); return $this->overrideUpdateCustomerDataAuthWithOptions($request, $headers, $runtime); } /** * @summary 分页获取全量客户数据,根据不同的类型可以获取私海个人客户、企业客户,以及公海个人客户、企业客户,最多一次可获取100条数据 * * * @param QueryAllCustomerRequest $request QueryAllCustomerRequest * @param QueryAllCustomerHeaders $headers QueryAllCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryAllCustomerResponse QueryAllCustomerResponse */ public function queryAllCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->maxResults)) { $body['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $body['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->objectType)) { $body['objectType'] = $request->objectType; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryAllCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customerInstances', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页获取全量客户数据,根据不同的类型可以获取私海个人客户、企业客户,以及公海个人客户、企业客户,最多一次可获取100条数据 * * * @param QueryAllCustomerRequest $request QueryAllCustomerRequest * * @return QueryAllCustomerResponse QueryAllCustomerResponse */ public function queryAllCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllCustomerHeaders([]); return $this->queryAllCustomerWithOptions($request, $headers, $runtime); } /** * @summary 批量查询企业客户动态 * * * @param QueryAllTracksRequest $request QueryAllTracksRequest * @param QueryAllTracksHeaders $headers QueryAllTracksHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryAllTracksResponse QueryAllTracksResponse */ public function queryAllTracksWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->order)) { $query['order'] = $request->order; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAllTracks', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/customers/tracks', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAllTracksResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量查询企业客户动态 * * * @param QueryAllTracksRequest $request QueryAllTracksRequest * * @return QueryAllTracksResponse QueryAllTracksResponse */ public function queryAllTracks($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAllTracksHeaders([]); return $this->queryAllTracksWithOptions($request, $headers, $runtime); } /** * @summary 查询客户管理应用管理员 * * * @param QueryAppManagerRequest $request QueryAppManagerRequest * @param QueryAppManagerHeaders $headers QueryAppManagerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryAppManagerResponse QueryAppManagerResponse */ public function queryAppManagerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryAppManager', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/apps/managers/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAppManagerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询客户管理应用管理员 * * * @param QueryAppManagerRequest $request QueryAppManagerRequest * * @return QueryAppManagerResponse QueryAppManagerResponse */ public function queryAppManager($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAppManagerHeaders([]); return $this->queryAppManagerWithOptions($request, $headers, $runtime); } /** * @summary 查询权益库存 * * * @param QueryBenefitInventoryRequest $request QueryBenefitInventoryRequest * @param QueryBenefitInventoryHeaders $headers QueryBenefitInventoryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBenefitInventoryResponse QueryBenefitInventoryResponse */ public function queryBenefitInventoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->benefitCode)) { $body['benefitCode'] = $request->benefitCode; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryBenefitInventory', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/benefitInventories/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBenefitInventoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询权益库存 * * * @param QueryBenefitInventoryRequest $request QueryBenefitInventoryRequest * * @return QueryBenefitInventoryResponse QueryBenefitInventoryResponse */ public function queryBenefitInventory($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBenefitInventoryHeaders([]); return $this->queryBenefitInventoryWithOptions($request, $headers, $runtime); } /** * @summary 查询线索跟进状态 * * * @param QueryClueFollowStatusRequest $request QueryClueFollowStatusRequest * @param QueryClueFollowStatusHeaders $headers QueryClueFollowStatusHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryClueFollowStatusResponse QueryClueFollowStatusResponse */ public function queryClueFollowStatusWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->clueId)) { $query['clueId'] = $request->clueId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryClueFollowStatus', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/clues/followStatuses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryClueFollowStatusResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询线索跟进状态 * * * @param QueryClueFollowStatusRequest $request QueryClueFollowStatusRequest * * @return QueryClueFollowStatusResponse QueryClueFollowStatusResponse */ public function queryClueFollowStatus($request) { $runtime = new RuntimeOptions([]); $headers = new QueryClueFollowStatusHeaders([]); return $this->queryClueFollowStatusWithOptions($request, $headers, $runtime); } /** * @summary 查询客户群 * * * @param QueryCrmGroupChatsRequest $request QueryCrmGroupChatsRequest * @param QueryCrmGroupChatsHeaders $headers QueryCrmGroupChatsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCrmGroupChatsResponse QueryCrmGroupChatsResponse */ public function queryCrmGroupChatsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->queryDsl)) { $query['queryDsl'] = $request->queryDsl; } if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCrmGroupChats', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/crmGroupChats', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCrmGroupChatsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询客户群 * * * @param QueryCrmGroupChatsRequest $request QueryCrmGroupChatsRequest * * @return QueryCrmGroupChatsResponse QueryCrmGroupChatsResponse */ public function queryCrmGroupChats($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCrmGroupChatsHeaders([]); return $this->queryCrmGroupChatsWithOptions($request, $headers, $runtime); } /** * @summary 根据指定查询条件批量获取客户数据 * * * @param QueryCrmPersonalCustomerRequest $request QueryCrmPersonalCustomerRequest * @param QueryCrmPersonalCustomerHeaders $headers QueryCrmPersonalCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCrmPersonalCustomerResponse QueryCrmPersonalCustomerResponse */ public function queryCrmPersonalCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->currentOperatorUserId)) { $query['currentOperatorUserId'] = $request->currentOperatorUserId; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->queryDsl)) { $query['queryDsl'] = $request->queryDsl; } if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCrmPersonalCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/personalCustomers', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCrmPersonalCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据指定查询条件批量获取客户数据 * * * @param QueryCrmPersonalCustomerRequest $request QueryCrmPersonalCustomerRequest * * @return QueryCrmPersonalCustomerResponse QueryCrmPersonalCustomerResponse */ public function queryCrmPersonalCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCrmPersonalCustomerHeaders([]); return $this->queryCrmPersonalCustomerWithOptions($request, $headers, $runtime); } /** * @summary 查询客户模板启用类型 * * * @param QueryCustomerBizTypeRequest $request QueryCustomerBizTypeRequest * @param QueryCustomerBizTypeHeaders $headers QueryCustomerBizTypeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCustomerBizTypeResponse QueryCustomerBizTypeResponse */ public function queryCustomerBizTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryCustomerBizType', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/orgSettings/templates/customerBizTypes/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCustomerBizTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询客户模板启用类型 * * * @param QueryCustomerBizTypeRequest $request QueryCustomerBizTypeRequest * * @return QueryCustomerBizTypeResponse QueryCustomerBizTypeResponse */ public function queryCustomerBizType($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCustomerBizTypeHeaders([]); return $this->queryCustomerBizTypeWithOptions($request, $headers, $runtime); } /** * @summary 营销服融合三方全局信息 * * * @param QueryGlobalInfoRequest $request QueryGlobalInfoRequest * @param QueryGlobalInfoHeaders $headers QueryGlobalInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryGlobalInfoResponse QueryGlobalInfoResponse */ public function queryGlobalInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGlobalInfo', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/globalInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGlobalInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 营销服融合三方全局信息 * * * @param QueryGlobalInfoRequest $request QueryGlobalInfoRequest * * @return QueryGlobalInfoResponse QueryGlobalInfoResponse */ public function queryGlobalInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGlobalInfoHeaders([]); return $this->queryGlobalInfoWithOptions($request, $headers, $runtime); } /** * @summary 查询用户是否有应用管理员权限 * * * @param QueryHasAppPermissionRequest $request QueryHasAppPermissionRequest * @param QueryHasAppPermissionHeaders $headers QueryHasAppPermissionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryHasAppPermissionResponse QueryHasAppPermissionResponse */ public function queryHasAppPermissionWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryHasAppPermission', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/apps/adminPermissions/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHasAppPermissionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询用户是否有应用管理员权限 * * * @param QueryHasAppPermissionRequest $request QueryHasAppPermissionRequest * * @return QueryHasAppPermissionResponse QueryHasAppPermissionResponse */ public function queryHasAppPermission($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHasAppPermissionHeaders([]); return $this->queryHasAppPermissionWithOptions($request, $headers, $runtime); } /** * @summary 查询服务窗用户基础信息 * * * @param QueryOfficialAccountUserBasicInfoRequest $request QueryOfficialAccountUserBasicInfoRequest * @param QueryOfficialAccountUserBasicInfoHeaders $headers QueryOfficialAccountUserBasicInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOfficialAccountUserBasicInfoResponse QueryOfficialAccountUserBasicInfoResponse */ public function queryOfficialAccountUserBasicInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bindingToken)) { $query['bindingToken'] = $request->bindingToken; } if (!Utils::isUnset($request->unionId)) { $query['unionId'] = $request->unionId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOfficialAccountUserBasicInfo', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/basics/users', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOfficialAccountUserBasicInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询服务窗用户基础信息 * * * @param QueryOfficialAccountUserBasicInfoRequest $request QueryOfficialAccountUserBasicInfoRequest * * @return QueryOfficialAccountUserBasicInfoResponse QueryOfficialAccountUserBasicInfoResponse */ public function queryOfficialAccountUserBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialAccountUserBasicInfoHeaders([]); return $this->queryOfficialAccountUserBasicInfoWithOptions($request, $headers, $runtime); } /** * @summary 根据targetId查询关系数据 * * * @param string $targetId * @param QueryRelationDatasByTargetIdRequest $request QueryRelationDatasByTargetIdRequest * @param QueryRelationDatasByTargetIdHeaders $headers QueryRelationDatasByTargetIdHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryRelationDatasByTargetIdResponse QueryRelationDatasByTargetIdResponse */ public function queryRelationDatasByTargetIdWithOptions($targetId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRelationDatasByTargetId', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relations/datas/targets/' . $targetId . '', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRelationDatasByTargetIdResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 根据targetId查询关系数据 * * * @param string $targetId * @param QueryRelationDatasByTargetIdRequest $request QueryRelationDatasByTargetIdRequest * * @return QueryRelationDatasByTargetIdResponse QueryRelationDatasByTargetIdResponse */ public function queryRelationDatasByTargetId($targetId, $request) { $runtime = new RuntimeOptions([]); $headers = new QueryRelationDatasByTargetIdHeaders([]); return $this->queryRelationDatasByTargetIdWithOptions($targetId, $request, $headers, $runtime); } /** * @summary 服务窗消息撤回 * * * @param RecallOfficialAccountOTOMessageRequest $request RecallOfficialAccountOTOMessageRequest * @param RecallOfficialAccountOTOMessageHeaders $headers RecallOfficialAccountOTOMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RecallOfficialAccountOTOMessageResponse RecallOfficialAccountOTOMessageResponse */ public function recallOfficialAccountOTOMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountId)) { $body['accountId'] = $request->accountId; } if (!Utils::isUnset($request->openPushId)) { $body['openPushId'] = $request->openPushId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RecallOfficialAccountOTOMessage', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/oToMessages/recall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RecallOfficialAccountOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 服务窗消息撤回 * * * @param RecallOfficialAccountOTOMessageRequest $request RecallOfficialAccountOTOMessageRequest * * @return RecallOfficialAccountOTOMessageResponse RecallOfficialAccountOTOMessageResponse */ public function recallOfficialAccountOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new RecallOfficialAccountOTOMessageHeaders([]); return $this->recallOfficialAccountOTOMessageWithOptions($request, $headers, $runtime); } /** * @summary 保存license * * * @param SaveBenefitLicenseRequest $request SaveBenefitLicenseRequest * @param SaveBenefitLicenseHeaders $headers SaveBenefitLicenseHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SaveBenefitLicenseResponse SaveBenefitLicenseResponse */ public function saveBenefitLicenseWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->domain)) { $body['domain'] = $request->domain; } if (!Utils::isUnset($request->licenses)) { $body['licenses'] = $request->licenses; } if (!Utils::isUnset($request->saveUserId)) { $body['saveUserId'] = $request->saveUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SaveBenefitLicense', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/benefitLicenses/save', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SaveBenefitLicenseResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 保存license * * * @param SaveBenefitLicenseRequest $request SaveBenefitLicenseRequest * * @return SaveBenefitLicenseResponse SaveBenefitLicenseResponse */ public function saveBenefitLicense($request) { $runtime = new RuntimeOptions([]); $headers = new SaveBenefitLicenseHeaders([]); return $this->saveBenefitLicenseWithOptions($request, $headers, $runtime); } /** * @summary 服务窗单发接口,指定消息接收人发送 * * * @param SendOfficialAccountOTOMessageRequest $request SendOfficialAccountOTOMessageRequest * @param SendOfficialAccountOTOMessageHeaders $headers SendOfficialAccountOTOMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendOfficialAccountOTOMessageResponse SendOfficialAccountOTOMessageResponse */ public function sendOfficialAccountOTOMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->accountId)) { $body['accountId'] = $request->accountId; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->detail)) { $body['detail'] = $request->detail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendOfficialAccountOTOMessage', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/oToMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendOfficialAccountOTOMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 服务窗单发接口,指定消息接收人发送 * * * @param SendOfficialAccountOTOMessageRequest $request SendOfficialAccountOTOMessageRequest * * @return SendOfficialAccountOTOMessageResponse SendOfficialAccountOTOMessageResponse */ public function sendOfficialAccountOTOMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendOfficialAccountOTOMessageHeaders([]); return $this->sendOfficialAccountOTOMessageWithOptions($request, $headers, $runtime); } /** * @summary 个人应用发送服务窗消息 * * * @param SendOfficialAccountSNSMessageRequest $request SendOfficialAccountSNSMessageRequest * @param SendOfficialAccountSNSMessageHeaders $headers SendOfficialAccountSNSMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendOfficialAccountSNSMessageResponse SendOfficialAccountSNSMessageResponse */ public function sendOfficialAccountSNSMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bindingToken)) { $body['bindingToken'] = $request->bindingToken; } if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->detail)) { $body['detail'] = $request->detail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendOfficialAccountSNSMessage', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/officialAccounts/snsMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendOfficialAccountSNSMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 个人应用发送服务窗消息 * * * @param SendOfficialAccountSNSMessageRequest $request SendOfficialAccountSNSMessageRequest * * @return SendOfficialAccountSNSMessageResponse SendOfficialAccountSNSMessageResponse */ public function sendOfficialAccountSNSMessage($request) { $runtime = new RuntimeOptions([]); $headers = new SendOfficialAccountSNSMessageHeaders([]); return $this->sendOfficialAccountSNSMessageWithOptions($request, $headers, $runtime); } /** * @summary 服务窗消息群发 * * * @param ServiceWindowMessageBatchPushRequest $request ServiceWindowMessageBatchPushRequest * @param ServiceWindowMessageBatchPushHeaders $headers ServiceWindowMessageBatchPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ServiceWindowMessageBatchPushResponse ServiceWindowMessageBatchPushResponse */ public function serviceWindowMessageBatchPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->detail)) { $body['detail'] = $request->detail; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ServiceWindowMessageBatchPush', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/messages/batchSend', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ServiceWindowMessageBatchPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 服务窗消息群发 * * * @param ServiceWindowMessageBatchPushRequest $request ServiceWindowMessageBatchPushRequest * * @return ServiceWindowMessageBatchPushResponse ServiceWindowMessageBatchPushResponse */ public function serviceWindowMessageBatchPush($request) { $runtime = new RuntimeOptions([]); $headers = new ServiceWindowMessageBatchPushHeaders([]); return $this->serviceWindowMessageBatchPushWithOptions($request, $headers, $runtime); } /** * @summary 二阶段提交权益库存结果 * * * @param TwoPhaseCommitInventoryRequest $request TwoPhaseCommitInventoryRequest * @param TwoPhaseCommitInventoryHeaders $headers TwoPhaseCommitInventoryHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return TwoPhaseCommitInventoryResponse TwoPhaseCommitInventoryResponse */ public function twoPhaseCommitInventoryWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->benefitCode)) { $body['benefitCode'] = $request->benefitCode; } if (!Utils::isUnset($request->bizRequestId)) { $body['bizRequestId'] = $request->bizRequestId; } if (!Utils::isUnset($request->executeResult)) { $body['executeResult'] = $request->executeResult; } if (!Utils::isUnset($request->quota)) { $body['quota'] = $request->quota; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'TwoPhaseCommitInventory', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/benefitInventories/twoPhases/commit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return TwoPhaseCommitInventoryResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 二阶段提交权益库存结果 * * * @param TwoPhaseCommitInventoryRequest $request TwoPhaseCommitInventoryRequest * * @return TwoPhaseCommitInventoryResponse TwoPhaseCommitInventoryResponse */ public function twoPhaseCommitInventory($request) { $runtime = new RuntimeOptions([]); $headers = new TwoPhaseCommitInventoryHeaders([]); return $this->twoPhaseCommitInventoryWithOptions($request, $headers, $runtime); } /** * @summary 更新crm个人客户(或企业客户) * * * @param UpdateCrmPersonalCustomerRequest $request UpdateCrmPersonalCustomerRequest * @param UpdateCrmPersonalCustomerHeaders $headers UpdateCrmPersonalCustomerHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateCrmPersonalCustomerResponse UpdateCrmPersonalCustomerResponse */ public function updateCrmPersonalCustomerWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->action)) { $body['action'] = $request->action; } if (!Utils::isUnset($request->data)) { $body['data'] = $request->data; } if (!Utils::isUnset($request->extendData)) { $body['extendData'] = $request->extendData; } if (!Utils::isUnset($request->instanceId)) { $body['instanceId'] = $request->instanceId; } if (!Utils::isUnset($request->modifierNick)) { $body['modifierNick'] = $request->modifierNick; } if (!Utils::isUnset($request->modifierUserId)) { $body['modifierUserId'] = $request->modifierUserId; } if (!Utils::isUnset($request->permission)) { $body['permission'] = $request->permission; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->skipDuplicateCheck)) { $body['skipDuplicateCheck'] = $request->skipDuplicateCheck; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCrmPersonalCustomer', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/personalCustomers', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCrmPersonalCustomerResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新crm个人客户(或企业客户) * * * @param UpdateCrmPersonalCustomerRequest $request UpdateCrmPersonalCustomerRequest * * @return UpdateCrmPersonalCustomerResponse UpdateCrmPersonalCustomerResponse */ public function updateCrmPersonalCustomer($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCrmPersonalCustomerHeaders([]); return $this->updateCrmPersonalCustomerWithOptions($request, $headers, $runtime); } /** * @summary 更新客户模板类型 * * * @param UpdateCustomerBizTypeRequest $request UpdateCustomerBizTypeRequest * @param UpdateCustomerBizTypeHeaders $headers UpdateCustomerBizTypeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateCustomerBizTypeResponse UpdateCustomerBizTypeResponse */ public function updateCustomerBizTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->customerBizType)) { $body['customerBizType'] = $request->customerBizType; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCustomerBizType', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/orgSettings/templates/customerBizTypes', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCustomerBizTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新客户模板类型 * * * @param UpdateCustomerBizTypeRequest $request UpdateCustomerBizTypeRequest * * @return UpdateCustomerBizTypeResponse UpdateCustomerBizTypeResponse */ public function updateCustomerBizType($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCustomerBizTypeHeaders([]); return $this->updateCustomerBizTypeWithOptions($request, $headers, $runtime); } /** * @summary 更新群组 * * * @param UpdateGroupSetRequest $request UpdateGroupSetRequest * @param UpdateGroupSetHeaders $headers UpdateGroupSetHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateGroupSetResponse UpdateGroupSetResponse */ public function updateGroupSetWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->managerUserIds)) { $body['managerUserIds'] = $request->managerUserIds; } if (!Utils::isUnset($request->memberQuota)) { $body['memberQuota'] = $request->memberQuota; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->notice)) { $body['notice'] = $request->notice; } if (!Utils::isUnset($request->noticeToped)) { $body['noticeToped'] = $request->noticeToped; } if (!Utils::isUnset($request->openGroupSetId)) { $body['openGroupSetId'] = $request->openGroupSetId; } if (!Utils::isUnset($request->ownerUserId)) { $body['ownerUserId'] = $request->ownerUserId; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->welcome)) { $body['welcome'] = $request->welcome; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateGroupSet', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/groupSets/set', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'boolean', ]); return UpdateGroupSetResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新群组 * * * @param UpdateGroupSetRequest $request UpdateGroupSetRequest * * @return UpdateGroupSetResponse UpdateGroupSetResponse */ public function updateGroupSet($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateGroupSetHeaders([]); return $this->updateGroupSetWithOptions($request, $headers, $runtime); } /** * @summary 增量同步导航数据 * * * @param UpdateMenuDataRequest $request UpdateMenuDataRequest * @param UpdateMenuDataHeaders $headers UpdateMenuDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateMenuDataResponse UpdateMenuDataResponse */ public function updateMenuDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->attr)) { $body['attr'] = $request->attr; } if (!Utils::isUnset($request->bizTraceId)) { $body['bizTraceId'] = $request->bizTraceId; } if (!Utils::isUnset($request->module)) { $body['module'] = $request->module; } if (!Utils::isUnset($request->navData)) { $body['navData'] = $request->navData; } if (!Utils::isUnset($request->operateType)) { $body['operateType'] = $request->operateType; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateMenuData', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/navigations/menus/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateMenuDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 增量同步导航数据 * * * @param UpdateMenuDataRequest $request UpdateMenuDataRequest * * @return UpdateMenuDataResponse UpdateMenuDataResponse */ public function updateMenuData($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMenuDataHeaders([]); return $this->updateMenuDataWithOptions($request, $headers, $runtime); } /** * @summary 模型表结构更新字段 * * * @param UpdateMetaModelFieldRequest $request UpdateMetaModelFieldRequest * @param UpdateMetaModelFieldHeaders $headers UpdateMetaModelFieldHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateMetaModelFieldResponse UpdateMetaModelFieldResponse */ public function updateMetaModelFieldWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizType)) { $body['bizType'] = $request->bizType; } if (!Utils::isUnset($request->fieldDTOList)) { $body['fieldDTOList'] = $request->fieldDTOList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateMetaModelField', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/metas/models/fields', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateMetaModelFieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 模型表结构更新字段 * * * @param UpdateMetaModelFieldRequest $request UpdateMetaModelFieldRequest * * @return UpdateMetaModelFieldResponse UpdateMetaModelFieldResponse */ public function updateMetaModelField($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateMetaModelFieldHeaders([]); return $this->updateMetaModelFieldWithOptions($request, $headers, $runtime); } /** * @summary 关系模型表结构更新字段 * * * @param UpdateRelationMetaFieldRequest $request UpdateRelationMetaFieldRequest * @param UpdateRelationMetaFieldHeaders $headers UpdateRelationMetaFieldHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateRelationMetaFieldResponse UpdateRelationMetaFieldResponse */ public function updateRelationMetaFieldWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->fieldDTOList)) { $body['fieldDTOList'] = $request->fieldDTOList; } if (!Utils::isUnset($request->operatorUserId)) { $body['operatorUserId'] = $request->operatorUserId; } if (!Utils::isUnset($request->relationType)) { $body['relationType'] = $request->relationType; } if (!Utils::isUnset($request->tenant)) { $body['tenant'] = $request->tenant; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateRelationMetaField', 'version' => 'crm_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/crm/relations/metas/fields', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateRelationMetaFieldResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 关系模型表结构更新字段 * * * @param UpdateRelationMetaFieldRequest $request UpdateRelationMetaFieldRequest * * @return UpdateRelationMetaFieldResponse UpdateRelationMetaFieldResponse */ public function updateRelationMetaField($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateRelationMetaFieldHeaders([]); return $this->updateRelationMetaFieldWithOptions($request, $headers, $runtime); } } src/crm_1_0/Models/AbandonCustomerHeaders.php 0000644 00000002331 14713400346 0015070 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AbandonCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AbandonCustomerRequest.php 0000644 00000004045 14713400346 0015151 0 ustar 00 'customTrackDesc', 'instanceIdList' => 'instanceIdList', 'operatorUserId' => 'operatorUserId', 'optType' => 'optType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customTrackDesc) { $res['customTrackDesc'] = $this->customTrackDesc; } if (null !== $this->instanceIdList) { $res['instanceIdList'] = $this->instanceIdList; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->optType) { $res['optType'] = $this->optType; } return $res; } /** * @param array $map * * @return AbandonCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customTrackDesc'])) { $model->customTrackDesc = $map['customTrackDesc']; } if (isset($map['instanceIdList'])) { if (!empty($map['instanceIdList'])) { $model->instanceIdList = $map['instanceIdList']; } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['optType'])) { $model->optType = $map['optType']; } return $model; } } src/crm_1_0/Models/AbandonCustomerResponse.php 0000644 00000002725 14713400346 0015322 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AbandonCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AbandonCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AbandonCustomerResponseBody.php 0000644 00000001712 14713400346 0016133 0 ustar 00 'instanceIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceIdList) { $res['instanceIdList'] = $this->instanceIdList; } return $res; } /** * @param array $map * * @return AbandonCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceIdList'])) { if (!empty($map['instanceIdList'])) { $model->instanceIdList = $map['instanceIdList']; } } return $model; } } src/crm_1_0/Models/AddCrmPersonalCustomerHeaders.php 0000644 00000002347 14713400346 0016373 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCrmPersonalCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AddCrmPersonalCustomerRequest.php 0000644 00000006632 14713400346 0016451 0 ustar 00 'action', 'creatorNick' => 'creatorNick', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'permission' => 'permission', 'relationType' => 'relationType', 'skipDuplicateCheck' => 'skipDuplicateCheck', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->skipDuplicateCheck) { $res['skipDuplicateCheck'] = $this->skipDuplicateCheck; } return $res; } /** * @param array $map * * @return AddCrmPersonalCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['skipDuplicateCheck'])) { $model->skipDuplicateCheck = $map['skipDuplicateCheck']; } return $model; } } src/crm_1_0/Models/AddCrmPersonalCustomerRequest/permission.php 0000644 00000002620 14713400346 0020632 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/AddCrmPersonalCustomerResponse.php 0000644 00000002761 14713400346 0016616 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCrmPersonalCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCrmPersonalCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AddCrmPersonalCustomerResponseBody.php 0000644 00000001645 14713400346 0017434 0 ustar 00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return AddCrmPersonalCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/crm_1_0/Models/AddCustomerTrackHeaders.php 0000644 00000002333 14713400346 0015205 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCustomerTrackHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AddCustomerTrackRequest.php 0000644 00000010032 14713400346 0015255 0 ustar 00 'content', 'customerId' => 'customerId', 'extraBizInfo' => 'extraBizInfo', 'idempotentKey' => 'idempotentKey', 'maskedContent' => 'maskedContent', 'operatorUserId' => 'operatorUserId', 'relationType' => 'relationType', 'title' => 'title', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->customerId) { $res['customerId'] = $this->customerId; } if (null !== $this->extraBizInfo) { $res['extraBizInfo'] = $this->extraBizInfo; } if (null !== $this->idempotentKey) { $res['idempotentKey'] = $this->idempotentKey; } if (null !== $this->maskedContent) { $res['maskedContent'] = $this->maskedContent; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return AddCustomerTrackRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['customerId'])) { $model->customerId = $map['customerId']; } if (isset($map['extraBizInfo'])) { $model->extraBizInfo = $map['extraBizInfo']; } if (isset($map['idempotentKey'])) { $model->idempotentKey = $map['idempotentKey']; } if (isset($map['maskedContent'])) { $model->maskedContent = $map['maskedContent']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/crm_1_0/Models/AddCustomerTrackResponse.php 0000644 00000002731 14713400346 0015432 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCustomerTrackResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCustomerTrackResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AddCustomerTrackResponseBody.php 0000644 00000001630 14713400346 0016245 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return AddCustomerTrackResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/AddLeadsHeaders.php 0000644 00000002313 14713400346 0013445 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddLeadsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AddLeadsRequest.php 0000644 00000005746 14713400346 0013537 0 ustar 00 'assignTimestamp', 'assignUserId' => 'assignUserId', 'assignedUserId' => 'assignedUserId', 'leads' => 'leads', 'outTaskId' => 'outTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->assignTimestamp) { $res['assignTimestamp'] = $this->assignTimestamp; } if (null !== $this->assignUserId) { $res['assignUserId'] = $this->assignUserId; } if (null !== $this->assignedUserId) { $res['assignedUserId'] = $this->assignedUserId; } if (null !== $this->leads) { $res['leads'] = []; if (null !== $this->leads && \is_array($this->leads)) { $n = 0; foreach ($this->leads as $item) { $res['leads'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->outTaskId) { $res['outTaskId'] = $this->outTaskId; } return $res; } /** * @param array $map * * @return AddLeadsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['assignTimestamp'])) { $model->assignTimestamp = $map['assignTimestamp']; } if (isset($map['assignUserId'])) { $model->assignUserId = $map['assignUserId']; } if (isset($map['assignedUserId'])) { $model->assignedUserId = $map['assignedUserId']; } if (isset($map['leads'])) { if (!empty($map['leads'])) { $model->leads = []; $n = 0; foreach ($map['leads'] as $item) { $model->leads[$n++] = null !== $item ? leads::fromMap($item) : $item; } } } if (isset($map['outTaskId'])) { $model->outTaskId = $map['outTaskId']; } return $model; } } src/crm_1_0/Models/AddLeadsRequest/leads.php 0000644 00000002436 14713400346 0014620 0 ustar 00 'leadsName', 'outLeadsId' => 'outLeadsId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->leadsName) { $res['leadsName'] = $this->leadsName; } if (null !== $this->outLeadsId) { $res['outLeadsId'] = $this->outLeadsId; } return $res; } /** * @param array $map * * @return leads */ public static function fromMap($map = []) { $model = new self(); if (isset($map['leadsName'])) { $model->leadsName = $map['leadsName']; } if (isset($map['outLeadsId'])) { $model->outLeadsId = $map['outLeadsId']; } return $model; } } src/crm_1_0/Models/AddLeadsResponse.php 0000644 00000002671 14713400346 0013677 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddLeadsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddLeadsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AddLeadsResponseBody.php 0000644 00000001511 14713400346 0014505 0 ustar 00 'outTaskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outTaskId) { $res['outTaskId'] = $this->outTaskId; } return $res; } /** * @param array $map * * @return AddLeadsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outTaskId'])) { $model->outTaskId = $map['outTaskId']; } return $model; } } src/crm_1_0/Models/AddMetaModelFieldHeaders.php 0000644 00000002335 14713400346 0015234 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddMetaModelFieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AddMetaModelFieldRequest.php 0000644 00000005113 14713400346 0015306 0 ustar 00 'bizType', 'fieldDTOList' => 'fieldDTOList', 'operatorUserId' => 'operatorUserId', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->fieldDTOList) { $res['fieldDTOList'] = []; if (null !== $this->fieldDTOList && \is_array($this->fieldDTOList)) { $n = 0; foreach ($this->fieldDTOList as $item) { $res['fieldDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return AddMetaModelFieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['fieldDTOList'])) { if (!empty($map['fieldDTOList'])) { $model->fieldDTOList = []; $n = 0; foreach ($map['fieldDTOList'] as $item) { $model->fieldDTOList[$n++] = null !== $item ? fieldDTOList::fromMap($item) : $item; } } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/AddMetaModelFieldRequest/fieldDTOList.php 0000644 00000002603 14713400346 0017575 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return fieldDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/AddMetaModelFieldRequest/fieldDTOList/props.php 0000644 00000017543 14713400346 0020751 0 ustar 00 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'sortable' => 'sortable', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/crm_1_0/Models/AddMetaModelFieldRequest/fieldDTOList/props/options.php 0000644 00000002054 14713400346 0022433 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/AddMetaModelFieldResponse.php 0000644 00000002735 14713400346 0015463 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddMetaModelFieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddMetaModelFieldResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AddMetaModelFieldResponseBody.php 0000644 00000001600 14713400346 0016267 0 ustar 00 'bizType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } return $res; } /** * @param array $map * * @return AddMetaModelFieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldHeaders.php 0000644 00000002343 14713400346 0015750 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddRelationMetaFieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldRequest.php 0000644 00000005174 14713400346 0016032 0 ustar 00 'fieldDTOList', 'operatorUserId' => 'operatorUserId', 'relationType' => 'relationType', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldDTOList) { $res['fieldDTOList'] = []; if (null !== $this->fieldDTOList && \is_array($this->fieldDTOList)) { $n = 0; foreach ($this->fieldDTOList as $item) { $res['fieldDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return AddRelationMetaFieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldDTOList'])) { if (!empty($map['fieldDTOList'])) { $model->fieldDTOList = []; $n = 0; foreach ($map['fieldDTOList'] as $item) { $model->fieldDTOList[$n++] = null !== $item ? fieldDTOList::fromMap($item) : $item; } } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldRequest/fieldDTOList.php 0000644 00000002611 14713400346 0020311 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return fieldDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldRequest/fieldDTOList/props.php 0000644 00000017551 14713400346 0021465 0 ustar 00 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'sortable' => 'sortable', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldRequest/fieldDTOList/props/options.php 0000644 00000002057 14713400346 0023153 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldResponse.php 0000644 00000002751 14713400346 0016176 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddRelationMetaFieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddRelationMetaFieldResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AddRelationMetaFieldResponseBody.php 0000644 00000001663 14713400346 0017015 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return AddRelationMetaFieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/AppendCustomerDataAuthHeaders.php 0000644 00000002347 14713400346 0016360 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AppendCustomerDataAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/AppendCustomerDataAuthRequest.php 0000644 00000005674 14713400346 0016443 0 ustar 00 'customerIds', 'dataAuthUserIds' => 'dataAuthUserIds', 'formCode' => 'formCode', 'operateUserId' => 'operateUserId', 'relationType' => 'relationType', 'roleType' => 'roleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerIds) { $res['customerIds'] = $this->customerIds; } if (null !== $this->dataAuthUserIds) { $res['dataAuthUserIds'] = $this->dataAuthUserIds; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->operateUserId) { $res['operateUserId'] = $this->operateUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->roleType) { $res['roleType'] = $this->roleType; } return $res; } /** * @param array $map * * @return AppendCustomerDataAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerIds'])) { if (!empty($map['customerIds'])) { $model->customerIds = $map['customerIds']; } } if (isset($map['dataAuthUserIds'])) { if (!empty($map['dataAuthUserIds'])) { $model->dataAuthUserIds = $map['dataAuthUserIds']; } } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['operateUserId'])) { $model->operateUserId = $map['operateUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['roleType'])) { $model->roleType = $map['roleType']; } return $model; } } src/crm_1_0/Models/AppendCustomerDataAuthResponse.php 0000644 00000002761 14713400346 0016603 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AppendCustomerDataAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AppendCustomerDataAuthResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/AppendCustomerDataAuthResponseBody.php 0000644 00000001544 14713400346 0017417 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AppendCustomerDataAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/BatchAddContactsHeaders.php 0000644 00000002333 14713400346 0015137 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchAddContactsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchAddContactsRequest.php 0000644 00000003711 14713400346 0015215 0 ustar 00 'operatorUserId', 'relationList' => 'relationList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationList) { $res['relationList'] = []; if (null !== $this->relationList && \is_array($this->relationList)) { $n = 0; foreach ($this->relationList as $item) { $res['relationList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchAddContactsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationList'])) { if (!empty($map['relationList'])) { $model->relationList = []; $n = 0; foreach ($map['relationList'] as $item) { $model->relationList[$n++] = null !== $item ? relationList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchAddContactsRequest/relationList.php 0000644 00000004250 14713400346 0017665 0 ustar 00 'bizDataList', 'bizExtMap' => 'bizExtMap', 'sourceDataId' => 'sourceDataId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataList) { $res['bizDataList'] = []; if (null !== $this->bizDataList && \is_array($this->bizDataList)) { $n = 0; foreach ($this->bizDataList as $item) { $res['bizDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizExtMap) { $res['bizExtMap'] = $this->bizExtMap; } if (null !== $this->sourceDataId) { $res['sourceDataId'] = $this->sourceDataId; } return $res; } /** * @param array $map * * @return relationList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataList'])) { if (!empty($map['bizDataList'])) { $model->bizDataList = []; $n = 0; foreach ($map['bizDataList'] as $item) { $model->bizDataList[$n++] = null !== $item ? bizDataList::fromMap($item) : $item; } } } if (isset($map['bizExtMap'])) { $model->bizExtMap = $map['bizExtMap']; } if (isset($map['sourceDataId'])) { $model->sourceDataId = $map['sourceDataId']; } return $model; } } src/crm_1_0/Models/BatchAddContactsRequest/relationList/bizDataList.php 0000644 00000003112 14713400346 0022073 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return bizDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/BatchAddContactsResponse.php 0000644 00000002731 14713400346 0015364 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchAddContactsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchAddContactsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchAddContactsResponseBody.php 0000644 00000002661 14713400346 0016204 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchAddContactsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchAddContactsResponseBody/results.php 0000644 00000003501 14713400346 0017677 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'relationId' => 'relationId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsHeaders.php 0000644 00000002345 14713400346 0016150 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchAddFollowRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsRequest.php 0000644 00000003730 14713400346 0016224 0 ustar 00 'instanceList', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceList) { $res['instanceList'] = []; if (null !== $this->instanceList && \is_array($this->instanceList)) { $n = 0; foreach ($this->instanceList as $item) { $res['instanceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return BatchAddFollowRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceList'])) { if (!empty($map['instanceList'])) { $model->instanceList = []; $n = 0; foreach ($map['instanceList'] as $item) { $model->instanceList[$n++] = null !== $item ? instanceList::fromMap($item) : $item; } } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsRequest/instanceList.php 0000644 00000003445 14713400346 0020667 0 ustar 00 'bizExtMap', 'dataArray' => 'dataArray', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizExtMap) { $res['bizExtMap'] = $this->bizExtMap; } if (null !== $this->dataArray) { $res['dataArray'] = []; if (null !== $this->dataArray && \is_array($this->dataArray)) { $n = 0; foreach ($this->dataArray as $item) { $res['dataArray'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return instanceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizExtMap'])) { $model->bizExtMap = $map['bizExtMap']; } if (isset($map['dataArray'])) { if (!empty($map['dataArray'])) { $model->dataArray = []; $n = 0; foreach ($map['dataArray'] as $item) { $model->dataArray[$n++] = null !== $item ? dataArray::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsRequest/instanceList/dataArray.php 0000644 00000003113 14713400346 0022567 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return dataArray */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsResponse.php 0000644 00000002755 14713400346 0016400 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchAddFollowRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchAddFollowRecordsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsResponseBody.php 0000644 00000002700 14713400346 0017204 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchAddFollowRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchAddFollowRecordsResponseBody/results.php 0000644 00000003526 14713400346 0020714 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'instanceId' => 'instanceId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasHeaders.php 0000644 00000002345 14713400346 0016116 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchAddRelationDatasHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasRequest.php 0000644 00000005432 14713400346 0016173 0 ustar 00 'operatorUserId', 'relationList' => 'relationList', 'relationType' => 'relationType', 'skipDuplicateCheck' => 'skipDuplicateCheck', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationList) { $res['relationList'] = []; if (null !== $this->relationList && \is_array($this->relationList)) { $n = 0; foreach ($this->relationList as $item) { $res['relationList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->skipDuplicateCheck) { $res['skipDuplicateCheck'] = $this->skipDuplicateCheck; } return $res; } /** * @param array $map * * @return BatchAddRelationDatasRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationList'])) { if (!empty($map['relationList'])) { $model->relationList = []; $n = 0; foreach ($map['relationList'] as $item) { $model->relationList[$n++] = null !== $item ? relationList::fromMap($item) : $item; } } } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['skipDuplicateCheck'])) { $model->skipDuplicateCheck = $map['skipDuplicateCheck']; } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasRequest/relationList.php 0000644 00000005472 14713400346 0020650 0 ustar 00 'bizDataList', 'bizExtMap' => 'bizExtMap', 'relationPermissionDTO' => 'relationPermissionDTO', 'sourceDataId' => 'sourceDataId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataList) { $res['bizDataList'] = []; if (null !== $this->bizDataList && \is_array($this->bizDataList)) { $n = 0; foreach ($this->bizDataList as $item) { $res['bizDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizExtMap) { $res['bizExtMap'] = $this->bizExtMap; } if (null !== $this->relationPermissionDTO) { $res['relationPermissionDTO'] = null !== $this->relationPermissionDTO ? $this->relationPermissionDTO->toMap() : null; } if (null !== $this->sourceDataId) { $res['sourceDataId'] = $this->sourceDataId; } return $res; } /** * @param array $map * * @return relationList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataList'])) { if (!empty($map['bizDataList'])) { $model->bizDataList = []; $n = 0; foreach ($map['bizDataList'] as $item) { $model->bizDataList[$n++] = null !== $item ? bizDataList::fromMap($item) : $item; } } } if (isset($map['bizExtMap'])) { $model->bizExtMap = $map['bizExtMap']; } if (isset($map['relationPermissionDTO'])) { $model->relationPermissionDTO = relationPermissionDTO::fromMap($map['relationPermissionDTO']); } if (isset($map['sourceDataId'])) { $model->sourceDataId = $map['sourceDataId']; } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasRequest/relationList/bizDataList.php 0000644 00000003117 14713400346 0023054 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return bizDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasRequest/relationList/relationPermissionDTO.php 0000644 00000002702 14713400346 0025076 0 ustar 00 'participantUserIds', 'principalUserIds' => 'principalUserIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->participantUserIds) { $res['participantUserIds'] = $this->participantUserIds; } if (null !== $this->principalUserIds) { $res['principalUserIds'] = $this->principalUserIds; } return $res; } /** * @param array $map * * @return relationPermissionDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['participantUserIds'])) { if (!empty($map['participantUserIds'])) { $model->participantUserIds = $map['participantUserIds']; } } if (isset($map['principalUserIds'])) { if (!empty($map['principalUserIds'])) { $model->principalUserIds = $map['principalUserIds']; } } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasResponse.php 0000644 00000002755 14713400346 0016346 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchAddRelationDatasResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchAddRelationDatasResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasResponseBody.php 0000644 00000002700 14713400346 0017152 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchAddRelationDatasResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchAddRelationDatasResponseBody/results.php 0000644 00000004524 14713400346 0020661 0 ustar 00 'duplicatedRelationIds', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'relationId' => 'relationId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duplicatedRelationIds) { $res['duplicatedRelationIds'] = $this->duplicatedRelationIds; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duplicatedRelationIds'])) { if (!empty($map['duplicatedRelationIds'])) { $model->duplicatedRelationIds = $map['duplicatedRelationIds']; } } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/BatchCreateClueDataHeaders.php 0000644 00000002341 14713400346 0015555 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchCreateClueDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchCreateClueDataRequest.php 0000644 00000004103 14713400346 0015630 0 ustar 00 'dataList', 'privateSeas' => 'privateSeas', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = []; if (null !== $this->dataList && \is_array($this->dataList)) { $n = 0; foreach ($this->dataList as $item) { $res['dataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->privateSeas) { $res['privateSeas'] = $this->privateSeas; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchCreateClueDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = []; $n = 0; foreach ($map['dataList'] as $item) { $model->dataList[$n++] = null !== $item ? dataList::fromMap($item) : $item; } } } if (isset($map['privateSeas'])) { $model->privateSeas = $map['privateSeas']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/BatchCreateClueDataRequest/dataList.php 0000644 00000007665 14713400346 0017415 0 ustar 00 'contactList', 'enterprise' => 'enterprise', 'name' => 'name', 'sourceId' => 'sourceId', 'sourceType' => 'sourceType', 'tagIdList' => 'tagIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactList) { $res['contactList'] = []; if (null !== $this->contactList && \is_array($this->contactList)) { $n = 0; foreach ($this->contactList as $item) { $res['contactList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->enterprise) { $res['enterprise'] = null !== $this->enterprise ? $this->enterprise->toMap() : null; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->tagIdList) { $res['tagIdList'] = []; if (null !== $this->tagIdList && \is_array($this->tagIdList)) { $n = 0; foreach ($this->tagIdList as $item) { $res['tagIdList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return dataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactList'])) { if (!empty($map['contactList'])) { $model->contactList = []; $n = 0; foreach ($map['contactList'] as $item) { $model->contactList[$n++] = null !== $item ? contactList::fromMap($item) : $item; } } } if (isset($map['enterprise'])) { $model->enterprise = enterprise::fromMap($map['enterprise']); } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['tagIdList'])) { if (!empty($map['tagIdList'])) { $model->tagIdList = []; $n = 0; foreach ($map['tagIdList'] as $item) { $model->tagIdList[$n++] = null !== $item ? tagIdList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchCreateClueDataRequest/dataList/contactList.php 0000644 00000004330 14713400346 0021666 0 ustar 00 'mobile', 'name' => 'name', 'phone' => 'phone', 'qq' => 'qq', 'wangWang' => 'wangWang', 'weChat' => 'weChat', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->phone) { $res['phone'] = $this->phone; } if (null !== $this->qq) { $res['qq'] = $this->qq; } if (null !== $this->wangWang) { $res['wangWang'] = $this->wangWang; } if (null !== $this->weChat) { $res['weChat'] = $this->weChat; } return $res; } /** * @param array $map * * @return contactList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['phone'])) { $model->phone = $map['phone']; } if (isset($map['qq'])) { $model->qq = $map['qq']; } if (isset($map['wangWang'])) { $model->wangWang = $map['wangWang']; } if (isset($map['weChat'])) { $model->weChat = $map['weChat']; } return $model; } } src/crm_1_0/Models/BatchCreateClueDataRequest/dataList/enterprise.php 0000644 00000004262 14713400346 0021563 0 ustar 00 'address', 'industryCode' => 'industryCode', 'name' => 'name', 'region' => 'region', 'unifiedSocialCreditCode' => 'unifiedSocialCreditCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->address) { $res['address'] = $this->address; } if (null !== $this->industryCode) { $res['industryCode'] = $this->industryCode; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->region) { $res['region'] = $this->region; } if (null !== $this->unifiedSocialCreditCode) { $res['unifiedSocialCreditCode'] = $this->unifiedSocialCreditCode; } return $res; } /** * @param array $map * * @return enterprise */ public static function fromMap($map = []) { $model = new self(); if (isset($map['address'])) { $model->address = $map['address']; } if (isset($map['industryCode'])) { $model->industryCode = $map['industryCode']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['region'])) { $model->region = $map['region']; } if (isset($map['unifiedSocialCreditCode'])) { $model->unifiedSocialCreditCode = $map['unifiedSocialCreditCode']; } return $model; } } src/crm_1_0/Models/BatchCreateClueDataRequest/dataList/tagIdList.php 0000644 00000002203 14713400346 0021260 0 ustar 00 'tagId', 'tagName' => 'tagName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->tagId) { $res['tagId'] = $this->tagId; } if (null !== $this->tagName) { $res['tagName'] = $this->tagName; } return $res; } /** * @param array $map * * @return tagIdList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['tagId'])) { $model->tagId = $map['tagId']; } if (isset($map['tagName'])) { $model->tagName = $map['tagName']; } return $model; } } src/crm_1_0/Models/BatchCreateClueDataResponse.php 0000644 00000002745 14713400346 0016010 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchCreateClueDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchCreateClueDataResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchCreateClueDataResponseBody.php 0000644 00000003270 14713400346 0016620 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchCreateClueDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchCreateClueDataResponseBody/result.php 0000644 00000002572 14713400346 0020142 0 ustar 00 'clueId', 'dataId' => 'dataId', 'resultCode' => 'resultCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clueId) { $res['clueId'] = $this->clueId; } if (null !== $this->dataId) { $res['dataId'] = $this->dataId; } if (null !== $this->resultCode) { $res['resultCode'] = $this->resultCode; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clueId'])) { $model->clueId = $map['clueId']; } if (isset($map['dataId'])) { $model->dataId = $map['dataId']; } if (isset($map['resultCode'])) { $model->resultCode = $map['resultCode']; } return $model; } } src/crm_1_0/Models/BatchRemoveFollowRecordsHeaders.php 0000644 00000002353 14713400346 0016714 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRemoveFollowRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchRemoveFollowRecordsRequest.php 0000644 00000002636 14713400346 0016775 0 ustar 00 'instanceIds', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceIds) { $res['instanceIds'] = $this->instanceIds; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return BatchRemoveFollowRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceIds'])) { if (!empty($map['instanceIds'])) { $model->instanceIds = $map['instanceIds']; } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/BatchRemoveFollowRecordsResponse.php 0000644 00000002771 14713400346 0017143 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRemoveFollowRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRemoveFollowRecordsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchRemoveFollowRecordsResponseBody.php 0000644 00000002711 14713400346 0017753 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchRemoveFollowRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchRemoveFollowRecordsResponseBody/results.php 0000644 00000003531 14713400346 0021455 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'instanceId' => 'instanceId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageHeaders.php 0000644 00000002377 14713400346 0020512 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchSendOfficialAccountOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest.php 0000644 00000003136 14713400346 0020561 0 ustar 00 'accountId', 'bizId' => 'bizId', 'detail' => 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->detail) { $res['detail'] = null !== $this->detail ? $this->detail->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSendOfficialAccountOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest/detail.php 0000644 00000005344 14713400346 0022026 0 ustar 00 'bizRequestId', 'messageBody' => 'messageBody', 'msgType' => 'msgType', 'sendToAll' => 'sendToAll', 'userIdList' => 'userIdList', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->messageBody) { $res['messageBody'] = null !== $this->messageBody ? $this->messageBody->toMap() : null; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->sendToAll) { $res['sendToAll'] = $this->sendToAll; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['messageBody'])) { $model->messageBody = messageBody::fromMap($map['messageBody']); } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['sendToAll'])) { $model->sendToAll = $map['sendToAll']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest/detail/messageBody.php 0000644 00000004523 14713400346 0024266 0 ustar 00 'actionCard', 'link' => 'link', 'markdown' => 'markdown', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCard) { $res['actionCard'] = null !== $this->actionCard ? $this->actionCard->toMap() : null; } if (null !== $this->link) { $res['link'] = null !== $this->link ? $this->link->toMap() : null; } if (null !== $this->markdown) { $res['markdown'] = null !== $this->markdown ? $this->markdown->toMap() : null; } if (null !== $this->text) { $res['text'] = null !== $this->text ? $this->text->toMap() : null; } return $res; } /** * @param array $map * * @return messageBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCard'])) { $model->actionCard = actionCard::fromMap($map['actionCard']); } if (isset($map['link'])) { $model->link = link::fromMap($map['link']); } if (isset($map['markdown'])) { $model->markdown = markdown::fromMap($map['markdown']); } if (isset($map['text'])) { $model->text = text::fromMap($map['text']); } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest/detail/messageBody/actionCard.php 0000644 00000006152 14713400346 0026335 0 ustar 00 'buttonList', 'buttonOrientation' => 'buttonOrientation', 'markdown' => 'markdown', 'singleTitle' => 'singleTitle', 'singleUrl' => 'singleUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buttonList) { $res['buttonList'] = []; if (null !== $this->buttonList && \is_array($this->buttonList)) { $n = 0; foreach ($this->buttonList as $item) { $res['buttonList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->buttonOrientation) { $res['buttonOrientation'] = $this->buttonOrientation; } if (null !== $this->markdown) { $res['markdown'] = $this->markdown; } if (null !== $this->singleTitle) { $res['singleTitle'] = $this->singleTitle; } if (null !== $this->singleUrl) { $res['singleUrl'] = $this->singleUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return actionCard */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buttonList'])) { if (!empty($map['buttonList'])) { $model->buttonList = []; $n = 0; foreach ($map['buttonList'] as $item) { $model->buttonList[$n++] = null !== $item ? buttonList::fromMap($item) : $item; } } } if (isset($map['buttonOrientation'])) { $model->buttonOrientation = $map['buttonOrientation']; } if (isset($map['markdown'])) { $model->markdown = $map['markdown']; } if (isset($map['singleTitle'])) { $model->singleTitle = $map['singleTitle']; } if (isset($map['singleUrl'])) { $model->singleUrl = $map['singleUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } Models/BatchSendOfficialAccountOTOMessageRequest/detail/messageBody/actionCard/buttonList.php 0000644 00000002364 14713400346 0030426 0 ustar 00 src/crm_1_0 'actionUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionUrl) { $res['actionUrl'] = $this->actionUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return buttonList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionUrl'])) { $model->actionUrl = $map['actionUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest/detail/messageBody/link.php 0000644 00000003551 14713400346 0025223 0 ustar 00 'messageUrl', 'picUrl' => 'picUrl', 'text' => 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageUrl) { $res['messageUrl'] = $this->messageUrl; } if (null !== $this->picUrl) { $res['picUrl'] = $this->picUrl; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return link */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageUrl'])) { $model->messageUrl = $map['messageUrl']; } if (isset($map['picUrl'])) { $model->picUrl = $map['picUrl']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest/detail/messageBody/markdown.php 0000644 00000002265 14713400346 0026111 0 ustar 00 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return markdown */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageRequest/detail/messageBody/text.php 0000644 00000001613 14713400346 0025247 0 ustar 00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return text */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageResponse.php 0000644 00000003041 14713400346 0020722 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSendOfficialAccountOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchSendOfficialAccountOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageResponseBody.php 0000644 00000002514 14713400346 0021544 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return BatchSendOfficialAccountOTOMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/BatchSendOfficialAccountOTOMessageResponseBody/result.php 0000644 00000001634 14713400346 0023064 0 ustar 00 'openPushId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openPushId) { $res['openPushId'] = $this->openPushId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openPushId'])) { $model->openPushId = $map['openPushId']; } return $model; } } src/crm_1_0/Models/BatchUpdateContactsHeaders.php 0000644 00000002341 14713400346 0015670 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateContactsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchUpdateContactsRequest.php 0000644 00000003722 14713400346 0015751 0 ustar 00 'operatorUserId', 'relationList' => 'relationList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationList) { $res['relationList'] = []; if (null !== $this->relationList && \is_array($this->relationList)) { $n = 0; foreach ($this->relationList as $item) { $res['relationList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateContactsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationList'])) { if (!empty($map['relationList'])) { $model->relationList = []; $n = 0; foreach ($map['relationList'] as $item) { $model->relationList[$n++] = null !== $item ? relationList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchUpdateContactsRequest/relationList.php 0000644 00000004242 14713400346 0020420 0 ustar 00 'bizDataList', 'bizExtMap' => 'bizExtMap', 'relationId' => 'relationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataList) { $res['bizDataList'] = []; if (null !== $this->bizDataList && \is_array($this->bizDataList)) { $n = 0; foreach ($this->bizDataList as $item) { $res['bizDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizExtMap) { $res['bizExtMap'] = $this->bizExtMap; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } return $res; } /** * @param array $map * * @return relationList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataList'])) { if (!empty($map['bizDataList'])) { $model->bizDataList = []; $n = 0; foreach ($map['bizDataList'] as $item) { $model->bizDataList[$n++] = null !== $item ? bizDataList::fromMap($item) : $item; } } } if (isset($map['bizExtMap'])) { $model->bizExtMap = $map['bizExtMap']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } return $model; } } src/crm_1_0/Models/BatchUpdateContactsRequest/relationList/bizDataList.php 0000644 00000003115 14713400346 0022630 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return bizDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/BatchUpdateContactsResponse.php 0000644 00000002745 14713400346 0016123 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateContactsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateContactsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchUpdateContactsResponseBody.php 0000644 00000002672 14713400346 0016740 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateContactsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchUpdateContactsResponseBody/results.php 0000644 00000003504 14713400346 0020434 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'relationId' => 'relationId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsHeaders.php 0000644 00000002353 14713400346 0016701 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateFollowRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsRequest.php 0000644 00000003741 14713400346 0016760 0 ustar 00 'instanceList', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceList) { $res['instanceList'] = []; if (null !== $this->instanceList && \is_array($this->instanceList)) { $n = 0; foreach ($this->instanceList as $item) { $res['instanceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return BatchUpdateFollowRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceList'])) { if (!empty($map['instanceList'])) { $model->instanceList = []; $n = 0; foreach ($map['instanceList'] as $item) { $model->instanceList[$n++] = null !== $item ? instanceList::fromMap($item) : $item; } } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsRequest/instanceList.php 0000644 00000003646 14713400346 0021424 0 ustar 00 'dataArray', 'instanceId' => 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataArray) { $res['dataArray'] = []; if (null !== $this->dataArray && \is_array($this->dataArray)) { $n = 0; foreach ($this->dataArray as $item) { $res['dataArray'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return instanceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataArray'])) { if (!empty($map['dataArray'])) { $model->dataArray = []; $n = 0; foreach ($map['dataArray'] as $item) { $model->dataArray[$n++] = null !== $item ? dataArray::fromMap($item) : $item; } } } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsRequest/instanceList/dataArray.php 0000644 00000003116 14713400346 0023324 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return dataArray */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsResponse.php 0000644 00000002771 14713400346 0017130 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateFollowRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateFollowRecordsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsResponseBody.php 0000644 00000002711 14713400346 0017740 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateFollowRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchUpdateFollowRecordsResponseBody/results.php 0000644 00000003531 14713400346 0021442 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'instanceId' => 'instanceId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasHeaders.php 0000644 00000002353 14713400346 0016647 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateRelationDatasHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasRequest.php 0000644 00000005443 14713400346 0016727 0 ustar 00 'operatorUserId', 'relationList' => 'relationList', 'relationType' => 'relationType', 'skipDuplicateCheck' => 'skipDuplicateCheck', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationList) { $res['relationList'] = []; if (null !== $this->relationList && \is_array($this->relationList)) { $n = 0; foreach ($this->relationList as $item) { $res['relationList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->skipDuplicateCheck) { $res['skipDuplicateCheck'] = $this->skipDuplicateCheck; } return $res; } /** * @param array $map * * @return BatchUpdateRelationDatasRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationList'])) { if (!empty($map['relationList'])) { $model->relationList = []; $n = 0; foreach ($map['relationList'] as $item) { $model->relationList[$n++] = null !== $item ? relationList::fromMap($item) : $item; } } } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['skipDuplicateCheck'])) { $model->skipDuplicateCheck = $map['skipDuplicateCheck']; } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasRequest/relationList.php 0000644 00000004254 14713400346 0021377 0 ustar 00 'bizDataList', 'bizExtMap' => 'bizExtMap', 'relationId' => 'relationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataList) { $res['bizDataList'] = []; if (null !== $this->bizDataList && \is_array($this->bizDataList)) { $n = 0; foreach ($this->bizDataList as $item) { $res['bizDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizExtMap) { $res['bizExtMap'] = $this->bizExtMap; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } return $res; } /** * @param array $map * * @return relationList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataList'])) { if (!empty($map['bizDataList'])) { $model->bizDataList = []; $n = 0; foreach ($map['bizDataList'] as $item) { $model->bizDataList[$n++] = null !== $item ? bizDataList::fromMap($item) : $item; } } } if (isset($map['bizExtMap'])) { $model->bizExtMap = $map['bizExtMap']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasRequest/relationList/bizDataList.php 0000644 00000003122 14713400346 0023602 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return bizDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasResponse.php 0000644 00000002771 14713400346 0017076 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateRelationDatasResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateRelationDatasResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasResponseBody.php 0000644 00000002711 14713400346 0017706 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateRelationDatasResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/BatchUpdateRelationDatasResponseBody/results.php 0000644 00000004527 14713400346 0021416 0 ustar 00 'duplicatedRelationIds', 'errorCode' => 'errorCode', 'errorMsg' => 'errorMsg', 'relationId' => 'relationId', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->duplicatedRelationIds) { $res['duplicatedRelationIds'] = $this->duplicatedRelationIds; } if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['duplicatedRelationIds'])) { if (!empty($map['duplicatedRelationIds'])) { $model->duplicatedRelationIds = $map['duplicatedRelationIds']; } } if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/crm_1_0/Models/ConsumeBenefitInventoryHeaders.php 0000644 00000002351 14713400346 0016632 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConsumeBenefitInventoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ConsumeBenefitInventoryRequest.php 0000644 00000004176 14713400346 0016716 0 ustar 00 'benefitCode', 'bizRequestId' => 'bizRequestId', 'consumeQuota' => 'consumeQuota', 'optUserId' => 'optUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->consumeQuota) { $res['consumeQuota'] = $this->consumeQuota; } if (null !== $this->optUserId) { $res['optUserId'] = $this->optUserId; } return $res; } /** * @param array $map * * @return ConsumeBenefitInventoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['consumeQuota'])) { $model->consumeQuota = $map['consumeQuota']; } if (isset($map['optUserId'])) { $model->optUserId = $map['optUserId']; } return $model; } } src/crm_1_0/Models/ConsumeBenefitInventoryResponse.php 0000644 00000002765 14713400346 0017066 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConsumeBenefitInventoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConsumeBenefitInventoryResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ConsumeBenefitInventoryResponseBody.php 0000644 00000001546 14713400346 0017700 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ConsumeBenefitInventoryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/CreateCustomerHeaders.php 0000644 00000002327 14713400346 0014736 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/CreateCustomerRequest.php 0000644 00000010066 14713400346 0015012 0 ustar 00 'contacts', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'instanceId' => 'instanceId', 'objectType' => 'objectType', 'permission' => 'permission', 'saveOption' => 'saveOption', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contacts) { $res['contacts'] = []; if (null !== $this->contacts && \is_array($this->contacts)) { $n = 0; foreach ($this->contacts as $item) { $res['contacts'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->saveOption) { $res['saveOption'] = null !== $this->saveOption ? $this->saveOption->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contacts'])) { if (!empty($map['contacts'])) { $model->contacts = []; $n = 0; foreach ($map['contacts'] as $item) { $model->contacts[$n++] = null !== $item ? contacts::fromMap($item) : $item; } } } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['saveOption'])) { $model->saveOption = saveOption::fromMap($map['saveOption']); } return $model; } } src/crm_1_0/Models/CreateCustomerRequest/contacts.php 0000644 00000002213 14713400346 0016623 0 ustar 00 'data', 'extendData' => 'extendData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } return $res; } /** * @param array $map * * @return contacts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } return $model; } } src/crm_1_0/Models/CreateCustomerRequest/permission.php 0000644 00000002610 14713400346 0017176 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/CreateCustomerRequest/saveOption.php 0000644 00000004561 14713400346 0017144 0 ustar 00 'customerExistedPolicy', 'skipDuplicateCheck' => 'skipDuplicateCheck', 'subscribePolicy' => 'subscribePolicy', 'throwExceptionWhileSavingContactFailed' => 'throwExceptionWhileSavingContactFailed', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerExistedPolicy) { $res['customerExistedPolicy'] = $this->customerExistedPolicy; } if (null !== $this->skipDuplicateCheck) { $res['skipDuplicateCheck'] = $this->skipDuplicateCheck; } if (null !== $this->subscribePolicy) { $res['subscribePolicy'] = $this->subscribePolicy; } if (null !== $this->throwExceptionWhileSavingContactFailed) { $res['throwExceptionWhileSavingContactFailed'] = $this->throwExceptionWhileSavingContactFailed; } return $res; } /** * @param array $map * * @return saveOption */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerExistedPolicy'])) { $model->customerExistedPolicy = $map['customerExistedPolicy']; } if (isset($map['skipDuplicateCheck'])) { $model->skipDuplicateCheck = $map['skipDuplicateCheck']; } if (isset($map['subscribePolicy'])) { $model->subscribePolicy = $map['subscribePolicy']; } if (isset($map['throwExceptionWhileSavingContactFailed'])) { $model->throwExceptionWhileSavingContactFailed = $map['throwExceptionWhileSavingContactFailed']; } return $model; } } src/crm_1_0/Models/CreateCustomerResponse.php 0000644 00000002721 14713400346 0015157 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/CreateCustomerResponseBody.php 0000644 00000004335 14713400346 0016000 0 ustar 00 'contacts', 'customerInstanceId' => 'customerInstanceId', 'objectType' => 'objectType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contacts) { $res['contacts'] = []; if (null !== $this->contacts && \is_array($this->contacts)) { $n = 0; foreach ($this->contacts as $item) { $res['contacts'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->customerInstanceId) { $res['customerInstanceId'] = $this->customerInstanceId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } return $res; } /** * @param array $map * * @return CreateCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contacts'])) { if (!empty($map['contacts'])) { $model->contacts = []; $n = 0; foreach ($map['contacts'] as $item) { $model->contacts[$n++] = null !== $item ? contacts::fromMap($item) : $item; } } } if (isset($map['customerInstanceId'])) { $model->customerInstanceId = $map['customerInstanceId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } return $model; } } src/crm_1_0/Models/CreateCustomerResponseBody/contacts.php 0000644 00000001666 14713400346 0017622 0 ustar 00 'contactInstanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contactInstanceId) { $res['contactInstanceId'] = $this->contactInstanceId; } return $res; } /** * @param array $map * * @return contacts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contactInstanceId'])) { $model->contactInstanceId = $map['contactInstanceId']; } return $model; } } src/crm_1_0/Models/CreateGroupHeaders.php 0000644 00000002321 14713400346 0014223 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/CreateGroupRequest.php 0000644 00000004056 14713400346 0014307 0 ustar 00 'groupName', 'memberUserIds' => 'memberUserIds', 'ownerUserId' => 'ownerUserId', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->groupName) { $res['groupName'] = $this->groupName; } if (null !== $this->memberUserIds) { $res['memberUserIds'] = $this->memberUserIds; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return CreateGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['groupName'])) { $model->groupName = $map['groupName']; } if (isset($map['memberUserIds'])) { $model->memberUserIds = $map['memberUserIds']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/CreateGroupResponse.php 0000644 00000002705 14713400346 0014454 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateGroupResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/CreateGroupResponseBody.php 0000644 00000001727 14713400346 0015275 0 ustar 00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return CreateGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/crm_1_0/Models/CreateGroupSetHeaders.php 0000644 00000002327 14713400346 0014705 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateGroupSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/CreateGroupSetRequest.php 0000644 00000007414 14713400346 0014764 0 ustar 00 'creatorUserId', 'managerUserIds' => 'managerUserIds', 'memberQuota' => 'memberQuota', 'name' => 'name', 'notice' => 'notice', 'noticeToped' => 'noticeToped', 'ownerUserId' => 'ownerUserId', 'relationType' => 'relationType', 'templateId' => 'templateId', 'welcome' => 'welcome', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->managerUserIds) { $res['managerUserIds'] = $this->managerUserIds; } if (null !== $this->memberQuota) { $res['memberQuota'] = $this->memberQuota; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->notice) { $res['notice'] = $this->notice; } if (null !== $this->noticeToped) { $res['noticeToped'] = $this->noticeToped; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->welcome) { $res['welcome'] = $this->welcome; } return $res; } /** * @param array $map * * @return CreateGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['managerUserIds'])) { $model->managerUserIds = $map['managerUserIds']; } if (isset($map['memberQuota'])) { $model->memberQuota = $map['memberQuota']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['notice'])) { $model->notice = $map['notice']; } if (isset($map['noticeToped'])) { $model->noticeToped = $map['noticeToped']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['welcome'])) { $model->welcome = $map['welcome']; } return $model; } } src/crm_1_0/Models/CreateGroupSetResponse.php 0000644 00000002721 14713400346 0015126 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateGroupSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateGroupSetResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/CreateGroupSetResponseBody.php 0000644 00000014673 14713400346 0015755 0 ustar 00 'gmtCreate', 'gmtModified' => 'gmtModified', 'inviteLink' => 'inviteLink', 'lastOpenConversationId' => 'lastOpenConversationId', 'manager' => 'manager', 'managerUserIds' => 'managerUserIds', 'memberCount' => 'memberCount', 'memberQuota' => 'memberQuota', 'name' => 'name', 'notice' => 'notice', 'noticeToped' => 'noticeToped', 'openGroupSetId' => 'openGroupSetId', 'owner' => 'owner', 'ownerUserId' => 'ownerUserId', 'relationType' => 'relationType', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->inviteLink) { $res['inviteLink'] = $this->inviteLink; } if (null !== $this->lastOpenConversationId) { $res['lastOpenConversationId'] = $this->lastOpenConversationId; } if (null !== $this->manager) { $res['manager'] = []; if (null !== $this->manager && \is_array($this->manager)) { $n = 0; foreach ($this->manager as $item) { $res['manager'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->managerUserIds) { $res['managerUserIds'] = $this->managerUserIds; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->memberQuota) { $res['memberQuota'] = $this->memberQuota; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->notice) { $res['notice'] = $this->notice; } if (null !== $this->noticeToped) { $res['noticeToped'] = $this->noticeToped; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return CreateGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['inviteLink'])) { $model->inviteLink = $map['inviteLink']; } if (isset($map['lastOpenConversationId'])) { $model->lastOpenConversationId = $map['lastOpenConversationId']; } if (isset($map['manager'])) { if (!empty($map['manager'])) { $model->manager = []; $n = 0; foreach ($map['manager'] as $item) { $model->manager[$n++] = null !== $item ? manager::fromMap($item) : $item; } } } if (isset($map['managerUserIds'])) { $model->managerUserIds = $map['managerUserIds']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['memberQuota'])) { $model->memberQuota = $map['memberQuota']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['notice'])) { $model->notice = $map['notice']; } if (isset($map['noticeToped'])) { $model->noticeToped = $map['noticeToped']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/crm_1_0/Models/CreateGroupSetResponseBody/manager.php 0000644 00000002055 14713400346 0017356 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return manager */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/CreateGroupSetResponseBody/owner.php 0000644 00000002051 14713400346 0017072 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return owner */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/CreateRelationMetaHeaders.php 0000644 00000002337 14713400346 0015522 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateRelationMetaHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/CreateRelationMetaRequest.php 0000644 00000003512 14713400346 0015573 0 ustar 00 'operatorUserId', 'relationMetaDTO' => 'relationMetaDTO', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationMetaDTO) { $res['relationMetaDTO'] = null !== $this->relationMetaDTO ? $this->relationMetaDTO->toMap() : null; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return CreateRelationMetaRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationMetaDTO'])) { $model->relationMetaDTO = relationMetaDTO::fromMap($map['relationMetaDTO']); } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/CreateRelationMetaRequest/relationMetaDTO.php 0000644 00000004655 14713400346 0020577 0 ustar 00 'desc', 'items' => 'items', 'name' => 'name', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->items) { $res['items'] = []; if (null !== $this->items && \is_array($this->items)) { $n = 0; foreach ($this->items as $item) { $res['items'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return relationMetaDTO */ public static function fromMap($map = []) { $model = new self(); if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['items'])) { if (!empty($map['items'])) { $model->items = []; $n = 0; foreach ($map['items'] as $item) { $model->items[$n++] = null !== $item ? items::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/CreateRelationMetaRequest/relationMetaDTO/items.php 0000644 00000002620 14713400346 0021706 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/CreateRelationMetaRequest/relationMetaDTO/items/props.php 0000644 00000017567 14713400346 0023071 0 ustar 00 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'sortable' => 'sortable', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/crm_1_0/Models/CreateRelationMetaRequest/relationMetaDTO/items/props/options.php 0000644 00000002066 14713400346 0024550 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/CreateRelationMetaResponse.php 0000644 00000002741 14713400346 0015744 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateRelationMetaResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateRelationMetaResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/CreateRelationMetaResponseBody.php 0000644 00000001657 14713400346 0016567 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return CreateRelationMetaResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/DeleteCrmCustomObjectDataHeaders.php 0000644 00000002355 14713400346 0016772 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteCrmCustomObjectDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DeleteCrmCustomObjectDataRequest.php 0000644 00000001656 14713400346 0017052 0 ustar 00 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return DeleteCrmCustomObjectDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } src/crm_1_0/Models/DeleteCrmCustomObjectDataResponse.php 0000644 00000002775 14713400346 0017223 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteCrmCustomObjectDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteCrmCustomObjectDataResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DeleteCrmCustomObjectDataResponseBody.php 0000644 00000001712 14713400346 0020027 0 ustar 00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return DeleteCrmCustomObjectDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/crm_1_0/Models/DeleteCrmFormInstanceHeaders.php 0000644 00000002345 14713400346 0016166 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteCrmFormInstanceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DeleteCrmFormInstanceRequest.php 0000644 00000002602 14713400346 0016237 0 ustar 00 'currentOperatorUserId', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentOperatorUserId) { $res['currentOperatorUserId'] = $this->currentOperatorUserId; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return DeleteCrmFormInstanceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentOperatorUserId'])) { $model->currentOperatorUserId = $map['currentOperatorUserId']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/crm_1_0/Models/DeleteCrmFormInstanceResponse.php 0000644 00000002755 14713400346 0016416 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteCrmFormInstanceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteCrmFormInstanceResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DeleteCrmFormInstanceResponseBody.php 0000644 00000001616 14713400346 0017227 0 ustar 00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return DeleteCrmFormInstanceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/crm_1_0/Models/DeleteCrmPersonalCustomerHeaders.php 0000644 00000002355 14713400346 0017104 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteCrmPersonalCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DeleteCrmPersonalCustomerRequest.php 0000644 00000002521 14713400346 0017154 0 ustar 00 'currentOperatorUserId', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentOperatorUserId) { $res['currentOperatorUserId'] = $this->currentOperatorUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return DeleteCrmPersonalCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentOperatorUserId'])) { $model->currentOperatorUserId = $map['currentOperatorUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/DeleteCrmPersonalCustomerResponse.php 0000644 00000002775 14713400346 0017335 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteCrmPersonalCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteCrmPersonalCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DeleteCrmPersonalCustomerResponseBody.php 0000644 00000001653 14713400346 0020145 0 ustar 00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return DeleteCrmPersonalCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/crm_1_0/Models/DeleteLeadsHeaders.php 0000644 00000002321 14713400346 0014156 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteLeadsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DeleteLeadsRequest.php 0000644 00000001721 14713400346 0014236 0 ustar 00 'outLeadsIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outLeadsIds) { $res['outLeadsIds'] = $this->outLeadsIds; } return $res; } /** * @param array $map * * @return DeleteLeadsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outLeadsIds'])) { if (!empty($map['outLeadsIds'])) { $model->outLeadsIds = $map['outLeadsIds']; } } return $model; } } src/crm_1_0/Models/DeleteLeadsResponse.php 0000644 00000002705 14713400346 0014407 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteLeadsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteLeadsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DeleteLeadsResponseBody.php 0000644 00000001644 14713400346 0015226 0 ustar 00 'outLeadsIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->outLeadsIds) { $res['outLeadsIds'] = $this->outLeadsIds; } return $res; } /** * @param array $map * * @return DeleteLeadsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['outLeadsIds'])) { if (!empty($map['outLeadsIds'])) { $model->outLeadsIds = $map['outLeadsIds']; } } return $model; } } src/crm_1_0/Models/DeleteRelationMetaFieldHeaders.php 0000644 00000002351 14713400346 0016461 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeleteRelationMetaFieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DeleteRelationMetaFieldRequest.php 0000644 00000004103 14713400346 0016533 0 ustar 00 'fieldIdList', 'operatorUserId' => 'operatorUserId', 'relationType' => 'relationType', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldIdList) { $res['fieldIdList'] = $this->fieldIdList; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return DeleteRelationMetaFieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldIdList'])) { if (!empty($map['fieldIdList'])) { $model->fieldIdList = $map['fieldIdList']; } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/DeleteRelationMetaFieldResponse.php 0000644 00000002765 14713400346 0016715 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeleteRelationMetaFieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeleteRelationMetaFieldResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DeleteRelationMetaFieldResponseBody.php 0000644 00000001671 14713400346 0017526 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return DeleteRelationMetaFieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaHeaders.php 0000644 00000002405 14713400346 0021354 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DescribeCrmPersonalCustomerObjectMetaHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaRequest.php 0000644 00000001624 14713400346 0021433 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return DescribeCrmPersonalCustomerObjectMetaRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaResponse.php 0000644 00000003055 14713400346 0021601 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DescribeCrmPersonalCustomerObjectMetaResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DescribeCrmPersonalCustomerObjectMetaResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaResponseBody.php 0000644 00000005116 14713400346 0022417 0 ustar 00 'code', 'customized' => 'customized', 'fields' => 'fields', 'name' => 'name', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->customized) { $res['customized'] = $this->customized; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return DescribeCrmPersonalCustomerObjectMetaResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['customized'])) { $model->customized = $map['customized']; } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaResponseBody/fields.php 0000644 00000014234 14713400346 0023666 0 ustar 00 'customized', 'format' => 'format', 'label' => 'label', 'name' => 'name', 'nillable' => 'nillable', 'quote' => 'quote', 'referenceFields' => 'referenceFields', 'referenceTo' => 'referenceTo', 'rollUpSummaryFields' => 'rollUpSummaryFields', 'selectOptions' => 'selectOptions', 'type' => 'type', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customized) { $res['customized'] = $this->customized; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nillable) { $res['nillable'] = $this->nillable; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->referenceFields) { $res['referenceFields'] = []; if (null !== $this->referenceFields && \is_array($this->referenceFields)) { $n = 0; foreach ($this->referenceFields as $item) { $res['referenceFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->referenceTo) { $res['referenceTo'] = $this->referenceTo; } if (null !== $this->rollUpSummaryFields) { $res['rollUpSummaryFields'] = []; if (null !== $this->rollUpSummaryFields && \is_array($this->rollUpSummaryFields)) { $n = 0; foreach ($this->rollUpSummaryFields as $item) { $res['rollUpSummaryFields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->selectOptions) { $res['selectOptions'] = []; if (null !== $this->selectOptions && \is_array($this->selectOptions)) { $n = 0; foreach ($this->selectOptions as $item) { $res['selectOptions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customized'])) { $model->customized = $map['customized']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nillable'])) { $model->nillable = $map['nillable']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['referenceFields'])) { if (!empty($map['referenceFields'])) { $model->referenceFields = []; $n = 0; foreach ($map['referenceFields'] as $item) { $model->referenceFields[$n++] = null !== $item ? referenceFields::fromMap($item) : $item; } } } if (isset($map['referenceTo'])) { $model->referenceTo = $map['referenceTo']; } if (isset($map['rollUpSummaryFields'])) { if (!empty($map['rollUpSummaryFields'])) { $model->rollUpSummaryFields = []; $n = 0; foreach ($map['rollUpSummaryFields'] as $item) { $model->rollUpSummaryFields[$n++] = null !== $item ? rollUpSummaryFields::fromMap($item) : $item; } } } if (isset($map['selectOptions'])) { if (!empty($map['selectOptions'])) { $model->selectOptions = []; $n = 0; foreach ($map['selectOptions'] as $item) { $model->selectOptions[$n++] = null !== $item ? selectOptions::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaResponseBody/fields/referenceFields.php 0000644 00000006240 14713400346 0026751 0 ustar 00 'format', 'label' => 'label', 'name' => 'name', 'nillable' => 'nillable', 'selectOptions' => 'selectOptions', 'type' => 'type', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nillable) { $res['nillable'] = $this->nillable; } if (null !== $this->selectOptions) { $res['selectOptions'] = []; if (null !== $this->selectOptions && \is_array($this->selectOptions)) { $n = 0; foreach ($this->selectOptions as $item) { $res['selectOptions'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return referenceFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nillable'])) { $model->nillable = $map['nillable']; } if (isset($map['selectOptions'])) { if (!empty($map['selectOptions'])) { $model->selectOptions = []; $n = 0; foreach ($map['selectOptions'] as $item) { $model->selectOptions[$n++] = null !== $item ? selectOptions::fromMap($item) : $item; } } } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } Models/DescribeCrmPersonalCustomerObjectMetaResponseBody/fields/referenceFields/selectOptions.php 0000644 00000002125 14713400346 0031523 0 ustar 00 src/crm_1_0 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return selectOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaResponseBody/fields/rollUpSummaryFields.php 0000644 00000002371 14713400346 0027647 0 ustar 00 'aggregator', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->aggregator) { $res['aggregator'] = $this->aggregator; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return rollUpSummaryFields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['aggregator'])) { $model->aggregator = $map['aggregator']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/crm_1_0/Models/DescribeCrmPersonalCustomerObjectMetaResponseBody/fields/selectOptions.php 0000644 00000002105 14713400346 0026513 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return selectOptions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelHeaders.php 0000644 00000002335 14713400346 0015320 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DescribeMetaModelHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelRequest.php 0000644 00000003237 14713400346 0015377 0 ustar 00 'bizTypes', 'operatorUserId' => 'operatorUserId', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTypes) { $res['bizTypes'] = $this->bizTypes; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return DescribeMetaModelRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTypes'])) { if (!empty($map['bizTypes'])) { $model->bizTypes = $map['bizTypes']; } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponse.php 0000644 00000002735 14713400346 0015547 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DescribeMetaModelResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DescribeMetaModelResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody.php 0000644 00000003161 14713400346 0016357 0 ustar 00 'metaModelDTOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->metaModelDTOList) { $res['metaModelDTOList'] = []; if (null !== $this->metaModelDTOList && \is_array($this->metaModelDTOList)) { $n = 0; foreach ($this->metaModelDTOList as $item) { $res['metaModelDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DescribeMetaModelResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['metaModelDTOList'])) { if (!empty($map['metaModelDTOList'])) { $model->metaModelDTOList = []; $n = 0; foreach ($map['metaModelDTOList'] as $item) { $model->metaModelDTOList[$n++] = null !== $item ? metaModelDTOList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList.php 0000644 00000010774 14713400346 0021501 0 ustar 00 'creatorUserId', 'desc' => 'desc', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'items' => 'items', 'name' => 'name', 'relationMetaCode' => 'relationMetaCode', 'relationMetaStatus' => 'relationMetaStatus', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->items) { $res['items'] = []; if (null !== $this->items && \is_array($this->items)) { $n = 0; foreach ($this->items as $item) { $res['items'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relationMetaCode) { $res['relationMetaCode'] = $this->relationMetaCode; } if (null !== $this->relationMetaStatus) { $res['relationMetaStatus'] = $this->relationMetaStatus; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return metaModelDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['items'])) { if (!empty($map['items'])) { $model->items = []; $n = 0; foreach ($map['items'] as $item) { $model->items[$n++] = null !== $item ? items::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relationMetaCode'])) { $model->relationMetaCode = $map['relationMetaCode']; } if (isset($map['relationMetaStatus'])) { $model->relationMetaStatus = $map['relationMetaStatus']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items.php 0000644 00000004545 14713400346 0022621 0 ustar 00 'children', 'componentName' => 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->children) { $res['children'] = []; if (null !== $this->children && \is_array($this->children)) { $n = 0; foreach ($this->children as $item) { $res['children'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['children'])) { if (!empty($map['children'])) { $model->children = []; $n = 0; foreach ($map['children'] as $item) { $model->children[$n++] = null !== $item ? children::fromMap($item) : $item; } } } if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children.php 0000644 00000002657 14713400346 0024413 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return children */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props.php 0000644 00000045217 14713400346 0025555 0 ustar 00 'actionName', 'align' => 'align', 'availableTemplates' => 'availableTemplates', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'dataSource' => 'dataSource', 'defaultColor' => 'defaultColor', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'fields' => 'fields', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'multiple' => 'multiple', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'ratio' => 'ratio', 'relateSource' => 'relateSource', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'rule' => 'rule', 'sortable' => 'sortable', 'spread' => 'spread', 'statField' => 'statField', 'tableViewMode' => 'tableViewMode', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->availableTemplates) { $res['availableTemplates'] = []; if (null !== $this->availableTemplates && \is_array($this->availableTemplates)) { $n = 0; foreach ($this->availableTemplates as $item) { $res['availableTemplates'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->defaultColor) { $res['defaultColor'] = $this->defaultColor; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->multiple) { $res['multiple'] = $this->multiple; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->relateSource) { $res['relateSource'] = []; if (null !== $this->relateSource && \is_array($this->relateSource)) { $n = 0; foreach ($this->relateSource as $item) { $res['relateSource'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->rule) { $res['rule'] = []; if (null !== $this->rule && \is_array($this->rule)) { $n = 0; foreach ($this->rule as $item) { $res['rule'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->tableViewMode) { $res['tableViewMode'] = $this->tableViewMode; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['availableTemplates'])) { if (!empty($map['availableTemplates'])) { $model->availableTemplates = []; $n = 0; foreach ($map['availableTemplates'] as $item) { $model->availableTemplates[$n++] = null !== $item ? availableTemplates::fromMap($item) : $item; } } } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['defaultColor'])) { $model->defaultColor = $map['defaultColor']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['multiple'])) { $model->multiple = $map['multiple']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['relateSource'])) { if (!empty($map['relateSource'])) { $model->relateSource = []; $n = 0; foreach ($map['relateSource'] as $item) { $model->relateSource[$n++] = null !== $item ? relateSource::fromMap($item) : $item; } } } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['rule'])) { if (!empty($map['rule'])) { $model->rule = []; $n = 0; foreach ($map['rule'] as $item) { $model->rule[$n++] = null !== $item ? rule::fromMap($item) : $item; } } } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['tableViewMode'])) { $model->tableViewMode = $map['tableViewMode']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/availableTemplates.php 0000644 00000002230 14713400346 0031261 0 ustar 00 src/crm_1_0 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return availableTemplates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/dataSource.php 0000644 00000003615 14713400346 0027564 0 ustar 00 src 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/dataSource/params.php 0000644 00000003050 14713400346 0031040 0 ustar 00 src/crm_1_0 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/dataSource/params/filters.php 0000644 00000003670 14713400346 0032520 0 ustar 00 src/crm_1_0/Models 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/dataSource/target.php 0000644 00000003624 14713400346 0031052 0 ustar 00 src/crm_1_0 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/fields.php 0000644 00000003017 14713400346 0027013 0 ustar 00 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/fields/relateProps.php 0000644 00000027252 14713400346 0031243 0 ustar 00 src/crm_1_0 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'ratio' => 'ratio', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'spread' => 'spread', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/fields/relateProps/options.php 0000644 00000003410 14713400346 0032724 0 ustar 00 src/crm_1_0/Models 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } metaModelDTOList/items/children/props/fields/relateProps/options/extension.php 0000644 00000001720 14713400346 0034742 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/fields/relateProps/statField.php0000644 00000003537 14713400346 0033162 0 ustar 00 src/crm_1_0/Models 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/options.php 0000644 00000003342 14713400346 0027241 0 ustar 00 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/options/extension.php 0000644 00000001675 14713400346 0031205 0 ustar 00 src/crm_1_0 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/relateSource.php 0000644 00000004552 14713400346 0030130 0 ustar 00 src 'bizType', 'dataSource' => 'dataSource', 'fields' => 'fields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return relateSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } return $model; } } DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/relateSource/dataSource.php 0000644 00000003664 14713400346 0032225 0 ustar 00 src/crm_1_0/Models 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } metaModelDTOList/items/children/props/relateSource/dataSource/params.php 0000644 00000003102 14713400346 0033473 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } metaModelDTOList/items/children/props/relateSource/dataSource/params/filters.php 0000644 00000003705 14713400346 0035154 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } metaModelDTOList/items/children/props/relateSource/dataSource/target.php 0000644 00000003641 14713400346 0033506 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/relateSource/fields.php 0000644 00000003051 14713400346 0031367 0 ustar 00 src/crm_1_0 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } metaModelDTOList/items/children/props/relateSource/fields/relateProps.php 0000644 00000025331 14713400346 0033674 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'multi' => 'multi', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->multi) { $res['multi'] = $this->multi; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['multi'])) { $model->multi = $map['multi']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } return $model; } } metaModelDTOList/items/children/props/relateSource/fields/relateProps/options.php 0000644 00000002322 14713400346 0035362 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } metaModelDTOList/items/children/props/relateSource/fields/relateProps/statField.php 0000644 00000003554 14713400346 0035616 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/rule.php 0000644 00000002264 14713400346 0026517 0 ustar 00 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return rule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/children/props/statField.php0000644 00000003514 14713400346 0027466 0 ustar 00 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props.php 0000644 00000052657 14713400346 0023773 0 ustar 00 'actionName', 'align' => 'align', 'availableTemplates' => 'availableTemplates', 'behaviorLinkage' => 'behaviorLinkage', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'dataSource' => 'dataSource', 'defaultColor' => 'defaultColor', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'fields' => 'fields', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'multi' => 'multi', 'multiple' => 'multiple', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'ratio' => 'ratio', 'relateSource' => 'relateSource', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'rule' => 'rule', 'sortable' => 'sortable', 'spread' => 'spread', 'statField' => 'statField', 'tableViewMode' => 'tableViewMode', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->availableTemplates) { $res['availableTemplates'] = []; if (null !== $this->availableTemplates && \is_array($this->availableTemplates)) { $n = 0; foreach ($this->availableTemplates as $item) { $res['availableTemplates'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->behaviorLinkage) { $res['behaviorLinkage'] = []; if (null !== $this->behaviorLinkage && \is_array($this->behaviorLinkage)) { $n = 0; foreach ($this->behaviorLinkage as $item) { $res['behaviorLinkage'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->defaultColor) { $res['defaultColor'] = $this->defaultColor; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->multi) { $res['multi'] = $this->multi; } if (null !== $this->multiple) { $res['multiple'] = $this->multiple; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->relateSource) { $res['relateSource'] = []; if (null !== $this->relateSource && \is_array($this->relateSource)) { $n = 0; foreach ($this->relateSource as $item) { $res['relateSource'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->rule) { $res['rule'] = []; if (null !== $this->rule && \is_array($this->rule)) { $n = 0; foreach ($this->rule as $item) { $res['rule'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->tableViewMode) { $res['tableViewMode'] = $this->tableViewMode; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['availableTemplates'])) { if (!empty($map['availableTemplates'])) { $model->availableTemplates = []; $n = 0; foreach ($map['availableTemplates'] as $item) { $model->availableTemplates[$n++] = null !== $item ? availableTemplates::fromMap($item) : $item; } } } if (isset($map['behaviorLinkage'])) { if (!empty($map['behaviorLinkage'])) { $model->behaviorLinkage = []; $n = 0; foreach ($map['behaviorLinkage'] as $item) { $model->behaviorLinkage[$n++] = null !== $item ? behaviorLinkage::fromMap($item) : $item; } } } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['defaultColor'])) { $model->defaultColor = $map['defaultColor']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['multi'])) { $model->multi = $map['multi']; } if (isset($map['multiple'])) { $model->multiple = $map['multiple']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['relateSource'])) { if (!empty($map['relateSource'])) { $model->relateSource = []; $n = 0; foreach ($map['relateSource'] as $item) { $model->relateSource[$n++] = null !== $item ? relateSource::fromMap($item) : $item; } } } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['rule'])) { if (!empty($map['rule'])) { $model->rule = []; $n = 0; foreach ($map['rule'] as $item) { $model->rule[$n++] = null !== $item ? rule::fromMap($item) : $item; } } } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['tableViewMode'])) { $model->tableViewMode = $map['tableViewMode']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/availableTemplates.php0000644 00000002217 14713400346 0027555 0 ustar 00 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return availableTemplates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/behaviorLinkage.php 0000644 00000003457 14713400346 0027057 0 ustar 00 'optionKey', 'targets' => 'targets', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->optionKey) { $res['optionKey'] = $this->optionKey; } if (null !== $this->targets) { $res['targets'] = []; if (null !== $this->targets && \is_array($this->targets)) { $n = 0; foreach ($this->targets as $item) { $res['targets'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return behaviorLinkage */ public static function fromMap($map = []) { $model = new self(); if (isset($map['optionKey'])) { $model->optionKey = $map['optionKey']; } if (isset($map['targets'])) { if (!empty($map['targets'])) { $model->targets = []; $n = 0; foreach ($map['targets'] as $item) { $model->targets[$n++] = null !== $item ? targets::fromMap($item) : $item; } } } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/behaviorLinkage/targets.php 0000644 00000002326 14713400346 0030443 0 ustar 00 src/crm_1_0 'behavior', 'fieldId' => 'fieldId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->behavior) { $res['behavior'] = $this->behavior; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } return $res; } /** * @param array $map * * @return targets */ public static function fromMap($map = []) { $model = new self(); if (isset($map['behavior'])) { $model->behavior = $map['behavior']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/dataSource.php 0000644 00000003404 14713400346 0026047 0 ustar 00 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/dataSource/params.php 0000644 00000003026 14713400346 0027332 0 ustar 00 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/dataSource/params/filters.php 0000644 00000003657 14713400346 0030735 0 ustar 00 src/crm_1_0 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/dataSource/target.php 0000644 00000003347 14713400346 0027343 0 ustar 00 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/fields.php 0000644 00000002775 14713400346 0025235 0 ustar 00 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/fields/relateProps.php0000644 00000030047 14713400346 0027526 0 ustar 00 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'ratio' => 'ratio', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'spread' => 'spread', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/fields/relateProps/options.php 0000644 00000003366 14713400346 0031146 0 ustar 00 src/crm_1_0 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } DescribeMetaModelResponseBody/metaModelDTOList/items/props/fields/relateProps/options/extension.php 0000644 00000001707 14713400346 0033157 0 ustar 00 src/crm_1_0/Models 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/fields/relateProps/statField.php 0000644 00000003526 14713400346 0031370 0 ustar 00 src/crm_1_0 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/options.php 0000644 00000004006 14713400346 0025447 0 ustar 00 'extension', 'key' => 'key', 'value' => 'value', 'warn' => 'warn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->warn) { $res['warn'] = $this->warn; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['warn'])) { $model->warn = $map['warn']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/options/extension.php 0000644 00000001664 14713400346 0027472 0 ustar 00 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/relateSource.php 0000644 00000004517 14713400346 0026420 0 ustar 00 'bizType', 'dataSource' => 'dataSource', 'fields' => 'fields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return relateSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/relateSource/dataSource.php 0000644 00000003631 14713400346 0030427 0 ustar 00 src/crm_1_0 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/relateSource/dataSource/params.php0000644 00000003060 14713400346 0031706 0 ustar 00 src/crm_1_0 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } metaModelDTOList/items/props/relateSource/dataSource/params/filters.php 0000644 00000003674 14713400346 0033371 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/relateSource/dataSource/target.php0000644 00000003630 14713400346 0031714 0 ustar 00 src/crm_1_0 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/relateSource/fields.php 0000644 00000003027 14713400346 0027602 0 ustar 00 src 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } DescribeMetaModelResponseBody/metaModelDTOList/items/props/relateSource/fields/relateProps.php 0000644 00000025276 14713400346 0032114 0 ustar 00 src/crm_1_0/Models 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'multi' => 'multi', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->multi) { $res['multi'] = $this->multi; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['multi'])) { $model->multi = $map['multi']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } return $model; } } metaModelDTOList/items/props/relateSource/fields/relateProps/options.php 0000644 00000003420 14713400346 0033572 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } metaModelDTOList/items/props/relateSource/fields/relateProps/options/extension.php 0000644 00000001724 14713400346 0035613 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } metaModelDTOList/items/props/relateSource/fields/relateProps/statField.php 0000644 00000003543 14713400346 0034024 0 ustar 00 src/crm_1_0/Models/DescribeMetaModelResponseBody 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/rule.php 0000644 00000002253 14713400346 0024725 0 ustar 00 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return rule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/DescribeMetaModelResponseBody/metaModelDTOList/items/props/statField.php 0000644 00000003503 14713400346 0025674 0 ustar 00 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaHeaders.php 0000644 00000002343 14713400346 0016034 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DescribeRelationMetaHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaRequest.php 0000644 00000003322 14713400346 0016107 0 ustar 00 'operatorUserId', 'relationTypes' => 'relationTypes', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationTypes) { $res['relationTypes'] = $this->relationTypes; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return DescribeRelationMetaRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationTypes'])) { if (!empty($map['relationTypes'])) { $model->relationTypes = $map['relationTypes']; } } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponse.php 0000644 00000002751 14713400346 0016262 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DescribeRelationMetaResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DescribeRelationMetaResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody.php 0000644 00000003260 14713400346 0017074 0 ustar 00 'relationMetaDTOList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationMetaDTOList) { $res['relationMetaDTOList'] = []; if (null !== $this->relationMetaDTOList && \is_array($this->relationMetaDTOList)) { $n = 0; foreach ($this->relationMetaDTOList as $item) { $res['relationMetaDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return DescribeRelationMetaResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationMetaDTOList'])) { if (!empty($map['relationMetaDTOList'])) { $model->relationMetaDTOList = []; $n = 0; foreach ($map['relationMetaDTOList'] as $item) { $model->relationMetaDTOList[$n++] = null !== $item ? relationMetaDTOList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList.php 0000644 00000011013 14713400346 0022716 0 ustar 00 'creatorUserId', 'desc' => 'desc', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'items' => 'items', 'name' => 'name', 'relationMetaCode' => 'relationMetaCode', 'relationMetaStatus' => 'relationMetaStatus', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->desc) { $res['desc'] = $this->desc; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->items) { $res['items'] = []; if (null !== $this->items && \is_array($this->items)) { $n = 0; foreach ($this->items as $item) { $res['items'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->relationMetaCode) { $res['relationMetaCode'] = $this->relationMetaCode; } if (null !== $this->relationMetaStatus) { $res['relationMetaStatus'] = $this->relationMetaStatus; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return relationMetaDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['desc'])) { $model->desc = $map['desc']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['items'])) { if (!empty($map['items'])) { $model->items = []; $n = 0; foreach ($map['items'] as $item) { $model->items[$n++] = null !== $item ? items::fromMap($item) : $item; } } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['relationMetaCode'])) { $model->relationMetaCode = $map['relationMetaCode']; } if (isset($map['relationMetaStatus'])) { $model->relationMetaStatus = $map['relationMetaStatus']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items.php 0000644 00000004567 14713400346 0024057 0 ustar 00 'children', 'componentName' => 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->children) { $res['children'] = []; if (null !== $this->children && \is_array($this->children)) { $n = 0; foreach ($this->children as $item) { $res['children'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return items */ public static function fromMap($map = []) { $model = new self(); if (isset($map['children'])) { if (!empty($map['children'])) { $model->children = []; $n = 0; foreach ($map['children'] as $item) { $model->children[$n++] = null !== $item ? children::fromMap($item) : $item; } } } if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children.php 0000644 00000002673 14713400346 0025643 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return children */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props.php 0000644 00000045277 14713400346 0027015 0 ustar 00 'actionName', 'align' => 'align', 'availableTemplates' => 'availableTemplates', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'dataSource' => 'dataSource', 'defaultColor' => 'defaultColor', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'fields' => 'fields', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'multiple' => 'multiple', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'ratio' => 'ratio', 'relateSource' => 'relateSource', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'rule' => 'rule', 'sortable' => 'sortable', 'spread' => 'spread', 'statField' => 'statField', 'tableViewMode' => 'tableViewMode', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->availableTemplates) { $res['availableTemplates'] = []; if (null !== $this->availableTemplates && \is_array($this->availableTemplates)) { $n = 0; foreach ($this->availableTemplates as $item) { $res['availableTemplates'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->defaultColor) { $res['defaultColor'] = $this->defaultColor; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->multiple) { $res['multiple'] = $this->multiple; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->relateSource) { $res['relateSource'] = []; if (null !== $this->relateSource && \is_array($this->relateSource)) { $n = 0; foreach ($this->relateSource as $item) { $res['relateSource'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->rule) { $res['rule'] = []; if (null !== $this->rule && \is_array($this->rule)) { $n = 0; foreach ($this->rule as $item) { $res['rule'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->tableViewMode) { $res['tableViewMode'] = $this->tableViewMode; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['availableTemplates'])) { if (!empty($map['availableTemplates'])) { $model->availableTemplates = []; $n = 0; foreach ($map['availableTemplates'] as $item) { $model->availableTemplates[$n++] = null !== $item ? availableTemplates::fromMap($item) : $item; } } } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['defaultColor'])) { $model->defaultColor = $map['defaultColor']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['multiple'])) { $model->multiple = $map['multiple']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['relateSource'])) { if (!empty($map['relateSource'])) { $model->relateSource = []; $n = 0; foreach ($map['relateSource'] as $item) { $model->relateSource[$n++] = null !== $item ? relateSource::fromMap($item) : $item; } } } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['rule'])) { if (!empty($map['rule'])) { $model->rule = []; $n = 0; foreach ($map['rule'] as $item) { $model->rule[$n++] = null !== $item ? rule::fromMap($item) : $item; } } } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['tableViewMode'])) { $model->tableViewMode = $map['tableViewMode']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/availableTemplates.php 0000644 00000002236 14713400346 0032521 0 ustar 00 src/crm_1_0/Models 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return availableTemplates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/dataSource.php 0000644 00000003637 14713400346 0031022 0 ustar 00 src/crm_1_0 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/dataSource/params.php 0000644 00000003064 14713400346 0032277 0 ustar 00 src/crm_1_0/Models 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } relationMetaDTOList/items/children/props/dataSource/params/filters.php 0000644 00000003676 14713400346 0033760 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/dataSource/target.php 0000644 00000003632 14713400346 0032303 0 ustar 00 src/crm_1_0/Models 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/fields.php 0000644 00000003033 14713400346 0030164 0 ustar 00 src 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/fields/relateProps.php 0000644 00000027274 14713400346 0032501 0 ustar 00 src/crm_1_0/Models 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'ratio' => 'ratio', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'spread' => 'spread', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } relationMetaDTOList/items/children/props/fields/relateProps/options.php 0000644 00000003424 14713400346 0034163 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } relationMetaDTOList/items/children/props/fields/relateProps/options/extension.php 0000644 00000001726 14713400346 0036202 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } relationMetaDTOList/items/children/props/fields/relateProps/statField.php 0000644 00000003545 14713400346 0034413 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/options.php0000644 00000003356 14713400346 0030421 0 ustar 00 src 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/options/extension.php 0000644 00000001703 14713400346 0032427 0 ustar 00 src/crm_1_0/Models 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/relateSource.php 0000644 00000004574 14713400346 0031366 0 ustar 00 src/crm_1_0 'bizType', 'dataSource' => 'dataSource', 'fields' => 'fields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return relateSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } return $model; } } relationMetaDTOList/items/children/props/relateSource/dataSource.php 0000644 00000003706 14713400346 0033454 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } relationMetaDTOList/items/children/props/relateSource/dataSource/params.php 0000644 00000003116 14713400346 0034732 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } relationMetaDTOList/items/children/props/relateSource/dataSource/params/filters.php 0000644 00000003713 14713400346 0036405 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } relationMetaDTOList/items/children/props/relateSource/dataSource/target.php 0000644 00000003647 14713400346 0034746 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/relateSource/fields.php 0000644 00000003065 14713400346 0032626 0 ustar 00 src/crm_1_0/Models 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } relationMetaDTOList/items/children/props/relateSource/fields/relateProps.php 0000644 00000025353 14713400346 0035132 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'multi' => 'multi', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->multi) { $res['multi'] = $this->multi; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['multi'])) { $model->multi = $map['multi']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } return $model; } } relationMetaDTOList/items/children/props/relateSource/fields/relateProps/options.php 0000644 00000002330 14713400346 0036613 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } relationMetaDTOList/items/children/props/relateSource/fields/relateProps/statField.php 0000644 00000003562 14713400346 0037047 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/rule.php 0000644 00000002272 14713400346 0027671 0 ustar 00 src 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return rule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/children/props/statField.php 0000644 00000003522 14713400346 0030640 0 ustar 00 src/crm_1_0 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props.php 0000644 00000052745 14713400346 0025223 0 ustar 00 'actionName', 'align' => 'align', 'availableTemplates' => 'availableTemplates', 'behaviorLinkage' => 'behaviorLinkage', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'dataSource' => 'dataSource', 'defaultColor' => 'defaultColor', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'fields' => 'fields', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'multi' => 'multi', 'multiple' => 'multiple', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'ratio' => 'ratio', 'relateSource' => 'relateSource', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'rule' => 'rule', 'sortable' => 'sortable', 'spread' => 'spread', 'statField' => 'statField', 'tableViewMode' => 'tableViewMode', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionName) { $res['actionName'] = $this->actionName; } if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->availableTemplates) { $res['availableTemplates'] = []; if (null !== $this->availableTemplates && \is_array($this->availableTemplates)) { $n = 0; foreach ($this->availableTemplates as $item) { $res['availableTemplates'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->behaviorLinkage) { $res['behaviorLinkage'] = []; if (null !== $this->behaviorLinkage && \is_array($this->behaviorLinkage)) { $n = 0; foreach ($this->behaviorLinkage as $item) { $res['behaviorLinkage'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->defaultColor) { $res['defaultColor'] = $this->defaultColor; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->multi) { $res['multi'] = $this->multi; } if (null !== $this->multiple) { $res['multiple'] = $this->multiple; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->relateSource) { $res['relateSource'] = []; if (null !== $this->relateSource && \is_array($this->relateSource)) { $n = 0; foreach ($this->relateSource as $item) { $res['relateSource'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->rule) { $res['rule'] = []; if (null !== $this->rule && \is_array($this->rule)) { $n = 0; foreach ($this->rule as $item) { $res['rule'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->tableViewMode) { $res['tableViewMode'] = $this->tableViewMode; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionName'])) { $model->actionName = $map['actionName']; } if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['availableTemplates'])) { if (!empty($map['availableTemplates'])) { $model->availableTemplates = []; $n = 0; foreach ($map['availableTemplates'] as $item) { $model->availableTemplates[$n++] = null !== $item ? availableTemplates::fromMap($item) : $item; } } } if (isset($map['behaviorLinkage'])) { if (!empty($map['behaviorLinkage'])) { $model->behaviorLinkage = []; $n = 0; foreach ($map['behaviorLinkage'] as $item) { $model->behaviorLinkage[$n++] = null !== $item ? behaviorLinkage::fromMap($item) : $item; } } } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['defaultColor'])) { $model->defaultColor = $map['defaultColor']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['multi'])) { $model->multi = $map['multi']; } if (isset($map['multiple'])) { $model->multiple = $map['multiple']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['relateSource'])) { if (!empty($map['relateSource'])) { $model->relateSource = []; $n = 0; foreach ($map['relateSource'] as $item) { $model->relateSource[$n++] = null !== $item ? relateSource::fromMap($item) : $item; } } } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['rule'])) { if (!empty($map['rule'])) { $model->rule = []; $n = 0; foreach ($map['rule'] as $item) { $model->rule[$n++] = null !== $item ? rule::fromMap($item) : $item; } } } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['tableViewMode'])) { $model->tableViewMode = $map['tableViewMode']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/availableTemplates.php 0000644 00000002225 14713400346 0030727 0 ustar 00 src/crm_1_0 'id', 'name' => 'name', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } return $res; } /** * @param array $map * * @return availableTemplates */ public static function fromMap($map = []) { $model = new self(); if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } return $model; } } crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/behaviorLinkage.php 0000644 00000003473 14713400346 0030230 0 ustar 00 src 'optionKey', 'targets' => 'targets', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->optionKey) { $res['optionKey'] = $this->optionKey; } if (null !== $this->targets) { $res['targets'] = []; if (null !== $this->targets && \is_array($this->targets)) { $n = 0; foreach ($this->targets as $item) { $res['targets'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return behaviorLinkage */ public static function fromMap($map = []) { $model = new self(); if (isset($map['optionKey'])) { $model->optionKey = $map['optionKey']; } if (isset($map['targets'])) { if (!empty($map['targets'])) { $model->targets = []; $n = 0; foreach ($map['targets'] as $item) { $model->targets[$n++] = null !== $item ? targets::fromMap($item) : $item; } } } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/behaviorLinkage/targets.php 0000644 00000002334 14713400346 0031674 0 ustar 00 src/crm_1_0 'behavior', 'fieldId' => 'fieldId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->behavior) { $res['behavior'] = $this->behavior; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } return $res; } /** * @param array $map * * @return targets */ public static function fromMap($map = []) { $model = new self(); if (isset($map['behavior'])) { $model->behavior = $map['behavior']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/dataSource.php 0000644 00000003426 14713400346 0027305 0 ustar 00 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/dataSource/params.php 0000644 00000003042 14713400346 0030503 0 ustar 00 src/crm_1_0 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/dataSource/params/filters.php 0000644 00000003665 14713400346 0032166 0 ustar 00 src/crm_1_0/Models 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/dataSource/target.php 0000644 00000003355 14713400346 0030515 0 ustar 00 src/crm_1_0 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/fields.php 0000644 00000003011 14713400346 0026447 0 ustar 00 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/fields/relateProps.php 0000644 00000030071 14713400346 0030676 0 ustar 00 src/crm_1_0 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'durationLabel' => 'durationLabel', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'limit' => 'limit', 'link' => 'link', 'mode' => 'mode', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'ratio' => 'ratio', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'spread' => 'spread', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', 'watermark' => 'watermark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->durationLabel) { $res['durationLabel'] = $this->durationLabel; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->limit) { $res['limit'] = $this->limit; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->mode) { $res['mode'] = $this->mode; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->ratio) { $res['ratio'] = $this->ratio; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->spread) { $res['spread'] = $this->spread; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } if (null !== $this->watermark) { $res['watermark'] = $this->watermark; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['durationLabel'])) { $model->durationLabel = $map['durationLabel']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['limit'])) { $model->limit = $map['limit']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['mode'])) { $model->mode = $map['mode']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['ratio'])) { $model->ratio = $map['ratio']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['spread'])) { $model->spread = $map['spread']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } if (isset($map['watermark'])) { $model->watermark = $map['watermark']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/fields/relateProps/options.php 0000644 00000003402 14713400346 0032367 0 ustar 00 src/crm_1_0/Models 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } relationMetaDTOList/items/props/fields/relateProps/options/extension.php 0000644 00000001715 14713400346 0034410 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/fields/relateProps/statField.php 0000644 00000003534 14713400346 0032621 0 ustar 00 src/crm_1_0/Models 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/options.php 0000644 00000004022 14713400346 0026677 0 ustar 00 'extension', 'key' => 'key', 'value' => 'value', 'warn' => 'warn', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->warn) { $res['warn'] = $this->warn; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['warn'])) { $model->warn = $map['warn']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/options/extension.php 0000644 00000001672 14713400346 0030644 0 ustar 00 src/crm_1_0 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/relateSource.php0000644 00000004541 14713400346 0027647 0 ustar 00 'bizType', 'dataSource' => 'dataSource', 'fields' => 'fields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->dataSource) { $res['dataSource'] = null !== $this->dataSource ? $this->dataSource->toMap() : null; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return relateSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['dataSource'])) { $model->dataSource = dataSource::fromMap($map['dataSource']); } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/relateSource/dataSource.php 0000644 00000003653 14713400346 0031665 0 ustar 00 src/crm_1_0 'params', 'target' => 'target', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->params) { $res['params'] = null !== $this->params ? $this->params->toMap() : null; } if (null !== $this->target) { $res['target'] = null !== $this->target ? $this->target->toMap() : null; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return dataSource */ public static function fromMap($map = []) { $model = new self(); if (isset($map['params'])) { $model->params = params::fromMap($map['params']); } if (isset($map['target'])) { $model->target = target::fromMap($map['target']); } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/relateSource/dataSource/params.php 0000644 00000003074 14713400346 0033145 0 ustar 00 src/crm_1_0/Models 'filters', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return params */ public static function fromMap($map = []) { $model = new self(); if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } return $model; } } relationMetaDTOList/items/props/relateSource/dataSource/params/filters.php 0000644 00000003702 14713400346 0034613 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'fieldId', 'filterType' => 'filterType', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->filterType) { $res['filterType'] = $this->filterType; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['filterType'])) { $model->filterType = $map['filterType']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/relateSource/dataSource/target.php 0000644 00000003636 14713400346 0033154 0 ustar 00 src/crm_1_0/Models 'appType', 'appUuid' => 'appUuid', 'bizType' => 'bizType', 'formCode' => 'formCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appType) { $res['appType'] = $this->appType; } if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } return $res; } /** * @param array $map * * @return target */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appType'])) { $model->appType = $map['appType']; } if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } return $model; } } Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/relateSource/fields.php 0000644 00000003043 14713400346 0031032 0 ustar 00 src/crm_1_0 'componentName', 'relateProps' => 'relateProps', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->relateProps) { $res['relateProps'] = null !== $this->relateProps ? $this->relateProps->toMap() : null; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['relateProps'])) { $model->relateProps = relateProps::fromMap($map['relateProps']); } return $model; } } DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/relateSource/fields/relateProps.php0000644 00000025320 14713400346 0033334 0 ustar 00 src/crm_1_0/Models 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'formula' => 'formula', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'multi' => 'multi', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'quote' => 'quote', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'statField' => 'statField', 'unit' => 'unit', 'verticalPrint' => 'verticalPrint', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->formula) { $res['formula'] = $this->formula; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->multi) { $res['multi'] = $this->multi; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->quote) { $res['quote'] = $this->quote; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->statField) { $res['statField'] = []; if (null !== $this->statField && \is_array($this->statField)) { $n = 0; foreach ($this->statField as $item) { $res['statField'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->verticalPrint) { $res['verticalPrint'] = $this->verticalPrint; } return $res; } /** * @param array $map * * @return relateProps */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['formula'])) { $model->formula = $map['formula']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['multi'])) { $model->multi = $map['multi']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['quote'])) { $model->quote = $map['quote']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['statField'])) { if (!empty($map['statField'])) { $model->statField = []; $n = 0; foreach ($map['statField'] as $item) { $model->statField[$n++] = null !== $item ? statField::fromMap($item) : $item; } } } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['verticalPrint'])) { $model->verticalPrint = $map['verticalPrint']; } return $model; } } relationMetaDTOList/items/props/relateSource/fields/relateProps/options.php 0000644 00000003434 14713400346 0035031 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'extension', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extension) { $res['extension'] = null !== $this->extension ? $this->extension->toMap() : null; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extension'])) { $model->extension = extension::fromMap($map['extension']); } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } relationMetaDTOList/items/props/relateSource/fields/relateProps/options/extension.php 0000644 00000001732 14713400346 0037044 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'editFreeze', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->editFreeze) { $res['editFreeze'] = $this->editFreeze; } return $res; } /** * @param array $map * * @return extension */ public static function fromMap($map = []) { $model = new self(); if (isset($map['editFreeze'])) { $model->editFreeze = $map['editFreeze']; } return $model; } } relationMetaDTOList/items/props/relateSource/fields/relateProps/statField.php 0000644 00000003551 14713400346 0035255 0 ustar 00 src/crm_1_0/Models/DescribeRelationMetaResponseBody 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/rule.php 0000644 00000002261 14713400346 0026156 0 ustar 00 'type', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return rule */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/DescribeRelationMetaResponseBody/relationMetaDTOList/items/props/statField.php 0000644 00000003511 14713400346 0027125 0 ustar 00 'fieldId', 'label' => 'label', 'unit' => 'unit', 'upper' => 'upper', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->unit) { $res['unit'] = $this->unit; } if (null !== $this->upper) { $res['upper'] = $this->upper; } return $res; } /** * @param array $map * * @return statField */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } if (isset($map['upper'])) { $model->upper = $map['upper']; } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsHeaders.php 0000644 00000002367 14713400346 0020052 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return FindTargetRelatedFollowRecordsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsRequest.php 0000644 00000004252 14713400346 0020122 0 ustar 00 'followTargetDataId', 'followTargetType' => 'followTargetType', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->followTargetDataId) { $res['followTargetDataId'] = $this->followTargetDataId; } if (null !== $this->followTargetType) { $res['followTargetType'] = $this->followTargetType; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return FindTargetRelatedFollowRecordsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['followTargetDataId'])) { $model->followTargetDataId = $map['followTargetDataId']; } if (isset($map['followTargetType'])) { $model->followTargetType = $map['followTargetType']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsResponse.php 0000644 00000003021 14713400346 0020261 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return FindTargetRelatedFollowRecordsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = FindTargetRelatedFollowRecordsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsResponseBody.php 0000644 00000001765 14713400346 0021114 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return FindTargetRelatedFollowRecordsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsResponseBody/result.php 0000644 00000004131 14713400346 0022420 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'resultList' => 'resultList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->resultList) { $res['resultList'] = []; if (null !== $this->resultList && \is_array($this->resultList)) { $n = 0; foreach ($this->resultList as $item) { $res['resultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['resultList'])) { if (!empty($map['resultList'])) { $model->resultList = []; $n = 0; foreach ($map['resultList'] as $item) { $model->resultList[$n++] = null !== $item ? resultList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsResponseBody/result/resultList.php 0000644 00000010657 14713400346 0024604 0 ustar 00 'creatorUserId', 'followContent' => 'followContent', 'followTargetDataId' => 'followTargetDataId', 'followTargetType' => 'followTargetType', 'gmtCreateMilliseconds' => 'gmtCreateMilliseconds', 'gmtModifiedMilliseconds' => 'gmtModifiedMilliseconds', 'modifierUserId' => 'modifierUserId', 'recordInstId' => 'recordInstId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->followContent) { $res['followContent'] = []; if (null !== $this->followContent && \is_array($this->followContent)) { $n = 0; foreach ($this->followContent as $item) { $res['followContent'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->followTargetDataId) { $res['followTargetDataId'] = $this->followTargetDataId; } if (null !== $this->followTargetType) { $res['followTargetType'] = $this->followTargetType; } if (null !== $this->gmtCreateMilliseconds) { $res['gmtCreateMilliseconds'] = $this->gmtCreateMilliseconds; } if (null !== $this->gmtModifiedMilliseconds) { $res['gmtModifiedMilliseconds'] = $this->gmtModifiedMilliseconds; } if (null !== $this->modifierUserId) { $res['modifierUserId'] = $this->modifierUserId; } if (null !== $this->recordInstId) { $res['recordInstId'] = $this->recordInstId; } return $res; } /** * @param array $map * * @return resultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['followContent'])) { if (!empty($map['followContent'])) { $model->followContent = []; $n = 0; foreach ($map['followContent'] as $item) { $model->followContent[$n++] = null !== $item ? followContent::fromMap($item) : $item; } } } if (isset($map['followTargetDataId'])) { $model->followTargetDataId = $map['followTargetDataId']; } if (isset($map['followTargetType'])) { $model->followTargetType = $map['followTargetType']; } if (isset($map['gmtCreateMilliseconds'])) { $model->gmtCreateMilliseconds = $map['gmtCreateMilliseconds']; } if (isset($map['gmtModifiedMilliseconds'])) { $model->gmtModifiedMilliseconds = $map['gmtModifiedMilliseconds']; } if (isset($map['modifierUserId'])) { $model->modifierUserId = $map['modifierUserId']; } if (isset($map['recordInstId'])) { $model->recordInstId = $map['recordInstId']; } return $model; } } src/crm_1_0/Models/FindTargetRelatedFollowRecordsResponseBody/result/resultList/followContent.php 0000644 00000003535 14713400346 0027436 0 ustar 00 'bizAlias', 'extendValue' => 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return followContent */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/GetAllCustomerRecyclesHeaders.php 0000644 00000002347 14713400346 0016377 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAllCustomerRecyclesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetAllCustomerRecyclesRequest.php 0000644 00000002245 14713400346 0016451 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetAllCustomerRecyclesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/crm_1_0/Models/GetAllCustomerRecyclesResponse.php 0000644 00000002761 14713400346 0016622 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAllCustomerRecyclesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAllCustomerRecyclesResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetAllCustomerRecyclesResponseBody.php 0000644 00000004337 14713400346 0017441 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'resultList' => 'resultList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->resultList) { $res['resultList'] = []; if (null !== $this->resultList && \is_array($this->resultList)) { $n = 0; foreach ($this->resultList as $item) { $res['resultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetAllCustomerRecyclesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['resultList'])) { if (!empty($map['resultList'])) { $model->resultList = []; $n = 0; foreach ($map['resultList'] as $item) { $model->resultList[$n++] = null !== $item ? resultList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetAllCustomerRecyclesResponseBody/resultList.php 0000644 00000005307 14713400346 0021611 0 ustar 00 'customerId', 'followUpActionTime' => 'followUpActionTime', 'isDeleted' => 'isDeleted', 'notifyTime' => 'notifyTime', 'recycleRuleId' => 'recycleRuleId', 'recycleTime' => 'recycleTime', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerId) { $res['customerId'] = $this->customerId; } if (null !== $this->followUpActionTime) { $res['followUpActionTime'] = $this->followUpActionTime; } if (null !== $this->isDeleted) { $res['isDeleted'] = $this->isDeleted; } if (null !== $this->notifyTime) { $res['notifyTime'] = $this->notifyTime; } if (null !== $this->recycleRuleId) { $res['recycleRuleId'] = $this->recycleRuleId; } if (null !== $this->recycleTime) { $res['recycleTime'] = $this->recycleTime; } return $res; } /** * @param array $map * * @return resultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerId'])) { $model->customerId = $map['customerId']; } if (isset($map['followUpActionTime'])) { $model->followUpActionTime = $map['followUpActionTime']; } if (isset($map['isDeleted'])) { $model->isDeleted = $map['isDeleted']; } if (isset($map['notifyTime'])) { $model->notifyTime = $map['notifyTime']; } if (isset($map['recycleRuleId'])) { $model->recycleRuleId = $map['recycleRuleId']; } if (isset($map['recycleTime'])) { $model->recycleTime = $map['recycleTime']; } return $model; } } src/crm_1_0/Models/GetContactsHeaders.php 0000644 00000002321 14713400346 0014221 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetContactsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetContactsRequest.php 0000644 00000005527 14713400346 0014311 0 ustar 00 'currentOperatorUserId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'objectType' => 'objectType', 'providerCorpId' => 'providerCorpId', 'queryDsl' => 'queryDsl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentOperatorUserId) { $res['currentOperatorUserId'] = $this->currentOperatorUserId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->providerCorpId) { $res['providerCorpId'] = $this->providerCorpId; } if (null !== $this->queryDsl) { $res['queryDsl'] = $this->queryDsl; } return $res; } /** * @param array $map * * @return GetContactsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentOperatorUserId'])) { $model->currentOperatorUserId = $map['currentOperatorUserId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['providerCorpId'])) { $model->providerCorpId = $map['providerCorpId']; } if (isset($map['queryDsl'])) { $model->queryDsl = $map['queryDsl']; } return $model; } } src/crm_1_0/Models/GetContactsResponse.php 0000644 00000002705 14713400346 0014452 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetContactsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetContactsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetContactsResponseBody.php 0000644 00000001674 14713400346 0015274 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetContactsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/GetContactsResponseBody/result.php 0000644 00000004432 14713400346 0016605 0 ustar 00 'hasMore', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->values) { $res['values'] = []; if (null !== $this->values && \is_array($this->values)) { $n = 0; foreach ($this->values as $item) { $res['values'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = []; $n = 0; foreach ($map['values'] as $item) { $model->values[$n++] = null !== $item ? values::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetContactsResponseBody/result/values.php 0000644 00000006422 14713400346 0020105 0 ustar 00 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'objectType' => 'objectType', 'permission' => 'permission', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } return $model; } } src/crm_1_0/Models/GetContactsResponseBody/result/values/permission.php 0000644 00000002604 14713400346 0022273 0 ustar 00 'ownerUserIds', 'participantUserIds' => 'participantUserIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerUserIds) { $res['ownerUserIds'] = $this->ownerUserIds; } if (null !== $this->participantUserIds) { $res['participantUserIds'] = $this->participantUserIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerUserIds'])) { if (!empty($map['ownerUserIds'])) { $model->ownerUserIds = $map['ownerUserIds']; } } if (isset($map['participantUserIds'])) { if (!empty($map['participantUserIds'])) { $model->participantUserIds = $map['participantUserIds']; } } return $model; } } src/crm_1_0/Models/GetCrmGroupChatHeaders.php 0000644 00000002331 14713400346 0015002 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCrmGroupChatHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetCrmGroupChatMultiHeaders.php 0000644 00000002343 14713400346 0016020 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCrmGroupChatMultiHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetCrmGroupChatMultiRequest.php 0000644 00000001774 14713400346 0016104 0 ustar 00 'openConversationIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } return $res; } /** * @param array $map * * @return GetCrmGroupChatMultiRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } return $model; } } src/crm_1_0/Models/GetCrmGroupChatMultiResponse.php 0000644 00000002751 14713400346 0016246 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCrmGroupChatMultiResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCrmGroupChatMultiResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetCrmGroupChatMultiResponseBody.php 0000644 00000002617 14713400346 0017065 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetCrmGroupChatMultiResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetCrmGroupChatMultiResponseBody/result.php 0000644 00000006455 14713400346 0020407 0 ustar 00 'gmtCreate', 'iconUrl' => 'iconUrl', 'memberCount' => 'memberCount', 'name' => 'name', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'ownerUserId' => 'ownerUserId', 'ownerUserName' => 'ownerUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->ownerUserName) { $res['ownerUserName'] = $this->ownerUserName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['ownerUserName'])) { $model->ownerUserName = $map['ownerUserName']; } return $model; } } src/crm_1_0/Models/GetCrmGroupChatResponse.php 0000644 00000002725 14713400346 0015234 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCrmGroupChatResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCrmGroupChatResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetCrmGroupChatResponseBody.php 0000644 00000006576 14713400346 0016062 0 ustar 00 'chatId', 'gmtCreate' => 'gmtCreate', 'iconUrl' => 'iconUrl', 'memberCount' => 'memberCount', 'name' => 'name', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'ownerUserId' => 'ownerUserId', 'ownerUserName' => 'ownerUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatId) { $res['chatId'] = $this->chatId; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->ownerUserName) { $res['ownerUserName'] = $this->ownerUserName; } return $res; } /** * @param array $map * * @return GetCrmGroupChatResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatId'])) { $model->chatId = $map['chatId']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['ownerUserName'])) { $model->ownerUserName = $map['ownerUserName']; } return $model; } } src/crm_1_0/Models/GetCrmGroupChatSingleHeaders.php 0000644 00000002345 14713400346 0016151 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCrmGroupChatSingleHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetCrmGroupChatSingleRequest.php 0000644 00000001741 14713400346 0016225 0 ustar 00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetCrmGroupChatSingleRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/crm_1_0/Models/GetCrmGroupChatSingleResponse.php 0000644 00000002755 14713400346 0016401 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCrmGroupChatSingleResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCrmGroupChatSingleResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetCrmGroupChatSingleResponseBody.php 0000644 00000006160 14713400346 0017211 0 ustar 00 'gmtCreate', 'iconUrl' => 'iconUrl', 'memberCount' => 'memberCount', 'name' => 'name', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'ownerUserId' => 'ownerUserId', 'ownerUserName' => 'ownerUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->iconUrl) { $res['iconUrl'] = $this->iconUrl; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->ownerUserName) { $res['ownerUserName'] = $this->ownerUserName; } return $res; } /** * @param array $map * * @return GetCrmGroupChatSingleResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['iconUrl'])) { $model->iconUrl = $map['iconUrl']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['ownerUserName'])) { $model->ownerUserName = $map['ownerUserName']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionHeaders.php 0000644 00000002343 14713400346 0016063 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCrmRolePermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionRequest.php 0000644 00000002337 14713400346 0016143 0 ustar 00 'bizType', 'resourceId' => 'resourceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->resourceId) { $res['resourceId'] = $this->resourceId; } return $res; } /** * @param array $map * * @return GetCrmRolePermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['resourceId'])) { $model->resourceId = $map['resourceId']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponse.php 0000644 00000002751 14713400346 0016311 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCrmRolePermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCrmRolePermissionResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody.php 0000644 00000003040 14713400346 0017117 0 ustar 00 'permissions', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->permissions) { $res['permissions'] = []; if (null !== $this->permissions && \is_array($this->permissions)) { $n = 0; foreach ($this->permissions as $item) { $res['permissions'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetCrmRolePermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['permissions'])) { if (!empty($map['permissions'])) { $model->permissions = []; $n = 0; foreach ($map['permissions'] as $item) { $model->permissions[$n++] = null !== $item ? permissions::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody/permissions.php 0000644 00000014413 14713400346 0021500 0 ustar 00 'defaultRole', 'fieldScopes' => 'fieldScopes', 'managingScopeList' => 'managingScopeList', 'operateScopes' => 'operateScopes', 'resourceId' => 'resourceId', 'roleId' => 'roleId', 'roleMemberList' => 'roleMemberList', 'roleName' => 'roleName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->defaultRole) { $res['defaultRole'] = $this->defaultRole; } if (null !== $this->fieldScopes) { $res['fieldScopes'] = []; if (null !== $this->fieldScopes && \is_array($this->fieldScopes)) { $n = 0; foreach ($this->fieldScopes as $item) { $res['fieldScopes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->managingScopeList) { $res['managingScopeList'] = []; if (null !== $this->managingScopeList && \is_array($this->managingScopeList)) { $n = 0; foreach ($this->managingScopeList as $item) { $res['managingScopeList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operateScopes) { $res['operateScopes'] = []; if (null !== $this->operateScopes && \is_array($this->operateScopes)) { $n = 0; foreach ($this->operateScopes as $item) { $res['operateScopes'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->resourceId) { $res['resourceId'] = $this->resourceId; } if (null !== $this->roleId) { $res['roleId'] = $this->roleId; } if (null !== $this->roleMemberList) { $res['roleMemberList'] = []; if (null !== $this->roleMemberList && \is_array($this->roleMemberList)) { $n = 0; foreach ($this->roleMemberList as $item) { $res['roleMemberList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->roleName) { $res['roleName'] = $this->roleName; } return $res; } /** * @param array $map * * @return permissions */ public static function fromMap($map = []) { $model = new self(); if (isset($map['defaultRole'])) { $model->defaultRole = $map['defaultRole']; } if (isset($map['fieldScopes'])) { if (!empty($map['fieldScopes'])) { $model->fieldScopes = []; $n = 0; foreach ($map['fieldScopes'] as $item) { $model->fieldScopes[$n++] = null !== $item ? fieldScopes::fromMap($item) : $item; } } } if (isset($map['managingScopeList'])) { if (!empty($map['managingScopeList'])) { $model->managingScopeList = []; $n = 0; foreach ($map['managingScopeList'] as $item) { $model->managingScopeList[$n++] = null !== $item ? managingScopeList::fromMap($item) : $item; } } } if (isset($map['operateScopes'])) { if (!empty($map['operateScopes'])) { $model->operateScopes = []; $n = 0; foreach ($map['operateScopes'] as $item) { $model->operateScopes[$n++] = null !== $item ? operateScopes::fromMap($item) : $item; } } } if (isset($map['resourceId'])) { $model->resourceId = $map['resourceId']; } if (isset($map['roleId'])) { $model->roleId = $map['roleId']; } if (isset($map['roleMemberList'])) { if (!empty($map['roleMemberList'])) { $model->roleMemberList = []; $n = 0; foreach ($map['roleMemberList'] as $item) { $model->roleMemberList[$n++] = null !== $item ? roleMemberList::fromMap($item) : $item; } } } if (isset($map['roleName'])) { $model->roleName = $map['roleName']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody/permissions/fieldScopes.php 0000644 00000002575 14713400346 0023746 0 ustar 00 'fieldActions', 'fieldId' => 'fieldId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldActions) { $res['fieldActions'] = $this->fieldActions; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } return $res; } /** * @param array $map * * @return fieldScopes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldActions'])) { if (!empty($map['fieldActions'])) { $model->fieldActions = $map['fieldActions']; } } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody/permissions/managingScopeList.php 0000644 00000003706 14713400346 0025112 0 ustar 00 'ext', 'manager' => 'manager', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ext) { $res['ext'] = null !== $this->ext ? $this->ext->toMap() : null; } if (null !== $this->manager) { $res['manager'] = $this->manager; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return managingScopeList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ext'])) { $model->ext = ext::fromMap($map['ext']); } if (isset($map['manager'])) { $model->manager = $map['manager']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody/permissions/managingScopeList/ext.php 0000644 00000002622 14713400346 0025706 0 ustar 00 'deptIdList', 'userIdList' => 'userIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIdList) { $res['deptIdList'] = $this->deptIdList; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } return $res; } /** * @param array $map * * @return ext */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIdList'])) { if (!empty($map['deptIdList'])) { $model->deptIdList = $map['deptIdList']; } } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody/permissions/operateScopes.php 0000644 00000002764 14713400346 0024322 0 ustar 00 'hasAuth', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasAuth) { $res['hasAuth'] = $this->hasAuth; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return operateScopes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasAuth'])) { $model->hasAuth = $map['hasAuth']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/crm_1_0/Models/GetCrmRolePermissionResponseBody/permissions/roleMemberList.php 0000644 00000004054 14713400346 0024425 0 ustar 00 'memberId', 'name' => 'name', 'type' => 'type', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->memberId) { $res['memberId'] = $this->memberId; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return roleMemberList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['memberId'])) { $model->memberId = $map['memberId']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/GetCustomerTracksByRelationIdHeaders.php 0000644 00000002365 14713400346 0017672 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetCustomerTracksByRelationIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetCustomerTracksByRelationIdRequest.php 0000644 00000003611 14713400346 0017742 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'relationId' => 'relationId', 'typeGroup' => 'typeGroup', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->typeGroup) { $res['typeGroup'] = $this->typeGroup; } return $res; } /** * @param array $map * * @return GetCustomerTracksByRelationIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['typeGroup'])) { $model->typeGroup = $map['typeGroup']; } return $model; } } src/crm_1_0/Models/GetCustomerTracksByRelationIdResponse.php 0000644 00000003015 14713400346 0020106 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetCustomerTracksByRelationIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetCustomerTracksByRelationIdResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetCustomerTracksByRelationIdResponseBody.php 0000644 00000004364 14713400346 0020734 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'resultList' => 'resultList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->resultList) { $res['resultList'] = []; if (null !== $this->resultList && \is_array($this->resultList)) { $n = 0; foreach ($this->resultList as $item) { $res['resultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetCustomerTracksByRelationIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['resultList'])) { if (!empty($map['resultList'])) { $model->resultList = []; $n = 0; foreach ($map['resultList'] as $item) { $model->resultList[$n++] = null !== $item ? resultList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetCustomerTracksByRelationIdResponseBody/resultList.php 0000644 00000007720 14713400346 0023105 0 ustar 00 'content', 'creatorName' => 'creatorName', 'detail' => 'detail', 'format' => 'format', 'gmtCreate' => 'gmtCreate', 'id' => 'id', 'isvInfo' => 'isvInfo', 'title' => 'title', 'type' => 'type', 'typeGroup' => 'typeGroup', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->creatorName) { $res['creatorName'] = $this->creatorName; } if (null !== $this->detail) { $res['detail'] = $this->detail; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->isvInfo) { $res['isvInfo'] = null !== $this->isvInfo ? $this->isvInfo->toMap() : null; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->type) { $res['type'] = $this->type; } if (null !== $this->typeGroup) { $res['typeGroup'] = $this->typeGroup; } return $res; } /** * @param array $map * * @return resultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['creatorName'])) { $model->creatorName = $map['creatorName']; } if (isset($map['detail'])) { $model->detail = $map['detail']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['isvInfo'])) { $model->isvInfo = isvInfo::fromMap($map['isvInfo']); } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['type'])) { $model->type = $map['type']; } if (isset($map['typeGroup'])) { $model->typeGroup = $map['typeGroup']; } return $model; } } src/crm_1_0/Models/GetCustomerTracksByRelationIdResponseBody/resultList/isvInfo.php 0000644 00000002151 14713400346 0024513 0 ustar 00 'appName', 'orgName' => 'orgName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appName) { $res['appName'] = $this->appName; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } return $res; } /** * @param array $map * * @return isvInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appName'])) { $model->appName = $map['appName']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } return $model; } } src/crm_1_0/Models/GetGroupSetHeaders.php 0000644 00000002321 14713400346 0014213 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetGroupSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetGroupSetRequest.php 0000644 00000001651 14713400346 0014275 0 ustar 00 'openGroupSetId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } return $res; } /** * @param array $map * * @return GetGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } return $model; } } src/crm_1_0/Models/GetGroupSetResponse.php 0000644 00000002705 14713400346 0014444 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetGroupSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetGroupSetResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetGroupSetResponseBody.php 0000644 00000015354 14713400346 0015266 0 ustar 00 'gmtCreate', 'gmtModified' => 'gmtModified', 'groupChatCount' => 'groupChatCount', 'inviteLink' => 'inviteLink', 'lastOpenConversationId' => 'lastOpenConversationId', 'manager' => 'manager', 'managerUserIds' => 'managerUserIds', 'memberCount' => 'memberCount', 'memberQuota' => 'memberQuota', 'name' => 'name', 'notice' => 'notice', 'noticeToped' => 'noticeToped', 'openGroupSetId' => 'openGroupSetId', 'owner' => 'owner', 'ownerUserId' => 'ownerUserId', 'relationType' => 'relationType', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->groupChatCount) { $res['groupChatCount'] = $this->groupChatCount; } if (null !== $this->inviteLink) { $res['inviteLink'] = $this->inviteLink; } if (null !== $this->lastOpenConversationId) { $res['lastOpenConversationId'] = $this->lastOpenConversationId; } if (null !== $this->manager) { $res['manager'] = []; if (null !== $this->manager && \is_array($this->manager)) { $n = 0; foreach ($this->manager as $item) { $res['manager'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->managerUserIds) { $res['managerUserIds'] = $this->managerUserIds; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->memberQuota) { $res['memberQuota'] = $this->memberQuota; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->notice) { $res['notice'] = $this->notice; } if (null !== $this->noticeToped) { $res['noticeToped'] = $this->noticeToped; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return GetGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['groupChatCount'])) { $model->groupChatCount = $map['groupChatCount']; } if (isset($map['inviteLink'])) { $model->inviteLink = $map['inviteLink']; } if (isset($map['lastOpenConversationId'])) { $model->lastOpenConversationId = $map['lastOpenConversationId']; } if (isset($map['manager'])) { if (!empty($map['manager'])) { $model->manager = []; $n = 0; foreach ($map['manager'] as $item) { $model->manager[$n++] = null !== $item ? manager::fromMap($item) : $item; } } } if (isset($map['managerUserIds'])) { $model->managerUserIds = $map['managerUserIds']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['memberQuota'])) { $model->memberQuota = $map['memberQuota']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['notice'])) { $model->notice = $map['notice']; } if (isset($map['noticeToped'])) { $model->noticeToped = $map['noticeToped']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/crm_1_0/Models/GetGroupSetResponseBody/manager.php 0000644 00000002052 14713400346 0016667 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return manager */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/GetGroupSetResponseBody/owner.php 0000644 00000002046 14713400346 0016412 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return owner */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsHeaders.php 0000644 00000002345 14713400346 0016147 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInAppPurchaseGoodsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsRequest.php 0000644 00000001543 14713400346 0016223 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return GetInAppPurchaseGoodsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponse.php 0000644 00000002755 14713400346 0016377 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInAppPurchaseGoodsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInAppPurchaseGoodsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponseBody.php 0000644 00000001732 14713400346 0017207 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetInAppPurchaseGoodsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponseBody/result.php 0000644 00000003660 14713400346 0020527 0 ustar 00 'orderVersion', 'purchaseGoodsList' => 'purchaseGoodsList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->orderVersion) { $res['orderVersion'] = $this->orderVersion; } if (null !== $this->purchaseGoodsList) { $res['purchaseGoodsList'] = []; if (null !== $this->purchaseGoodsList && \is_array($this->purchaseGoodsList)) { $n = 0; foreach ($this->purchaseGoodsList as $item) { $res['purchaseGoodsList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['orderVersion'])) { $model->orderVersion = $map['orderVersion']; } if (isset($map['purchaseGoodsList'])) { if (!empty($map['purchaseGoodsList'])) { $model->purchaseGoodsList = []; $n = 0; foreach ($map['purchaseGoodsList'] as $item) { $model->purchaseGoodsList[$n++] = null !== $item ? purchaseGoodsList::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponseBody/result/purchaseGoodsList.php 0000644 00000014171 14713400346 0024170 0 ustar 00 'applicableVersion', 'applyNum' => 'applyNum', 'belongIndustry' => 'belongIndustry', 'goodsId' => 'goodsId', 'goodsType' => 'goodsType', 'icon' => 'icon', 'mainOperationInfo' => 'mainOperationInfo', 'media' => 'media', 'price' => 'price', 'subOperationInfo' => 'subOperationInfo', 'subTitle' => 'subTitle', 'tag' => 'tag', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->applicableVersion) { $res['applicableVersion'] = $this->applicableVersion; } if (null !== $this->applyNum) { $res['applyNum'] = $this->applyNum; } if (null !== $this->belongIndustry) { $res['belongIndustry'] = $this->belongIndustry; } if (null !== $this->goodsId) { $res['goodsId'] = $this->goodsId; } if (null !== $this->goodsType) { $res['goodsType'] = $this->goodsType; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->mainOperationInfo) { $res['mainOperationInfo'] = null !== $this->mainOperationInfo ? $this->mainOperationInfo->toMap() : null; } if (null !== $this->media) { $res['media'] = []; if (null !== $this->media && \is_array($this->media)) { $n = 0; foreach ($this->media as $item) { $res['media'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->price) { $res['price'] = $this->price; } if (null !== $this->subOperationInfo) { $res['subOperationInfo'] = null !== $this->subOperationInfo ? $this->subOperationInfo->toMap() : null; } if (null !== $this->subTitle) { $res['subTitle'] = $this->subTitle; } if (null !== $this->tag) { $res['tag'] = $this->tag; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return purchaseGoodsList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['applicableVersion'])) { if (!empty($map['applicableVersion'])) { $model->applicableVersion = $map['applicableVersion']; } } if (isset($map['applyNum'])) { $model->applyNum = $map['applyNum']; } if (isset($map['belongIndustry'])) { if (!empty($map['belongIndustry'])) { $model->belongIndustry = $map['belongIndustry']; } } if (isset($map['goodsId'])) { $model->goodsId = $map['goodsId']; } if (isset($map['goodsType'])) { $model->goodsType = $map['goodsType']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['mainOperationInfo'])) { $model->mainOperationInfo = mainOperationInfo::fromMap($map['mainOperationInfo']); } if (isset($map['media'])) { if (!empty($map['media'])) { $model->media = []; $n = 0; foreach ($map['media'] as $item) { $model->media[$n++] = null !== $item ? media::fromMap($item) : $item; } } } if (isset($map['price'])) { $model->price = $map['price']; } if (isset($map['subOperationInfo'])) { $model->subOperationInfo = subOperationInfo::fromMap($map['subOperationInfo']); } if (isset($map['subTitle'])) { $model->subTitle = $map['subTitle']; } if (isset($map['tag'])) { if (!empty($map['tag'])) { $model->tag = $map['tag']; } } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponseBody/result/purchaseGoodsList/mainOperationInfo.php 0000644 00000003035 14713400346 0027606 0 ustar 00 'goodsCode', 'originalUrl' => 'originalUrl', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->originalUrl) { $res['originalUrl'] = $this->originalUrl; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return mainOperationInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['originalUrl'])) { $model->originalUrl = $map['originalUrl']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponseBody/result/purchaseGoodsList/media.php 0000644 00000002355 14713400346 0025250 0 ustar 00 'mediaType', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaType) { $res['mediaType'] = $this->mediaType; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return media */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaType'])) { $model->mediaType = $map['mediaType']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/crm_1_0/Models/GetInAppPurchaseGoodsResponseBody/result/purchaseGoodsList/subOperationInfo.php 0000644 00000003034 14713400346 0027452 0 ustar 00 'goodsCode', 'originalUrl' => 'originalUrl', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->goodsCode) { $res['goodsCode'] = $this->goodsCode; } if (null !== $this->originalUrl) { $res['originalUrl'] = $this->originalUrl; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return subOperationInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['goodsCode'])) { $model->goodsCode = $map['goodsCode']; } if (isset($map['originalUrl'])) { $model->originalUrl = $map['originalUrl']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/crm_1_0/Models/GetNavigationCatalogHeaders.php 0000644 00000002343 14713400346 0016041 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetNavigationCatalogHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetNavigationCatalogRequest.php 0000644 00000003371 14713400346 0016120 0 ustar 00 'bizTraceId', 'module' => 'module', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTraceId) { $res['bizTraceId'] = $this->bizTraceId; } if (null !== $this->module) { $res['module'] = $this->module; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return GetNavigationCatalogRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTraceId'])) { $model->bizTraceId = $map['bizTraceId']; } if (isset($map['module'])) { $model->module = $map['module']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/GetNavigationCatalogResponse.php 0000644 00000002751 14713400346 0016267 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetNavigationCatalogResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetNavigationCatalogResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetNavigationCatalogResponseBody.php 0000644 00000001727 14713400346 0017107 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetNavigationCatalogResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/GetNavigationCatalogResponseBody/result.php 0000644 00000004017 14713400346 0020420 0 ustar 00 'bizTraceId', 'module' => 'module', 'navCatalog' => 'navCatalog', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizTraceId) { $res['bizTraceId'] = $this->bizTraceId; } if (null !== $this->module) { $res['module'] = $this->module; } if (null !== $this->navCatalog) { $res['navCatalog'] = []; if (null !== $this->navCatalog && \is_array($this->navCatalog)) { $n = 0; foreach ($this->navCatalog as $item) { $res['navCatalog'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizTraceId'])) { $model->bizTraceId = $map['bizTraceId']; } if (isset($map['module'])) { $model->module = $map['module']; } if (isset($map['navCatalog'])) { if (!empty($map['navCatalog'])) { $model->navCatalog = []; $n = 0; foreach ($map['navCatalog'] as $item) { $model->navCatalog[$n++] = null !== $item ? navCatalog::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetNavigationCatalogResponseBody/result/navCatalog.php 0000644 00000003643 14713400346 0022503 0 ustar 00 'children', 'navCode' => 'navCode', 'navId' => 'navId', 'navName' => 'navName', 'navType' => 'navType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->children) { $res['children'] = $this->children; } if (null !== $this->navCode) { $res['navCode'] = $this->navCode; } if (null !== $this->navId) { $res['navId'] = $this->navId; } if (null !== $this->navName) { $res['navName'] = $this->navName; } if (null !== $this->navType) { $res['navType'] = $this->navType; } return $res; } /** * @param array $map * * @return navCatalog */ public static function fromMap($map = []) { $model = new self(); if (isset($map['children'])) { $model->children = $map['children']; } if (isset($map['navCode'])) { $model->navCode = $map['navCode']; } if (isset($map['navId'])) { $model->navId = $map['navId']; } if (isset($map['navName'])) { $model->navName = $map['navName']; } if (isset($map['navType'])) { $model->navType = $map['navType']; } return $model; } } src/crm_1_0/Models/GetObjectDataHeaders.php 0000644 00000002325 14713400346 0014447 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetObjectDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetObjectDataRequest.php 0000644 00000005044 14713400346 0014525 0 ustar 00 'currentOperatorUserId', 'maxResults' => 'maxResults', 'name' => 'name', 'nextToken' => 'nextToken', 'queryDsl' => 'queryDsl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentOperatorUserId) { $res['currentOperatorUserId'] = $this->currentOperatorUserId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->queryDsl) { $res['queryDsl'] = $this->queryDsl; } return $res; } /** * @param array $map * * @return GetObjectDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentOperatorUserId'])) { $model->currentOperatorUserId = $map['currentOperatorUserId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['queryDsl'])) { $model->queryDsl = $map['queryDsl']; } return $model; } } src/crm_1_0/Models/GetObjectDataResponse.php 0000644 00000002715 14713400346 0014675 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetObjectDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetObjectDataResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetObjectDataResponseBody.php 0000644 00000001702 14713400346 0015506 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetObjectDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/GetObjectDataResponseBody/result.php 0000644 00000004436 14713400346 0017033 0 ustar 00 'hasMore', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->values) { $res['values'] = []; if (null !== $this->values && \is_array($this->values)) { $n = 0; foreach ($this->values as $item) { $res['values'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = []; $n = 0; foreach ($map['values'] as $item) { $model->values[$n++] = null !== $item ? values::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetObjectDataResponseBody/result/values.php 0000644 00000010531 14713400346 0020323 0 ustar 00 'creatorNick', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'objectType' => 'objectType', 'permission' => 'permission', 'procInstStatus' => 'procInstStatus', 'procOutResult' => 'procOutResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->procInstStatus) { $res['procInstStatus'] = $this->procInstStatus; } if (null !== $this->procOutResult) { $res['procOutResult'] = $this->procOutResult; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['procInstStatus'])) { $model->procInstStatus = $map['procInstStatus']; } if (isset($map['procOutResult'])) { $model->procOutResult = $map['procOutResult']; } return $model; } } src/crm_1_0/Models/GetObjectDataResponseBody/result/values/permission.php 0000644 00000002606 14713400346 0022517 0 ustar 00 'ownerUserIds', 'participantUserIds' => 'participantUserIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerUserIds) { $res['ownerUserIds'] = $this->ownerUserIds; } if (null !== $this->participantUserIds) { $res['participantUserIds'] = $this->participantUserIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerUserIds'])) { if (!empty($map['ownerUserIds'])) { $model->ownerUserIds = $map['ownerUserIds']; } } if (isset($map['participantUserIds'])) { if (!empty($map['participantUserIds'])) { $model->participantUserIds = $map['participantUserIds']; } } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactInfoHeaders.php 0000644 00000002365 14713400346 0017634 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOfficialAccountContactInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactInfoResponse.php 0000644 00000003015 14713400346 0020050 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOfficialAccountContactInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOfficialAccountContactInfoResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactInfoResponseBody.php 0000644 00000005031 14713400346 0020666 0 ustar 00 'authItems', 'corpName' => 'corpName', 'mobile' => 'mobile', 'stateCode' => 'stateCode', 'unionId' => 'unionId', 'userInfos' => 'userInfos', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authItems) { $res['authItems'] = $this->authItems; } if (null !== $this->corpName) { $res['corpName'] = $this->corpName; } if (null !== $this->mobile) { $res['mobile'] = $this->mobile; } if (null !== $this->stateCode) { $res['stateCode'] = $this->stateCode; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userInfos) { $res['userInfos'] = $this->userInfos; } return $res; } /** * @param array $map * * @return GetOfficialAccountContactInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authItems'])) { if (!empty($map['authItems'])) { $model->authItems = $map['authItems']; } } if (isset($map['corpName'])) { $model->corpName = $map['corpName']; } if (isset($map['mobile'])) { $model->mobile = $map['mobile']; } if (isset($map['stateCode'])) { $model->stateCode = $map['stateCode']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userInfos'])) { if (!empty($map['userInfos'])) { $model->userInfos = $map['userInfos']; } } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsHeaders.php 0000644 00000002357 14713400346 0017204 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOfficialAccountContactsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsRequest.php 0000644 00000002471 14713400346 0017256 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } return $res; } /** * @param array $map * * @return GetOfficialAccountContactsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsResponse.php 0000644 00000003001 14713400346 0017412 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOfficialAccountContactsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOfficialAccountContactsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsResponseBody.php 0000644 00000004065 14713400346 0020243 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->values) { $res['values'] = []; if (null !== $this->values && \is_array($this->values)) { $n = 0; foreach ($this->values as $item) { $res['values'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetOfficialAccountContactsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = []; $n = 0; foreach ($map['values'] as $item) { $model->values[$n++] = null !== $item ? values::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsResponseBody/values.php 0000644 00000003342 14713400346 0021537 0 ustar 00 'contacts', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->contacts) { $res['contacts'] = []; if (null !== $this->contacts && \is_array($this->contacts)) { $n = 0; foreach ($this->contacts as $item) { $res['contacts'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['contacts'])) { if (!empty($map['contacts'])) { $model->contacts = []; $n = 0; foreach ($map['contacts'] as $item) { $model->contacts[$n++] = null !== $item ? contacts::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsResponseBody/values/contacts.php 0000644 00000006501 14713400346 0023355 0 ustar 00 'createTime', 'creatorNick' => 'creatorNick', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'instanceId' => 'instanceId', 'modifyTime' => 'modifyTime', 'permission' => 'permission', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } return $res; } /** * @param array $map * * @return contacts */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } return $model; } } src/crm_1_0/Models/GetOfficialAccountContactsResponseBody/values/contacts/permission.php 0000644 00000002651 14713400346 0025547 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/GetOfficialAccountOTOMessageResultHeaders.php 0000644 00000002377 14713400346 0020575 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOfficialAccountOTOMessageResultHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetOfficialAccountOTOMessageResultRequest.php 0000644 00000002335 14713400346 0020644 0 ustar 00 'accountId', 'openPushId' => 'openPushId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->openPushId) { $res['openPushId'] = $this->openPushId; } return $res; } /** * @param array $map * * @return GetOfficialAccountOTOMessageResultRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['openPushId'])) { $model->openPushId = $map['openPushId']; } return $model; } } src/crm_1_0/Models/GetOfficialAccountOTOMessageResultResponse.php 0000644 00000003041 14713400346 0021005 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOfficialAccountOTOMessageResultResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOfficialAccountOTOMessageResultResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetOfficialAccountOTOMessageResultResponseBody.php 0000644 00000002544 14713400346 0021632 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetOfficialAccountOTOMessageResultResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/GetOfficialAccountOTOMessageResultResponseBody/result.php 0000644 00000002520 14713400346 0023142 0 ustar 00 'readUserIdList', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->readUserIdList) { $res['readUserIdList'] = $this->readUserIdList; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['readUserIdList'])) { if (!empty($map['readUserIdList'])) { $model->readUserIdList = $map['readUserIdList']; } } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataHeaders.php 0000644 00000002345 14713400346 0016105 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRelatedViewTabDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataRequest.php 0000644 00000005175 14713400346 0016166 0 ustar 00 'formCode', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'relatedField' => 'relatedField', 'relatedInstId' => 'relatedInstId', 'viewUserId' => 'viewUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->relatedField) { $res['relatedField'] = $this->relatedField; } if (null !== $this->relatedInstId) { $res['relatedInstId'] = $this->relatedInstId; } if (null !== $this->viewUserId) { $res['viewUserId'] = $this->viewUserId; } return $res; } /** * @param array $map * * @return GetRelatedViewTabDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['relatedField'])) { $model->relatedField = $map['relatedField']; } if (isset($map['relatedInstId'])) { $model->relatedInstId = $map['relatedInstId']; } if (isset($map['viewUserId'])) { $model->viewUserId = $map['viewUserId']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataResponse.php 0000644 00000002755 14713400346 0016335 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelatedViewTabDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRelatedViewTabDataResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataResponseBody.php 0000644 00000001732 14713400346 0017145 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelatedViewTabDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataResponseBody/result.php 0000644 00000001663 14713400346 0020466 0 ustar 00 'page', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->page) { $res['page'] = null !== $this->page ? $this->page->toMap() : null; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['page'])) { $model->page = page::fromMap($map['page']); } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataResponseBody/result/page.php 0000644 00000004423 14713400346 0021377 0 ustar 00 'hasMore', 'list' => 'list', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return page */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabDataResponseBody/result/page/list_.php 0000644 00000003100 14713400346 0022500 0 ustar 00 'abstractMessage', 'createTime' => 'createTime', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->abstractMessage) { $res['abstractMessage'] = $this->abstractMessage; } if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['abstractMessage'])) { $model->abstractMessage = $map['abstractMessage']; } if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabMetaHeaders.php 0000644 00000002345 14713400346 0016122 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRelatedViewTabMetaHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabMetaRequest.php 0000644 00000002463 14713400346 0016200 0 ustar 00 'formCode', 'viewUserId' => 'viewUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->viewUserId) { $res['viewUserId'] = $this->viewUserId; } return $res; } /** * @param array $map * * @return GetRelatedViewTabMetaRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['viewUserId'])) { $model->viewUserId = $map['viewUserId']; } return $model; } } src/crm_1_0/Models/GetRelatedViewTabMetaResponse.php 0000644 00000002755 14713400346 0016352 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelatedViewTabMetaResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRelatedViewTabMetaResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetRelatedViewTabMetaResponseBody.php 0000644 00000002644 14713400346 0017165 0 ustar 00 'results', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->results) { $res['results'] = []; if (null !== $this->results && \is_array($this->results)) { $n = 0; foreach ($this->results as $item) { $res['results'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetRelatedViewTabMetaResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['results'])) { if (!empty($map['results'])) { $model->results = []; $n = 0; foreach ($map['results'] as $item) { $model->results[$n++] = null !== $item ? results::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetRelatedViewTabMetaResponseBody/results.php 0000644 00000003171 14713400346 0020662 0 ustar 00 'formCode', 'relateComponentId' => 'relateComponentId', 'tabTitle' => 'tabTitle', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->relateComponentId) { $res['relateComponentId'] = $this->relateComponentId; } if (null !== $this->tabTitle) { $res['tabTitle'] = $this->tabTitle; } return $res; } /** * @param array $map * * @return results */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['relateComponentId'])) { $model->relateComponentId = $map['relateComponentId']; } if (isset($map['tabTitle'])) { $model->tabTitle = $map['tabTitle']; } return $model; } } src/crm_1_0/Models/GetRelationUkSettingHeaders.php 0000644 00000002343 14713400346 0016062 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRelationUkSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/GetRelationUkSettingRequest.php 0000644 00000001715 14713400346 0016141 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return GetRelationUkSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/GetRelationUkSettingResponse.php 0000644 00000002751 14713400346 0016310 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelationUkSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRelationUkSettingResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/GetRelationUkSettingResponseBody.php 0000644 00000002653 14713400346 0017127 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetRelationUkSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/GetRelationUkSettingResponseBody/result.php 0000644 00000002343 14713400346 0020441 0 ustar 00 'bizAlias', 'fieldId' => 'fieldId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } return $model; } } src/crm_1_0/Models/JoinGroupSetHeaders.php 0000644 00000002323 14713400346 0014375 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return JoinGroupSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/JoinGroupSetRequest.php 0000644 00000005060 14713400346 0014453 0 ustar 00 'bizDataList', 'corpId' => 'corpId', 'openGroupSetId' => 'openGroupSetId', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataList) { $res['bizDataList'] = []; if (null !== $this->bizDataList && \is_array($this->bizDataList)) { $n = 0; foreach ($this->bizDataList as $item) { $res['bizDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return JoinGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataList'])) { if (!empty($map['bizDataList'])) { $model->bizDataList = []; $n = 0; foreach ($map['bizDataList'] as $item) { $model->bizDataList[$n++] = null !== $item ? bizDataList::fromMap($item) : $item; } } } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/crm_1_0/Models/JoinGroupSetRequest/bizDataList.php 0000644 00000002700 14713400346 0016663 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return bizDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/JoinGroupSetResponse.php 0000644 00000002711 14713400346 0014621 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return JoinGroupSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = JoinGroupSetResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/JoinGroupSetResponseBody.php 0000644 00000002546 14713400346 0015445 0 ustar 00 'chatId', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatId) { $res['chatId'] = $this->chatId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return JoinGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatId'])) { $model->chatId = $map['chatId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/crm_1_0/Models/ListAvailableBenefitHeaders.php 0000644 00000002343 14713400346 0016020 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListAvailableBenefitHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ListAvailableBenefitRequest.php 0000644 00000002013 14713400346 0016067 0 ustar 00 'benefitCodeList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCodeList) { $res['benefitCodeList'] = $this->benefitCodeList; } return $res; } /** * @param array $map * * @return ListAvailableBenefitRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCodeList'])) { if (!empty($map['benefitCodeList'])) { $model->benefitCodeList = $map['benefitCodeList']; } } return $model; } } src/crm_1_0/Models/ListAvailableBenefitResponse.php 0000644 00000002751 14713400346 0016246 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListAvailableBenefitResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListAvailableBenefitResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ListAvailableBenefitResponseBody.php 0000644 00000002706 14713400346 0017064 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListAvailableBenefitResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/ListAvailableBenefitResponseBody/result.php 0000644 00000005503 14713400346 0020400 0 ustar 00 'benefitCode', 'endTime' => 'endTime', 'quota' => 'quota', 'startTime' => 'startTime', 'usedQuota' => 'usedQuota', 'version' => 'version', 'versionName' => 'versionName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->quota) { $res['quota'] = $this->quota; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } if (null !== $this->version) { $res['version'] = $this->version; } if (null !== $this->versionName) { $res['versionName'] = $this->versionName; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } if (isset($map['version'])) { $model->version = $map['version']; } if (isset($map['versionName'])) { $model->versionName = $map['versionName']; } return $model; } } src/crm_1_0/Models/ListBenefitLicenseHeaders.php 0000644 00000002337 14713400346 0015525 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListBenefitLicenseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ListBenefitLicenseRequest.php 0000644 00000001667 14713400346 0015607 0 ustar 00 'domains', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domains) { $res['domains'] = $this->domains; } return $res; } /** * @param array $map * * @return ListBenefitLicenseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domains'])) { if (!empty($map['domains'])) { $model->domains = $map['domains']; } } return $model; } } src/crm_1_0/Models/ListBenefitLicenseResponse.php 0000644 00000002741 14713400346 0015747 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListBenefitLicenseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListBenefitLicenseResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ListBenefitLicenseResponseBody.php 0000644 00000002700 14713400346 0016560 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListBenefitLicenseResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/ListBenefitLicenseResponseBody/result.php 0000644 00000003511 14713400346 0020077 0 ustar 00 'domain', 'licenses' => 'licenses', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->licenses) { $res['licenses'] = []; if (null !== $this->licenses && \is_array($this->licenses)) { $n = 0; foreach ($this->licenses as $item) { $res['licenses'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['licenses'])) { if (!empty($map['licenses'])) { $model->licenses = []; $n = 0; foreach ($map['licenses'] as $item) { $model->licenses[$n++] = null !== $item ? licenses::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/ListBenefitLicenseResponseBody/result/licenses.php 0000644 00000001721 14713400346 0021705 0 ustar 00 'licenseUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->licenseUserId) { $res['licenseUserId'] = $this->licenseUserId; } return $res; } /** * @param array $map * * @return licenses */ public static function fromMap($map = []) { $model = new self(); if (isset($map['licenseUserId'])) { $model->licenseUserId = $map['licenseUserId']; } return $model; } } src/crm_1_0/Models/ListClueTagHeaders.php 0000644 00000002321 14713400346 0014163 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListClueTagHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ListClueTagResponse.php 0000644 00000002705 14713400346 0014414 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListClueTagResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListClueTagResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ListClueTagResponseBody.php 0000644 00000002564 14713400346 0015235 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListClueTagResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/ListClueTagResponseBody/result.php 0000644 00000002036 14713400346 0016545 0 ustar 00 'name', 'tagId' => 'tagId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->tagId) { $res['tagId'] = $this->tagId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['tagId'])) { $model->tagId = $map['tagId']; } return $model; } } src/crm_1_0/Models/ListCrmPersonalCustomersHeaders.php 0000644 00000002353 14713400346 0016776 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListCrmPersonalCustomersHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ListCrmPersonalCustomersRequest.php 0000644 00000003230 14713400346 0017046 0 ustar 00 'body', 'currentOperatorUserId' => 'currentOperatorUserId', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->body) { $res['body'] = $this->body; } if (null !== $this->currentOperatorUserId) { $res['currentOperatorUserId'] = $this->currentOperatorUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return ListCrmPersonalCustomersRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['body'])) { if (!empty($map['body'])) { $model->body = $map['body']; } } if (isset($map['currentOperatorUserId'])) { $model->currentOperatorUserId = $map['currentOperatorUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/ListCrmPersonalCustomersResponse.php 0000644 00000002771 14713400346 0017225 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListCrmPersonalCustomersResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListCrmPersonalCustomersResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ListCrmPersonalCustomersResponseBody.php 0000644 00000002722 14713400346 0020037 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return ListCrmPersonalCustomersResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/ListCrmPersonalCustomersResponseBody/result.php 0000644 00000012540 14713400346 0021354 0 ustar 00 'appUuid', 'creatorNick' => 'creatorNick', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'formCode' => 'formCode', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'objectType' => 'objectType', 'permission' => 'permission', 'procInstStatus' => 'procInstStatus', 'procOutResult' => 'procOutResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appUuid) { $res['appUuid'] = $this->appUuid; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->procInstStatus) { $res['procInstStatus'] = $this->procInstStatus; } if (null !== $this->procOutResult) { $res['procOutResult'] = $this->procOutResult; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appUuid'])) { $model->appUuid = $map['appUuid']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['procInstStatus'])) { $model->procInstStatus = $map['procInstStatus']; } if (isset($map['procOutResult'])) { $model->procOutResult = $map['procOutResult']; } return $model; } } src/crm_1_0/Models/ListCrmPersonalCustomersResponseBody/result/permission.php 0000644 00000003014 14713400346 0023540 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/ListGroupSetHeaders.php 0000644 00000002323 14713400346 0014411 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListGroupSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ListGroupSetRequest.php 0000644 00000003432 14713400346 0014470 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'queryDsl' => 'queryDsl', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->queryDsl) { $res['queryDsl'] = $this->queryDsl; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return ListGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['queryDsl'])) { $model->queryDsl = $map['queryDsl']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/ListGroupSetResponse.php 0000644 00000002711 14713400346 0014635 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListGroupSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListGroupSetResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ListGroupSetResponseBody.php 0000644 00000004675 14713400346 0015466 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'resultList' => 'resultList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->resultList) { $res['resultList'] = []; if (null !== $this->resultList && \is_array($this->resultList)) { $n = 0; foreach ($this->resultList as $item) { $res['resultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListGroupSetResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['resultList'])) { if (!empty($map['resultList'])) { $model->resultList = []; $n = 0; foreach ($map['resultList'] as $item) { $model->resultList[$n++] = null !== $item ? resultList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/crm_1_0/Models/ListGroupSetResponseBody/resultList.php 0000644 00000015654 14713400346 0017637 0 ustar 00 'gmtCreate', 'gmtModified' => 'gmtModified', 'groupChatCount' => 'groupChatCount', 'lastOpenConversationId' => 'lastOpenConversationId', 'manager' => 'manager', 'managerUserIds' => 'managerUserIds', 'memberCount' => 'memberCount', 'memberQuota' => 'memberQuota', 'name' => 'name', 'notice' => 'notice', 'noticeToped' => 'noticeToped', 'openGroupSetId' => 'openGroupSetId', 'owner' => 'owner', 'ownerUserId' => 'ownerUserId', 'relationType' => 'relationType', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->groupChatCount) { $res['groupChatCount'] = $this->groupChatCount; } if (null !== $this->lastOpenConversationId) { $res['lastOpenConversationId'] = $this->lastOpenConversationId; } if (null !== $this->manager) { $res['manager'] = []; if (null !== $this->manager && \is_array($this->manager)) { $n = 0; foreach ($this->manager as $item) { $res['manager'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->managerUserIds) { $res['managerUserIds'] = $this->managerUserIds; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->memberQuota) { $res['memberQuota'] = $this->memberQuota; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->notice) { $res['notice'] = $this->notice; } if (null !== $this->noticeToped) { $res['noticeToped'] = $this->noticeToped; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->owner) { $res['owner'] = null !== $this->owner ? $this->owner->toMap() : null; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return resultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['groupChatCount'])) { $model->groupChatCount = $map['groupChatCount']; } if (isset($map['lastOpenConversationId'])) { $model->lastOpenConversationId = $map['lastOpenConversationId']; } if (isset($map['manager'])) { if (!empty($map['manager'])) { $model->manager = []; $n = 0; foreach ($map['manager'] as $item) { $model->manager[$n++] = null !== $item ? manager::fromMap($item) : $item; } } } if (isset($map['managerUserIds'])) { $model->managerUserIds = $map['managerUserIds']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['memberQuota'])) { $model->memberQuota = $map['memberQuota']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['notice'])) { $model->notice = $map['notice']; } if (isset($map['noticeToped'])) { $model->noticeToped = $map['noticeToped']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['owner'])) { $model->owner = owner::fromMap($map['owner']); } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/crm_1_0/Models/ListGroupSetResponseBody/resultList/manager.php 0000644 00000002154 14713400346 0021240 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return manager */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/ListGroupSetResponseBody/resultList/owner.php 0000644 00000002152 14713400346 0020756 0 ustar 00 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return owner */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/OverrideUpdateCustomerDataAuthHeaders.php 0000644 00000002367 14713400346 0020075 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OverrideUpdateCustomerDataAuthHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/OverrideUpdateCustomerDataAuthRequest.php 0000644 00000005714 14713400346 0020151 0 ustar 00 'customerIds', 'dataAuthUserIds' => 'dataAuthUserIds', 'formCode' => 'formCode', 'operateUserId' => 'operateUserId', 'relationType' => 'relationType', 'roleType' => 'roleType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerIds) { $res['customerIds'] = $this->customerIds; } if (null !== $this->dataAuthUserIds) { $res['dataAuthUserIds'] = $this->dataAuthUserIds; } if (null !== $this->formCode) { $res['formCode'] = $this->formCode; } if (null !== $this->operateUserId) { $res['operateUserId'] = $this->operateUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->roleType) { $res['roleType'] = $this->roleType; } return $res; } /** * @param array $map * * @return OverrideUpdateCustomerDataAuthRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerIds'])) { if (!empty($map['customerIds'])) { $model->customerIds = $map['customerIds']; } } if (isset($map['dataAuthUserIds'])) { if (!empty($map['dataAuthUserIds'])) { $model->dataAuthUserIds = $map['dataAuthUserIds']; } } if (isset($map['formCode'])) { $model->formCode = $map['formCode']; } if (isset($map['operateUserId'])) { $model->operateUserId = $map['operateUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['roleType'])) { $model->roleType = $map['roleType']; } return $model; } } src/crm_1_0/Models/OverrideUpdateCustomerDataAuthResponse.php 0000644 00000003021 14713400346 0020304 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OverrideUpdateCustomerDataAuthResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OverrideUpdateCustomerDataAuthResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/OverrideUpdateCustomerDataAuthResponseBody.php 0000644 00000001564 14713400346 0021134 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return OverrideUpdateCustomerDataAuthResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/QueryAllCustomerHeaders.php 0000644 00000002333 14713400346 0015266 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryAllCustomerRequest.php 0000644 00000003623 14713400346 0015346 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'objectType' => 'objectType', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return QueryAllCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/QueryAllCustomerResponse.php 0000644 00000002731 14713400346 0015513 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryAllCustomerResponseBody.php 0000644 00000001713 14713400346 0016330 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/QueryAllCustomerResponseBody/result.php 0000644 00000004016 14713400346 0017645 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->values) { $res['values'] = []; if (null !== $this->values && \is_array($this->values)) { $n = 0; foreach ($this->values as $item) { $res['values'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = []; $n = 0; foreach ($map['values'] as $item) { $model->values[$n++] = null !== $item ? values::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/QueryAllCustomerResponseBody/result/values.php 0000644 00000011007 14713400346 0021142 0 ustar 00 'createTime', 'creatorNick' => 'creatorNick', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'instanceId' => 'instanceId', 'modifyTime' => 'modifyTime', 'objectType' => 'objectType', 'permission' => 'permission', 'processInstanceStatus' => 'processInstanceStatus', 'processOutResult' => 'processOutResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->createTime) { $res['createTime'] = $this->createTime; } if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->modifyTime) { $res['modifyTime'] = $this->modifyTime; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->processInstanceStatus) { $res['processInstanceStatus'] = $this->processInstanceStatus; } if (null !== $this->processOutResult) { $res['processOutResult'] = $this->processOutResult; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['createTime'])) { $model->createTime = $map['createTime']; } if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['modifyTime'])) { $model->modifyTime = $map['modifyTime']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['processInstanceStatus'])) { $model->processInstanceStatus = $map['processInstanceStatus']; } if (isset($map['processOutResult'])) { $model->processOutResult = $map['processOutResult']; } return $model; } } src/crm_1_0/Models/QueryAllCustomerResponseBody/result/values/permission.php 0000644 00000002635 14713400346 0023341 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/QueryAllTracksHeaders.php 0000644 00000002327 14713400346 0014717 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAllTracksHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryAllTracksRequest.php 0000644 00000003016 14713400346 0014770 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'order' => 'order', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->order) { $res['order'] = $this->order; } return $res; } /** * @param array $map * * @return QueryAllTracksRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['order'])) { $model->order = $map['order']; } return $model; } } src/crm_1_0/Models/QueryAllTracksResponse.php 0000644 00000002721 14713400346 0015140 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAllTracksResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAllTracksResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryAllTracksResponseBody.php 0000644 00000004505 14713400346 0015760 0 ustar 00 'hasMore', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->values) { $res['values'] = []; if (null !== $this->values && \is_array($this->values)) { $n = 0; foreach ($this->values as $item) { $res['values'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryAllTracksResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = []; $n = 0; foreach ($map['values'] as $item) { $model->values[$n++] = null !== $item ? values::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/QueryAllTracksResponseBody/values.php 0000644 00000005274 14713400346 0017263 0 ustar 00 'bizId', 'creator' => 'creator', 'customerId' => 'customerId', 'gmtCreate' => 'gmtCreate', 'id' => 'id', 'subType' => 'subType', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->creator) { $res['creator'] = $this->creator; } if (null !== $this->customerId) { $res['customerId'] = $this->customerId; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->subType) { $res['subType'] = $this->subType; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['creator'])) { $model->creator = $map['creator']; } if (isset($map['customerId'])) { $model->customerId = $map['customerId']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['subType'])) { $model->subType = $map['subType']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/crm_1_0/Models/QueryAppManagerHeaders.php 0000644 00000002331 14713400346 0015045 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAppManagerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryAppManagerRequest.php 0000644 00000001725 14713400346 0015130 0 ustar 00 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return QueryAppManagerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/QueryAppManagerResponse.php 0000644 00000002725 14713400346 0015277 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAppManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAppManagerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryAppManagerResponseBody.php 0000644 00000002600 14713400346 0016105 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryAppManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/QueryAppManagerResponseBody/result.php 0000644 00000002533 14713400346 0017430 0 ustar 00 'avatarUrl', 'name' => 'name', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatarUrl) { $res['avatarUrl'] = $this->avatarUrl; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatarUrl'])) { $model->avatarUrl = $map['avatarUrl']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/QueryBenefitInventoryHeaders.php 0000644 00000002345 14713400346 0016331 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBenefitInventoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryBenefitInventoryRequest.php 0000644 00000001715 14713400346 0016406 0 ustar 00 'benefitCode', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } return $res; } /** * @param array $map * * @return QueryBenefitInventoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } return $model; } } src/crm_1_0/Models/QueryBenefitInventoryResponse.php 0000644 00000002755 14713400346 0016561 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBenefitInventoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBenefitInventoryResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryBenefitInventoryResponseBody.php 0000644 00000001732 14713400346 0017371 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBenefitInventoryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/QueryBenefitInventoryResponseBody/result.php 0000644 00000002262 14713400346 0020706 0 ustar 00 'totalQuota', 'usedQuota' => 'usedQuota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->totalQuota) { $res['totalQuota'] = $this->totalQuota; } if (null !== $this->usedQuota) { $res['usedQuota'] = $this->usedQuota; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['totalQuota'])) { $model->totalQuota = $map['totalQuota']; } if (isset($map['usedQuota'])) { $model->usedQuota = $map['usedQuota']; } return $model; } } src/crm_1_0/Models/QueryClueFollowStatusHeaders.php 0000644 00000002345 14713400346 0016316 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryClueFollowStatusHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryClueFollowStatusRequest.php 0000644 00000001476 14713400346 0016377 0 ustar 00 'clueId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clueId) { $res['clueId'] = $this->clueId; } return $res; } /** * @param array $map * * @return QueryClueFollowStatusRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clueId'])) { $model->clueId = $map['clueId']; } return $model; } } src/crm_1_0/Models/QueryClueFollowStatusResponse.php 0000644 00000002755 14713400346 0016546 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryClueFollowStatusResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryClueFollowStatusResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryClueFollowStatusResponseBody.php 0000644 00000002622 14713400346 0017355 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryClueFollowStatusResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/QueryClueFollowStatusResponseBody/result.php 0000644 00000002510 14713400346 0020667 0 ustar 00 'clueId', 'scope' => 'scope', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clueId) { $res['clueId'] = $this->clueId; } if (null !== $this->scope) { $res['scope'] = $this->scope; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clueId'])) { $model->clueId = $map['clueId']; } if (isset($map['scope'])) { $model->scope = $map['scope']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/crm_1_0/Models/QueryCrmGroupChatsHeaders.php 0000644 00000002337 14713400346 0015561 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCrmGroupChatsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryCrmGroupChatsRequest.php 0000644 00000003567 14713400346 0015644 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'queryDsl' => 'queryDsl', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->queryDsl) { $res['queryDsl'] = $this->queryDsl; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return QueryCrmGroupChatsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['queryDsl'])) { $model->queryDsl = $map['queryDsl']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/QueryCrmGroupChatsResponse.php 0000644 00000002741 14713400346 0016003 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCrmGroupChatsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCrmGroupChatsResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryCrmGroupChatsResponseBody.php 0000644 00000004717 14713400346 0016626 0 ustar 00 'hasMore', 'nextToken' => 'nextToken', 'resultList' => 'resultList', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->resultList) { $res['resultList'] = []; if (null !== $this->resultList && \is_array($this->resultList)) { $n = 0; foreach ($this->resultList as $item) { $res['resultList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return QueryCrmGroupChatsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['resultList'])) { if (!empty($map['resultList'])) { $model->resultList = []; $n = 0; foreach ($map['resultList'] as $item) { $model->resultList[$n++] = null !== $item ? resultList::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/crm_1_0/Models/QueryCrmGroupChatsResponseBody/resultList.php 0000644 00000006456 14713400346 0021002 0 ustar 00 'gmtCreate', 'memberCount' => 'memberCount', 'name' => 'name', 'openConversationId' => 'openConversationId', 'openGroupSetId' => 'openGroupSetId', 'ownerUserId' => 'ownerUserId', 'ownerUserName' => 'ownerUserName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->memberCount) { $res['memberCount'] = $this->memberCount; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->ownerUserName) { $res['ownerUserName'] = $this->ownerUserName; } return $res; } /** * @param array $map * * @return resultList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['memberCount'])) { $model->memberCount = $map['memberCount']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['ownerUserName'])) { $model->ownerUserName = $map['ownerUserName']; } return $model; } } src/crm_1_0/Models/QueryCrmPersonalCustomerHeaders.php 0000644 00000002353 14713400346 0017005 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCrmPersonalCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryCrmPersonalCustomerRequest.php 0000644 00000004353 14713400346 0017064 0 ustar 00 'currentOperatorUserId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'queryDsl' => 'queryDsl', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->currentOperatorUserId) { $res['currentOperatorUserId'] = $this->currentOperatorUserId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->queryDsl) { $res['queryDsl'] = $this->queryDsl; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return QueryCrmPersonalCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['currentOperatorUserId'])) { $model->currentOperatorUserId = $map['currentOperatorUserId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['queryDsl'])) { $model->queryDsl = $map['queryDsl']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/QueryCrmPersonalCustomerResponse.php 0000644 00000002771 14713400346 0017234 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCrmPersonalCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCrmPersonalCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryCrmPersonalCustomerResponseBody.php 0000644 00000005165 14713400346 0020052 0 ustar 00 'hasMore', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'totalCount' => 'totalCount', 'values' => 'values', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } if (null !== $this->values) { $res['values'] = []; if (null !== $this->values && \is_array($this->values)) { $n = 0; foreach ($this->values as $item) { $res['values'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCrmPersonalCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } if (isset($map['values'])) { if (!empty($map['values'])) { $model->values = []; $n = 0; foreach ($map['values'] as $item) { $model->values[$n++] = null !== $item ? values::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/QueryCrmPersonalCustomerResponseBody/values.php 0000644 00000011256 14713400346 0021347 0 ustar 00 'creatorNick', 'creatorUserId' => 'creatorUserId', 'data' => 'data', 'extendData' => 'extendData', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'instanceId' => 'instanceId', 'objectType' => 'objectType', 'permission' => 'permission', 'procInstStatus' => 'procInstStatus', 'procOutResult' => 'procOutResult', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->creatorNick) { $res['creatorNick'] = $this->creatorNick; } if (null !== $this->creatorUserId) { $res['creatorUserId'] = $this->creatorUserId; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->objectType) { $res['objectType'] = $this->objectType; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->procInstStatus) { $res['procInstStatus'] = $this->procInstStatus; } if (null !== $this->procOutResult) { $res['procOutResult'] = $this->procOutResult; } return $res; } /** * @param array $map * * @return values */ public static function fromMap($map = []) { $model = new self(); if (isset($map['creatorNick'])) { $model->creatorNick = $map['creatorNick']; } if (isset($map['creatorUserId'])) { $model->creatorUserId = $map['creatorUserId']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['objectType'])) { $model->objectType = $map['objectType']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['procInstStatus'])) { $model->procInstStatus = $map['procInstStatus']; } if (isset($map['procOutResult'])) { $model->procOutResult = $map['procOutResult']; } return $model; } } src/crm_1_0/Models/QueryCrmPersonalCustomerResponseBody/values/permission.php 0000644 00000003014 14713400346 0023530 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/QueryCustomerBizTypeHeaders.php 0000644 00000002343 14713400346 0016145 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCustomerBizTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryCustomerBizTypeRequest.php 0000644 00000001736 14713400346 0016227 0 ustar 00 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return QueryCustomerBizTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/QueryCustomerBizTypeResponse.php 0000644 00000002751 14713400346 0016373 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerBizTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCustomerBizTypeResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryCustomerBizTypeResponseBody.php 0000644 00000001727 14713400346 0017213 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCustomerBizTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/QueryCustomerBizTypeResponseBody/result.php 0000644 00000001650 14713400346 0020524 0 ustar 00 'customerBizType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerBizType) { $res['customerBizType'] = $this->customerBizType; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerBizType'])) { $model->customerBizType = $map['customerBizType']; } return $model; } } src/crm_1_0/Models/QueryGlobalInfoHeaders.php 0000644 00000002331 14713400346 0015046 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGlobalInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryGlobalInfoRequest.php 0000644 00000001615 14713400346 0015127 0 ustar 00 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryGlobalInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/crm_1_0/Models/QueryGlobalInfoResponse.php 0000644 00000002725 14713400346 0015300 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGlobalInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGlobalInfoResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryGlobalInfoResponseBody.php 0000644 00000001710 14713400346 0016107 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGlobalInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/QueryGlobalInfoResponseBody/result.php 0000644 00000001507 14713400346 0017431 0 ustar 00 'oemEnable', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->oemEnable) { $res['oemEnable'] = $this->oemEnable; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['oemEnable'])) { $model->oemEnable = $map['oemEnable']; } return $model; } } src/crm_1_0/Models/QueryHasAppPermissionHeaders.php 0000644 00000002345 14713400346 0016264 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHasAppPermissionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryHasAppPermissionRequest.php 0000644 00000001741 14713400346 0016340 0 ustar 00 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return QueryHasAppPermissionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/QueryHasAppPermissionResponse.php 0000644 00000002755 14713400346 0016514 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHasAppPermissionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHasAppPermissionResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryHasAppPermissionResponseBody.php 0000644 00000001506 14713400346 0017323 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryHasAppPermissionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/QueryOfficialAccountUserBasicInfoHeaders.php 0000644 00000002375 14713400346 0020510 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOfficialAccountUserBasicInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryOfficialAccountUserBasicInfoRequest.php 0000644 00000002426 14713400346 0020562 0 ustar 00 'bindingToken', 'unionId' => 'unionId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingToken) { $res['bindingToken'] = $this->bindingToken; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } return $res; } /** * @param array $map * * @return QueryOfficialAccountUserBasicInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingToken'])) { $model->bindingToken = $map['bindingToken']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } return $model; } } src/crm_1_0/Models/QueryOfficialAccountUserBasicInfoResponse.php 0000644 00000003035 14713400346 0020725 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialAccountUserBasicInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOfficialAccountUserBasicInfoResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryOfficialAccountUserBasicInfoResponseBody.php 0000644 00000002541 14713400346 0021544 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialAccountUserBasicInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/QueryOfficialAccountUserBasicInfoResponseBody/result.php 0000644 00000001627 14713400346 0023066 0 ustar 00 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/crm_1_0/Models/QueryRelationDatasByTargetIdHeaders.php 0000644 00000002363 14713400346 0017510 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRelationDatasByTargetIdHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/QueryRelationDatasByTargetIdRequest.php 0000644 00000001727 14713400346 0017570 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return QueryRelationDatasByTargetIdRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/QueryRelationDatasByTargetIdResponse.php 0000644 00000003011 14713400346 0017722 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRelationDatasByTargetIdResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRelationDatasByTargetIdResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/QueryRelationDatasByTargetIdResponseBody.php 0000644 00000003024 14713400346 0020544 0 ustar 00 'relations', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relations) { $res['relations'] = []; if (null !== $this->relations && \is_array($this->relations)) { $n = 0; foreach ($this->relations as $item) { $res['relations'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryRelationDatasByTargetIdResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relations'])) { if (!empty($map['relations'])) { $model->relations = []; $n = 0; foreach ($map['relations'] as $item) { $model->relations[$n++] = null !== $item ? relations::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/QueryRelationDatasByTargetIdResponseBody/relations.php 0000644 00000005552 14713400346 0022554 0 ustar 00 'bizDataList', 'openConversationIds' => 'openConversationIds', 'relationId' => 'relationId', 'relationType' => 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataList) { $res['bizDataList'] = []; if (null !== $this->bizDataList && \is_array($this->bizDataList)) { $n = 0; foreach ($this->bizDataList as $item) { $res['bizDataList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->openConversationIds) { $res['openConversationIds'] = $this->openConversationIds; } if (null !== $this->relationId) { $res['relationId'] = $this->relationId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return relations */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataList'])) { if (!empty($map['bizDataList'])) { $model->bizDataList = []; $n = 0; foreach ($map['bizDataList'] as $item) { $model->bizDataList[$n++] = null !== $item ? bizDataList::fromMap($item) : $item; } } } if (isset($map['openConversationIds'])) { if (!empty($map['openConversationIds'])) { $model->openConversationIds = $map['openConversationIds']; } } if (isset($map['relationId'])) { $model->relationId = $map['relationId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_1_0/Models/QueryRelationDatasByTargetIdResponseBody/relations/bizDataList.php 0000644 00000003204 14713400346 0024756 0 ustar 00 'extendValue', 'key' => 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->extendValue) { $res['extendValue'] = $this->extendValue; } if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return bizDataList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['extendValue'])) { $model->extendValue = $map['extendValue']; } if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/RecallOfficialAccountOTOMessageHeaders.php 0000644 00000002371 14713400346 0020053 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RecallOfficialAccountOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/RecallOfficialAccountOTOMessageRequest.php 0000644 00000002423 14713400346 0020126 0 ustar 00 'accountId', 'openPushId' => 'openPushId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->openPushId) { $res['openPushId'] = $this->openPushId; } return $res; } /** * @param array $map * * @return RecallOfficialAccountOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['openPushId'])) { $model->openPushId = $map['openPushId']; } return $model; } } src/crm_1_0/Models/RecallOfficialAccountOTOMessageResponse.php 0000644 00000003025 14713400346 0020273 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RecallOfficialAccountOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RecallOfficialAccountOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/RecallOfficialAccountOTOMessageResponseBody.php 0000644 00000001567 14713400346 0021122 0 ustar 00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return RecallOfficialAccountOTOMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseHeaders.php 0000644 00000002337 14713400346 0015510 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SaveBenefitLicenseHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseRequest.php 0000644 00000004320 14713400346 0015557 0 ustar 00 'domain', 'licenses' => 'licenses', 'saveUserId' => 'saveUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->licenses) { $res['licenses'] = []; if (null !== $this->licenses && \is_array($this->licenses)) { $n = 0; foreach ($this->licenses as $item) { $res['licenses'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->saveUserId) { $res['saveUserId'] = $this->saveUserId; } return $res; } /** * @param array $map * * @return SaveBenefitLicenseRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['licenses'])) { if (!empty($map['licenses'])) { $model->licenses = []; $n = 0; foreach ($map['licenses'] as $item) { $model->licenses[$n++] = null !== $item ? licenses::fromMap($item) : $item; } } } if (isset($map['saveUserId'])) { $model->saveUserId = $map['saveUserId']; } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseRequest/licenses.php 0000644 00000001625 14713400346 0017371 0 ustar 00 'licenseUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->licenseUserId) { $res['licenseUserId'] = $this->licenseUserId; } return $res; } /** * @param array $map * * @return licenses */ public static function fromMap($map = []) { $model = new self(); if (isset($map['licenseUserId'])) { $model->licenseUserId = $map['licenseUserId']; } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseResponse.php 0000644 00000002741 14713400346 0015732 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SaveBenefitLicenseResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SaveBenefitLicenseResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseResponseBody.php 0000644 00000001721 14713400346 0016545 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return SaveBenefitLicenseResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseResponseBody/result.php 0000644 00000003333 14713400346 0020064 0 ustar 00 'domain', 'licenses' => 'licenses', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->domain) { $res['domain'] = $this->domain; } if (null !== $this->licenses) { $res['licenses'] = []; if (null !== $this->licenses && \is_array($this->licenses)) { $n = 0; foreach ($this->licenses as $item) { $res['licenses'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['domain'])) { $model->domain = $map['domain']; } if (isset($map['licenses'])) { if (!empty($map['licenses'])) { $model->licenses = []; $n = 0; foreach ($map['licenses'] as $item) { $model->licenses[$n++] = null !== $item ? licenses::fromMap($item) : $item; } } } return $model; } } src/crm_1_0/Models/SaveBenefitLicenseResponseBody/result/licenses.php 0000644 00000001646 14713400346 0021676 0 ustar 00 'licenseUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->licenseUserId) { $res['licenseUserId'] = $this->licenseUserId; } return $res; } /** * @param array $map * * @return licenses */ public static function fromMap($map = []) { $model = new self(); if (isset($map['licenseUserId'])) { $model->licenseUserId = $map['licenseUserId']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageHeaders.php 0000644 00000002365 14713400346 0017545 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendOfficialAccountOTOMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest.php 0000644 00000003117 14713400346 0017616 0 ustar 00 'accountId', 'bizId' => 'bizId', 'detail' => 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->detail) { $res['detail'] = null !== $this->detail ? $this->detail->toMap() : null; } return $res; } /** * @param array $map * * @return SendOfficialAccountOTOMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail.php 0000644 00000004441 14713400346 0021061 0 ustar 00 'messageBody', 'msgType' => 'msgType', 'unionId' => 'unionId', 'userId' => 'userId', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageBody) { $res['messageBody'] = null !== $this->messageBody ? $this->messageBody->toMap() : null; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->unionId) { $res['unionId'] = $this->unionId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageBody'])) { $model->messageBody = messageBody::fromMap($map['messageBody']); } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['unionId'])) { $model->unionId = $map['unionId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody.php 0000644 00000005350 14713400346 0023323 0 ustar 00 'actionCard', 'image' => 'image', 'link' => 'link', 'markdown' => 'markdown', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCard) { $res['actionCard'] = null !== $this->actionCard ? $this->actionCard->toMap() : null; } if (null !== $this->image) { $res['image'] = null !== $this->image ? $this->image->toMap() : null; } if (null !== $this->link) { $res['link'] = null !== $this->link ? $this->link->toMap() : null; } if (null !== $this->markdown) { $res['markdown'] = null !== $this->markdown ? $this->markdown->toMap() : null; } if (null !== $this->text) { $res['text'] = null !== $this->text ? $this->text->toMap() : null; } return $res; } /** * @param array $map * * @return messageBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCard'])) { $model->actionCard = actionCard::fromMap($map['actionCard']); } if (isset($map['image'])) { $model->image = image::fromMap($map['image']); } if (isset($map['link'])) { $model->link = link::fromMap($map['link']); } if (isset($map['markdown'])) { $model->markdown = markdown::fromMap($map['markdown']); } if (isset($map['text'])) { $model->text = text::fromMap($map['text']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody/actionCard.php 0000644 00000006140 14713400346 0025370 0 ustar 00 'buttonList', 'buttonOrientation' => 'buttonOrientation', 'markdown' => 'markdown', 'singleTitle' => 'singleTitle', 'singleUrl' => 'singleUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buttonList) { $res['buttonList'] = []; if (null !== $this->buttonList && \is_array($this->buttonList)) { $n = 0; foreach ($this->buttonList as $item) { $res['buttonList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->buttonOrientation) { $res['buttonOrientation'] = $this->buttonOrientation; } if (null !== $this->markdown) { $res['markdown'] = $this->markdown; } if (null !== $this->singleTitle) { $res['singleTitle'] = $this->singleTitle; } if (null !== $this->singleUrl) { $res['singleUrl'] = $this->singleUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return actionCard */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buttonList'])) { if (!empty($map['buttonList'])) { $model->buttonList = []; $n = 0; foreach ($map['buttonList'] as $item) { $model->buttonList[$n++] = null !== $item ? buttonList::fromMap($item) : $item; } } } if (isset($map['buttonOrientation'])) { $model->buttonOrientation = $map['buttonOrientation']; } if (isset($map['markdown'])) { $model->markdown = $map['markdown']; } if (isset($map['singleTitle'])) { $model->singleTitle = $map['singleTitle']; } if (isset($map['singleUrl'])) { $model->singleUrl = $map['singleUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody/actionCard/buttonList.php0000644 00000002357 14713400346 0027545 0 ustar 00 'actionUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionUrl) { $res['actionUrl'] = $this->actionUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return buttonList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionUrl'])) { $model->actionUrl = $map['actionUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody/image.php 0000644 00000001600 14713400346 0024377 0 ustar 00 'mediaId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->mediaId) { $res['mediaId'] = $this->mediaId; } return $res; } /** * @param array $map * * @return image */ public static function fromMap($map = []) { $model = new self(); if (isset($map['mediaId'])) { $model->mediaId = $map['mediaId']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody/link.php 0000644 00000003544 14713400346 0024263 0 ustar 00 'messageUrl', 'picUrl' => 'picUrl', 'text' => 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageUrl) { $res['messageUrl'] = $this->messageUrl; } if (null !== $this->picUrl) { $res['picUrl'] = $this->picUrl; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return link */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageUrl'])) { $model->messageUrl = $map['messageUrl']; } if (isset($map['picUrl'])) { $model->picUrl = $map['picUrl']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody/markdown.php 0000644 00000002260 14713400346 0025142 0 ustar 00 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return markdown */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageRequest/detail/messageBody/text.php 0000644 00000001606 14713400346 0024307 0 ustar 00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return text */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageResponse.php 0000644 00000003015 14713400346 0017761 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendOfficialAccountOTOMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendOfficialAccountOTOMessageResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageResponseBody.php 0000644 00000002525 14713400346 0020604 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return SendOfficialAccountOTOMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountOTOMessageResponseBody/result.php 0000644 00000001627 14713400346 0022124 0 ustar 00 'openPushId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openPushId) { $res['openPushId'] = $this->openPushId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openPushId'])) { $model->openPushId = $map['openPushId']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageHeaders.php 0000644 00000002365 14713400346 0017547 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendOfficialAccountSNSMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest.php 0000644 00000003247 14713400346 0017624 0 ustar 00 'bindingToken', 'bizId' => 'bizId', 'detail' => 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bindingToken) { $res['bindingToken'] = $this->bindingToken; } if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->detail) { $res['detail'] = null !== $this->detail ? $this->detail->toMap() : null; } return $res; } /** * @param array $map * * @return SendOfficialAccountSNSMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bindingToken'])) { $model->bindingToken = $map['bindingToken']; } if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail.php 0000644 00000003363 14713400346 0021065 0 ustar 00 'messageBody', 'msgType' => 'msgType', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageBody) { $res['messageBody'] = null !== $this->messageBody ? $this->messageBody->toMap() : null; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageBody'])) { $model->messageBody = messageBody::fromMap($map['messageBody']); } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail/messageBody.php 0000644 00000004472 14713400346 0023331 0 ustar 00 'actionCard', 'link' => 'link', 'markdown' => 'markdown', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCard) { $res['actionCard'] = null !== $this->actionCard ? $this->actionCard->toMap() : null; } if (null !== $this->link) { $res['link'] = null !== $this->link ? $this->link->toMap() : null; } if (null !== $this->markdown) { $res['markdown'] = null !== $this->markdown ? $this->markdown->toMap() : null; } if (null !== $this->text) { $res['text'] = null !== $this->text ? $this->text->toMap() : null; } return $res; } /** * @param array $map * * @return messageBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCard'])) { $model->actionCard = actionCard::fromMap($map['actionCard']); } if (isset($map['link'])) { $model->link = link::fromMap($map['link']); } if (isset($map['markdown'])) { $model->markdown = markdown::fromMap($map['markdown']); } if (isset($map['text'])) { $model->text = text::fromMap($map['text']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail/messageBody/actionCard.php 0000644 00000006051 14713400346 0025373 0 ustar 00 'buttonList', 'buttonOrientation' => 'buttonOrientation', 'markdown' => 'markdown', 'singleTitle' => 'singleTitle', 'singleUrl' => 'singleUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buttonList) { $res['buttonList'] = []; if (null !== $this->buttonList && \is_array($this->buttonList)) { $n = 0; foreach ($this->buttonList as $item) { $res['buttonList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->buttonOrientation) { $res['buttonOrientation'] = $this->buttonOrientation; } if (null !== $this->markdown) { $res['markdown'] = $this->markdown; } if (null !== $this->singleTitle) { $res['singleTitle'] = $this->singleTitle; } if (null !== $this->singleUrl) { $res['singleUrl'] = $this->singleUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return actionCard */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buttonList'])) { if (!empty($map['buttonList'])) { $model->buttonList = []; $n = 0; foreach ($map['buttonList'] as $item) { $model->buttonList[$n++] = null !== $item ? buttonList::fromMap($item) : $item; } } } if (isset($map['buttonOrientation'])) { $model->buttonOrientation = $map['buttonOrientation']; } if (isset($map['markdown'])) { $model->markdown = $map['markdown']; } if (isset($map['singleTitle'])) { $model->singleTitle = $map['singleTitle']; } if (isset($map['singleUrl'])) { $model->singleUrl = $map['singleUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail/messageBody/actionCard/buttonList.php0000644 00000002201 14713400346 0027533 0 ustar 00 'actionUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionUrl) { $res['actionUrl'] = $this->actionUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return buttonList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionUrl'])) { $model->actionUrl = $map['actionUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail/messageBody/link.php 0000644 00000003210 14713400346 0024253 0 ustar 00 'messageUrl', 'picUrl' => 'picUrl', 'text' => 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageUrl) { $res['messageUrl'] = $this->messageUrl; } if (null !== $this->picUrl) { $res['picUrl'] = $this->picUrl; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return link */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageUrl'])) { $model->messageUrl = $map['messageUrl']; } if (isset($map['picUrl'])) { $model->picUrl = $map['picUrl']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail/messageBody/markdown.php 0000644 00000002102 14713400346 0025137 0 ustar 00 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return markdown */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageRequest/detail/messageBody/text.php 0000644 00000001517 14713400346 0024312 0 ustar 00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return text */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageResponse.php 0000644 00000003015 14713400346 0017763 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendOfficialAccountSNSMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendOfficialAccountSNSMessageResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageResponseBody.php 0000644 00000002525 14713400346 0020606 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return SendOfficialAccountSNSMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/SendOfficialAccountSNSMessageResponseBody/result.php 0000644 00000001627 14713400346 0022126 0 ustar 00 'openPushId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openPushId) { $res['openPushId'] = $this->openPushId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openPushId'])) { $model->openPushId = $map['openPushId']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushHeaders.php 0000644 00000002365 14713400346 0017712 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ServiceWindowMessageBatchPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest.php 0000644 00000002440 14713400346 0017761 0 ustar 00 'bizId', 'detail' => 'detail', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->detail) { $res['detail'] = null !== $this->detail ? $this->detail->toMap() : null; } return $res; } /** * @param array $map * * @return ServiceWindowMessageBatchPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['detail'])) { $model->detail = detail::fromMap($map['detail']); } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail.php 0000644 00000005365 14713400346 0021234 0 ustar 00 'bizRequestId', 'messageBody' => 'messageBody', 'msgType' => 'msgType', 'sendToAll' => 'sendToAll', 'userIdList' => 'userIdList', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->messageBody) { $res['messageBody'] = null !== $this->messageBody ? $this->messageBody->toMap() : null; } if (null !== $this->msgType) { $res['msgType'] = $this->msgType; } if (null !== $this->sendToAll) { $res['sendToAll'] = $this->sendToAll; } if (null !== $this->userIdList) { $res['userIdList'] = $this->userIdList; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return detail */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['messageBody'])) { $model->messageBody = messageBody::fromMap($map['messageBody']); } if (isset($map['msgType'])) { $model->msgType = $map['msgType']; } if (isset($map['sendToAll'])) { $model->sendToAll = $map['sendToAll']; } if (isset($map['userIdList'])) { if (!empty($map['userIdList'])) { $model->userIdList = $map['userIdList']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail/messageBody.php 0000644 00000004472 14713400346 0023474 0 ustar 00 'actionCard', 'link' => 'link', 'markdown' => 'markdown', 'text' => 'text', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCard) { $res['actionCard'] = null !== $this->actionCard ? $this->actionCard->toMap() : null; } if (null !== $this->link) { $res['link'] = null !== $this->link ? $this->link->toMap() : null; } if (null !== $this->markdown) { $res['markdown'] = null !== $this->markdown ? $this->markdown->toMap() : null; } if (null !== $this->text) { $res['text'] = null !== $this->text ? $this->text->toMap() : null; } return $res; } /** * @param array $map * * @return messageBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCard'])) { $model->actionCard = actionCard::fromMap($map['actionCard']); } if (isset($map['link'])) { $model->link = link::fromMap($map['link']); } if (isset($map['markdown'])) { $model->markdown = markdown::fromMap($map['markdown']); } if (isset($map['text'])) { $model->text = text::fromMap($map['text']); } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail/messageBody/actionCard.php 0000644 00000006051 14713400346 0025536 0 ustar 00 'buttonList', 'buttonOrientation' => 'buttonOrientation', 'markdown' => 'markdown', 'singleTitle' => 'singleTitle', 'singleUrl' => 'singleUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->buttonList) { $res['buttonList'] = []; if (null !== $this->buttonList && \is_array($this->buttonList)) { $n = 0; foreach ($this->buttonList as $item) { $res['buttonList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->buttonOrientation) { $res['buttonOrientation'] = $this->buttonOrientation; } if (null !== $this->markdown) { $res['markdown'] = $this->markdown; } if (null !== $this->singleTitle) { $res['singleTitle'] = $this->singleTitle; } if (null !== $this->singleUrl) { $res['singleUrl'] = $this->singleUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return actionCard */ public static function fromMap($map = []) { $model = new self(); if (isset($map['buttonList'])) { if (!empty($map['buttonList'])) { $model->buttonList = []; $n = 0; foreach ($map['buttonList'] as $item) { $model->buttonList[$n++] = null !== $item ? buttonList::fromMap($item) : $item; } } } if (isset($map['buttonOrientation'])) { $model->buttonOrientation = $map['buttonOrientation']; } if (isset($map['markdown'])) { $model->markdown = $map['markdown']; } if (isset($map['singleTitle'])) { $model->singleTitle = $map['singleTitle']; } if (isset($map['singleUrl'])) { $model->singleUrl = $map['singleUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail/messageBody/actionCard/buttonList.php0000644 00000002357 14713400346 0027712 0 ustar 00 'actionUrl', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionUrl) { $res['actionUrl'] = $this->actionUrl; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return buttonList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionUrl'])) { $model->actionUrl = $map['actionUrl']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail/messageBody/link.php 0000644 00000003210 14713400346 0024416 0 ustar 00 'messageUrl', 'picUrl' => 'picUrl', 'text' => 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->messageUrl) { $res['messageUrl'] = $this->messageUrl; } if (null !== $this->picUrl) { $res['picUrl'] = $this->picUrl; } if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return link */ public static function fromMap($map = []) { $model = new self(); if (isset($map['messageUrl'])) { $model->messageUrl = $map['messageUrl']; } if (isset($map['picUrl'])) { $model->picUrl = $map['picUrl']; } if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail/messageBody/markdown.php 0000644 00000002260 14713400346 0025307 0 ustar 00 'text', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->text) { $res['text'] = $this->text; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return markdown */ public static function fromMap($map = []) { $model = new self(); if (isset($map['text'])) { $model->text = $map['text']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushRequest/detail/messageBody/text.php 0000644 00000001606 14713400346 0024454 0 ustar 00 'content', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } return $res; } /** * @param array $map * * @return text */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushResponse.php 0000644 00000003015 14713400346 0020126 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ServiceWindowMessageBatchPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ServiceWindowMessageBatchPushResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushResponseBody.php 0000644 00000002436 14713400346 0020752 0 ustar 00 'requestId', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return ServiceWindowMessageBatchPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_1_0/Models/ServiceWindowMessageBatchPushResponseBody/result.php 0000644 00000001627 14713400346 0022271 0 ustar 00 'openPushId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openPushId) { $res['openPushId'] = $this->openPushId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openPushId'])) { $model->openPushId = $map['openPushId']; } return $model; } } src/crm_1_0/Models/TwoPhaseCommitInventoryHeaders.php 0000644 00000002351 14713400346 0016627 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return TwoPhaseCommitInventoryHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/TwoPhaseCommitInventoryRequest.php 0000644 00000004053 14713400346 0016705 0 ustar 00 'benefitCode', 'bizRequestId' => 'bizRequestId', 'executeResult' => 'executeResult', 'quota' => 'quota', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->benefitCode) { $res['benefitCode'] = $this->benefitCode; } if (null !== $this->bizRequestId) { $res['bizRequestId'] = $this->bizRequestId; } if (null !== $this->executeResult) { $res['executeResult'] = $this->executeResult; } if (null !== $this->quota) { $res['quota'] = $this->quota; } return $res; } /** * @param array $map * * @return TwoPhaseCommitInventoryRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['benefitCode'])) { $model->benefitCode = $map['benefitCode']; } if (isset($map['bizRequestId'])) { $model->bizRequestId = $map['bizRequestId']; } if (isset($map['executeResult'])) { $model->executeResult = $map['executeResult']; } if (isset($map['quota'])) { $model->quota = $map['quota']; } return $model; } } src/crm_1_0/Models/TwoPhaseCommitInventoryResponse.php 0000644 00000002765 14713400346 0017063 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return TwoPhaseCommitInventoryResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = TwoPhaseCommitInventoryResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/TwoPhaseCommitInventoryResponseBody.php 0000644 00000001546 14713400346 0017675 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return TwoPhaseCommitInventoryResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/UpdateCrmPersonalCustomerHeaders.php 0000644 00000002355 14713400346 0017124 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCrmPersonalCustomerHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/UpdateCrmPersonalCustomerRequest.php 0000644 00000007325 14713400346 0017203 0 ustar 00 'action', 'data' => 'data', 'extendData' => 'extendData', 'instanceId' => 'instanceId', 'modifierNick' => 'modifierNick', 'modifierUserId' => 'modifierUserId', 'permission' => 'permission', 'relationType' => 'relationType', 'skipDuplicateCheck' => 'skipDuplicateCheck', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->action) { $res['action'] = $this->action; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->extendData) { $res['extendData'] = $this->extendData; } if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } if (null !== $this->modifierNick) { $res['modifierNick'] = $this->modifierNick; } if (null !== $this->modifierUserId) { $res['modifierUserId'] = $this->modifierUserId; } if (null !== $this->permission) { $res['permission'] = null !== $this->permission ? $this->permission->toMap() : null; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->skipDuplicateCheck) { $res['skipDuplicateCheck'] = $this->skipDuplicateCheck; } return $res; } /** * @param array $map * * @return UpdateCrmPersonalCustomerRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['action'])) { $model->action = $map['action']; } if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['extendData'])) { $model->extendData = $map['extendData']; } if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } if (isset($map['modifierNick'])) { $model->modifierNick = $map['modifierNick']; } if (isset($map['modifierUserId'])) { $model->modifierUserId = $map['modifierUserId']; } if (isset($map['permission'])) { $model->permission = permission::fromMap($map['permission']); } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['skipDuplicateCheck'])) { $model->skipDuplicateCheck = $map['skipDuplicateCheck']; } return $model; } } src/crm_1_0/Models/UpdateCrmPersonalCustomerRequest/permission.php 0000644 00000002623 14713400346 0021367 0 ustar 00 'ownerStaffIds', 'participantStaffIds' => 'participantStaffIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ownerStaffIds) { $res['ownerStaffIds'] = $this->ownerStaffIds; } if (null !== $this->participantStaffIds) { $res['participantStaffIds'] = $this->participantStaffIds; } return $res; } /** * @param array $map * * @return permission */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ownerStaffIds'])) { if (!empty($map['ownerStaffIds'])) { $model->ownerStaffIds = $map['ownerStaffIds']; } } if (isset($map['participantStaffIds'])) { if (!empty($map['participantStaffIds'])) { $model->participantStaffIds = $map['participantStaffIds']; } } return $model; } } src/crm_1_0/Models/UpdateCrmPersonalCustomerResponse.php 0000644 00000002775 14713400346 0017355 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCrmPersonalCustomerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCrmPersonalCustomerResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/UpdateCrmPersonalCustomerResponseBody.php 0000644 00000001653 14713400346 0020165 0 ustar 00 'instanceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->instanceId) { $res['instanceId'] = $this->instanceId; } return $res; } /** * @param array $map * * @return UpdateCrmPersonalCustomerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['instanceId'])) { $model->instanceId = $map['instanceId']; } return $model; } } src/crm_1_0/Models/UpdateCustomerBizTypeHeaders.php 0000644 00000002345 14713400346 0016264 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCustomerBizTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/UpdateCustomerBizTypeRequest.php 0000644 00000002636 14713400346 0016344 0 ustar 00 'customerBizType', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->customerBizType) { $res['customerBizType'] = $this->customerBizType; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return UpdateCustomerBizTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['customerBizType'])) { $model->customerBizType = $map['customerBizType']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/UpdateCustomerBizTypeResponse.php 0000644 00000002755 14713400346 0016514 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCustomerBizTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCustomerBizTypeResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/UpdateCustomerBizTypeResponseBody.php 0000644 00000001506 14713400346 0017323 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateCustomerBizTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/UpdateGroupSetHeaders.php 0000644 00000002327 14713400346 0014724 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateGroupSetHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/UpdateGroupSetRequest.php 0000644 00000006451 14713400346 0015003 0 ustar 00 'managerUserIds', 'memberQuota' => 'memberQuota', 'name' => 'name', 'notice' => 'notice', 'noticeToped' => 'noticeToped', 'openGroupSetId' => 'openGroupSetId', 'ownerUserId' => 'ownerUserId', 'templateId' => 'templateId', 'welcome' => 'welcome', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->managerUserIds) { $res['managerUserIds'] = $this->managerUserIds; } if (null !== $this->memberQuota) { $res['memberQuota'] = $this->memberQuota; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->notice) { $res['notice'] = $this->notice; } if (null !== $this->noticeToped) { $res['noticeToped'] = $this->noticeToped; } if (null !== $this->openGroupSetId) { $res['openGroupSetId'] = $this->openGroupSetId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->welcome) { $res['welcome'] = $this->welcome; } return $res; } /** * @param array $map * * @return UpdateGroupSetRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['managerUserIds'])) { $model->managerUserIds = $map['managerUserIds']; } if (isset($map['memberQuota'])) { $model->memberQuota = $map['memberQuota']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['notice'])) { $model->notice = $map['notice']; } if (isset($map['noticeToped'])) { $model->noticeToped = $map['noticeToped']; } if (isset($map['openGroupSetId'])) { $model->openGroupSetId = $map['openGroupSetId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['welcome'])) { $model->welcome = $map['welcome']; } return $model; } } src/crm_1_0/Models/UpdateGroupSetResponse.php 0000644 00000002557 14713400346 0015154 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = $this->body; } return $res; } /** * @param array $map * * @return UpdateGroupSetResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = $map['body']; } return $model; } } src/crm_1_0/Models/UpdateMenuDataHeaders.php 0000644 00000002327 14713400346 0014652 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMenuDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/UpdateMenuDataRequest.php 0000644 00000005526 14713400346 0014733 0 ustar 00 'attr', 'bizTraceId' => 'bizTraceId', 'module' => 'module', 'navData' => 'navData', 'operateType' => 'operateType', 'operatorUserId' => 'operatorUserId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->attr) { $res['attr'] = $this->attr; } if (null !== $this->bizTraceId) { $res['bizTraceId'] = $this->bizTraceId; } if (null !== $this->module) { $res['module'] = $this->module; } if (null !== $this->navData) { $res['navData'] = null !== $this->navData ? $this->navData->toMap() : null; } if (null !== $this->operateType) { $res['operateType'] = $this->operateType; } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } return $res; } /** * @param array $map * * @return UpdateMenuDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['attr'])) { $model->attr = $map['attr']; } if (isset($map['bizTraceId'])) { $model->bizTraceId = $map['bizTraceId']; } if (isset($map['module'])) { $model->module = $map['module']; } if (isset($map['navData'])) { $model->navData = navData::fromMap($map['navData']); } if (isset($map['operateType'])) { $model->operateType = $map['operateType']; } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } return $model; } } src/crm_1_0/Models/UpdateMenuDataRequest/navData.php 0000644 00000015617 14713400346 0016313 0 ustar 00 'displayStatus', 'icon' => 'icon', 'iconBgColor' => 'iconBgColor', 'iconColor' => 'iconColor', 'integrationProtocol' => 'integrationProtocol', 'mobileNavName' => 'mobileNavName', 'mobileUrl' => 'mobileUrl', 'navCode' => 'navCode', 'navExtInfo' => 'navExtInfo', 'navId' => 'navId', 'navName' => 'navName', 'navStatus' => 'navStatus', 'navType' => 'navType', 'parentNavId' => 'parentNavId', 'provider' => 'provider', 'sortNum' => 'sortNum', 'url' => 'url', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayStatus) { $res['displayStatus'] = $this->displayStatus; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->iconBgColor) { $res['iconBgColor'] = $this->iconBgColor; } if (null !== $this->iconColor) { $res['iconColor'] = $this->iconColor; } if (null !== $this->integrationProtocol) { $res['integrationProtocol'] = $this->integrationProtocol; } if (null !== $this->mobileNavName) { $res['mobileNavName'] = $this->mobileNavName; } if (null !== $this->mobileUrl) { $res['mobileUrl'] = $this->mobileUrl; } if (null !== $this->navCode) { $res['navCode'] = $this->navCode; } if (null !== $this->navExtInfo) { $res['navExtInfo'] = null !== $this->navExtInfo ? $this->navExtInfo->toMap() : null; } if (null !== $this->navId) { $res['navId'] = $this->navId; } if (null !== $this->navName) { $res['navName'] = $this->navName; } if (null !== $this->navStatus) { $res['navStatus'] = $this->navStatus; } if (null !== $this->navType) { $res['navType'] = $this->navType; } if (null !== $this->parentNavId) { $res['parentNavId'] = $this->parentNavId; } if (null !== $this->provider) { $res['provider'] = $this->provider; } if (null !== $this->sortNum) { $res['sortNum'] = $this->sortNum; } if (null !== $this->url) { $res['url'] = $this->url; } return $res; } /** * @param array $map * * @return navData */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayStatus'])) { $model->displayStatus = $map['displayStatus']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['iconBgColor'])) { $model->iconBgColor = $map['iconBgColor']; } if (isset($map['iconColor'])) { $model->iconColor = $map['iconColor']; } if (isset($map['integrationProtocol'])) { $model->integrationProtocol = $map['integrationProtocol']; } if (isset($map['mobileNavName'])) { $model->mobileNavName = $map['mobileNavName']; } if (isset($map['mobileUrl'])) { $model->mobileUrl = $map['mobileUrl']; } if (isset($map['navCode'])) { $model->navCode = $map['navCode']; } if (isset($map['navExtInfo'])) { $model->navExtInfo = navExtInfo::fromMap($map['navExtInfo']); } if (isset($map['navId'])) { $model->navId = $map['navId']; } if (isset($map['navName'])) { $model->navName = $map['navName']; } if (isset($map['navStatus'])) { $model->navStatus = $map['navStatus']; } if (isset($map['navType'])) { $model->navType = $map['navType']; } if (isset($map['parentNavId'])) { $model->parentNavId = $map['parentNavId']; } if (isset($map['provider'])) { $model->provider = $map['provider']; } if (isset($map['sortNum'])) { $model->sortNum = $map['sortNum']; } if (isset($map['url'])) { $model->url = $map['url']; } return $model; } } src/crm_1_0/Models/UpdateMenuDataRequest/navData/navExtInfo.php 0000644 00000002275 14713400346 0020370 0 ustar 00 'productMode', 'provider' => 'provider', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->productMode) { $res['productMode'] = $this->productMode; } if (null !== $this->provider) { $res['provider'] = $this->provider; } return $res; } /** * @param array $map * * @return navExtInfo */ public static function fromMap($map = []) { $model = new self(); if (isset($map['productMode'])) { $model->productMode = $map['productMode']; } if (isset($map['provider'])) { $model->provider = $map['provider']; } return $model; } } src/crm_1_0/Models/UpdateMenuDataResponse.php 0000644 00000002721 14713400346 0015073 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateMenuDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateMenuDataResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/UpdateMenuDataResponseBody.php 0000644 00000001472 14713400346 0015713 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateMenuDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldHeaders.php 0000644 00000002343 14713400346 0015765 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateMetaModelFieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldRequest.php 0000644 00000005124 14713400346 0016042 0 ustar 00 'bizType', 'fieldDTOList' => 'fieldDTOList', 'operatorUserId' => 'operatorUserId', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } if (null !== $this->fieldDTOList) { $res['fieldDTOList'] = []; if (null !== $this->fieldDTOList && \is_array($this->fieldDTOList)) { $n = 0; foreach ($this->fieldDTOList as $item) { $res['fieldDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return UpdateMetaModelFieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } if (isset($map['fieldDTOList'])) { if (!empty($map['fieldDTOList'])) { $model->fieldDTOList = []; $n = 0; foreach ($map['fieldDTOList'] as $item) { $model->fieldDTOList[$n++] = null !== $item ? fieldDTOList::fromMap($item) : $item; } } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldRequest/fieldDTOList.php 0000644 00000002611 14713400346 0020326 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return fieldDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldRequest/fieldDTOList/props.php 0000644 00000017551 14713400346 0021502 0 ustar 00 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'sortable' => 'sortable', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldRequest/fieldDTOList/props/options.php 0000644 00000002057 14713400346 0023170 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldResponse.php 0000644 00000002751 14713400346 0016213 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateMetaModelFieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateMetaModelFieldResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/UpdateMetaModelFieldResponseBody.php 0000644 00000001606 14713400346 0017027 0 ustar 00 'bizType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizType) { $res['bizType'] = $this->bizType; } return $res; } /** * @param array $map * * @return UpdateMetaModelFieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizType'])) { $model->bizType = $map['bizType']; } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldHeaders.php 0000644 00000002351 14713400346 0016501 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateRelationMetaFieldHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldRequest.php 0000644 00000005205 14713400346 0016557 0 ustar 00 'fieldDTOList', 'operatorUserId' => 'operatorUserId', 'relationType' => 'relationType', 'tenant' => 'tenant', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldDTOList) { $res['fieldDTOList'] = []; if (null !== $this->fieldDTOList && \is_array($this->fieldDTOList)) { $n = 0; foreach ($this->fieldDTOList as $item) { $res['fieldDTOList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operatorUserId) { $res['operatorUserId'] = $this->operatorUserId; } if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } if (null !== $this->tenant) { $res['tenant'] = $this->tenant; } return $res; } /** * @param array $map * * @return UpdateRelationMetaFieldRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldDTOList'])) { if (!empty($map['fieldDTOList'])) { $model->fieldDTOList = []; $n = 0; foreach ($map['fieldDTOList'] as $item) { $model->fieldDTOList[$n++] = null !== $item ? fieldDTOList::fromMap($item) : $item; } } } if (isset($map['operatorUserId'])) { $model->operatorUserId = $map['operatorUserId']; } if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } if (isset($map['tenant'])) { $model->tenant = $map['tenant']; } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldRequest/fieldDTOList.php 0000644 00000002617 14713400346 0021051 0 ustar 00 'componentName', 'props' => 'props', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->componentName) { $res['componentName'] = $this->componentName; } if (null !== $this->props) { $res['props'] = null !== $this->props ? $this->props->toMap() : null; } return $res; } /** * @param array $map * * @return fieldDTOList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['componentName'])) { $model->componentName = $map['componentName']; } if (isset($map['props'])) { $model->props = props::fromMap($map['props']); } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldRequest/fieldDTOList/props.php 0000644 00000017646 14713400346 0022224 0 ustar 00 'align', 'bizAlias' => 'bizAlias', 'choice' => 'choice', 'content' => 'content', 'disabled' => 'disabled', 'duration' => 'duration', 'fieldId' => 'fieldId', 'format' => 'format', 'invisible' => 'invisible', 'label' => 'label', 'labelEditableFreeze' => 'labelEditableFreeze', 'link' => 'link', 'needDetail' => 'needDetail', 'notPrint' => 'notPrint', 'notUpper' => 'notUpper', 'options' => 'options', 'payEnable' => 'payEnable', 'placeholder' => 'placeholder', 'required' => 'required', 'requiredEditableFreeze' => 'requiredEditableFreeze', 'sortable' => 'sortable', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->align) { $res['align'] = $this->align; } if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->choice) { $res['choice'] = $this->choice; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->disabled) { $res['disabled'] = $this->disabled; } if (null !== $this->duration) { $res['duration'] = $this->duration; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->format) { $res['format'] = $this->format; } if (null !== $this->invisible) { $res['invisible'] = $this->invisible; } if (null !== $this->label) { $res['label'] = $this->label; } if (null !== $this->labelEditableFreeze) { $res['labelEditableFreeze'] = $this->labelEditableFreeze; } if (null !== $this->link) { $res['link'] = $this->link; } if (null !== $this->needDetail) { $res['needDetail'] = $this->needDetail; } if (null !== $this->notPrint) { $res['notPrint'] = $this->notPrint; } if (null !== $this->notUpper) { $res['notUpper'] = $this->notUpper; } if (null !== $this->options) { $res['options'] = []; if (null !== $this->options && \is_array($this->options)) { $n = 0; foreach ($this->options as $item) { $res['options'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->payEnable) { $res['payEnable'] = $this->payEnable; } if (null !== $this->placeholder) { $res['placeholder'] = $this->placeholder; } if (null !== $this->required) { $res['required'] = $this->required; } if (null !== $this->requiredEditableFreeze) { $res['requiredEditableFreeze'] = $this->requiredEditableFreeze; } if (null !== $this->sortable) { $res['sortable'] = $this->sortable; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return props */ public static function fromMap($map = []) { $model = new self(); if (isset($map['align'])) { $model->align = $map['align']; } if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['choice'])) { $model->choice = $map['choice']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['disabled'])) { $model->disabled = $map['disabled']; } if (isset($map['duration'])) { $model->duration = $map['duration']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['format'])) { $model->format = $map['format']; } if (isset($map['invisible'])) { $model->invisible = $map['invisible']; } if (isset($map['label'])) { $model->label = $map['label']; } if (isset($map['labelEditableFreeze'])) { $model->labelEditableFreeze = $map['labelEditableFreeze']; } if (isset($map['link'])) { $model->link = $map['link']; } if (isset($map['needDetail'])) { $model->needDetail = $map['needDetail']; } if (isset($map['notPrint'])) { $model->notPrint = $map['notPrint']; } if (isset($map['notUpper'])) { $model->notUpper = $map['notUpper']; } if (isset($map['options'])) { if (!empty($map['options'])) { $model->options = []; $n = 0; foreach ($map['options'] as $item) { $model->options[$n++] = null !== $item ? options::fromMap($item) : $item; } } } if (isset($map['payEnable'])) { $model->payEnable = $map['payEnable']; } if (isset($map['placeholder'])) { $model->placeholder = $map['placeholder']; } if (isset($map['required'])) { $model->required = $map['required']; } if (isset($map['requiredEditableFreeze'])) { $model->requiredEditableFreeze = $map['requiredEditableFreeze']; } if (isset($map['sortable'])) { $model->sortable = $map['sortable']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldRequest/fieldDTOList/props/options.php 0000644 00000002062 14713400346 0023701 0 ustar 00 'key', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->key) { $res['key'] = $this->key; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return options */ public static function fromMap($map = []) { $model = new self(); if (isset($map['key'])) { $model->key = $map['key']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldResponse.php 0000644 00000002765 14713400346 0016735 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateRelationMetaFieldResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateRelationMetaFieldResponseBody::fromMap($map['body']); } return $model; } } src/crm_1_0/Models/UpdateRelationMetaFieldResponseBody.php 0000644 00000001671 14713400346 0017546 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return UpdateRelationMetaFieldResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_2_0/Dingtalk.php 0000644 00000006200 14713400346 0011022 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 获取关系数据查重规则 * * * @param GetRelationUkSettingRequest $request GetRelationUkSettingRequest * @param GetRelationUkSettingHeaders $headers GetRelationUkSettingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetRelationUkSettingResponse GetRelationUkSettingResponse */ public function getRelationUkSettingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->relationType)) { $query['relationType'] = $request->relationType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetRelationUkSetting', 'version' => 'crm_2.0', 'protocol' => 'HTTP', 'pathname' => '/v2.0/crm/relationUkSettings', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetRelationUkSettingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取关系数据查重规则 * * * @param GetRelationUkSettingRequest $request GetRelationUkSettingRequest * * @return GetRelationUkSettingResponse GetRelationUkSettingResponse */ public function getRelationUkSetting($request) { $runtime = new RuntimeOptions([]); $headers = new GetRelationUkSettingHeaders([]); return $this->getRelationUkSettingWithOptions($request, $headers, $runtime); } } src/crm_2_0/Models/GetRelationUkSettingHeaders.php 0000644 00000002343 14713400346 0016063 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetRelationUkSettingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/crm_2_0/Models/GetRelationUkSettingRequest.php 0000644 00000001715 14713400346 0016142 0 ustar 00 'relationType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->relationType) { $res['relationType'] = $this->relationType; } return $res; } /** * @param array $map * * @return GetRelationUkSettingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['relationType'])) { $model->relationType = $map['relationType']; } return $model; } } src/crm_2_0/Models/GetRelationUkSettingResponse.php 0000644 00000002751 14713400346 0016311 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelationUkSettingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetRelationUkSettingResponseBody::fromMap($map['body']); } return $model; } } src/crm_2_0/Models/GetRelationUkSettingResponseBody.php 0000644 00000001727 14713400346 0017131 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } return $res; } /** * @param array $map * * @return GetRelationUkSettingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } return $model; } } src/crm_2_0/Models/GetRelationUkSettingResponseBody/result.php 0000644 00000003657 14713400346 0020453 0 ustar 00 'formUkSettings', 'headerFieldIds' => 'headerFieldIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->formUkSettings) { $res['formUkSettings'] = []; if (null !== $this->formUkSettings && \is_array($this->formUkSettings)) { $n = 0; foreach ($this->formUkSettings as $item) { $res['formUkSettings'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->headerFieldIds) { $res['headerFieldIds'] = $this->headerFieldIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['formUkSettings'])) { if (!empty($map['formUkSettings'])) { $model->formUkSettings = []; $n = 0; foreach ($map['formUkSettings'] as $item) { $model->formUkSettings[$n++] = null !== $item ? formUkSettings::fromMap($item) : $item; } } } if (isset($map['headerFieldIds'])) { if (!empty($map['headerFieldIds'])) { $model->headerFieldIds = $map['headerFieldIds']; } } return $model; } } src/crm_2_0/Models/GetRelationUkSettingResponseBody/result/formUkSettings.php 0000644 00000002737 14713400346 0023435 0 ustar 00 'fieldList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldList) { $res['fieldList'] = []; if (null !== $this->fieldList && \is_array($this->fieldList)) { $n = 0; foreach ($this->fieldList as $item) { $res['fieldList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return formUkSettings */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldList'])) { if (!empty($map['fieldList'])) { $model->fieldList = []; $n = 0; foreach ($map['fieldList'] as $item) { $model->fieldList[$n++] = null !== $item ? fieldList::fromMap($item) : $item; } } } return $model; } } src/crm_2_0/Models/GetRelationUkSettingResponseBody/result/formUkSettings/fieldList.php 0000644 00000002171 14713400346 0025344 0 ustar 00 'bizAlias', 'fieldId' => 'fieldId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizAlias) { $res['bizAlias'] = $this->bizAlias; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } return $res; } /** * @param array $map * * @return fieldList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizAlias'])) { $model->bizAlias = $map['bizAlias']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } return $model; } } src/customer_service_1_0/Dingtalk.php 0000644 00000045327 14713400346 0013636 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 创建工单 * * * @param CreateTicketRequest $request CreateTicketRequest * @param CreateTicketHeaders $headers CreateTicketHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateTicketResponse CreateTicketResponse */ public function createTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->foreignId)) { $body['foreignId'] = $request->foreignId; } if (!Utils::isUnset($request->foreignName)) { $body['foreignName'] = $request->foreignName; } if (!Utils::isUnset($request->openInstanceId)) { $body['openInstanceId'] = $request->openInstanceId; } if (!Utils::isUnset($request->productionType)) { $body['productionType'] = $request->productionType; } if (!Utils::isUnset($request->properties)) { $body['properties'] = $request->properties; } if (!Utils::isUnset($request->sourceId)) { $body['sourceId'] = $request->sourceId; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateTicket', 'version' => 'customerService_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/customerService/tickets', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建工单 * * * @param CreateTicketRequest $request CreateTicketRequest * * @return CreateTicketResponse CreateTicketResponse */ public function createTicket($request) { $runtime = new RuntimeOptions([]); $headers = new CreateTicketHeaders([]); return $this->createTicketWithOptions($request, $headers, $runtime); } /** * @summary 执行工单活动 * * * @param string $ticketId * @param ExecuteActivityRequest $request ExecuteActivityRequest * @param ExecuteActivityHeaders $headers ExecuteActivityHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ExecuteActivityResponse ExecuteActivityResponse */ public function executeActivityWithOptions($ticketId, $request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->activityCode)) { $body['activityCode'] = $request->activityCode; } if (!Utils::isUnset($request->foreignId)) { $body['foreignId'] = $request->foreignId; } if (!Utils::isUnset($request->foreignName)) { $body['foreignName'] = $request->foreignName; } if (!Utils::isUnset($request->openInstanceId)) { $body['openInstanceId'] = $request->openInstanceId; } if (!Utils::isUnset($request->productionType)) { $body['productionType'] = $request->productionType; } if (!Utils::isUnset($request->properties)) { $body['properties'] = $request->properties; } if (!Utils::isUnset($request->sourceId)) { $body['sourceId'] = $request->sourceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ExecuteActivity', 'version' => 'customerService_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/customerService/tickets/' . $ticketId . '', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ExecuteActivityResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 执行工单活动 * * * @param string $ticketId * @param ExecuteActivityRequest $request ExecuteActivityRequest * * @return ExecuteActivityResponse ExecuteActivityResponse */ public function executeActivity($ticketId, $request) { $runtime = new RuntimeOptions([]); $headers = new ExecuteActivityHeaders([]); return $this->executeActivityWithOptions($ticketId, $request, $headers, $runtime); } /** * @summary 获取source列表 * * * @param GetUserSourceListRequest $request GetUserSourceListRequest * @param GetUserSourceListHeaders $headers GetUserSourceListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetUserSourceListResponse GetUserSourceListResponse */ public function getUserSourceListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->description)) { $query['description'] = $request->description; } if (!Utils::isUnset($request->openInstanceId)) { $query['openInstanceId'] = $request->openInstanceId; } if (!Utils::isUnset($request->orgId)) { $query['orgId'] = $request->orgId; } if (!Utils::isUnset($request->orgName)) { $query['orgName'] = $request->orgName; } if (!Utils::isUnset($request->productionType)) { $query['productionType'] = $request->productionType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetUserSourceList', 'version' => 'customerService_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/customerService/customers/sources', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetUserSourceListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取source列表 * * * @param GetUserSourceListRequest $request GetUserSourceListRequest * * @return GetUserSourceListResponse GetUserSourceListResponse */ public function getUserSourceList($request) { $runtime = new RuntimeOptions([]); $headers = new GetUserSourceListHeaders([]); return $this->getUserSourceListWithOptions($request, $headers, $runtime); } /** * @summary 查询动作记录 * * * @param string $ticketId * @param PageListActionRequest $request PageListActionRequest * @param PageListActionHeaders $headers PageListActionHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PageListActionResponse PageListActionResponse */ public function pageListActionWithOptions($ticketId, $request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openInstanceId)) { $query['openInstanceId'] = $request->openInstanceId; } if (!Utils::isUnset($request->productionType)) { $query['productionType'] = $request->productionType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'PageListAction', 'version' => 'customerService_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/customerService/tickets/' . $ticketId . '/actions', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return PageListActionResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询动作记录 * * * @param string $ticketId * @param PageListActionRequest $request PageListActionRequest * * @return PageListActionResponse PageListActionResponse */ public function pageListAction($ticketId, $request) { $runtime = new RuntimeOptions([]); $headers = new PageListActionHeaders([]); return $this->pageListActionWithOptions($ticketId, $request, $headers, $runtime); } /** * @summary 分页查询机器人信息 * * * @param PageListRobotRequest $request PageListRobotRequest * @param PageListRobotHeaders $headers PageListRobotHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PageListRobotResponse PageListRobotResponse */ public function pageListRobotWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openInstanceId)) { $query['openInstanceId'] = $request->openInstanceId; } if (!Utils::isUnset($request->productionType)) { $query['productionType'] = $request->productionType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'PageListRobot', 'version' => 'customerService_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/customerService/robots', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return PageListRobotResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页查询机器人信息 * * * @param PageListRobotRequest $request PageListRobotRequest * * @return PageListRobotResponse PageListRobotResponse */ public function pageListRobot($request) { $runtime = new RuntimeOptions([]); $headers = new PageListRobotHeaders([]); return $this->pageListRobotWithOptions($request, $headers, $runtime); } /** * @summary 分页查询工单 * * * @param PageListTicketRequest $request PageListTicketRequest * @param PageListTicketHeaders $headers PageListTicketHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PageListTicketResponse PageListTicketResponse */ public function pageListTicketWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->endTime)) { $query['endTime'] = $request->endTime; } if (!Utils::isUnset($request->foreignId)) { $query['foreignId'] = $request->foreignId; } if (!Utils::isUnset($request->maxResults)) { $query['maxResults'] = $request->maxResults; } if (!Utils::isUnset($request->nextToken)) { $query['nextToken'] = $request->nextToken; } if (!Utils::isUnset($request->openInstanceId)) { $query['openInstanceId'] = $request->openInstanceId; } if (!Utils::isUnset($request->productionType)) { $query['productionType'] = $request->productionType; } if (!Utils::isUnset($request->sourceId)) { $query['sourceId'] = $request->sourceId; } if (!Utils::isUnset($request->startTime)) { $query['startTime'] = $request->startTime; } if (!Utils::isUnset($request->templateId)) { $query['templateId'] = $request->templateId; } if (!Utils::isUnset($request->ticketId)) { $query['ticketId'] = $request->ticketId; } if (!Utils::isUnset($request->ticketStatus)) { $query['ticketStatus'] = $request->ticketStatus; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'PageListTicket', 'version' => 'customerService_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/customerService/tickets', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return PageListTicketResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 分页查询工单 * * * @param PageListTicketRequest $request PageListTicketRequest * * @return PageListTicketResponse PageListTicketResponse */ public function pageListTicket($request) { $runtime = new RuntimeOptions([]); $headers = new PageListTicketHeaders([]); return $this->pageListTicketWithOptions($request, $headers, $runtime); } } src/customer_service_1_0/Models/CreateTicketHeaders.php 0000644 00000002340 14713400346 0017153 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/customer_service_1_0/Models/CreateTicketRequest.php 0000644 00000007571 14713400346 0017243 0 ustar 00 'foreignId', 'foreignName' => 'foreignName', 'openInstanceId' => 'openInstanceId', 'productionType' => 'productionType', 'properties' => 'properties', 'sourceId' => 'sourceId', 'templateId' => 'templateId', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->foreignName) { $res['foreignName'] = $this->foreignName; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } if (null !== $this->properties) { $res['properties'] = []; if (null !== $this->properties && \is_array($this->properties)) { $n = 0; foreach ($this->properties as $item) { $res['properties'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return CreateTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['foreignName'])) { $model->foreignName = $map['foreignName']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } if (isset($map['properties'])) { if (!empty($map['properties'])) { $model->properties = []; $n = 0; foreach ($map['properties'] as $item) { $model->properties[$n++] = null !== $item ? properties::fromMap($item) : $item; } } } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/customer_service_1_0/Models/CreateTicketRequest/properties.php 0000644 00000002167 14713400346 0021433 0 ustar 00 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/customer_service_1_0/Models/CreateTicketResponse.php 0000644 00000002726 14713400346 0017406 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateTicketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateTicketResponseBody::fromMap($map['body']); } return $model; } } src/customer_service_1_0/Models/CreateTicketResponseBody.php 0000644 00000001525 14713400346 0020220 0 ustar 00 'ticketId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->ticketId) { $res['ticketId'] = $this->ticketId; } return $res; } /** * @param array $map * * @return CreateTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['ticketId'])) { $model->ticketId = $map['ticketId']; } return $model; } } src/customer_service_1_0/Models/ExecuteActivityHeaders.php 0000644 00000002346 14713400346 0017731 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ExecuteActivityHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/customer_service_1_0/Models/ExecuteActivityRequest.php 0000644 00000007250 14713400346 0020005 0 ustar 00 'activityCode', 'foreignId' => 'foreignId', 'foreignName' => 'foreignName', 'openInstanceId' => 'openInstanceId', 'productionType' => 'productionType', 'properties' => 'properties', 'sourceId' => 'sourceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->activityCode) { $res['activityCode'] = $this->activityCode; } if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->foreignName) { $res['foreignName'] = $this->foreignName; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } if (null !== $this->properties) { $res['properties'] = []; if (null !== $this->properties && \is_array($this->properties)) { $n = 0; foreach ($this->properties as $item) { $res['properties'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } return $res; } /** * @param array $map * * @return ExecuteActivityRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['activityCode'])) { $model->activityCode = $map['activityCode']; } if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['foreignName'])) { $model->foreignName = $map['foreignName']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } if (isset($map['properties'])) { if (!empty($map['properties'])) { $model->properties = []; $n = 0; foreach ($map['properties'] as $item) { $model->properties[$n++] = null !== $item ? properties::fromMap($item) : $item; } } } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } return $model; } } src/customer_service_1_0/Models/ExecuteActivityRequest/properties.php 0000644 00000002062 14713400346 0022175 0 ustar 00 'name', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return properties */ public static function fromMap($map = []) { $model = new self(); if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/customer_service_1_0/Models/ExecuteActivityResponse.php 0000644 00000002742 14713400346 0020154 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ExecuteActivityResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ExecuteActivityResponseBody::fromMap($map['body']); } return $model; } } src/customer_service_1_0/Models/ExecuteActivityResponseBody.php 0000644 00000001511 14713400346 0020763 0 ustar 00 'taskId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->taskId) { $res['taskId'] = $this->taskId; } return $res; } /** * @param array $map * * @return ExecuteActivityResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['taskId'])) { $model->taskId = $map['taskId']; } return $model; } } src/customer_service_1_0/Models/GetUserSourceListHeaders.php 0000644 00000002352 14713400346 0020202 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetUserSourceListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/customer_service_1_0/Models/GetUserSourceListRequest.php 0000644 00000004533 14713400346 0020262 0 ustar 00 'corpId', 'description' => 'description', 'openInstanceId' => 'openInstanceId', 'orgId' => 'orgId', 'orgName' => 'orgName', 'productionType' => 'productionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->orgId) { $res['orgId'] = $this->orgId; } if (null !== $this->orgName) { $res['orgName'] = $this->orgName; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } return $res; } /** * @param array $map * * @return GetUserSourceListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['orgId'])) { $model->orgId = $map['orgId']; } if (isset($map['orgName'])) { $model->orgName = $map['orgName']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } return $model; } } src/customer_service_1_0/Models/GetUserSourceListResponse.php 0000644 00000002752 14713400346 0020431 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetUserSourceListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetUserSourceListResponseBody::fromMap($map['body']); } return $model; } } src/customer_service_1_0/Models/GetUserSourceListResponseBody.php 0000644 00000002640 14713400346 0021243 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return GetUserSourceListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/customer_service_1_0/Models/GetUserSourceListResponseBody/result.php 0000644 00000004223 14713400346 0022560 0 ustar 00 'config', 'description' => 'description', 'id' => 'id', 'name' => 'name', 'status' => 'status', 'vendor' => 'vendor', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->config) { $res['config'] = $this->config; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->vendor) { $res['vendor'] = $this->vendor; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['config'])) { $model->config = $map['config']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['vendor'])) { $model->vendor = $map['vendor']; } return $model; } } src/customer_service_1_0/Models/PageListActionHeaders.php 0000644 00000002344 14713400346 0017456 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageListActionHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/customer_service_1_0/Models/PageListActionRequest.php 0000644 00000004022 14713400346 0017526 0 ustar 00 'maxResults', 'nextToken' => 'nextToken', 'openInstanceId' => 'openInstanceId', 'productionType' => 'productionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } return $res; } /** * @param array $map * * @return PageListActionRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } return $model; } } src/customer_service_1_0/Models/PageListActionResponse.php 0000644 00000002736 14713400346 0017706 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageListActionResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageListActionResponseBody::fromMap($map['body']); } return $model; } } src/customer_service_1_0/Models/PageListActionResponseBody.php 0000644 00000003662 14713400346 0020523 0 ustar 00 'list', 'nextCursor' => 'nextCursor', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return PageListActionResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/customer_service_1_0/Models/PageListActionResponseBody/list_.php 0000644 00000005340 14713400346 0021630 0 ustar 00 'actionCode', 'actionContent' => 'actionContent', 'operator' => 'operator', 'operatorId' => 'operatorId', 'operatorRole' => 'operatorRole', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->actionCode) { $res['actionCode'] = $this->actionCode; } if (null !== $this->actionContent) { $res['actionContent'] = []; if (null !== $this->actionContent && \is_array($this->actionContent)) { $n = 0; foreach ($this->actionContent as $item) { $res['actionContent'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->operatorRole) { $res['operatorRole'] = $this->operatorRole; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['actionCode'])) { $model->actionCode = $map['actionCode']; } if (isset($map['actionContent'])) { if (!empty($map['actionContent'])) { $model->actionContent = []; $n = 0; foreach ($map['actionContent'] as $item) { $model->actionContent[$n++] = null !== $item ? actionContent::fromMap($item) : $item; } } } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['operatorRole'])) { $model->operatorRole = $map['operatorRole']; } return $model; } } src/customer_service_1_0/Models/PageListActionResponseBody/list_/actionContent.php 0000644 00000003774 14713400346 0024451 0 ustar 00 'displayName', 'displayValue' => 'displayValue', 'name' => 'name', 'value' => 'value', 'valueType' => 'valueType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->displayValue) { $res['displayValue'] = $this->displayValue; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->value) { $res['value'] = $this->value; } if (null !== $this->valueType) { $res['valueType'] = $this->valueType; } return $res; } /** * @param array $map * * @return actionContent */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['displayValue'])) { $model->displayValue = $map['displayValue']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['value'])) { $model->value = $map['value']; } if (isset($map['valueType'])) { $model->valueType = $map['valueType']; } return $model; } } src/customer_service_1_0/Models/PageListRobotHeaders.php 0000644 00000002342 14713400346 0017324 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageListRobotHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/customer_service_1_0/Models/PageListRobotRequest.php 0000644 00000004532 14713400346 0017404 0 ustar 00 'corpId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'openInstanceId' => 'openInstanceId', 'productionType' => 'productionType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } return $res; } /** * @param array $map * * @return PageListRobotRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } return $model; } } src/customer_service_1_0/Models/PageListRobotResponse.php 0000644 00000002732 14713400346 0017552 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageListRobotResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageListRobotResponseBody::fromMap($map['body']); } return $model; } } src/customer_service_1_0/Models/PageListRobotResponseBody.php 0000644 00000004427 14713400346 0020373 0 ustar 00 'hasMore', 'list' => 'list', 'nextCursor' => 'nextCursor', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->hasMore) { $res['hasMore'] = $this->hasMore; } if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return PageListRobotResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['hasMore'])) { $model->hasMore = $map['hasMore']; } if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/customer_service_1_0/Models/PageListRobotResponseBody/list_.php 0000644 00000004015 14713400346 0021476 0 ustar 00 'accountId', 'appKey' => 'appKey', 'id' => 'id', 'name' => 'name', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->id) { $res['id'] = $this->id; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['id'])) { $model->id = $map['id']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/customer_service_1_0/Models/PageListTicketHeaders.php 0000644 00000002344 14713400346 0017464 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PageListTicketHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/customer_service_1_0/Models/PageListTicketRequest.php 0000644 00000010237 14713400346 0017541 0 ustar 00 'endTime', 'foreignId' => 'foreignId', 'maxResults' => 'maxResults', 'nextToken' => 'nextToken', 'openInstanceId' => 'openInstanceId', 'productionType' => 'productionType', 'sourceId' => 'sourceId', 'startTime' => 'startTime', 'templateId' => 'templateId', 'ticketId' => 'ticketId', 'ticketStatus' => 'ticketStatus', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->endTime) { $res['endTime'] = $this->endTime; } if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->maxResults) { $res['maxResults'] = $this->maxResults; } if (null !== $this->nextToken) { $res['nextToken'] = $this->nextToken; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->startTime) { $res['startTime'] = $this->startTime; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->ticketId) { $res['ticketId'] = $this->ticketId; } if (null !== $this->ticketStatus) { $res['ticketStatus'] = $this->ticketStatus; } return $res; } /** * @param array $map * * @return PageListTicketRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['endTime'])) { $model->endTime = $map['endTime']; } if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['maxResults'])) { $model->maxResults = $map['maxResults']; } if (isset($map['nextToken'])) { $model->nextToken = $map['nextToken']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['startTime'])) { $model->startTime = $map['startTime']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['ticketId'])) { $model->ticketId = $map['ticketId']; } if (isset($map['ticketStatus'])) { $model->ticketStatus = $map['ticketStatus']; } return $model; } } src/customer_service_1_0/Models/PageListTicketResponse.php 0000644 00000002736 14713400346 0017714 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PageListTicketResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PageListTicketResponseBody::fromMap($map['body']); } return $model; } } src/customer_service_1_0/Models/PageListTicketResponseBody.php 0000644 00000003662 14713400346 0020531 0 ustar 00 'list', 'nextCursor' => 'nextCursor', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->list) { $res['list'] = []; if (null !== $this->list && \is_array($this->list)) { $n = 0; foreach ($this->list as $item) { $res['list'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->nextCursor) { $res['nextCursor'] = $this->nextCursor; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return PageListTicketResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['list'])) { if (!empty($map['list'])) { $model->list = []; $n = 0; foreach ($map['list'] as $item) { $model->list[$n++] = null !== $item ? list_::fromMap($item) : $item; } } } if (isset($map['nextCursor'])) { $model->nextCursor = $map['nextCursor']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/customer_service_1_0/Models/PageListTicketResponseBody/list_.php 0000644 00000010270 14713400346 0021634 0 ustar 00 'bizDataMap', 'foreignId' => 'foreignId', 'foreignName' => 'foreignName', 'gmtCreate' => 'gmtCreate', 'gmtModified' => 'gmtModified', 'openInstanceId' => 'openInstanceId', 'productionType' => 'productionType', 'sourceId' => 'sourceId', 'templateId' => 'templateId', 'ticketId' => 'ticketId', 'ticketStatus' => 'ticketStatus', 'title' => 'title', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizDataMap) { $res['bizDataMap'] = $this->bizDataMap; } if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->foreignName) { $res['foreignName'] = $this->foreignName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->gmtModified) { $res['gmtModified'] = $this->gmtModified; } if (null !== $this->openInstanceId) { $res['openInstanceId'] = $this->openInstanceId; } if (null !== $this->productionType) { $res['productionType'] = $this->productionType; } if (null !== $this->sourceId) { $res['sourceId'] = $this->sourceId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->ticketId) { $res['ticketId'] = $this->ticketId; } if (null !== $this->ticketStatus) { $res['ticketStatus'] = $this->ticketStatus; } if (null !== $this->title) { $res['title'] = $this->title; } return $res; } /** * @param array $map * * @return list_ */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizDataMap'])) { $model->bizDataMap = $map['bizDataMap']; } if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['foreignName'])) { $model->foreignName = $map['foreignName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['gmtModified'])) { $model->gmtModified = $map['gmtModified']; } if (isset($map['openInstanceId'])) { $model->openInstanceId = $map['openInstanceId']; } if (isset($map['productionType'])) { $model->productionType = $map['productionType']; } if (isset($map['sourceId'])) { $model->sourceId = $map['sourceId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['ticketId'])) { $model->ticketId = $map['ticketId']; } if (isset($map['ticketStatus'])) { $model->ticketStatus = $map['ticketStatus']; } if (isset($map['title'])) { $model->title = $map['title']; } return $model; } } src/datacenter_1_0/Dingtalk.php 0000644 00001067315 14713400346 0012371 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 关闭数据投递任务 * * * @param CloseDataDeliverRequest $request CloseDataDeliverRequest * @param CloseDataDeliverHeaders $headers CloseDataDeliverHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CloseDataDeliverResponse CloseDataDeliverResponse */ public function closeDataDeliverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deliverId)) { $query['deliverId'] = $request->deliverId; } if (!Utils::isUnset($request->dispatchingItemType)) { $query['dispatchingItemType'] = $request->dispatchingItemType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CloseDataDeliver', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataDeliverServices/close', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CloseDataDeliverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 关闭数据投递任务 * * * @param CloseDataDeliverRequest $request CloseDataDeliverRequest * * @return CloseDataDeliverResponse CloseDataDeliverResponse */ public function closeDataDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new CloseDataDeliverHeaders([]); return $this->closeDataDeliverWithOptions($request, $headers, $runtime); } /** * @summary 创建数据投递 * * * @param CreateDataDeliverRequest $request CreateDataDeliverRequest * @param CreateDataDeliverHeaders $headers CreateDataDeliverHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateDataDeliverResponse CreateDataDeliverResponse */ public function createDataDeliverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->bizcode)) { $query['bizcode'] = $request->bizcode; } if (!Utils::isUnset($request->dispatchingCycle)) { $query['dispatchingCycle'] = $request->dispatchingCycle; } if (!Utils::isUnset($request->dispatchingItemType)) { $query['dispatchingItemType'] = $request->dispatchingItemType; } if (!Utils::isUnset($request->dispatchingStartDate)) { $query['dispatchingStartDate'] = $request->dispatchingStartDate; } $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDataDeliver', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataDeliveries', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateDataDeliverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建数据投递 * * * @param CreateDataDeliverRequest $request CreateDataDeliverRequest * * @return CreateDataDeliverResponse CreateDataDeliverResponse */ public function createDataDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDataDeliverHeaders([]); return $this->createDataDeliverWithOptions($request, $headers, $runtime); } /** * @summary 新增数据大屏 * * * @param CreateScreenRequest $request CreateScreenRequest * @param CreateScreenHeaders $headers CreateScreenHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateScreenResponse CreateScreenResponse */ public function createScreenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->templateId)) { $query['templateId'] = $request->templateId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'CreateScreen', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/screens', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateScreenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 新增数据大屏 * * * @param CreateScreenRequest $request CreateScreenRequest * * @return CreateScreenResponse CreateScreenResponse */ public function createScreen($request) { $runtime = new RuntimeOptions([]); $headers = new CreateScreenHeaders([]); return $this->createScreenWithOptions($request, $headers, $runtime); } /** * @summary 工商-经营异常 * * * @param GetAbnormalOperationRequest $request GetAbnormalOperationRequest * @param GetAbnormalOperationHeaders $headers GetAbnormalOperationHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAbnormalOperationResponse GetAbnormalOperationResponse */ public function getAbnormalOperationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAbnormalOperation', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/abnormalOperations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAbnormalOperationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 工商-经营异常 * * * @param GetAbnormalOperationRequest $request GetAbnormalOperationRequest * * @return GetAbnormalOperationResponse GetAbnormalOperationResponse */ public function getAbnormalOperation($request) { $runtime = new RuntimeOptions([]); $headers = new GetAbnormalOperationHeaders([]); return $this->getAbnormalOperationWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-行政许可 * * * @param GetAdministrativeLicensingRequest $request GetAdministrativeLicensingRequest * @param GetAdministrativeLicensingHeaders $headers GetAdministrativeLicensingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAdministrativeLicensingResponse GetAdministrativeLicensingResponse */ public function getAdministrativeLicensingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAdministrativeLicensing', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/administrativeLicenses', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAdministrativeLicensingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-行政许可 * * * @param GetAdministrativeLicensingRequest $request GetAdministrativeLicensingRequest * * @return GetAdministrativeLicensingResponse GetAdministrativeLicensingResponse */ public function getAdministrativeLicensing($request) { $runtime = new RuntimeOptions([]); $headers = new GetAdministrativeLicensingHeaders([]); return $this->getAdministrativeLicensingWithOptions($request, $headers, $runtime); } /** * @summary 负面-行政处罚 * * * @param GetAdministrativePenaltiesRequest $request GetAdministrativePenaltiesRequest * @param GetAdministrativePenaltiesHeaders $headers GetAdministrativePenaltiesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetAdministrativePenaltiesResponse GetAdministrativePenaltiesResponse */ public function getAdministrativePenaltiesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetAdministrativePenalties', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/administrativePenalties', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetAdministrativePenaltiesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 负面-行政处罚 * * * @param GetAdministrativePenaltiesRequest $request GetAdministrativePenaltiesRequest * * @return GetAdministrativePenaltiesResponse GetAdministrativePenaltiesResponse */ public function getAdministrativePenalties($request) { $runtime = new RuntimeOptions([]); $headers = new GetAdministrativePenaltiesHeaders([]); return $this->getAdministrativePenaltiesWithOptions($request, $headers, $runtime); } /** * @summary 工商-基础信息 * * * @param GetBasicInfoRequest $request GetBasicInfoRequest * @param GetBasicInfoHeaders $headers GetBasicInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetBasicInfoResponse GetBasicInfoResponse */ public function getBasicInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetBasicInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/businessBasicInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBasicInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 工商-基础信息 * * * @param GetBasicInfoRequest $request GetBasicInfoRequest * * @return GetBasicInfoResponse GetBasicInfoResponse */ public function getBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBasicInfoHeaders([]); return $this->getBasicInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取经营-招投标信息 * * * @param GetBiddingInfoRequest $request GetBiddingInfoRequest * @param GetBiddingInfoHeaders $headers GetBiddingInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetBiddingInfoResponse GetBiddingInfoResponse */ public function getBiddingInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetBiddingInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/biddingInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBiddingInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取经营-招投标信息 * * * @param GetBiddingInfoRequest $request GetBiddingInfoRequest * * @return GetBiddingInfoResponse GetBiddingInfoResponse */ public function getBiddingInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBiddingInfoHeaders([]); return $this->getBiddingInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-分支机构 * * * @param GetBranchInfoRequest $request GetBranchInfoRequest * @param GetBranchInfoHeaders $headers GetBranchInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetBranchInfoResponse GetBranchInfoResponse */ public function getBranchInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetBranchInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/branchInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetBranchInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-分支机构 * * * @param GetBranchInfoRequest $request GetBranchInfoRequest * * @return GetBranchInfoResponse GetBranchInfoResponse */ public function getBranchInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetBranchInfoHeaders([]); return $this->getBranchInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-变更记录 * * * @param GetChangeRecordRequest $request GetChangeRecordRequest * @param GetChangeRecordHeaders $headers GetChangeRecordHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetChangeRecordResponse GetChangeRecordResponse */ public function getChangeRecordWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetChangeRecord', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/changeRecords', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetChangeRecordResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-变更记录 * * * @param GetChangeRecordRequest $request GetChangeRecordRequest * * @return GetChangeRecordResponse GetChangeRecordResponse */ public function getChangeRecord($request) { $runtime = new RuntimeOptions([]); $headers = new GetChangeRecordHeaders([]); return $this->getChangeRecordWithOptions($request, $headers, $runtime); } /** * @summary 获取投递任务信息 * * * @param GetDataDeliverRequest $request GetDataDeliverRequest * @param GetDataDeliverHeaders $headers GetDataDeliverHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDataDeliverResponse GetDataDeliverResponse */ public function getDataDeliverWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deliverId)) { $query['deliverId'] = $request->deliverId; } if (!Utils::isUnset($request->dispatchingItemType)) { $query['dispatchingItemType'] = $request->dispatchingItemType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDataDeliver', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataDeliverServices/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDataDeliverResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取投递任务信息 * * * @param GetDataDeliverRequest $request GetDataDeliverRequest * * @return GetDataDeliverResponse GetDataDeliverResponse */ public function getDataDeliver($request) { $runtime = new RuntimeOptions([]); $headers = new GetDataDeliverHeaders([]); return $this->getDataDeliverWithOptions($request, $headers, $runtime); } /** * @summary 获取知识产权-域名信息 * * * @param GetDomainInfoRequest $request GetDomainInfoRequest * @param GetDomainInfoHeaders $headers GetDomainInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDomainInfoResponse GetDomainInfoResponse */ public function getDomainInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDomainInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/domainInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDomainInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取知识产权-域名信息 * * * @param GetDomainInfoRequest $request GetDomainInfoRequest * * @return GetDomainInfoResponse GetDomainInfoResponse */ public function getDomainInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetDomainInfoHeaders([]); return $this->getDomainInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-双随机抽查结果 * * * @param GetDoubleRandomRequest $request GetDoubleRandomRequest * @param GetDoubleRandomHeaders $headers GetDoubleRandomHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDoubleRandomResponse GetDoubleRandomResponse */ public function getDoubleRandomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDoubleRandom', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/doubleRandomness', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDoubleRandomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-双随机抽查结果 * * * @param GetDoubleRandomRequest $request GetDoubleRandomRequest * * @return GetDoubleRandomResponse GetDoubleRandomResponse */ public function getDoubleRandom($request) { $runtime = new RuntimeOptions([]); $headers = new GetDoubleRandomHeaders([]); return $this->getDoubleRandomWithOptions($request, $headers, $runtime); } /** * @summary 负面-环保处罚 * * * @param GetEnvironmentalPenaltiesRequest $request GetEnvironmentalPenaltiesRequest * @param GetEnvironmentalPenaltiesHeaders $headers GetEnvironmentalPenaltiesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetEnvironmentalPenaltiesResponse GetEnvironmentalPenaltiesResponse */ public function getEnvironmentalPenaltiesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetEnvironmentalPenalties', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/environmentalPenalties', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEnvironmentalPenaltiesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 负面-环保处罚 * * * @param GetEnvironmentalPenaltiesRequest $request GetEnvironmentalPenaltiesRequest * * @return GetEnvironmentalPenaltiesResponse GetEnvironmentalPenaltiesResponse */ public function getEnvironmentalPenalties($request) { $runtime = new RuntimeOptions([]); $headers = new GetEnvironmentalPenaltiesHeaders([]); return $this->getEnvironmentalPenaltiesWithOptions($request, $headers, $runtime); } /** * @summary 获取事件订阅的数据 * * * @param GetEventDataRequest $request GetEventDataRequest * @param GetEventDataHeaders $headers GetEventDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetEventDataResponse GetEventDataResponse */ public function getEventDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->eventUid)) { $body['eventUid'] = $request->eventUid; } if (!Utils::isUnset($request->subId)) { $body['subId'] = $request->subId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetEventData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/eventDatas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetEventDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取事件订阅的数据 * * * @param GetEventDataRequest $request GetEventDataRequest * * @return GetEventDataResponse GetEventDataResponse */ public function getEventData($request) { $runtime = new RuntimeOptions([]); $headers = new GetEventDataHeaders([]); return $this->getEventDataWithOptions($request, $headers, $runtime); } /** * @summary 工商-股东信息 * * * @param GetHolderInfoRequest $request GetHolderInfoRequest * @param GetHolderInfoHeaders $headers GetHolderInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetHolderInfoResponse GetHolderInfoResponse */ public function getHolderInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetHolderInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/shareholderInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetHolderInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 工商-股东信息 * * * @param GetHolderInfoRequest $request GetHolderInfoRequest * * @return GetHolderInfoResponse GetHolderInfoResponse */ public function getHolderInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetHolderInfoHeaders([]); return $this->getHolderInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-知识产权出质 * * * @param GetIntellectualPropertyRequest $request GetIntellectualPropertyRequest * @param GetIntellectualPropertyHeaders $headers GetIntellectualPropertyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetIntellectualPropertyResponse GetIntellectualPropertyResponse */ public function getIntellectualPropertyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetIntellectualProperty', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/intellectualProperties', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetIntellectualPropertyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-知识产权出质 * * * @param GetIntellectualPropertyRequest $request GetIntellectualPropertyRequest * * @return GetIntellectualPropertyResponse GetIntellectualPropertyResponse */ public function getIntellectualProperty($request) { $runtime = new RuntimeOptions([]); $headers = new GetIntellectualPropertyHeaders([]); return $this->getIntellectualPropertyWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-对外投资 * * * @param GetInvestmentAbroadRequest $request GetInvestmentAbroadRequest * @param GetInvestmentAbroadHeaders $headers GetInvestmentAbroadHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetInvestmentAbroadResponse GetInvestmentAbroadResponse */ public function getInvestmentAbroadWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetInvestmentAbroad', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/abroadInvestments', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetInvestmentAbroadResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-对外投资 * * * @param GetInvestmentAbroadRequest $request GetInvestmentAbroadRequest * * @return GetInvestmentAbroadResponse GetInvestmentAbroadResponse */ public function getInvestmentAbroad($request) { $runtime = new RuntimeOptions([]); $headers = new GetInvestmentAbroadHeaders([]); return $this->getInvestmentAbroadWithOptions($request, $headers, $runtime); } /** * @summary 获取经营-招聘信息 * * * @param GetJobInfoRequest $request GetJobInfoRequest * @param GetJobInfoHeaders $headers GetJobInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetJobInfoResponse GetJobInfoResponse */ public function getJobInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetJobInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/jobInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetJobInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取经营-招聘信息 * * * @param GetJobInfoRequest $request GetJobInfoRequest * * @return GetJobInfoResponse GetJobInfoResponse */ public function getJobInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetJobInfoHeaders([]); return $this->getJobInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取知识产权-专利信息 * * * @param GetPatentInfoRequest $request GetPatentInfoRequest * @param GetPatentInfoHeaders $headers GetPatentInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetPatentInfoResponse GetPatentInfoResponse */ public function getPatentInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPatentInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/patentInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPatentInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取知识产权-专利信息 * * * @param GetPatentInfoRequest $request GetPatentInfoRequest * * @return GetPatentInfoResponse GetPatentInfoResponse */ public function getPatentInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetPatentInfoHeaders([]); return $this->getPatentInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取工商-主要人员 * * * @param GetPrincipalEmployeeRequest $request GetPrincipalEmployeeRequest * @param GetPrincipalEmployeeHeaders $headers GetPrincipalEmployeeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetPrincipalEmployeeResponse GetPrincipalEmployeeResponse */ public function getPrincipalEmployeeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetPrincipalEmployee', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/principalEmployees', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetPrincipalEmployeeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取工商-主要人员 * * * @param GetPrincipalEmployeeRequest $request GetPrincipalEmployeeRequest * * @return GetPrincipalEmployeeResponse GetPrincipalEmployeeResponse */ public function getPrincipalEmployee($request) { $runtime = new RuntimeOptions([]); $headers = new GetPrincipalEmployeeHeaders([]); return $this->getPrincipalEmployeeWithOptions($request, $headers, $runtime); } /** * @summary 经营-一般纳税人 * * * @param GetQeneralTaxpayerInfoRequest $request GetQeneralTaxpayerInfoRequest * @param GetQeneralTaxpayerInfoHeaders $headers GetQeneralTaxpayerInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetQeneralTaxpayerInfoResponse GetQeneralTaxpayerInfoResponse */ public function getQeneralTaxpayerInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetQeneralTaxpayerInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/generalTaxpayerInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetQeneralTaxpayerInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 经营-一般纳税人 * * * @param GetQeneralTaxpayerInfoRequest $request GetQeneralTaxpayerInfoRequest * * @return GetQeneralTaxpayerInfoResponse GetQeneralTaxpayerInfoResponse */ public function getQeneralTaxpayerInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetQeneralTaxpayerInfoHeaders([]); return $this->getQeneralTaxpayerInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取知识产权-资质证书 * * * @param GetQualificationCertRequest $request GetQualificationCertRequest * @param GetQualificationCertHeaders $headers GetQualificationCertHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetQualificationCertResponse GetQualificationCertResponse */ public function getQualificationCertWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetQualificationCert', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/qualificationCerts', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetQualificationCertResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取知识产权-资质证书 * * * @param GetQualificationCertRequest $request GetQualificationCertRequest * * @return GetQualificationCertResponse GetQualificationCertResponse */ public function getQualificationCert($request) { $runtime = new RuntimeOptions([]); $headers = new GetQualificationCertHeaders([]); return $this->getQualificationCertWithOptions($request, $headers, $runtime); } /** * @summary 负面-严重违法 * * * @param GetSeriousViolationRequest $request GetSeriousViolationRequest * @param GetSeriousViolationHeaders $headers GetSeriousViolationHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSeriousViolationResponse GetSeriousViolationResponse */ public function getSeriousViolationWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSeriousViolation', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/seriousViolations', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSeriousViolationResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 负面-严重违法 * * * @param GetSeriousViolationRequest $request GetSeriousViolationRequest * * @return GetSeriousViolationResponse GetSeriousViolationResponse */ public function getSeriousViolation($request) { $runtime = new RuntimeOptions([]); $headers = new GetSeriousViolationHeaders([]); return $this->getSeriousViolationWithOptions($request, $headers, $runtime); } /** * @summary 获取知识产权-软件著作权 * * * @param GetSoftwareCopyrightRequest $request GetSoftwareCopyrightRequest * @param GetSoftwareCopyrightHeaders $headers GetSoftwareCopyrightHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetSoftwareCopyrightResponse GetSoftwareCopyrightResponse */ public function getSoftwareCopyrightWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetSoftwareCopyright', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/softwareCopyrights', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetSoftwareCopyrightResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取知识产权-软件著作权 * * * @param GetSoftwareCopyrightRequest $request GetSoftwareCopyrightRequest * * @return GetSoftwareCopyrightResponse GetSoftwareCopyrightResponse */ public function getSoftwareCopyright($request) { $runtime = new RuntimeOptions([]); $headers = new GetSoftwareCopyrightHeaders([]); return $this->getSoftwareCopyrightWithOptions($request, $headers, $runtime); } /** * @summary 获取知识产权-商标信息 * * * @param GetTrademarkInfoRequest $request GetTrademarkInfoRequest * @param GetTrademarkInfoHeaders $headers GetTrademarkInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetTrademarkInfoResponse GetTrademarkInfoResponse */ public function getTrademarkInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetTrademarkInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/trademarkInfos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetTrademarkInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取知识产权-商标信息 * * * @param GetTrademarkInfoRequest $request GetTrademarkInfoRequest * * @return GetTrademarkInfoResponse GetTrademarkInfoResponse */ public function getTrademarkInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetTrademarkInfoHeaders([]); return $this->getTrademarkInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取知识产权-作品著作权 * * * @param GetWorkCopyrightRequest $request GetWorkCopyrightRequest * @param GetWorkCopyrightHeaders $headers GetWorkCopyrightHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetWorkCopyrightResponse GetWorkCopyrightResponse */ public function getWorkCopyrightWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetWorkCopyright', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/workCopyrights', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWorkCopyrightResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取知识产权-作品著作权 * * * @param GetWorkCopyrightRequest $request GetWorkCopyrightRequest * * @return GetWorkCopyrightResponse GetWorkCopyrightResponse */ public function getWorkCopyright($request) { $runtime = new RuntimeOptions([]); $headers = new GetWorkCopyrightHeaders([]); return $this->getWorkCopyrightWithOptions($request, $headers, $runtime); } /** * @summary 数据投递列表 * * * @param ListDataDeliversRequest $request ListDataDeliversRequest * @param ListDataDeliversHeaders $headers ListDataDeliversHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListDataDeliversResponse ListDataDeliversResponse */ public function listDataDeliversWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dispatchingItemType)) { $query['dispatchingItemType'] = $request->dispatchingItemType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListDataDelivers', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataDeliverServices/lists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListDataDeliversResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 数据投递列表 * * * @param ListDataDeliversRequest $request ListDataDeliversRequest * * @return ListDataDeliversResponse ListDataDeliversResponse */ public function listDataDelivers($request) { $runtime = new RuntimeOptions([]); $headers = new ListDataDeliversHeaders([]); return $this->listDataDeliversWithOptions($request, $headers, $runtime); } /** * @summary 操作表格配置 * * * @param OperateChartConfigRequest $request OperateChartConfigRequest * @param OperateChartConfigHeaders $headers OperateChartConfigHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return OperateChartConfigResponse OperateChartConfigResponse */ public function operateChartConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->apiKey)) { $body['apiKey'] = $request->apiKey; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } if (!Utils::isUnset($request->ticket)) { $body['ticket'] = $request->ticket; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'OperateChartConfig', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/chartConfigs/operate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return OperateChartConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 操作表格配置 * * * @param OperateChartConfigRequest $request OperateChartConfigRequest * * @return OperateChartConfigResponse OperateChartConfigResponse */ public function operateChartConfig($request) { $runtime = new RuntimeOptions([]); $headers = new OperateChartConfigHeaders([]); return $this->operateChartConfigWithOptions($request, $headers, $runtime); } /** * @summary 企业授权信息 * * * @param PostCorpAuthInfoHeaders $headers PostCorpAuthInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PostCorpAuthInfoResponse PostCorpAuthInfoResponse */ public function postCorpAuthInfoWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'PostCorpAuthInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/corporations/authorize', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PostCorpAuthInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 企业授权信息 * * * @return PostCorpAuthInfoResponse PostCorpAuthInfoResponse */ public function postCorpAuthInfo() { $runtime = new RuntimeOptions([]); $headers = new PostCorpAuthInfoHeaders([]); return $this->postCorpAuthInfoWithOptions($headers, $runtime); } /** * @summary 获取企业用户激活状态统计数据 * * * @param QueryActiveUserStatisticalDataRequest $request QueryActiveUserStatisticalDataRequest * @param QueryActiveUserStatisticalDataHeaders $headers QueryActiveUserStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryActiveUserStatisticalDataResponse QueryActiveUserStatisticalDataResponse */ public function queryActiveUserStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryActiveUserStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/activeUserData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryActiveUserStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业用户激活状态统计数据 * * * @param QueryActiveUserStatisticalDataRequest $request QueryActiveUserStatisticalDataRequest * * @return QueryActiveUserStatisticalDataResponse QueryActiveUserStatisticalDataResponse */ public function queryActiveUserStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryActiveUserStatisticalDataHeaders([]); return $this->queryActiveUserStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取安恒密盾统计数据 * * * @param QueryAnhmdStatisticalDataRequest $request QueryAnhmdStatisticalDataRequest * @param QueryAnhmdStatisticalDataHeaders $headers QueryAnhmdStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryAnhmdStatisticalDataResponse QueryAnhmdStatisticalDataResponse */ public function queryAnhmdStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAnhmdStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/statisticDatas/anHmd', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAnhmdStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取安恒密盾统计数据 * * * @param QueryAnhmdStatisticalDataRequest $request QueryAnhmdStatisticalDataRequest * * @return QueryAnhmdStatisticalDataResponse QueryAnhmdStatisticalDataResponse */ public function queryAnhmdStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAnhmdStatisticalDataHeaders([]); return $this->queryAnhmdStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业审批统计数据 * * * @param QueryApprovalStatisticalDataRequest $request QueryApprovalStatisticalDataRequest * @param QueryApprovalStatisticalDataHeaders $headers QueryApprovalStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryApprovalStatisticalDataResponse QueryApprovalStatisticalDataResponse */ public function queryApprovalStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryApprovalStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/approvalData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryApprovalStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业审批统计数据 * * * @param QueryApprovalStatisticalDataRequest $request QueryApprovalStatisticalDataRequest * * @return QueryApprovalStatisticalDataResponse QueryApprovalStatisticalDataResponse */ public function queryApprovalStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryApprovalStatisticalDataHeaders([]); return $this->queryApprovalStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业考勤统计数据 * * * @param QueryAttendanceStatisticalDataRequest $request QueryAttendanceStatisticalDataRequest * @param QueryAttendanceStatisticalDataHeaders $headers QueryAttendanceStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryAttendanceStatisticalDataResponse QueryAttendanceStatisticalDataResponse */ public function queryAttendanceStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryAttendanceStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/attendanceData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryAttendanceStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业考勤统计数据 * * * @param QueryAttendanceStatisticalDataRequest $request QueryAttendanceStatisticalDataRequest * * @return QueryAttendanceStatisticalDataResponse QueryAttendanceStatisticalDataResponse */ public function queryAttendanceStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryAttendanceStatisticalDataHeaders([]); return $this->queryAttendanceStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业公告统计数据 * * * @param QueryBlackboardStatisticalDataRequest $request QueryBlackboardStatisticalDataRequest * @param QueryBlackboardStatisticalDataHeaders $headers QueryBlackboardStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryBlackboardStatisticalDataResponse QueryBlackboardStatisticalDataResponse */ public function queryBlackboardStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryBlackboardStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/blackboardData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryBlackboardStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业公告统计数据 * * * @param QueryBlackboardStatisticalDataRequest $request QueryBlackboardStatisticalDataRequest * * @return QueryBlackboardStatisticalDataResponse QueryBlackboardStatisticalDataResponse */ public function queryBlackboardStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryBlackboardStatisticalDataHeaders([]); return $this->queryBlackboardStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业日程统计数据 * * * @param QueryCalendarStatisticalDataRequest $request QueryCalendarStatisticalDataRequest * @param QueryCalendarStatisticalDataHeaders $headers QueryCalendarStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCalendarStatisticalDataResponse QueryCalendarStatisticalDataResponse */ public function queryCalendarStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCalendarStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/calendarData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCalendarStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业日程统计数据 * * * @param QueryCalendarStatisticalDataRequest $request QueryCalendarStatisticalDataRequest * * @return QueryCalendarStatisticalDataResponse QueryCalendarStatisticalDataResponse */ public function queryCalendarStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCalendarStatisticalDataHeaders([]); return $this->queryCalendarStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取图表数据 * * * @param QueryChartDataRequest $request QueryChartDataRequest * @param QueryChartDataHeaders $headers QueryChartDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryChartDataResponse QueryChartDataResponse */ public function queryChartDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->code)) { $body['code'] = $request->code; } if (!Utils::isUnset($request->ticket)) { $body['ticket'] = $request->ticket; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryChartData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/chartDatas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryChartDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取图表数据 * * * @param QueryChartDataRequest $request QueryChartDataRequest * * @return QueryChartDataResponse QueryChartDataResponse */ public function queryChartData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryChartDataHeaders([]); return $this->queryChartDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业签到统计数据 * * * @param QueryCheckinStatisticalDataRequest $request QueryCheckinStatisticalDataRequest * @param QueryCheckinStatisticalDataHeaders $headers QueryCheckinStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCheckinStatisticalDataResponse QueryCheckinStatisticalDataResponse */ public function queryCheckinStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCheckinStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/checkinData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCheckinStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业签到统计数据 * * * @param QueryCheckinStatisticalDataRequest $request QueryCheckinStatisticalDataRequest * * @return QueryCheckinStatisticalDataResponse QueryCheckinStatisticalDataResponse */ public function queryCheckinStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCheckinStatisticalDataHeaders([]); return $this->queryCheckinStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业全员圈统计数据 * * * @param QueryCircleStatisticalDataRequest $request QueryCircleStatisticalDataRequest * @param QueryCircleStatisticalDataHeaders $headers QueryCircleStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCircleStatisticalDataResponse QueryCircleStatisticalDataResponse */ public function queryCircleStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCircleStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/circleData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCircleStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业全员圈统计数据 * * * @param QueryCircleStatisticalDataRequest $request QueryCircleStatisticalDataRequest * * @return QueryCircleStatisticalDataResponse QueryCircleStatisticalDataResponse */ public function queryCircleStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCircleStatisticalDataHeaders([]); return $this->queryCircleStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 通过企业名称/社会统一信用代码/工商注册号,查询企业的基本画像信息。 * * * @param QueryCompanyBasicInfoRequest $request QueryCompanyBasicInfoRequest * @param QueryCompanyBasicInfoHeaders $headers QueryCompanyBasicInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCompanyBasicInfoResponse QueryCompanyBasicInfoResponse */ public function queryCompanyBasicInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCompanyBasicInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/companies/basicInfo', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryCompanyBasicInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过企业名称/社会统一信用代码/工商注册号,查询企业的基本画像信息。 * * * @param QueryCompanyBasicInfoRequest $request QueryCompanyBasicInfoRequest * * @return QueryCompanyBasicInfoResponse QueryCompanyBasicInfoResponse */ public function queryCompanyBasicInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCompanyBasicInfoHeaders([]); return $this->queryCompanyBasicInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取数字区县组织信息 * * * @param QueryDigitalDistrictOrgInfoRequest $request QueryDigitalDistrictOrgInfoRequest * @param QueryDigitalDistrictOrgInfoHeaders $headers QueryDigitalDistrictOrgInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDigitalDistrictOrgInfoResponse QueryDigitalDistrictOrgInfoResponse */ public function queryDigitalDistrictOrgInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpIds)) { $body['corpIds'] = $request->corpIds; } if (!Utils::isUnset($request->statDates)) { $body['statDates'] = $request->statDates; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryDigitalDistrictOrgInfo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/digitalCounty/orgInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return QueryDigitalDistrictOrgInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取数字区县组织信息 * * * @param QueryDigitalDistrictOrgInfoRequest $request QueryDigitalDistrictOrgInfoRequest * * @return QueryDigitalDistrictOrgInfoResponse QueryDigitalDistrictOrgInfoResponse */ public function queryDigitalDistrictOrgInfo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDigitalDistrictOrgInfoHeaders([]); return $this->queryDigitalDistrictOrgInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取企业DING接收及评论统计数据 * * * @param QueryDingReciveStatisticalDataRequest $request QueryDingReciveStatisticalDataRequest * @param QueryDingReciveStatisticalDataHeaders $headers QueryDingReciveStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDingReciveStatisticalDataResponse QueryDingReciveStatisticalDataResponse */ public function queryDingReciveStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDingReciveStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dingReciveData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDingReciveStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业DING接收及评论统计数据 * * * @param QueryDingReciveStatisticalDataRequest $request QueryDingReciveStatisticalDataRequest * * @return QueryDingReciveStatisticalDataResponse QueryDingReciveStatisticalDataResponse */ public function queryDingReciveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDingReciveStatisticalDataHeaders([]); return $this->queryDingReciveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业DING发送统计数据 * * * @param QueryDingSendStatisticalDataRequest $request QueryDingSendStatisticalDataRequest * @param QueryDingSendStatisticalDataHeaders $headers QueryDingSendStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDingSendStatisticalDataResponse QueryDingSendStatisticalDataResponse */ public function queryDingSendStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDingSendStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dingSendData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDingSendStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业DING发送统计数据 * * * @param QueryDingSendStatisticalDataRequest $request QueryDingSendStatisticalDataRequest * * @return QueryDingSendStatisticalDataResponse QueryDingSendStatisticalDataResponse */ public function queryDingSendStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDingSendStatisticalDataHeaders([]); return $this->queryDingSendStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业文档统计数据 * * * @param QueryDocumentStatisticalDataRequest $request QueryDocumentStatisticalDataRequest * @param QueryDocumentStatisticalDataHeaders $headers QueryDocumentStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDocumentStatisticalDataResponse QueryDocumentStatisticalDataResponse */ public function queryDocumentStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDocumentStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/documentData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDocumentStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业文档统计数据 * * * @param QueryDocumentStatisticalDataRequest $request QueryDocumentStatisticalDataRequest * * @return QueryDocumentStatisticalDataResponse QueryDocumentStatisticalDataResponse */ public function queryDocumentStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDocumentStatisticalDataHeaders([]); return $this->queryDocumentStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业钉盘统计数据 * * * @param QueryDriveStatisticalDataRequest $request QueryDriveStatisticalDataRequest * @param QueryDriveStatisticalDataHeaders $headers QueryDriveStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDriveStatisticalDataResponse QueryDriveStatisticalDataResponse */ public function queryDriveStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDriveStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/driveData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDriveStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业钉盘统计数据 * * * @param QueryDriveStatisticalDataRequest $request QueryDriveStatisticalDataRequest * * @return QueryDriveStatisticalDataResponse QueryDriveStatisticalDataResponse */ public function queryDriveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDriveStatisticalDataHeaders([]); return $this->queryDriveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业员工类型统计数据 * * * @param QueryEmployeeTypeStatisticalDataRequest $request QueryEmployeeTypeStatisticalDataRequest * @param QueryEmployeeTypeStatisticalDataHeaders $headers QueryEmployeeTypeStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryEmployeeTypeStatisticalDataResponse QueryEmployeeTypeStatisticalDataResponse */ public function queryEmployeeTypeStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryEmployeeTypeStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/employeeTypeData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryEmployeeTypeStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业员工类型统计数据 * * * @param QueryEmployeeTypeStatisticalDataRequest $request QueryEmployeeTypeStatisticalDataRequest * * @return QueryEmployeeTypeStatisticalDataResponse QueryEmployeeTypeStatisticalDataResponse */ public function queryEmployeeTypeStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEmployeeTypeStatisticalDataHeaders([]); return $this->queryEmployeeTypeStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 数据资产平台数据服务接口 * * * @param QueryGeneralDataServiceRequest $request QueryGeneralDataServiceRequest * @param QueryGeneralDataServiceHeaders $headers QueryGeneralDataServiceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryGeneralDataServiceResponse QueryGeneralDataServiceResponse */ public function queryGeneralDataServiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deptId)) { $query['deptId'] = $request->deptId; } if (!Utils::isUnset($request->endDate)) { $query['endDate'] = $request->endDate; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->returnTotal)) { $query['returnTotal'] = $request->returnTotal; } if (!Utils::isUnset($request->serviceId)) { $query['serviceId'] = $request->serviceId; } if (!Utils::isUnset($request->startDate)) { $query['startDate'] = $request->startDate; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGeneralDataService', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/generalDataServices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGeneralDataServiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 数据资产平台数据服务接口 * * * @param QueryGeneralDataServiceRequest $request QueryGeneralDataServiceRequest * * @return QueryGeneralDataServiceResponse QueryGeneralDataServiceResponse */ public function queryGeneralDataService($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGeneralDataServiceHeaders([]); return $this->queryGeneralDataServiceWithOptions($request, $headers, $runtime); } /** * @summary 数据资产平台数据服务接口(支持部门、员工维度批量拉取) * * * @param QueryGeneralDataServiceBatchRequest $request QueryGeneralDataServiceBatchRequest * @param QueryGeneralDataServiceBatchHeaders $headers QueryGeneralDataServiceBatchHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryGeneralDataServiceBatchResponse QueryGeneralDataServiceBatchResponse */ public function queryGeneralDataServiceBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->endDate)) { $body['endDate'] = $request->endDate; } if (!Utils::isUnset($request->filters)) { $body['filters'] = $request->filters; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->returnTotal)) { $body['returnTotal'] = $request->returnTotal; } if (!Utils::isUnset($request->serviceId)) { $body['serviceId'] = $request->serviceId; } if (!Utils::isUnset($request->startDate)) { $body['startDate'] = $request->startDate; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryGeneralDataServiceBatch', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataServices/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGeneralDataServiceBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 数据资产平台数据服务接口(支持部门、员工维度批量拉取) * * * @param QueryGeneralDataServiceBatchRequest $request QueryGeneralDataServiceBatchRequest * * @return QueryGeneralDataServiceBatchResponse QueryGeneralDataServiceBatchResponse */ public function queryGeneralDataServiceBatch($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGeneralDataServiceBatchHeaders([]); return $this->queryGeneralDataServiceBatchWithOptions($request, $headers, $runtime); } /** * @summary 数据资产平台数据服务接口(查询数据更新日期) * * * @param QueryGeneralDataUpdateDateRequest $request QueryGeneralDataUpdateDateRequest * @param QueryGeneralDataUpdateDateHeaders $headers QueryGeneralDataUpdateDateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryGeneralDataUpdateDateResponse QueryGeneralDataUpdateDateResponse */ public function queryGeneralDataUpdateDateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->serviceId)) { $query['serviceId'] = $request->serviceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGeneralDataUpdateDate', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataUpdateDates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGeneralDataUpdateDateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 数据资产平台数据服务接口(查询数据更新日期) * * * @param QueryGeneralDataUpdateDateRequest $request QueryGeneralDataUpdateDateRequest * * @return QueryGeneralDataUpdateDateResponse QueryGeneralDataUpdateDateResponse */ public function queryGeneralDataUpdateDate($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGeneralDataUpdateDateHeaders([]); return $this->queryGeneralDataUpdateDateWithOptions($request, $headers, $runtime); } /** * @summary 获取企业群直播统计数据 * * * @param QueryGroupLiveStatisticalDataRequest $request QueryGroupLiveStatisticalDataRequest * @param QueryGroupLiveStatisticalDataHeaders $headers QueryGroupLiveStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryGroupLiveStatisticalDataResponse QueryGroupLiveStatisticalDataResponse */ public function queryGroupLiveStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGroupLiveStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/groupLiveData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupLiveStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业群直播统计数据 * * * @param QueryGroupLiveStatisticalDataRequest $request QueryGroupLiveStatisticalDataRequest * * @return QueryGroupLiveStatisticalDataResponse QueryGroupLiveStatisticalDataResponse */ public function queryGroupLiveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupLiveStatisticalDataHeaders([]); return $this->queryGroupLiveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业群聊统计数据 * * * @param QueryGroupMessageStatisticalDataRequest $request QueryGroupMessageStatisticalDataRequest * @param QueryGroupMessageStatisticalDataHeaders $headers QueryGroupMessageStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryGroupMessageStatisticalDataResponse QueryGroupMessageStatisticalDataResponse */ public function queryGroupMessageStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryGroupMessageStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/groupMessageData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryGroupMessageStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业群聊统计数据 * * * @param QueryGroupMessageStatisticalDataRequest $request QueryGroupMessageStatisticalDataRequest * * @return QueryGroupMessageStatisticalDataResponse QueryGroupMessageStatisticalDataResponse */ public function queryGroupMessageStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryGroupMessageStatisticalDataHeaders([]); return $this->queryGroupMessageStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业钉钉运动统计数据 * * * @param QueryHealthStatisticalDataRequest $request QueryHealthStatisticalDataRequest * @param QueryHealthStatisticalDataHeaders $headers QueryHealthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryHealthStatisticalDataResponse QueryHealthStatisticalDataResponse */ public function queryHealthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryHealthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/healtheUserData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryHealthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业钉钉运动统计数据 * * * @param QueryHealthStatisticalDataRequest $request QueryHealthStatisticalDataRequest * * @return QueryHealthStatisticalDataResponse QueryHealthStatisticalDataResponse */ public function queryHealthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryHealthStatisticalDataHeaders([]); return $this->queryHealthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业邮箱统计数据 * * * @param QueryMailStatisticalDataRequest $request QueryMailStatisticalDataRequest * @param QueryMailStatisticalDataHeaders $headers QueryMailStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryMailStatisticalDataResponse QueryMailStatisticalDataResponse */ public function queryMailStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryMailStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/mailData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryMailStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业邮箱统计数据 * * * @param QueryMailStatisticalDataRequest $request QueryMailStatisticalDataRequest * * @return QueryMailStatisticalDataResponse QueryMailStatisticalDataResponse */ public function queryMailStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryMailStatisticalDataHeaders([]); return $this->queryMailStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取官方数据集数据 * * * @param QueryOfficialDataRequest $request QueryOfficialDataRequest * @param QueryOfficialDataHeaders $headers QueryOfficialDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOfficialDataResponse QueryOfficialDataResponse */ public function queryOfficialDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->param)) { $query['param'] = $request->param; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOfficialData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/datas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOfficialDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取官方数据集数据 * * * @param QueryOfficialDataRequest $request QueryOfficialDataRequest * * @return QueryOfficialDataResponse QueryOfficialDataResponse */ public function queryOfficialData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialDataHeaders([]); return $this->queryOfficialDataWithOptions($request, $headers, $runtime); } /** * @summary ISV获取官方数据集字段信息 * * * @param QueryOfficialDatasetFieldsRequest $request QueryOfficialDatasetFieldsRequest * @param QueryOfficialDatasetFieldsHeaders $headers QueryOfficialDatasetFieldsHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOfficialDatasetFieldsResponse QueryOfficialDatasetFieldsResponse */ public function queryOfficialDatasetFieldsWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->dsId)) { $query['dsId'] = $request->dsId; } if (!Utils::isUnset($request->userId)) { $query['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOfficialDatasetFields', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/datasetFields', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOfficialDatasetFieldsResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary ISV获取官方数据集字段信息 * * * @param QueryOfficialDatasetFieldsRequest $request QueryOfficialDatasetFieldsRequest * * @return QueryOfficialDatasetFieldsResponse QueryOfficialDatasetFieldsResponse */ public function queryOfficialDatasetFields($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialDatasetFieldsHeaders([]); return $this->queryOfficialDatasetFieldsWithOptions($request, $headers, $runtime); } /** * @summary ISV获取官方数据集列表 * * * @param QueryOfficialDatasetListRequest $request QueryOfficialDatasetListRequest * @param QueryOfficialDatasetListHeaders $headers QueryOfficialDatasetListHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOfficialDatasetListResponse QueryOfficialDatasetListResponse */ public function queryOfficialDatasetListWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->keyword)) { $query['keyword'] = $request->keyword; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOfficialDatasetList', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/datasetLists', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOfficialDatasetListResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary ISV获取官方数据集列表 * * * @param QueryOfficialDatasetListRequest $request QueryOfficialDatasetListRequest * * @return QueryOfficialDatasetListResponse QueryOfficialDatasetListResponse */ public function queryOfficialDatasetList($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialDatasetListHeaders([]); return $this->queryOfficialDatasetListWithOptions($request, $headers, $runtime); } /** * @summary 获取官方数据集数据 * * * @param QueryOfficialFormDataRequest $request QueryOfficialFormDataRequest * @param QueryOfficialFormDataHeaders $headers QueryOfficialFormDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOfficialFormDataResponse QueryOfficialFormDataResponse */ public function queryOfficialFormDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryOfficialFormData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/datas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOfficialFormDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取官方数据集数据 * * * @param QueryOfficialFormDataRequest $request QueryOfficialFormDataRequest * * @return QueryOfficialFormDataResponse QueryOfficialFormDataResponse */ public function queryOfficialFormData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialFormDataHeaders([]); return $this->queryOfficialFormDataWithOptions($request, $headers, $runtime); } /** * @summary 获取HOLO中官方OA表单数据集数据 * * * @param QueryOfficialFormDataDirectHoloRequest $request QueryOfficialFormDataDirectHoloRequest * @param QueryOfficialFormDataDirectHoloHeaders $headers QueryOfficialFormDataDirectHoloHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOfficialFormDataDirectHoloResponse QueryOfficialFormDataDirectHoloResponse */ public function queryOfficialFormDataDirectHoloWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->param)) { $body['param'] = $request->param; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryOfficialFormDataDirectHolo', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/oaDatas/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOfficialFormDataDirectHoloResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取HOLO中官方OA表单数据集数据 * * * @param QueryOfficialFormDataDirectHoloRequest $request QueryOfficialFormDataDirectHoloRequest * * @return QueryOfficialFormDataDirectHoloResponse QueryOfficialFormDataDirectHoloResponse */ public function queryOfficialFormDataDirectHolo($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOfficialFormDataDirectHoloHeaders([]); return $this->queryOfficialFormDataDirectHoloWithOptions($request, $headers, $runtime); } /** * @summary 获取企业用户在线统计数据 * * * @param QueryOnlineUserStatisticalDataRequest $request QueryOnlineUserStatisticalDataRequest * @param QueryOnlineUserStatisticalDataHeaders $headers QueryOnlineUserStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryOnlineUserStatisticalDataResponse QueryOnlineUserStatisticalDataResponse */ public function queryOnlineUserStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryOnlineUserStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/onlineUserData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryOnlineUserStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业用户在线统计数据 * * * @param QueryOnlineUserStatisticalDataRequest $request QueryOnlineUserStatisticalDataRequest * * @return QueryOnlineUserStatisticalDataResponse QueryOnlineUserStatisticalDataResponse */ public function queryOnlineUserStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryOnlineUserStatisticalDataHeaders([]); return $this->queryOnlineUserStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业接收红包统计数据 * * * @param QueryRedEnvelopeReciveStatisticalDataRequest $request QueryRedEnvelopeReciveStatisticalDataRequest * @param QueryRedEnvelopeReciveStatisticalDataHeaders $headers QueryRedEnvelopeReciveStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryRedEnvelopeReciveStatisticalDataResponse QueryRedEnvelopeReciveStatisticalDataResponse */ public function queryRedEnvelopeReciveStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRedEnvelopeReciveStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/redEnvelopeReciveData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRedEnvelopeReciveStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业接收红包统计数据 * * * @param QueryRedEnvelopeReciveStatisticalDataRequest $request QueryRedEnvelopeReciveStatisticalDataRequest * * @return QueryRedEnvelopeReciveStatisticalDataResponse QueryRedEnvelopeReciveStatisticalDataResponse */ public function queryRedEnvelopeReciveStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRedEnvelopeReciveStatisticalDataHeaders([]); return $this->queryRedEnvelopeReciveStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业发送红包统计数据 * * * @param QueryRedEnvelopeSendStatisticalDataRequest $request QueryRedEnvelopeSendStatisticalDataRequest * @param QueryRedEnvelopeSendStatisticalDataHeaders $headers QueryRedEnvelopeSendStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryRedEnvelopeSendStatisticalDataResponse QueryRedEnvelopeSendStatisticalDataResponse */ public function queryRedEnvelopeSendStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryRedEnvelopeSendStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/redEnvelopeSendData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryRedEnvelopeSendStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业发送红包统计数据 * * * @param QueryRedEnvelopeSendStatisticalDataRequest $request QueryRedEnvelopeSendStatisticalDataRequest * * @return QueryRedEnvelopeSendStatisticalDataResponse QueryRedEnvelopeSendStatisticalDataResponse */ public function queryRedEnvelopeSendStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryRedEnvelopeSendStatisticalDataHeaders([]); return $this->queryRedEnvelopeSendStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业日志统计数据 * * * @param QueryReportStatisticalDataRequest $request QueryReportStatisticalDataRequest * @param QueryReportStatisticalDataHeaders $headers QueryReportStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryReportStatisticalDataResponse QueryReportStatisticalDataResponse */ public function queryReportStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryReportStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/reportData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryReportStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业日志统计数据 * * * @param QueryReportStatisticalDataRequest $request QueryReportStatisticalDataRequest * * @return QueryReportStatisticalDataResponse QueryReportStatisticalDataResponse */ public function queryReportStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryReportStatisticalDataHeaders([]); return $this->queryReportStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 查询数据大屏 * * * @param QueryScreenRequest $request QueryScreenRequest * @param QueryScreenHeaders $headers QueryScreenHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryScreenResponse QueryScreenResponse */ public function queryScreenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryScreen', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/screens', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryScreenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询数据大屏 * * * @param QueryScreenRequest $request QueryScreenRequest * * @return QueryScreenResponse QueryScreenResponse */ public function queryScreen($request) { $runtime = new RuntimeOptions([]); $headers = new QueryScreenHeaders([]); return $this->queryScreenWithOptions($request, $headers, $runtime); } /** * @summary 查询数据大屏模版 * * * @param QueryScreenTemplateRequest $request QueryScreenTemplateRequest * @param QueryScreenTemplateHeaders $headers QueryScreenTemplateHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryScreenTemplateResponse QueryScreenTemplateResponse */ public function queryScreenTemplateWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->operatorId)) { $query['operatorId'] = $request->operatorId; } if (!Utils::isUnset($request->sample)) { $query['sample'] = $request->sample; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryScreenTemplate', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/screenTemplates', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryScreenTemplateResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询数据大屏模版 * * * @param QueryScreenTemplateRequest $request QueryScreenTemplateRequest * * @return QueryScreenTemplateResponse QueryScreenTemplateResponse */ public function queryScreenTemplate($request) { $runtime = new RuntimeOptions([]); $headers = new QueryScreenTemplateHeaders([]); return $this->queryScreenTemplateWithOptions($request, $headers, $runtime); } /** * @summary 获取企业单聊统计数据 * * * @param QuerySingleMessageStatisticalDataRequest $request QuerySingleMessageStatisticalDataRequest * @param QuerySingleMessageStatisticalDataHeaders $headers QuerySingleMessageStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QuerySingleMessageStatisticalDataResponse QuerySingleMessageStatisticalDataResponse */ public function querySingleMessageStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QuerySingleMessageStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/singleMessagerData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QuerySingleMessageStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业单聊统计数据 * * * @param QuerySingleMessageStatisticalDataRequest $request QuerySingleMessageStatisticalDataRequest * * @return QuerySingleMessageStatisticalDataResponse QuerySingleMessageStatisticalDataResponse */ public function querySingleMessageStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QuerySingleMessageStatisticalDataHeaders([]); return $this->querySingleMessageStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业电话会议统计数据 * * * @param QueryTelMeetingStatisticalDataRequest $request QueryTelMeetingStatisticalDataRequest * @param QueryTelMeetingStatisticalDataHeaders $headers QueryTelMeetingStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryTelMeetingStatisticalDataResponse QueryTelMeetingStatisticalDataResponse */ public function queryTelMeetingStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryTelMeetingStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/telMeetingData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTelMeetingStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业电话会议统计数据 * * * @param QueryTelMeetingStatisticalDataRequest $request QueryTelMeetingStatisticalDataRequest * * @return QueryTelMeetingStatisticalDataResponse QueryTelMeetingStatisticalDataResponse */ public function queryTelMeetingStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTelMeetingStatisticalDataHeaders([]); return $this->queryTelMeetingStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 获取企业待办统计数据 * * * @param QueryTodoStatisticalDataRequest $request QueryTodoStatisticalDataRequest * @param QueryTodoStatisticalDataHeaders $headers QueryTodoStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryTodoStatisticalDataResponse QueryTodoStatisticalDataResponse */ public function queryTodoStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryTodoStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/todoUserData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTodoStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业待办统计数据 * * * @param QueryTodoStatisticalDataRequest $request QueryTodoStatisticalDataRequest * * @return QueryTodoStatisticalDataResponse QueryTodoStatisticalDataResponse */ public function queryTodoStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTodoStatisticalDataHeaders([]); return $this->queryTodoStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 数据资产平台查询数据记录数 * * * @param QueryTotalDataCountServiceRequest $request QueryTotalDataCountServiceRequest * @param QueryTotalDataCountServiceHeaders $headers QueryTotalDataCountServiceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryTotalDataCountServiceResponse QueryTotalDataCountServiceResponse */ public function queryTotalDataCountServiceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deptIds)) { $body['deptIds'] = $request->deptIds; } if (!Utils::isUnset($request->endDate)) { $body['endDate'] = $request->endDate; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->serviceId)) { $body['serviceId'] = $request->serviceId; } if (!Utils::isUnset($request->startDate)) { $body['startDate'] = $request->startDate; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryTotalDataCountService', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/datas/totalCounts/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryTotalDataCountServiceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 数据资产平台查询数据记录数 * * * @param QueryTotalDataCountServiceRequest $request QueryTotalDataCountServiceRequest * * @return QueryTotalDataCountServiceResponse QueryTotalDataCountServiceResponse */ public function queryTotalDataCountService($request) { $runtime = new RuntimeOptions([]); $headers = new QueryTotalDataCountServiceHeaders([]); return $this->queryTotalDataCountServiceWithOptions($request, $headers, $runtime); } /** * @summary 获取企业视频会议统计数据 * * * @param QueryVedioMeetingStatisticalDataRequest $request QueryVedioMeetingStatisticalDataRequest * @param QueryVedioMeetingStatisticalDataHeaders $headers QueryVedioMeetingStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryVedioMeetingStatisticalDataResponse QueryVedioMeetingStatisticalDataResponse */ public function queryVedioMeetingStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryVedioMeetingStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/vedioMeetingData', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryVedioMeetingStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取企业视频会议统计数据 * * * @param QueryVedioMeetingStatisticalDataRequest $request QueryVedioMeetingStatisticalDataRequest * * @return QueryVedioMeetingStatisticalDataResponse QueryVedioMeetingStatisticalDataResponse */ public function queryVedioMeetingStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryVedioMeetingStatisticalDataHeaders([]); return $this->queryVedioMeetingStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋活跃分析(按日统计)指标接口 * * * @param QueryYydActiveDayStatisticalDataRequest $request QueryYydActiveDayStatisticalDataRequest * @param QueryYydActiveDayStatisticalDataHeaders $headers QueryYydActiveDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydActiveDayStatisticalDataResponse QueryYydActiveDayStatisticalDataResponse */ public function queryYydActiveDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydActiveDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydActiveDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydActiveDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋活跃分析(按日统计)指标接口 * * * @param QueryYydActiveDayStatisticalDataRequest $request QueryYydActiveDayStatisticalDataRequest * * @return QueryYydActiveDayStatisticalDataResponse QueryYydActiveDayStatisticalDataResponse */ public function queryYydActiveDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydActiveDayStatisticalDataHeaders([]); return $this->queryYydActiveDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋活跃分析(按月统计)指标接口 * * * @param QueryYydActiveMonthStatisticalDataRequest $request QueryYydActiveMonthStatisticalDataRequest * @param QueryYydActiveMonthStatisticalDataHeaders $headers QueryYydActiveMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydActiveMonthStatisticalDataResponse QueryYydActiveMonthStatisticalDataResponse */ public function queryYydActiveMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydActiveMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydActiveMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydActiveMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋活跃分析(按月统计)指标接口 * * * @param QueryYydActiveMonthStatisticalDataRequest $request QueryYydActiveMonthStatisticalDataRequest * * @return QueryYydActiveMonthStatisticalDataResponse QueryYydActiveMonthStatisticalDataResponse */ public function queryYydActiveMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydActiveMonthStatisticalDataHeaders([]); return $this->queryYydActiveMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋活跃分析(按周统计)指标接口 * * * @param QueryYydActiveWeekStatisticalDataRequest $request QueryYydActiveWeekStatisticalDataRequest * @param QueryYydActiveWeekStatisticalDataHeaders $headers QueryYydActiveWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydActiveWeekStatisticalDataResponse QueryYydActiveWeekStatisticalDataResponse */ public function queryYydActiveWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydActiveWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydActiveWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydActiveWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋活跃分析(按周统计)指标接口 * * * @param QueryYydActiveWeekStatisticalDataRequest $request QueryYydActiveWeekStatisticalDataRequest * * @return QueryYydActiveWeekStatisticalDataResponse QueryYydActiveWeekStatisticalDataResponse */ public function queryYydActiveWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydActiveWeekStatisticalDataHeaders([]); return $this->queryYydActiveWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋应用概况(按日统计)指标接口 * * * @param QueryYydAppDayStatisticalDataRequest $request QueryYydAppDayStatisticalDataRequest * @param QueryYydAppDayStatisticalDataHeaders $headers QueryYydAppDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydAppDayStatisticalDataResponse QueryYydAppDayStatisticalDataResponse */ public function queryYydAppDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydAppDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydAppDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydAppDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋应用概况(按日统计)指标接口 * * * @param QueryYydAppDayStatisticalDataRequest $request QueryYydAppDayStatisticalDataRequest * * @return QueryYydAppDayStatisticalDataResponse QueryYydAppDayStatisticalDataResponse */ public function queryYydAppDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppDayStatisticalDataHeaders([]); return $this->queryYydAppDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋应用概况(按月统计)指标接口 * * * @param QueryYydAppMonthStatisticalDataRequest $request QueryYydAppMonthStatisticalDataRequest * @param QueryYydAppMonthStatisticalDataHeaders $headers QueryYydAppMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydAppMonthStatisticalDataResponse QueryYydAppMonthStatisticalDataResponse */ public function queryYydAppMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydAppMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydAppMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydAppMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋应用概况(按月统计)指标接口 * * * @param QueryYydAppMonthStatisticalDataRequest $request QueryYydAppMonthStatisticalDataRequest * * @return QueryYydAppMonthStatisticalDataResponse QueryYydAppMonthStatisticalDataResponse */ public function queryYydAppMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppMonthStatisticalDataHeaders([]); return $this->queryYydAppMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋应用概况(累计)指标接口 * * * @param QueryYydAppStdStatisticalDataRequest $request QueryYydAppStdStatisticalDataRequest * @param QueryYydAppStdStatisticalDataHeaders $headers QueryYydAppStdStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydAppStdStatisticalDataResponse QueryYydAppStdStatisticalDataResponse */ public function queryYydAppStdStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydAppStdStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydAppStdDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydAppStdStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋应用概况(累计)指标接口 * * * @param QueryYydAppStdStatisticalDataRequest $request QueryYydAppStdStatisticalDataRequest * * @return QueryYydAppStdStatisticalDataResponse QueryYydAppStdStatisticalDataResponse */ public function queryYydAppStdStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppStdStatisticalDataHeaders([]); return $this->queryYydAppStdStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋应用概况(按周统计)指标接口 * * * @param QueryYydAppWeekStatisticalDataRequest $request QueryYydAppWeekStatisticalDataRequest * @param QueryYydAppWeekStatisticalDataHeaders $headers QueryYydAppWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydAppWeekStatisticalDataResponse QueryYydAppWeekStatisticalDataResponse */ public function queryYydAppWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydAppWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydAppWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydAppWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋应用概况(按周统计)指标接口 * * * @param QueryYydAppWeekStatisticalDataRequest $request QueryYydAppWeekStatisticalDataRequest * * @return QueryYydAppWeekStatisticalDataResponse QueryYydAppWeekStatisticalDataResponse */ public function queryYydAppWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydAppWeekStatisticalDataHeaders([]); return $this->queryYydAppWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋会议日程分析(按日统计)指标接口 * * * @param QueryYydCalendarDayStatisticalDataRequest $request QueryYydCalendarDayStatisticalDataRequest * @param QueryYydCalendarDayStatisticalDataHeaders $headers QueryYydCalendarDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydCalendarDayStatisticalDataResponse QueryYydCalendarDayStatisticalDataResponse */ public function queryYydCalendarDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydCalendarDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydCalendarDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydCalendarDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋会议日程分析(按日统计)指标接口 * * * @param QueryYydCalendarDayStatisticalDataRequest $request QueryYydCalendarDayStatisticalDataRequest * * @return QueryYydCalendarDayStatisticalDataResponse QueryYydCalendarDayStatisticalDataResponse */ public function queryYydCalendarDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydCalendarDayStatisticalDataHeaders([]); return $this->queryYydCalendarDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋会议日程分析(按月统计)指标接口 * * * @param QueryYydCalendarMonthStatisticalDataRequest $request QueryYydCalendarMonthStatisticalDataRequest * @param QueryYydCalendarMonthStatisticalDataHeaders $headers QueryYydCalendarMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydCalendarMonthStatisticalDataResponse QueryYydCalendarMonthStatisticalDataResponse */ public function queryYydCalendarMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydCalendarMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydCalendarMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydCalendarMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋会议日程分析(按月统计)指标接口 * * * @param QueryYydCalendarMonthStatisticalDataRequest $request QueryYydCalendarMonthStatisticalDataRequest * * @return QueryYydCalendarMonthStatisticalDataResponse QueryYydCalendarMonthStatisticalDataResponse */ public function queryYydCalendarMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydCalendarMonthStatisticalDataHeaders([]); return $this->queryYydCalendarMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋会议日程分析(按周统计)指标接口 * * * @param QueryYydCalendarWeekStatisticalDataRequest $request QueryYydCalendarWeekStatisticalDataRequest * @param QueryYydCalendarWeekStatisticalDataHeaders $headers QueryYydCalendarWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydCalendarWeekStatisticalDataResponse QueryYydCalendarWeekStatisticalDataResponse */ public function queryYydCalendarWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydCalendarWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydCalendarWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydCalendarWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋会议日程分析(按周统计)指标接口 * * * @param QueryYydCalendarWeekStatisticalDataRequest $request QueryYydCalendarWeekStatisticalDataRequest * * @return QueryYydCalendarWeekStatisticalDataResponse QueryYydCalendarWeekStatisticalDataResponse */ public function queryYydCalendarWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydCalendarWeekStatisticalDataHeaders([]); return $this->queryYydCalendarWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋钉消息分析(按日统计)指标接口 * * * @param QueryYydDingMsgDayStatisticalDataRequest $request QueryYydDingMsgDayStatisticalDataRequest * @param QueryYydDingMsgDayStatisticalDataHeaders $headers QueryYydDingMsgDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydDingMsgDayStatisticalDataResponse QueryYydDingMsgDayStatisticalDataResponse */ public function queryYydDingMsgDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydDingMsgDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydDingMsgDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydDingMsgDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋钉消息分析(按日统计)指标接口 * * * @param QueryYydDingMsgDayStatisticalDataRequest $request QueryYydDingMsgDayStatisticalDataRequest * * @return QueryYydDingMsgDayStatisticalDataResponse QueryYydDingMsgDayStatisticalDataResponse */ public function queryYydDingMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydDingMsgDayStatisticalDataHeaders([]); return $this->queryYydDingMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋钉消息分析(按月统计)指标接口 * * * @param QueryYydDingMsgMonthStatisticalDataRequest $request QueryYydDingMsgMonthStatisticalDataRequest * @param QueryYydDingMsgMonthStatisticalDataHeaders $headers QueryYydDingMsgMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydDingMsgMonthStatisticalDataResponse QueryYydDingMsgMonthStatisticalDataResponse */ public function queryYydDingMsgMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydDingMsgMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydDingMsgMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydDingMsgMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋钉消息分析(按月统计)指标接口 * * * @param QueryYydDingMsgMonthStatisticalDataRequest $request QueryYydDingMsgMonthStatisticalDataRequest * * @return QueryYydDingMsgMonthStatisticalDataResponse QueryYydDingMsgMonthStatisticalDataResponse */ public function queryYydDingMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydDingMsgMonthStatisticalDataHeaders([]); return $this->queryYydDingMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋钉消息分析(按周统计)指标接口 * * * @param QueryYydDingMsgWeekStatisticalDataRequest $request QueryYydDingMsgWeekStatisticalDataRequest * @param QueryYydDingMsgWeekStatisticalDataHeaders $headers QueryYydDingMsgWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydDingMsgWeekStatisticalDataResponse QueryYydDingMsgWeekStatisticalDataResponse */ public function queryYydDingMsgWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydDingMsgWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydDingMsgWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydDingMsgWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋钉消息分析(按周统计)指标接口 * * * @param QueryYydDingMsgWeekStatisticalDataRequest $request QueryYydDingMsgWeekStatisticalDataRequest * * @return QueryYydDingMsgWeekStatisticalDataResponse QueryYydDingMsgWeekStatisticalDataResponse */ public function queryYydDingMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydDingMsgWeekStatisticalDataHeaders([]); return $this->queryYydDingMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋群聊分析(按日统计)指标接口 * * * @param QueryYydGroupMsgDayStatisticalDataRequest $request QueryYydGroupMsgDayStatisticalDataRequest * @param QueryYydGroupMsgDayStatisticalDataHeaders $headers QueryYydGroupMsgDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydGroupMsgDayStatisticalDataResponse QueryYydGroupMsgDayStatisticalDataResponse */ public function queryYydGroupMsgDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydGroupMsgDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydGroupMsgDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydGroupMsgDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋群聊分析(按日统计)指标接口 * * * @param QueryYydGroupMsgDayStatisticalDataRequest $request QueryYydGroupMsgDayStatisticalDataRequest * * @return QueryYydGroupMsgDayStatisticalDataResponse QueryYydGroupMsgDayStatisticalDataResponse */ public function queryYydGroupMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydGroupMsgDayStatisticalDataHeaders([]); return $this->queryYydGroupMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋群聊分析(按月统计)指标接口 * * * @param QueryYydGroupMsgMonthStatisticalDataRequest $request QueryYydGroupMsgMonthStatisticalDataRequest * @param QueryYydGroupMsgMonthStatisticalDataHeaders $headers QueryYydGroupMsgMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydGroupMsgMonthStatisticalDataResponse QueryYydGroupMsgMonthStatisticalDataResponse */ public function queryYydGroupMsgMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydGroupMsgMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydGroupMsgMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydGroupMsgMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋群聊分析(按月统计)指标接口 * * * @param QueryYydGroupMsgMonthStatisticalDataRequest $request QueryYydGroupMsgMonthStatisticalDataRequest * * @return QueryYydGroupMsgMonthStatisticalDataResponse QueryYydGroupMsgMonthStatisticalDataResponse */ public function queryYydGroupMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydGroupMsgMonthStatisticalDataHeaders([]); return $this->queryYydGroupMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋群聊分析(按周统计)指标接口 * * * @param QueryYydGroupMsgWeekStatisticalDataRequest $request QueryYydGroupMsgWeekStatisticalDataRequest * @param QueryYydGroupMsgWeekStatisticalDataHeaders $headers QueryYydGroupMsgWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydGroupMsgWeekStatisticalDataResponse QueryYydGroupMsgWeekStatisticalDataResponse */ public function queryYydGroupMsgWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydGroupMsgWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydGroupMsgWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydGroupMsgWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋群聊分析(按周统计)指标接口 * * * @param QueryYydGroupMsgWeekStatisticalDataRequest $request QueryYydGroupMsgWeekStatisticalDataRequest * * @return QueryYydGroupMsgWeekStatisticalDataResponse QueryYydGroupMsgWeekStatisticalDataResponse */ public function queryYydGroupMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydGroupMsgWeekStatisticalDataHeaders([]); return $this->queryYydGroupMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋日志分析(按日统计)指标接口 * * * @param QueryYydLogDayStatisticalDataRequest $request QueryYydLogDayStatisticalDataRequest * @param QueryYydLogDayStatisticalDataHeaders $headers QueryYydLogDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydLogDayStatisticalDataResponse QueryYydLogDayStatisticalDataResponse */ public function queryYydLogDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydLogDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydLogDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydLogDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋日志分析(按日统计)指标接口 * * * @param QueryYydLogDayStatisticalDataRequest $request QueryYydLogDayStatisticalDataRequest * * @return QueryYydLogDayStatisticalDataResponse QueryYydLogDayStatisticalDataResponse */ public function queryYydLogDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydLogDayStatisticalDataHeaders([]); return $this->queryYydLogDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋日志分析(按月统计)指标接口 * * * @param QueryYydLogMonthStatisticalDataRequest $request QueryYydLogMonthStatisticalDataRequest * @param QueryYydLogMonthStatisticalDataHeaders $headers QueryYydLogMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydLogMonthStatisticalDataResponse QueryYydLogMonthStatisticalDataResponse */ public function queryYydLogMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydLogMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydLogMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydLogMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋日志分析(按月统计)指标接口 * * * @param QueryYydLogMonthStatisticalDataRequest $request QueryYydLogMonthStatisticalDataRequest * * @return QueryYydLogMonthStatisticalDataResponse QueryYydLogMonthStatisticalDataResponse */ public function queryYydLogMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydLogMonthStatisticalDataHeaders([]); return $this->queryYydLogMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋日志分析(按周统计)指标接口 * * * @param QueryYydLogWeekStatisticalDataRequest $request QueryYydLogWeekStatisticalDataRequest * @param QueryYydLogWeekStatisticalDataHeaders $headers QueryYydLogWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydLogWeekStatisticalDataResponse QueryYydLogWeekStatisticalDataResponse */ public function queryYydLogWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydLogWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydLogWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydLogWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋日志分析(按周统计)指标接口 * * * @param QueryYydLogWeekStatisticalDataRequest $request QueryYydLogWeekStatisticalDataRequest * * @return QueryYydLogWeekStatisticalDataResponse QueryYydLogWeekStatisticalDataResponse */ public function queryYydLogWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydLogWeekStatisticalDataHeaders([]); return $this->queryYydLogWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋钉会议分析(按日统计)指标接口 * * * @param QueryYydMeetingDayStatisticalDataRequest $request QueryYydMeetingDayStatisticalDataRequest * @param QueryYydMeetingDayStatisticalDataHeaders $headers QueryYydMeetingDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydMeetingDayStatisticalDataResponse QueryYydMeetingDayStatisticalDataResponse */ public function queryYydMeetingDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydMeetingDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydMeetingDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydMeetingDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋钉会议分析(按日统计)指标接口 * * * @param QueryYydMeetingDayStatisticalDataRequest $request QueryYydMeetingDayStatisticalDataRequest * * @return QueryYydMeetingDayStatisticalDataResponse QueryYydMeetingDayStatisticalDataResponse */ public function queryYydMeetingDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydMeetingDayStatisticalDataHeaders([]); return $this->queryYydMeetingDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋钉会议分析(按月统计)指标接口 * * * @param QueryYydMeetingMonthStatisticalDataRequest $request QueryYydMeetingMonthStatisticalDataRequest * @param QueryYydMeetingMonthStatisticalDataHeaders $headers QueryYydMeetingMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydMeetingMonthStatisticalDataResponse QueryYydMeetingMonthStatisticalDataResponse */ public function queryYydMeetingMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydMeetingMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydMeetingMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydMeetingMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋钉会议分析(按月统计)指标接口 * * * @param QueryYydMeetingMonthStatisticalDataRequest $request QueryYydMeetingMonthStatisticalDataRequest * * @return QueryYydMeetingMonthStatisticalDataResponse QueryYydMeetingMonthStatisticalDataResponse */ public function queryYydMeetingMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydMeetingMonthStatisticalDataHeaders([]); return $this->queryYydMeetingMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋钉会议分析(按周统计)指标接口 * * * @param QueryYydMeetingWeekStatisticalDataRequest $request QueryYydMeetingWeekStatisticalDataRequest * @param QueryYydMeetingWeekStatisticalDataHeaders $headers QueryYydMeetingWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydMeetingWeekStatisticalDataResponse QueryYydMeetingWeekStatisticalDataResponse */ public function queryYydMeetingWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydMeetingWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydMeetingWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydMeetingWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋钉会议分析(按周统计)指标接口 * * * @param QueryYydMeetingWeekStatisticalDataRequest $request QueryYydMeetingWeekStatisticalDataRequest * * @return QueryYydMeetingWeekStatisticalDataResponse QueryYydMeetingWeekStatisticalDataResponse */ public function queryYydMeetingWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydMeetingWeekStatisticalDataHeaders([]); return $this->queryYydMeetingWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋通知分析(按日统计)指标接口 * * * @param QueryYydNoticeDayStatisticalDataRequest $request QueryYydNoticeDayStatisticalDataRequest * @param QueryYydNoticeDayStatisticalDataHeaders $headers QueryYydNoticeDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydNoticeDayStatisticalDataResponse QueryYydNoticeDayStatisticalDataResponse */ public function queryYydNoticeDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydNoticeDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydNoticeDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydNoticeDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋通知分析(按日统计)指标接口 * * * @param QueryYydNoticeDayStatisticalDataRequest $request QueryYydNoticeDayStatisticalDataRequest * * @return QueryYydNoticeDayStatisticalDataResponse QueryYydNoticeDayStatisticalDataResponse */ public function queryYydNoticeDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydNoticeDayStatisticalDataHeaders([]); return $this->queryYydNoticeDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋通知分析(按月统计)指标接口 * * * @param QueryYydNoticeMonthStatisticalDataRequest $request QueryYydNoticeMonthStatisticalDataRequest * @param QueryYydNoticeMonthStatisticalDataHeaders $headers QueryYydNoticeMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydNoticeMonthStatisticalDataResponse QueryYydNoticeMonthStatisticalDataResponse */ public function queryYydNoticeMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydNoticeMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydNoticeMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydNoticeMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋通知分析(按月统计)指标接口 * * * @param QueryYydNoticeMonthStatisticalDataRequest $request QueryYydNoticeMonthStatisticalDataRequest * * @return QueryYydNoticeMonthStatisticalDataResponse QueryYydNoticeMonthStatisticalDataResponse */ public function queryYydNoticeMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydNoticeMonthStatisticalDataHeaders([]); return $this->queryYydNoticeMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋通知分析(按周统计)指标接口 * * * @param QueryYydNoticeWeekStatisticalDataRequest $request QueryYydNoticeWeekStatisticalDataRequest * @param QueryYydNoticeWeekStatisticalDataHeaders $headers QueryYydNoticeWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydNoticeWeekStatisticalDataResponse QueryYydNoticeWeekStatisticalDataResponse */ public function queryYydNoticeWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydNoticeWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydNoticeWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydNoticeWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋通知分析(按周统计)指标接口 * * * @param QueryYydNoticeWeekStatisticalDataRequest $request QueryYydNoticeWeekStatisticalDataRequest * * @return QueryYydNoticeWeekStatisticalDataResponse QueryYydNoticeWeekStatisticalDataResponse */ public function queryYydNoticeWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydNoticeWeekStatisticalDataHeaders([]); return $this->queryYydNoticeWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋单聊分析(按日统计)指标接口 * * * @param QueryYydSingleMsgDayStatisticalDataRequest $request QueryYydSingleMsgDayStatisticalDataRequest * @param QueryYydSingleMsgDayStatisticalDataHeaders $headers QueryYydSingleMsgDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydSingleMsgDayStatisticalDataResponse QueryYydSingleMsgDayStatisticalDataResponse */ public function queryYydSingleMsgDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydSingleMsgDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydSingleMsgDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydSingleMsgDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋单聊分析(按日统计)指标接口 * * * @param QueryYydSingleMsgDayStatisticalDataRequest $request QueryYydSingleMsgDayStatisticalDataRequest * * @return QueryYydSingleMsgDayStatisticalDataResponse QueryYydSingleMsgDayStatisticalDataResponse */ public function queryYydSingleMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydSingleMsgDayStatisticalDataHeaders([]); return $this->queryYydSingleMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋单聊分析(按月统计)指标接口 * * * @param QueryYydSingleMsgMonthStatisticalDataRequest $request QueryYydSingleMsgMonthStatisticalDataRequest * @param QueryYydSingleMsgMonthStatisticalDataHeaders $headers QueryYydSingleMsgMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydSingleMsgMonthStatisticalDataResponse QueryYydSingleMsgMonthStatisticalDataResponse */ public function queryYydSingleMsgMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydSingleMsgMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydSingleMsgMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydSingleMsgMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋单聊分析(按月统计)指标接口 * * * @param QueryYydSingleMsgMonthStatisticalDataRequest $request QueryYydSingleMsgMonthStatisticalDataRequest * * @return QueryYydSingleMsgMonthStatisticalDataResponse QueryYydSingleMsgMonthStatisticalDataResponse */ public function queryYydSingleMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydSingleMsgMonthStatisticalDataHeaders([]); return $this->queryYydSingleMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋单聊分析(按周统计)指标接口 * * * @param QueryYydSingleMsgWeekStatisticalDataRequest $request QueryYydSingleMsgWeekStatisticalDataRequest * @param QueryYydSingleMsgWeekStatisticalDataHeaders $headers QueryYydSingleMsgWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydSingleMsgWeekStatisticalDataResponse QueryYydSingleMsgWeekStatisticalDataResponse */ public function queryYydSingleMsgWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydSingleMsgWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydSingleMsgWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydSingleMsgWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋单聊分析(按周统计)指标接口 * * * @param QueryYydSingleMsgWeekStatisticalDataRequest $request QueryYydSingleMsgWeekStatisticalDataRequest * * @return QueryYydSingleMsgWeekStatisticalDataResponse QueryYydSingleMsgWeekStatisticalDataResponse */ public function queryYydSingleMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydSingleMsgWeekStatisticalDataHeaders([]); return $this->queryYydSingleMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋消息概览(按日统计)指标接口 * * * @param QueryYydToatlMsgDayStatisticalDataRequest $request QueryYydToatlMsgDayStatisticalDataRequest * @param QueryYydToatlMsgDayStatisticalDataHeaders $headers QueryYydToatlMsgDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydToatlMsgDayStatisticalDataResponse QueryYydToatlMsgDayStatisticalDataResponse */ public function queryYydToatlMsgDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydToatlMsgDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydToatlMsgDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydToatlMsgDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋消息概览(按日统计)指标接口 * * * @param QueryYydToatlMsgDayStatisticalDataRequest $request QueryYydToatlMsgDayStatisticalDataRequest * * @return QueryYydToatlMsgDayStatisticalDataResponse QueryYydToatlMsgDayStatisticalDataResponse */ public function queryYydToatlMsgDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydToatlMsgDayStatisticalDataHeaders([]); return $this->queryYydToatlMsgDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋消息概览(按月统计)指标接口 * * * @param QueryYydToatlMsgMonthStatisticalDataRequest $request QueryYydToatlMsgMonthStatisticalDataRequest * @param QueryYydToatlMsgMonthStatisticalDataHeaders $headers QueryYydToatlMsgMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydToatlMsgMonthStatisticalDataResponse QueryYydToatlMsgMonthStatisticalDataResponse */ public function queryYydToatlMsgMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydToatlMsgMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydToatlMsgMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydToatlMsgMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋消息概览(按月统计)指标接口 * * * @param QueryYydToatlMsgMonthStatisticalDataRequest $request QueryYydToatlMsgMonthStatisticalDataRequest * * @return QueryYydToatlMsgMonthStatisticalDataResponse QueryYydToatlMsgMonthStatisticalDataResponse */ public function queryYydToatlMsgMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydToatlMsgMonthStatisticalDataHeaders([]); return $this->queryYydToatlMsgMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋消息概览(按周统计)指标接口 * * * @param QueryYydToatlMsgWeekStatisticalDataRequest $request QueryYydToatlMsgWeekStatisticalDataRequest * @param QueryYydToatlMsgWeekStatisticalDataHeaders $headers QueryYydToatlMsgWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydToatlMsgWeekStatisticalDataResponse QueryYydToatlMsgWeekStatisticalDataResponse */ public function queryYydToatlMsgWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydToatlMsgWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydToatlMsgWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydToatlMsgWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋消息概览(按周统计)指标接口 * * * @param QueryYydToatlMsgWeekStatisticalDataRequest $request QueryYydToatlMsgWeekStatisticalDataRequest * * @return QueryYydToatlMsgWeekStatisticalDataResponse QueryYydToatlMsgWeekStatisticalDataResponse */ public function queryYydToatlMsgWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydToatlMsgWeekStatisticalDataHeaders([]); return $this->queryYydToatlMsgWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋待办分析(按日统计)指标接口 * * * @param QueryYydTodoDayStatisticalDataRequest $request QueryYydTodoDayStatisticalDataRequest * @param QueryYydTodoDayStatisticalDataHeaders $headers QueryYydTodoDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTodoDayStatisticalDataResponse QueryYydTodoDayStatisticalDataResponse */ public function queryYydTodoDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTodoDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTodoDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTodoDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋待办分析(按日统计)指标接口 * * * @param QueryYydTodoDayStatisticalDataRequest $request QueryYydTodoDayStatisticalDataRequest * * @return QueryYydTodoDayStatisticalDataResponse QueryYydTodoDayStatisticalDataResponse */ public function queryYydTodoDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTodoDayStatisticalDataHeaders([]); return $this->queryYydTodoDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋待办分析(按月统计)指标接口 * * * @param QueryYydTodoMonthStatisticalDataRequest $request QueryYydTodoMonthStatisticalDataRequest * @param QueryYydTodoMonthStatisticalDataHeaders $headers QueryYydTodoMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTodoMonthStatisticalDataResponse QueryYydTodoMonthStatisticalDataResponse */ public function queryYydTodoMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTodoMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTodoMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTodoMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋待办分析(按月统计)指标接口 * * * @param QueryYydTodoMonthStatisticalDataRequest $request QueryYydTodoMonthStatisticalDataRequest * * @return QueryYydTodoMonthStatisticalDataResponse QueryYydTodoMonthStatisticalDataResponse */ public function queryYydTodoMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTodoMonthStatisticalDataHeaders([]); return $this->queryYydTodoMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉数字参谋待办分析(按周统计)指标接口 * * * @param QueryYydTodoWeekStatisticalDataRequest $request QueryYydTodoWeekStatisticalDataRequest * @param QueryYydTodoWeekStatisticalDataHeaders $headers QueryYydTodoWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTodoWeekStatisticalDataResponse QueryYydTodoWeekStatisticalDataResponse */ public function queryYydTodoWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTodoWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTodoWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTodoWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉数字参谋待办分析(按周统计)指标接口 * * * @param QueryYydTodoWeekStatisticalDataRequest $request QueryYydTodoWeekStatisticalDataRequest * * @return QueryYydTodoWeekStatisticalDataResponse QueryYydTodoWeekStatisticalDataResponse */ public function queryYydTodoWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTodoWeekStatisticalDataHeaders([]); return $this->queryYydTodoWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋全局概览(按日统计)指标接口 * * * @param QueryYydTotalDayStatisticalDataRequest $request QueryYydTotalDayStatisticalDataRequest * @param QueryYydTotalDayStatisticalDataHeaders $headers QueryYydTotalDayStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTotalDayStatisticalDataResponse QueryYydTotalDayStatisticalDataResponse */ public function queryYydTotalDayStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTotalDayStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTotalDayDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTotalDayStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋全局概览(按日统计)指标接口 * * * @param QueryYydTotalDayStatisticalDataRequest $request QueryYydTotalDayStatisticalDataRequest * * @return QueryYydTotalDayStatisticalDataResponse QueryYydTotalDayStatisticalDataResponse */ public function queryYydTotalDayStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalDayStatisticalDataHeaders([]); return $this->queryYydTotalDayStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋全局概览(按月统计)指标接口 * * * @param QueryYydTotalMonthStatisticalDataRequest $request QueryYydTotalMonthStatisticalDataRequest * @param QueryYydTotalMonthStatisticalDataHeaders $headers QueryYydTotalMonthStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTotalMonthStatisticalDataResponse QueryYydTotalMonthStatisticalDataResponse */ public function queryYydTotalMonthStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTotalMonthStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTotalMonthDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTotalMonthStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋全局概览(按月统计)指标接口 * * * @param QueryYydTotalMonthStatisticalDataRequest $request QueryYydTotalMonthStatisticalDataRequest * * @return QueryYydTotalMonthStatisticalDataResponse QueryYydTotalMonthStatisticalDataResponse */ public function queryYydTotalMonthStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalMonthStatisticalDataHeaders([]); return $this->queryYydTotalMonthStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋全局概览(累计)指标接口 * * * @param QueryYydTotalStdStatisticalDataRequest $request QueryYydTotalStdStatisticalDataRequest * @param QueryYydTotalStdStatisticalDataHeaders $headers QueryYydTotalStdStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTotalStdStatisticalDataResponse QueryYydTotalStdStatisticalDataResponse */ public function queryYydTotalStdStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTotalStdStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTotalStdDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTotalStdStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋全局概览(累计)指标接口 * * * @param QueryYydTotalStdStatisticalDataRequest $request QueryYydTotalStdStatisticalDataRequest * * @return QueryYydTotalStdStatisticalDataResponse QueryYydTotalStdStatisticalDataResponse */ public function queryYydTotalStdStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalStdStatisticalDataHeaders([]); return $this->queryYydTotalStdStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 亚运钉参谋全局概览(按周统计)指标接口 * * * @param QueryYydTotalWeekStatisticalDataRequest $request QueryYydTotalWeekStatisticalDataRequest * @param QueryYydTotalWeekStatisticalDataHeaders $headers QueryYydTotalWeekStatisticalDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryYydTotalWeekStatisticalDataResponse QueryYydTotalWeekStatisticalDataResponse */ public function queryYydTotalWeekStatisticalDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->statDate)) { $query['statDate'] = $request->statDate; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryYydTotalWeekStatisticalData', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/yydTotalWeekDatas', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryYydTotalWeekStatisticalDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 亚运钉参谋全局概览(按周统计)指标接口 * * * @param QueryYydTotalWeekStatisticalDataRequest $request QueryYydTotalWeekStatisticalDataRequest * * @return QueryYydTotalWeekStatisticalDataResponse QueryYydTotalWeekStatisticalDataResponse */ public function queryYydTotalWeekStatisticalData($request) { $runtime = new RuntimeOptions([]); $headers = new QueryYydTotalWeekStatisticalDataHeaders([]); return $this->queryYydTotalWeekStatisticalDataWithOptions($request, $headers, $runtime); } /** * @summary 通过关键词搜索企业 * * * @param SearchCompanyRequest $request SearchCompanyRequest * @param SearchCompanyHeaders $headers SearchCompanyHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SearchCompanyResponse SearchCompanyResponse */ public function searchCompanyWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->searchKey)) { $query['searchKey'] = $request->searchKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'SearchCompany', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/keywords/companies', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SearchCompanyResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过关键词搜索企业 * * * @param SearchCompanyRequest $request SearchCompanyRequest * * @return SearchCompanyResponse SearchCompanyResponse */ public function searchCompany($request) { $runtime = new RuntimeOptions([]); $headers = new SearchCompanyHeaders([]); return $this->searchCompanyWithOptions($request, $headers, $runtime); } /** * @summary 同步数据大屏 * * * @param SyncDataScreenRequest $request SyncDataScreenRequest * @param SyncDataScreenHeaders $headers SyncDataScreenHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SyncDataScreenResponse SyncDataScreenResponse */ public function syncDataScreenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->screenId)) { $body['screenId'] = $request->screenId; } if (!Utils::isUnset($request->ticket)) { $body['ticket'] = $request->ticket; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SyncDataScreen', 'version' => 'datacenter_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/datacenter/dataScreens/sync', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SyncDataScreenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 同步数据大屏 * * * @param SyncDataScreenRequest $request SyncDataScreenRequest * * @return SyncDataScreenResponse SyncDataScreenResponse */ public function syncDataScreen($request) { $runtime = new RuntimeOptions([]); $headers = new SyncDataScreenHeaders([]); return $this->syncDataScreenWithOptions($request, $headers, $runtime); } } src/datacenter_1_0/Models/CloseDataDeliverHeaders.php 0000644 00000002342 14713400346 0016511 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CloseDataDeliverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/CloseDataDeliverRequest.php 0000644 00000002501 14713400346 0016563 0 ustar 00 'deliverId', 'dispatchingItemType' => 'dispatchingItemType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deliverId) { $res['deliverId'] = $this->deliverId; } if (null !== $this->dispatchingItemType) { $res['dispatchingItemType'] = $this->dispatchingItemType; } return $res; } /** * @param array $map * * @return CloseDataDeliverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deliverId'])) { $model->deliverId = $map['deliverId']; } if (isset($map['dispatchingItemType'])) { $model->dispatchingItemType = $map['dispatchingItemType']; } return $model; } } src/datacenter_1_0/Models/CloseDataDeliverResponse.php 0000644 00000002740 14713400346 0016736 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CloseDataDeliverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CloseDataDeliverResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/CloseDataDeliverResponseBody.php 0000644 00000002133 14713400346 0017550 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CloseDataDeliverResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/CreateDataDeliverHeaders.php 0000644 00000002344 14713400346 0016651 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDataDeliverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/CreateDataDeliverRequest.php 0000644 00000004774 14713400346 0016737 0 ustar 00 'bizcode', 'param' => 'param', 'userId' => 'userId', 'dispatchingCycle' => 'dispatchingCycle', 'dispatchingItemType' => 'dispatchingItemType', 'dispatchingStartDate' => 'dispatchingStartDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizcode) { $res['bizcode'] = $this->bizcode; } if (null !== $this->param) { $res['param'] = $this->param; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->dispatchingCycle) { $res['dispatchingCycle'] = $this->dispatchingCycle; } if (null !== $this->dispatchingItemType) { $res['dispatchingItemType'] = $this->dispatchingItemType; } if (null !== $this->dispatchingStartDate) { $res['dispatchingStartDate'] = $this->dispatchingStartDate; } return $res; } /** * @param array $map * * @return CreateDataDeliverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizcode'])) { $model->bizcode = $map['bizcode']; } if (isset($map['param'])) { $model->param = $map['param']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['dispatchingCycle'])) { $model->dispatchingCycle = $map['dispatchingCycle']; } if (isset($map['dispatchingItemType'])) { $model->dispatchingItemType = $map['dispatchingItemType']; } if (isset($map['dispatchingStartDate'])) { $model->dispatchingStartDate = $map['dispatchingStartDate']; } return $model; } } src/datacenter_1_0/Models/CreateDataDeliverResponse.php 0000644 00000002744 14713400346 0017100 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDataDeliverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDataDeliverResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/CreateDataDeliverResponseBody.php 0000644 00000002135 14713400346 0017710 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateDataDeliverResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/CreateScreenHeaders.php 0000644 00000002332 14713400346 0015701 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateScreenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/CreateScreenRequest.php 0000644 00000002211 14713400346 0015752 0 ustar 00 'operatorId', 'templateId' => 'templateId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } return $res; } /** * @param array $map * * @return CreateScreenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } return $model; } } src/datacenter_1_0/Models/CreateScreenResponse.php 0000644 00000002720 14713400346 0016125 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateScreenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateScreenResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/CreateScreenResponseBody.php 0000644 00000002123 14713400346 0016740 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateScreenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/GetAbnormalOperationHeaders.php 0000644 00000002352 14713400346 0017414 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAbnormalOperationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetAbnormalOperationRequest.php 0000644 00000003027 14713400346 0017471 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetAbnormalOperationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetAbnormalOperationResponse.php 0000644 00000002760 14713400346 0017642 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAbnormalOperationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAbnormalOperationResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetAbnormalOperationResponseBody.php 0000644 00000002420 14713400346 0020451 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetAbnormalOperationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetAdministrativeLicensingHeaders.php 0000644 00000002366 14713400346 0020624 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAdministrativeLicensingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetAdministrativeLicensingRequest.php 0000644 00000003043 14713400346 0020672 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetAdministrativeLicensingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetAdministrativeLicensingResponse.php 0000644 00000003010 14713400346 0021032 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAdministrativeLicensingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAdministrativeLicensingResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetAdministrativeLicensingResponseBody.php 0000644 00000003172 14713400346 0021661 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetAdministrativeLicensingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetAdministrativePenaltiesHeaders.php 0000644 00000002366 14713400346 0020635 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetAdministrativePenaltiesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetAdministrativePenaltiesRequest.php 0000644 00000003043 14713400346 0020703 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetAdministrativePenaltiesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetAdministrativePenaltiesResponse.php 0000644 00000003010 14713400346 0021043 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetAdministrativePenaltiesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetAdministrativePenaltiesResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetAdministrativePenaltiesResponseBody.php 0000644 00000002472 14713400346 0021674 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetAdministrativePenaltiesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetBasicInfoHeaders.php 0000644 00000002332 14713400346 0015633 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBasicInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetBasicInfoRequest.php 0000644 00000003007 14713400346 0015710 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetBasicInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetBasicInfoResponse.php 0000644 00000002720 14713400346 0016057 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBasicInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBasicInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetBasicInfoResponseBody.php 0000644 00000003704 14713400346 0016700 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetBasicInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetBiddingInfoHeaders.php 0000644 00000002336 14713400346 0016156 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBiddingInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetBiddingInfoRequest.php 0000644 00000003013 14713400346 0016224 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetBiddingInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetBiddingInfoResponse.php 0000644 00000002730 14713400346 0016377 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBiddingInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBiddingInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetBiddingInfoResponseBody.php 0000644 00000003023 14713400346 0017211 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetBiddingInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetBranchInfoHeaders.php 0000644 00000002334 14713400346 0016011 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetBranchInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetBranchInfoRequest.php 0000644 00000003011 14713400346 0016057 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetBranchInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetBranchInfoResponse.php 0000644 00000002724 14713400346 0016237 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetBranchInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetBranchInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetBranchInfoResponseBody.php 0000644 00000002553 14713400346 0017055 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetBranchInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetChangeRecordHeaders.php 0000644 00000002340 14713400346 0016321 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetChangeRecordHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetChangeRecordRequest.php 0000644 00000003015 14713400346 0016376 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetChangeRecordRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetChangeRecordResponse.php 0000644 00000002734 14713400346 0016553 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetChangeRecordResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetChangeRecordResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetChangeRecordResponseBody.php 0000644 00000003377 14713400346 0017375 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetChangeRecordResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetDataDeliverHeaders.php 0000644 00000002336 14713400346 0016166 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDataDeliverHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetDataDeliverRequest.php 0000644 00000002475 14713400346 0016247 0 ustar 00 'deliverId', 'dispatchingItemType' => 'dispatchingItemType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deliverId) { $res['deliverId'] = $this->deliverId; } if (null !== $this->dispatchingItemType) { $res['dispatchingItemType'] = $this->dispatchingItemType; } return $res; } /** * @param array $map * * @return GetDataDeliverRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deliverId'])) { $model->deliverId = $map['deliverId']; } if (isset($map['dispatchingItemType'])) { $model->dispatchingItemType = $map['dispatchingItemType']; } return $model; } } src/datacenter_1_0/Models/GetDataDeliverResponse.php 0000644 00000002730 14713400346 0016407 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDataDeliverResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDataDeliverResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetDataDeliverResponseBody.php 0000644 00000002127 14713400346 0017225 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetDataDeliverResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/GetDomainInfoHeaders.php 0000644 00000002334 14713400346 0016023 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDomainInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetDomainInfoRequest.php 0000644 00000003011 14713400346 0016071 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetDomainInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetDomainInfoResponse.php 0000644 00000002724 14713400346 0016251 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDomainInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDomainInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetDomainInfoResponseBody.php 0000644 00000002341 14713400346 0017062 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetDomainInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetDoubleRandomHeaders.php 0000644 00000002340 14713400346 0016350 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDoubleRandomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetDoubleRandomRequest.php 0000644 00000003015 14713400346 0016425 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetDoubleRandomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetDoubleRandomResponse.php 0000644 00000002734 14713400346 0016602 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDoubleRandomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDoubleRandomResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetDoubleRandomResponseBody.php 0000644 00000003006 14713400346 0017411 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetDoubleRandomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetEnvironmentalPenaltiesHeaders.php 0000644 00000002364 14713400346 0020471 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEnvironmentalPenaltiesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetEnvironmentalPenaltiesRequest.php 0000644 00000003041 14713400346 0020537 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetEnvironmentalPenaltiesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetEnvironmentalPenaltiesResponse.php 0000644 00000003004 14713400346 0020704 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEnvironmentalPenaltiesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEnvironmentalPenaltiesResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetEnvironmentalPenaltiesResponseBody.php 0000644 00000002541 14713400346 0021527 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetEnvironmentalPenaltiesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetEventDataHeaders.php 0000644 00000002332 14713400346 0015651 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetEventDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetEventDataRequest.php 0000644 00000002664 14713400346 0015736 0 ustar 00 'bizId', 'eventUid' => 'eventUid', 'subId' => 'subId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->eventUid) { $res['eventUid'] = $this->eventUid; } if (null !== $this->subId) { $res['subId'] = $this->subId; } return $res; } /** * @param array $map * * @return GetEventDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['eventUid'])) { $model->eventUid = $map['eventUid']; } if (isset($map['subId'])) { $model->subId = $map['subId']; } return $model; } } src/datacenter_1_0/Models/GetEventDataResponse.php 0000644 00000002720 14713400346 0016075 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetEventDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetEventDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetEventDataResponseBody.php 0000644 00000002116 14713400346 0016712 0 ustar 00 'success', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return GetEventDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/datacenter_1_0/Models/GetHolderInfoHeaders.php 0000644 00000002334 14713400346 0016031 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetHolderInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetHolderInfoRequest.php 0000644 00000003011 14713400346 0016077 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetHolderInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetHolderInfoResponse.php 0000644 00000002724 14713400346 0016257 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetHolderInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetHolderInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetHolderInfoResponseBody.php 0000644 00000002400 14713400346 0017064 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetHolderInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetIntellectualPropertyHeaders.php 0000644 00000002360 14713400346 0020171 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetIntellectualPropertyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetIntellectualPropertyRequest.php 0000644 00000003035 14713400346 0020246 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetIntellectualPropertyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetIntellectualPropertyResponse.php 0000644 00000002774 14713400346 0020425 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetIntellectualPropertyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetIntellectualPropertyResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetIntellectualPropertyResponseBody.php 0000644 00000002656 14713400346 0021242 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetIntellectualPropertyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetInvestmentAbroadHeaders.php 0000644 00000002350 14713400346 0017243 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetInvestmentAbroadHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetInvestmentAbroadRequest.php 0000644 00000003025 14713400346 0017320 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetInvestmentAbroadRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetInvestmentAbroadResponse.php 0000644 00000002754 14713400346 0017476 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetInvestmentAbroadResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetInvestmentAbroadResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetInvestmentAbroadResponseBody.php 0000644 00000003016 14713400346 0020304 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetInvestmentAbroadResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetJobInfoHeaders.php 0000644 00000002326 14713400346 0015327 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetJobInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetJobInfoRequest.php 0000644 00000003003 14713400346 0015375 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetJobInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetJobInfoResponse.php 0000644 00000002710 14713400346 0015547 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetJobInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetJobInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetJobInfoResponseBody.php 0000644 00000002374 14713400346 0016373 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetJobInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetPatentInfoHeaders.php 0000644 00000002334 14713400346 0016047 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPatentInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetPatentInfoRequest.php 0000644 00000003011 14713400346 0016115 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetPatentInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetPatentInfoResponse.php 0000644 00000002724 14713400346 0016275 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPatentInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPatentInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetPatentInfoResponseBody.php 0000644 00000003036 14713400346 0017110 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetPatentInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetPrincipalEmployeeHeaders.php 0000644 00000002352 14713400346 0017421 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetPrincipalEmployeeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetPrincipalEmployeeRequest.php 0000644 00000003027 14713400346 0017476 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetPrincipalEmployeeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetPrincipalEmployeeResponse.php 0000644 00000002760 14713400346 0017647 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetPrincipalEmployeeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetPrincipalEmployeeResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetPrincipalEmployeeResponseBody.php 0000644 00000002457 14713400346 0020470 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetPrincipalEmployeeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetQeneralTaxpayerInfoHeaders.php 0000644 00000002356 14713400346 0017725 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetQeneralTaxpayerInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetQeneralTaxpayerInfoRequest.php 0000644 00000003033 14713400346 0017773 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetQeneralTaxpayerInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetQeneralTaxpayerInfoResponse.php 0000644 00000002770 14713400346 0020150 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetQeneralTaxpayerInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetQeneralTaxpayerInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetQeneralTaxpayerInfoResponseBody.php 0000644 00000002450 14713400346 0020761 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetQeneralTaxpayerInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetQualificationCertHeaders.php 0000644 00000002352 14713400346 0017406 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetQualificationCertHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetQualificationCertRequest.php 0000644 00000003027 14713400346 0017463 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetQualificationCertRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetQualificationCertResponse.php 0000644 00000002760 14713400346 0017634 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetQualificationCertResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetQualificationCertResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetQualificationCertResponseBody.php 0000644 00000002621 14713400346 0020446 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetQualificationCertResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetSeriousViolationHeaders.php 0000644 00000002350 14713400346 0017314 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSeriousViolationHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetSeriousViolationRequest.php 0000644 00000003025 14713400346 0017371 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetSeriousViolationRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetSeriousViolationResponse.php 0000644 00000002754 14713400346 0017547 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSeriousViolationResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSeriousViolationResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetSeriousViolationResponseBody.php 0000644 00000002262 14713400346 0020357 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetSeriousViolationResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetSoftwareCopyrightHeaders.php 0000644 00000002352 14713400346 0017463 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetSoftwareCopyrightHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetSoftwareCopyrightRequest.php 0000644 00000003027 14713400346 0017540 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetSoftwareCopyrightRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetSoftwareCopyrightResponse.php 0000644 00000002760 14713400346 0017711 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetSoftwareCopyrightResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetSoftwareCopyrightResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetSoftwareCopyrightResponseBody.php 0000644 00000002511 14713400346 0020521 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetSoftwareCopyrightResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetTrademarkInfoHeaders.php 0000644 00000002342 14713400346 0016525 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetTrademarkInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetTrademarkInfoRequest.php 0000644 00000003017 14713400346 0016602 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetTrademarkInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetTrademarkInfoResponse.php 0000644 00000002740 14713400346 0016752 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetTrademarkInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetTrademarkInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetTrademarkInfoResponseBody.php 0000644 00000002775 14713400346 0017600 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetTrademarkInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/GetWorkCopyrightHeaders.php 0000644 00000002342 14713400346 0016612 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWorkCopyrightHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/GetWorkCopyrightRequest.php 0000644 00000003017 14713400346 0016667 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return GetWorkCopyrightRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/GetWorkCopyrightResponse.php 0000644 00000002740 14713400346 0017037 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWorkCopyrightResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWorkCopyrightResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/GetWorkCopyrightResponseBody.php 0000644 00000002444 14713400346 0017656 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return GetWorkCopyrightResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/ListDataDeliversHeaders.php 0000644 00000002342 14713400346 0016542 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListDataDeliversHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/ListDataDeliversRequest.php 0000644 00000001712 14713400346 0016617 0 ustar 00 'dispatchingItemType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dispatchingItemType) { $res['dispatchingItemType'] = $this->dispatchingItemType; } return $res; } /** * @param array $map * * @return ListDataDeliversRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dispatchingItemType'])) { $model->dispatchingItemType = $map['dispatchingItemType']; } return $model; } } src/datacenter_1_0/Models/ListDataDeliversResponse.php 0000644 00000002740 14713400346 0016767 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListDataDeliversResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListDataDeliversResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/ListDataDeliversResponseBody.php 0000644 00000002133 14713400346 0017601 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ListDataDeliversResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/OperateChartConfigHeaders.php 0000644 00000002346 14713400346 0017052 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return OperateChartConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/OperateChartConfigRequest.php 0000644 00000004365 14713400346 0017132 0 ustar 00 'apiKey', 'corpId' => 'corpId', 'param' => 'param', 'ticket' => 'ticket', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->apiKey) { $res['apiKey'] = $this->apiKey; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->param) { $res['param'] = $this->param; } if (null !== $this->ticket) { $res['ticket'] = $this->ticket; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return OperateChartConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['apiKey'])) { $model->apiKey = $map['apiKey']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['param'])) { $model->param = $map['param']; } if (isset($map['ticket'])) { $model->ticket = $map['ticket']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/datacenter_1_0/Models/OperateChartConfigResponse.php 0000644 00000002750 14713400346 0017274 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return OperateChartConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = OperateChartConfigResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/OperateChartConfigResponseBody.php 0000644 00000002141 14713400346 0020104 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return OperateChartConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/PostCorpAuthInfoHeaders.php 0000644 00000002342 14713400346 0016546 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PostCorpAuthInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/PostCorpAuthInfoResponse.php 0000644 00000002740 14713400346 0016773 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PostCorpAuthInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PostCorpAuthInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/PostCorpAuthInfoResponseBody.php 0000644 00000001514 14713400346 0017607 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PostCorpAuthInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryActiveUserStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021445 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryActiveUserStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryActiveUserStatisticalDataRequest.php 0000644 00000001640 14713400346 0021513 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryActiveUserStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryActiveUserStatisticalDataResponse.php 0000644 00000003030 14713400346 0021654 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryActiveUserStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryActiveUserStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryActiveUserStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022474 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryActiveUserStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryActiveUserStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024271 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryAnhmdStatisticalDataHeaders.php 0000644 00000002364 14713400346 0020417 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAnhmdStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryAnhmdStatisticalDataRequest.php 0000644 00000002746 14713400346 0020500 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'statDate' => 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryAnhmdStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryAnhmdStatisticalDataResponse.php 0000644 00000003004 14713400346 0020632 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAnhmdStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAnhmdStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryAnhmdStatisticalDataResponseBody.php 0000644 00000003461 14713400346 0021457 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryAnhmdStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryAnhmdStatisticalDataResponseBody/metaList.php 0000644 00000004262 14713400346 0023241 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryApprovalStatisticalDataHeaders.php 0000644 00000002372 14713400346 0021153 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryApprovalStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryApprovalStatisticalDataRequest.php 0000644 00000001634 14713400346 0021230 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryApprovalStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryApprovalStatisticalDataResponse.php 0000644 00000003020 14713400346 0021365 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryApprovalStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryApprovalStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryApprovalStatisticalDataResponseBody.php 0000644 00000003472 14713400346 0022216 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryApprovalStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryApprovalStatisticalDataResponseBody/metaList.php 0000644 00000004265 14713400346 0024001 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryAttendanceStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021441 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryAttendanceStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryAttendanceStatisticalDataRequest.php 0000644 00000001640 14713400346 0021507 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryAttendanceStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryAttendanceStatisticalDataResponse.php 0000644 00000003030 14713400346 0021650 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryAttendanceStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryAttendanceStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryAttendanceStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022470 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryAttendanceStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryAttendanceStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024265 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryBlackboardStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021417 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryBlackboardStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryBlackboardStatisticalDataRequest.php 0000644 00000001640 14713400346 0021465 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryBlackboardStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryBlackboardStatisticalDataResponse.php 0000644 00000003030 14713400346 0021626 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryBlackboardStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryBlackboardStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryBlackboardStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022446 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryBlackboardStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryBlackboardStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024243 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryCalendarStatisticalDataHeaders.php 0000644 00000002372 14713400346 0021100 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCalendarStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryCalendarStatisticalDataRequest.php 0000644 00000001634 14713400346 0021155 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryCalendarStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryCalendarStatisticalDataResponse.php 0000644 00000003020 14713400346 0021312 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCalendarStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCalendarStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryCalendarStatisticalDataResponseBody.php 0000644 00000003472 14713400346 0022143 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCalendarStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryCalendarStatisticalDataResponseBody/metaList.php 0000644 00000004265 14713400346 0023726 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryChartDataHeaders.php 0000644 00000002336 14713400346 0016223 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryChartDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryChartDataRequest.php 0000644 00000002331 14713400346 0016273 0 ustar 00 'code', 'ticket' => 'ticket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->ticket) { $res['ticket'] = $this->ticket; } return $res; } /** * @param array $map * * @return QueryChartDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['ticket'])) { $model->ticket = $map['ticket']; } return $model; } } src/datacenter_1_0/Models/QueryChartDataResponse.php 0000644 00000002730 14713400346 0016444 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryChartDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryChartDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryChartDataResponseBody.php 0000644 00000002226 14713400346 0017262 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryChartDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = $map['result']; } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryCheckinStatisticalDataHeaders.php 0000644 00000002370 14713400346 0020731 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCheckinStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryCheckinStatisticalDataRequest.php 0000644 00000001632 14713400346 0021006 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryCheckinStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryCheckinStatisticalDataResponse.php 0000644 00000003014 14713400346 0021150 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCheckinStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCheckinStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryCheckinStatisticalDataResponseBody.php 0000644 00000003467 14713400346 0022002 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCheckinStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryCheckinStatisticalDataResponseBody/metaList.php 0000644 00000004264 14713400346 0023560 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryCircleStatisticalDataHeaders.php 0000644 00000002366 14713400346 0020573 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCircleStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryCircleStatisticalDataRequest.php 0000644 00000001630 14713400346 0020641 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryCircleStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryCircleStatisticalDataResponse.php 0000644 00000003010 14713400346 0021001 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCircleStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCircleStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryCircleStatisticalDataResponseBody.php 0000644 00000003464 14713400346 0021634 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCircleStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryCircleStatisticalDataResponseBody/metaList.php 0000644 00000004263 14713400346 0023414 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryCompanyBasicInfoHeaders.php 0000644 00000002354 14713400346 0017554 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCompanyBasicInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryCompanyBasicInfoRequest.php 0000644 00000003104 14713400346 0017623 0 ustar 00 'keyword', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryCompanyBasicInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/datacenter_1_0/Models/QueryCompanyBasicInfoResponse.php 0000644 00000002764 14713400346 0020004 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCompanyBasicInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCompanyBasicInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryCompanyBasicInfoResponseBody.php 0000644 00000003711 14713400346 0020613 0 ustar 00 'code', 'data' => 'data', 'message' => 'message', 'requestId' => 'requestId', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->code) { $res['code'] = $this->code; } if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->message) { $res['message'] = $this->message; } if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return QueryCompanyBasicInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['code'])) { $model->code = $map['code']; } if (isset($map['data'])) { if (!empty($map['data'])) { $model->data = $map['data']; } } if (isset($map['message'])) { $model->message = $map['message']; } if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/QueryDigitalDistrictOrgInfoHeaders.php 0000644 00000002370 14713400346 0020735 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDigitalDistrictOrgInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryDigitalDistrictOrgInfoRequest.php 0000644 00000002563 14713400346 0021016 0 ustar 00 'corpIds', 'statDates' => 'statDates', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpIds) { $res['corpIds'] = $this->corpIds; } if (null !== $this->statDates) { $res['statDates'] = $this->statDates; } return $res; } /** * @param array $map * * @return QueryDigitalDistrictOrgInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpIds'])) { if (!empty($map['corpIds'])) { $model->corpIds = $map['corpIds']; } } if (isset($map['statDates'])) { if (!empty($map['statDates'])) { $model->statDates = $map['statDates']; } } return $model; } } src/datacenter_1_0/Models/QueryDigitalDistrictOrgInfoResponse.php 0000644 00000003014 14713400346 0021154 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDigitalDistrictOrgInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDigitalDistrictOrgInfoResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryDigitalDistrictOrgInfoResponseBody.php 0000644 00000002310 14713400346 0021770 0 ustar 00 'arguments', 'result' => 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->arguments) { $res['arguments'] = $this->arguments; } if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryDigitalDistrictOrgInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['arguments'])) { if (!empty($map['arguments'])) { $model->arguments = $map['arguments']; } } if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/datacenter_1_0/Models/QueryDingReciveStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021412 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDingReciveStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryDingReciveStatisticalDataRequest.php 0000644 00000001640 14713400346 0021460 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryDingReciveStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryDingReciveStatisticalDataResponse.php 0000644 00000003030 14713400346 0021621 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDingReciveStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDingReciveStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryDingReciveStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022441 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryDingReciveStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryDingReciveStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024236 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryDingSendStatisticalDataHeaders.php 0000644 00000002372 14713400346 0021062 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDingSendStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryDingSendStatisticalDataRequest.php 0000644 00000001634 14713400346 0021137 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryDingSendStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryDingSendStatisticalDataResponse.php 0000644 00000003020 14713400346 0021274 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDingSendStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDingSendStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryDingSendStatisticalDataResponseBody.php 0000644 00000003472 14713400346 0022125 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryDingSendStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryDingSendStatisticalDataResponseBody/metaList.php 0000644 00000004265 14713400346 0023710 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryDocumentStatisticalDataHeaders.php 0000644 00000002372 14713400346 0021145 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDocumentStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryDocumentStatisticalDataRequest.php 0000644 00000001634 14713400346 0021222 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryDocumentStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryDocumentStatisticalDataResponse.php 0000644 00000003020 14713400346 0021357 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDocumentStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDocumentStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryDocumentStatisticalDataResponseBody.php 0000644 00000003472 14713400346 0022210 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryDocumentStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryDocumentStatisticalDataResponseBody/metaList.php 0000644 00000004265 14713400346 0023773 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryDriveStatisticalDataHeaders.php 0000644 00000002364 14713400346 0020441 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDriveStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryDriveStatisticalDataRequest.php 0000644 00000001626 14713400346 0020516 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryDriveStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryDriveStatisticalDataResponse.php 0000644 00000003004 14713400346 0020654 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDriveStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDriveStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryDriveStatisticalDataResponseBody.php 0000644 00000003461 14713400346 0021501 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryDriveStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryDriveStatisticalDataResponseBody/metaList.php 0000644 00000004262 14713400346 0023263 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryEmployeeTypeStatisticalDataHeaders.php 0000644 00000002402 14713400346 0022002 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryEmployeeTypeStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryEmployeeTypeStatisticalDataRequest.php 0000644 00000001644 14713400346 0022066 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryEmployeeTypeStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryEmployeeTypeStatisticalDataResponse.php 0000644 00000003040 14713400346 0022224 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryEmployeeTypeStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryEmployeeTypeStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryEmployeeTypeStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0023051 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryEmployeeTypeStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryEmployeeTypeStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024633 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceBatchHeaders.php 0000644 00000002372 14713400346 0021022 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceBatchRequest.php 0000644 00000010620 14713400346 0021072 0 ustar 00 'deptIds', 'endDate' => 'endDate', 'filters' => 'filters', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'returnTotal' => 'returnTotal', 'serviceId' => 'serviceId', 'startDate' => 'startDate', 'userId' => 'userId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->filters) { $res['filters'] = []; if (null !== $this->filters && \is_array($this->filters)) { $n = 0; foreach ($this->filters as $item) { $res['filters'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->returnTotal) { $res['returnTotal'] = $this->returnTotal; } if (null !== $this->serviceId) { $res['serviceId'] = $this->serviceId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['filters'])) { if (!empty($map['filters'])) { $model->filters = []; $n = 0; foreach ($map['filters'] as $item) { $model->filters[$n++] = null !== $item ? filters::fromMap($item) : $item; } } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['returnTotal'])) { $model->returnTotal = $map['returnTotal']; } if (isset($map['serviceId'])) { $model->serviceId = $map['serviceId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceBatchRequest/filters.php 0000644 00000002561 14713400346 0022547 0 ustar 00 'fieldId', 'operator' => 'operator', 'value' => 'value', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } if (null !== $this->value) { $res['value'] = $this->value; } return $res; } /** * @param array $map * * @return filters */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } if (isset($map['value'])) { $model->value = $map['value']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceBatchResponse.php 0000644 00000003020 14713400346 0021234 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGeneralDataServiceBatchResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceBatchResponseBody.php 0000644 00000004077 14713400346 0022067 0 ustar 00 'dataList', 'metaList' => 'metaList', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceBatchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceBatchResponseBody/metaList.php 0000644 00000003650 14713400346 0023645 0 ustar 00 'fieldDesc', 'fieldId' => 'fieldId', 'fieldName' => 'fieldName', 'fieldType' => 'fieldType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldDesc) { $res['fieldDesc'] = $this->fieldDesc; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldDesc'])) { $model->fieldDesc = $map['fieldDesc']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceHeaders.php 0000644 00000002360 14713400346 0020055 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceRequest.php 0000644 00000006447 14713400346 0020144 0 ustar 00 'deptId', 'endDate' => 'endDate', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'returnTotal' => 'returnTotal', 'serviceId' => 'serviceId', 'startDate' => 'startDate', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptId) { $res['deptId'] = $this->deptId; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->returnTotal) { $res['returnTotal'] = $this->returnTotal; } if (null !== $this->serviceId) { $res['serviceId'] = $this->serviceId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptId'])) { $model->deptId = $map['deptId']; } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['returnTotal'])) { $model->returnTotal = $map['returnTotal']; } if (isset($map['serviceId'])) { $model->serviceId = $map['serviceId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceResponse.php 0000644 00000002774 14713400346 0020311 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGeneralDataServiceResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceResponseBody.php 0000644 00000004063 14713400346 0021120 0 ustar 00 'dataList', 'metaList' => 'metaList', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return QueryGeneralDataServiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataServiceResponseBody/metaList.php 0000644 00000003643 14713400346 0022705 0 ustar 00 'fieldDesc', 'fieldId' => 'fieldId', 'fieldName' => 'fieldName', 'fieldType' => 'fieldType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fieldDesc) { $res['fieldDesc'] = $this->fieldDesc; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fieldName) { $res['fieldName'] = $this->fieldName; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fieldDesc'])) { $model->fieldDesc = $map['fieldDesc']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fieldName'])) { $model->fieldName = $map['fieldName']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataUpdateDateHeaders.php 0000644 00000002366 14713400346 0020503 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGeneralDataUpdateDateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataUpdateDateRequest.php 0000644 00000001641 14713400346 0020553 0 ustar 00 'serviceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->serviceId) { $res['serviceId'] = $this->serviceId; } return $res; } /** * @param array $map * * @return QueryGeneralDataUpdateDateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['serviceId'])) { $model->serviceId = $map['serviceId']; } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataUpdateDateResponse.php 0000644 00000003010 14713400346 0020711 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGeneralDataUpdateDateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGeneralDataUpdateDateResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryGeneralDataUpdateDateResponseBody.php 0000644 00000002225 14713400346 0021536 0 ustar 00 'success', 'updateDate' => 'updateDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->updateDate) { $res['updateDate'] = $this->updateDate; } return $res; } /** * @param array $map * * @return QueryGeneralDataUpdateDateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['updateDate'])) { $model->updateDate = $map['updateDate']; } return $model; } } src/datacenter_1_0/Models/QueryGroupLiveStatisticalDataHeaders.php 0000644 00000002374 14713400346 0021305 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupLiveStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryGroupLiveStatisticalDataRequest.php 0000644 00000001636 14713400346 0021362 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryGroupLiveStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryGroupLiveStatisticalDataResponse.php 0000644 00000003024 14713400346 0021521 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupLiveStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupLiveStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryGroupLiveStatisticalDataResponseBody.php 0000644 00000003475 14713400346 0022351 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryGroupLiveStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryGroupLiveStatisticalDataResponseBody/metaList.php 0000644 00000004266 14713400346 0024132 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryGroupMessageStatisticalDataHeaders.php 0000644 00000002402 14713400346 0021762 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryGroupMessageStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryGroupMessageStatisticalDataRequest.php 0000644 00000001644 14713400346 0022046 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryGroupMessageStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryGroupMessageStatisticalDataResponse.php 0000644 00000003040 14713400346 0022204 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryGroupMessageStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryGroupMessageStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryGroupMessageStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0023031 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryGroupMessageStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryGroupMessageStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024613 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryHealthStatisticalDataHeaders.php 0000644 00000002366 14713400346 0020577 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryHealthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryHealthStatisticalDataRequest.php 0000644 00000001630 14713400346 0020645 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryHealthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryHealthStatisticalDataResponse.php 0000644 00000003010 14713400346 0021005 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryHealthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryHealthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryHealthStatisticalDataResponseBody.php 0000644 00000003464 14713400346 0021640 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryHealthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryHealthStatisticalDataResponseBody/metaList.php 0000644 00000004263 14713400346 0023420 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryMailStatisticalDataHeaders.php 0000644 00000002362 14713400346 0020250 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryMailStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryMailStatisticalDataRequest.php 0000644 00000001624 14713400346 0020325 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryMailStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryMailStatisticalDataResponse.php 0000644 00000003000 14713400346 0020461 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryMailStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryMailStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryMailStatisticalDataResponseBody.php 0000644 00000003456 14713400346 0021316 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryMailStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryMailStatisticalDataResponseBody/metaList.php 0000644 00000004261 14713400346 0023073 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDataHeaders.php 0000644 00000002344 14713400346 0016675 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOfficialDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDataRequest.php 0000644 00000002103 14713400346 0016743 0 ustar 00 'param', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = $this->param; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryOfficialDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { $model->param = $map['param']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDataResponse.php 0000644 00000002744 14713400346 0017124 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOfficialDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryOfficialDataResponseBody.php 0000644 00000002135 14713400346 0017734 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryOfficialDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetFieldsHeaders.php 0000644 00000002366 14713400346 0020544 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetFieldsHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetFieldsRequest.php 0000644 00000002266 14713400346 0020620 0 ustar 00 'dsId', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dsId) { $res['dsId'] = $this->dsId; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetFieldsRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dsId'])) { $model->dsId = $map['dsId']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetFieldsResponse.php 0000644 00000003010 14713400346 0020752 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetFieldsResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOfficialDatasetFieldsResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetFieldsResponseBody.php 0000644 00000002415 14713400346 0021600 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetFieldsResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetFieldsResponseBody/result.php 0000644 00000003740 14713400346 0023120 0 ustar 00 'displayName', 'dsId' => 'dsId', 'fields' => 'fields', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->dsId) { $res['dsId'] = $this->dsId; } if (null !== $this->fields) { $res['fields'] = []; if (null !== $this->fields && \is_array($this->fields)) { $n = 0; foreach ($this->fields as $item) { $res['fields'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['dsId'])) { $model->dsId = $map['dsId']; } if (isset($map['fields'])) { if (!empty($map['fields'])) { $model->fields = []; $n = 0; foreach ($map['fields'] as $item) { $model->fields[$n++] = null !== $item ? fields::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetFieldsResponseBody/result/fields.php 0000644 00000002672 14713400346 0024371 0 ustar 00 'displayName', 'fieldId' => 'fieldId', 'fieldType' => 'fieldType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->fieldId) { $res['fieldId'] = $this->fieldId; } if (null !== $this->fieldType) { $res['fieldType'] = $this->fieldType; } return $res; } /** * @param array $map * * @return fields */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['fieldId'])) { $model->fieldId = $map['fieldId']; } if (isset($map['fieldType'])) { $model->fieldType = $map['fieldType']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetListHeaders.php 0000644 00000002362 14713400346 0020245 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetListHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetListRequest.php 0000644 00000002730 14713400346 0020321 0 ustar 00 'keyword', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->keyword) { $res['keyword'] = $this->keyword; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetListRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['keyword'])) { $model->keyword = $map['keyword']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetListResponse.php 0000644 00000003000 14713400346 0020456 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetListResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOfficialDatasetListResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetListResponseBody.php 0000644 00000002407 14713400346 0021306 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryOfficialDatasetListResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetListResponseBody/result.php 0000644 00000003252 14713400346 0022623 0 ustar 00 'rows', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->rows) { $res['rows'] = []; if (null !== $this->rows && \is_array($this->rows)) { $n = 0; foreach ($this->rows as $item) { $res['rows'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['rows'])) { if (!empty($map['rows'])) { $model->rows = []; $n = 0; foreach ($map['rows'] as $item) { $model->rows[$n++] = null !== $item ? rows::fromMap($item) : $item; } } } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialDatasetListResponseBody/result/rows.php 0000644 00000002161 14713400346 0023613 0 ustar 00 'displayName', 'dsId' => 'dsId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->displayName) { $res['displayName'] = $this->displayName; } if (null !== $this->dsId) { $res['dsId'] = $this->dsId; } return $res; } /** * @param array $map * * @return rows */ public static function fromMap($map = []) { $model = new self(); if (isset($map['displayName'])) { $model->displayName = $map['displayName']; } if (isset($map['dsId'])) { $model->dsId = $map['dsId']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataDirectHoloHeaders.php 0000644 00000002400 14713400346 0021467 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataDirectHoloHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataDirectHoloRequest.php 0000644 00000002137 14713400346 0021553 0 ustar 00 'param', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = $this->param; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataDirectHoloRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { $model->param = $map['param']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataDirectHoloResponse.php 0000644 00000003034 14713400346 0021716 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataDirectHoloResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOfficialFormDataDirectHoloResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataDirectHoloResponseBody.php 0000644 00000002171 14713400346 0022535 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataDirectHoloResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataHeaders.php 0000644 00000002354 14713400346 0017522 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataRequest.php 0000644 00000002113 14713400346 0017570 0 ustar 00 'param', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->param) { $res['param'] = $this->param; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['param'])) { $model->param = $map['param']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataResponse.php 0000644 00000002764 14713400346 0017752 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOfficialFormDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryOfficialFormDataResponseBody.php 0000644 00000002145 14713400346 0020561 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryOfficialFormDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryOnlineUserStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021456 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryOnlineUserStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryOnlineUserStatisticalDataRequest.php 0000644 00000001640 14713400346 0021524 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryOnlineUserStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryOnlineUserStatisticalDataResponse.php 0000644 00000003030 14713400346 0021665 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryOnlineUserStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryOnlineUserStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryOnlineUserStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022505 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryOnlineUserStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryOnlineUserStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024302 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeReciveStatisticalDataHeaders.php 0000644 00000002414 14713400346 0022732 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRedEnvelopeReciveStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeReciveStatisticalDataRequest.php 0000644 00000001656 14713400346 0023016 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryRedEnvelopeReciveStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeReciveStatisticalDataResponse.php 0000644 00000003064 14713400346 0023157 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRedEnvelopeReciveStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRedEnvelopeReciveStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeReciveStatisticalDataResponseBody.php 0000644 00000003525 14713400346 0023777 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryRedEnvelopeReciveStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeReciveStatisticalDataResponseBody/metaList.php 0000644 00000004276 14713400346 0025565 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeSendStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022402 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryRedEnvelopeSendStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeSendStatisticalDataRequest.php 0000644 00000001652 14713400346 0022466 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryRedEnvelopeSendStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeSendStatisticalDataResponse.php 0000644 00000003054 14713400346 0022632 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryRedEnvelopeSendStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryRedEnvelopeSendStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeSendStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023454 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryRedEnvelopeSendStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryRedEnvelopeSendStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025237 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryReportStatisticalDataHeaders.php 0000644 00000002366 14713400346 0020645 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryReportStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryReportStatisticalDataRequest.php 0000644 00000001630 14713400346 0020713 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryReportStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryReportStatisticalDataResponse.php 0000644 00000003010 14713400346 0021053 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryReportStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryReportStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryReportStatisticalDataResponseBody.php 0000644 00000003464 14713400346 0021706 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryReportStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryReportStatisticalDataResponseBody/metaList.php 0000644 00000004263 14713400346 0023466 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryScreenHeaders.php 0000644 00000002330 14713400346 0015601 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryScreenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryScreenRequest.php 0000644 00000001525 14713400346 0015663 0 ustar 00 'operatorId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } return $res; } /** * @param array $map * * @return QueryScreenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } return $model; } } src/datacenter_1_0/Models/QueryScreenResponse.php 0000644 00000002714 14713400346 0016032 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScreenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryScreenResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryScreenResponseBody.php 0000644 00000003230 14713400346 0016642 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryScreenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryScreenResponseBody/result.php 0000644 00000004055 14713400346 0020166 0 ustar 00 'operatePermission', 'screenId' => 'screenId', 'screenName' => 'screenName', 'state' => 'state', 'thumbUrl' => 'thumbUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatePermission) { $res['operatePermission'] = $this->operatePermission; } if (null !== $this->screenId) { $res['screenId'] = $this->screenId; } if (null !== $this->screenName) { $res['screenName'] = $this->screenName; } if (null !== $this->state) { $res['state'] = $this->state; } if (null !== $this->thumbUrl) { $res['thumbUrl'] = $this->thumbUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatePermission'])) { $model->operatePermission = $map['operatePermission']; } if (isset($map['screenId'])) { $model->screenId = $map['screenId']; } if (isset($map['screenName'])) { $model->screenName = $map['screenName']; } if (isset($map['state'])) { $model->state = $map['state']; } if (isset($map['thumbUrl'])) { $model->thumbUrl = $map['thumbUrl']; } return $model; } } src/datacenter_1_0/Models/QueryScreenTemplateHeaders.php 0000644 00000002350 14713400346 0017277 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryScreenTemplateHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryScreenTemplateRequest.php 0000644 00000002165 14713400346 0017360 0 ustar 00 'operatorId', 'sample' => 'sample', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->operatorId) { $res['operatorId'] = $this->operatorId; } if (null !== $this->sample) { $res['sample'] = $this->sample; } return $res; } /** * @param array $map * * @return QueryScreenTemplateRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['operatorId'])) { $model->operatorId = $map['operatorId']; } if (isset($map['sample'])) { $model->sample = $map['sample']; } return $model; } } src/datacenter_1_0/Models/QueryScreenTemplateResponse.php 0000644 00000002754 14713400346 0017532 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryScreenTemplateResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryScreenTemplateResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryScreenTemplateResponseBody.php 0000644 00000003260 14713400346 0020341 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return QueryScreenTemplateResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/datacenter_1_0/Models/QueryScreenTemplateResponseBody/result.php 0000644 00000004057 14713400346 0021664 0 ustar 00 'previewUrl', 'screenSize' => 'screenSize', 'templateId' => 'templateId', 'templateName' => 'templateName', 'thumbUrl' => 'thumbUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->previewUrl) { $res['previewUrl'] = $this->previewUrl; } if (null !== $this->screenSize) { $res['screenSize'] = $this->screenSize; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->templateName) { $res['templateName'] = $this->templateName; } if (null !== $this->thumbUrl) { $res['thumbUrl'] = $this->thumbUrl; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['previewUrl'])) { $model->previewUrl = $map['previewUrl']; } if (isset($map['screenSize'])) { $model->screenSize = $map['screenSize']; } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['templateName'])) { $model->templateName = $map['templateName']; } if (isset($map['thumbUrl'])) { $model->thumbUrl = $map['thumbUrl']; } return $model; } } src/datacenter_1_0/Models/QuerySingleMessageStatisticalDataHeaders.php 0000644 00000002404 14713400346 0022111 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QuerySingleMessageStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QuerySingleMessageStatisticalDataRequest.php 0000644 00000001646 14713400346 0022175 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QuerySingleMessageStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QuerySingleMessageStatisticalDataResponse.php 0000644 00000003044 14713400346 0022335 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QuerySingleMessageStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QuerySingleMessageStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QuerySingleMessageStatisticalDataResponseBody.php 0000644 00000003511 14713400346 0023152 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QuerySingleMessageStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QuerySingleMessageStatisticalDataResponseBody/metaList.php 0000644 00000004272 14713400346 0024741 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryTelMeetingStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021430 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTelMeetingStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryTelMeetingStatisticalDataRequest.php 0000644 00000001640 14713400346 0021476 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryTelMeetingStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryTelMeetingStatisticalDataResponse.php 0000644 00000003030 14713400346 0021637 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTelMeetingStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTelMeetingStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryTelMeetingStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022457 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryTelMeetingStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryTelMeetingStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024254 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryTodoStatisticalDataHeaders.php 0000644 00000002362 14713400346 0020273 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTodoStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryTodoStatisticalDataRequest.php 0000644 00000001624 14713400346 0020350 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryTodoStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryTodoStatisticalDataResponse.php 0000644 00000003000 14713400346 0020504 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTodoStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTodoStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryTodoStatisticalDataResponseBody.php 0000644 00000003456 14713400346 0021341 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryTodoStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryTodoStatisticalDataResponseBody/metaList.php 0000644 00000004261 14713400346 0023116 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryTotalDataCountServiceHeaders.php 0000644 00000002366 14713400346 0020602 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryTotalDataCountServiceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryTotalDataCountServiceRequest.php 0000644 00000006074 14713400346 0020657 0 ustar 00 'deptIds', 'endDate' => 'endDate', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'serviceId' => 'serviceId', 'startDate' => 'startDate', 'userId' => 'userId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deptIds) { $res['deptIds'] = $this->deptIds; } if (null !== $this->endDate) { $res['endDate'] = $this->endDate; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->serviceId) { $res['serviceId'] = $this->serviceId; } if (null !== $this->startDate) { $res['startDate'] = $this->startDate; } if (null !== $this->userId) { $res['userId'] = $this->userId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return QueryTotalDataCountServiceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deptIds'])) { if (!empty($map['deptIds'])) { $model->deptIds = $map['deptIds']; } } if (isset($map['endDate'])) { $model->endDate = $map['endDate']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['serviceId'])) { $model->serviceId = $map['serviceId']; } if (isset($map['startDate'])) { $model->startDate = $map['startDate']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/datacenter_1_0/Models/QueryTotalDataCountServiceResponse.php 0000644 00000003010 14713400346 0021010 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryTotalDataCountServiceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryTotalDataCountServiceResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryTotalDataCountServiceResponseBody.php 0000644 00000002146 14713400346 0021637 0 ustar 00 'success', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return QueryTotalDataCountServiceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/QueryVedioMeetingStatisticalDataHeaders.php 0000644 00000002402 14713400346 0021740 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryVedioMeetingStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryVedioMeetingStatisticalDataRequest.php 0000644 00000001644 14713400346 0022024 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryVedioMeetingStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryVedioMeetingStatisticalDataResponse.php 0000644 00000003040 14713400346 0022162 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryVedioMeetingStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryVedioMeetingStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryVedioMeetingStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0023007 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryVedioMeetingStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryVedioMeetingStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024571 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveDayStatisticalDataHeaders.php 0000644 00000002402 14713400346 0021720 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydActiveDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveDayStatisticalDataRequest.php 0000644 00000001644 14713400346 0022004 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydActiveDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveDayStatisticalDataResponse.php 0000644 00000003040 14713400346 0022142 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydActiveDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydActiveDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydActiveDayStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0022767 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydActiveDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydActiveDayStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024551 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveMonthStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022274 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydActiveMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveMonthStatisticalDataRequest.php 0000644 00000001650 14713400346 0022351 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydActiveMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveMonthStatisticalDataResponse.php 0000644 00000003050 14713400346 0022513 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydActiveMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydActiveMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydActiveMonthStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023336 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydActiveMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydActiveMonthStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025123 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveWeekStatisticalDataHeaders.php 0000644 00000002404 14713400346 0022100 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydActiveWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveWeekStatisticalDataRequest.php 0000644 00000001646 14713400346 0022164 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydActiveWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydActiveWeekStatisticalDataResponse.php 0000644 00000003044 14713400346 0022324 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydActiveWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydActiveWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydActiveWeekStatisticalDataResponseBody.php 0000644 00000003511 14713400346 0023141 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydActiveWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydActiveWeekStatisticalDataResponseBody/metaList.php 0000644 00000004272 14713400346 0024730 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppDayStatisticalDataHeaders.php 0000644 00000002374 14713400346 0021235 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydAppDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppDayStatisticalDataRequest.php 0000644 00000001636 14713400346 0021312 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydAppDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppDayStatisticalDataResponse.php 0000644 00000003024 14713400346 0021451 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydAppDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydAppDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydAppDayStatisticalDataResponseBody.php 0000644 00000003475 14713400346 0022301 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydAppDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydAppDayStatisticalDataResponseBody/metaList.php 0000644 00000004266 14713400346 0024062 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppMonthStatisticalDataHeaders.php 0000644 00000002400 14713400346 0021573 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydAppMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppMonthStatisticalDataRequest.php 0000644 00000001642 14713400346 0021657 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydAppMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppMonthStatisticalDataResponse.php 0000644 00000003034 14713400346 0022022 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydAppMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydAppMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydAppMonthStatisticalDataResponseBody.php 0000644 00000003503 14713400346 0022641 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydAppMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydAppMonthStatisticalDataResponseBody/metaList.php 0000644 00000004270 14713400346 0024425 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppStdStatisticalDataHeaders.php 0000644 00000002374 14713400346 0021252 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydAppStdStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppStdStatisticalDataRequest.php 0000644 00000001636 14713400346 0021327 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydAppStdStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppStdStatisticalDataResponse.php 0000644 00000003024 14713400346 0021466 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydAppStdStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydAppStdStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydAppStdStatisticalDataResponseBody.php 0000644 00000003475 14713400346 0022316 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydAppStdStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydAppStdStatisticalDataResponseBody/metaList.php 0000644 00000004266 14713400346 0024077 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppWeekStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021415 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydAppWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppWeekStatisticalDataRequest.php 0000644 00000001640 14713400346 0021463 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydAppWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydAppWeekStatisticalDataResponse.php 0000644 00000003030 14713400346 0021624 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydAppWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydAppWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydAppWeekStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022444 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydAppWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydAppWeekStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024241 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarDayStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022222 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydCalendarDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarDayStatisticalDataRequest.php 0000644 00000001650 14713400346 0022277 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydCalendarDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarDayStatisticalDataResponse.php 0000644 00000003050 14713400346 0022441 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydCalendarDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydCalendarDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarDayStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023264 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydCalendarDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarDayStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025051 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarMonthStatisticalDataHeaders.php 0000644 00000002412 14713400346 0022567 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydCalendarMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarMonthStatisticalDataRequest.php 0000644 00000001654 14713400346 0022653 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydCalendarMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarMonthStatisticalDataResponse.php 0000644 00000003060 14713400346 0023012 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydCalendarMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydCalendarMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarMonthStatisticalDataResponseBody.php 0000644 00000003522 14713400346 0023633 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydCalendarMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarMonthStatisticalDataResponseBody/metaList.php 0000644 00000004275 14713400346 0025423 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarWeekStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022373 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydCalendarWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarWeekStatisticalDataRequest.php 0000644 00000001652 14713400346 0022457 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydCalendarWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarWeekStatisticalDataResponse.php 0000644 00000003054 14713400346 0022623 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydCalendarWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydCalendarWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarWeekStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023445 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydCalendarWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydCalendarWeekStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025230 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgDayStatisticalDataHeaders.php 0000644 00000002404 14713400346 0022037 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydDingMsgDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgDayStatisticalDataRequest.php 0000644 00000001646 14713400346 0022123 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydDingMsgDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgDayStatisticalDataResponse.php 0000644 00000003044 14713400346 0022263 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydDingMsgDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydDingMsgDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgDayStatisticalDataResponseBody.php 0000644 00000003511 14713400346 0023100 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydDingMsgDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgDayStatisticalDataResponseBody/metaList.php 0000644 00000004272 14713400346 0024667 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgMonthStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022404 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydDingMsgMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgMonthStatisticalDataRequest.php 0000644 00000001652 14713400346 0022470 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydDingMsgMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgMonthStatisticalDataResponse.php 0000644 00000003054 14713400346 0022634 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydDingMsgMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydDingMsgMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgMonthStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023456 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydDingMsgMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgMonthStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025241 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgWeekStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022217 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydDingMsgWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgWeekStatisticalDataRequest.php 0000644 00000001650 14713400346 0022274 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydDingMsgWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgWeekStatisticalDataResponse.php 0000644 00000003050 14713400346 0022436 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydDingMsgWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydDingMsgWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgWeekStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023261 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydDingMsgWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydDingMsgWeekStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025046 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgDayStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022254 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgDayStatisticalDataRequest.php 0000644 00000001650 14713400346 0022331 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgDayStatisticalDataResponse.php 0000644 00000003050 14713400346 0022473 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydGroupMsgDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgDayStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023316 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydGroupMsgDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgDayStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025103 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgMonthStatisticalDataHeaders.php 0000644 00000002412 14713400346 0022621 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgMonthStatisticalDataRequest.php 0000644 00000001654 14713400346 0022705 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgMonthStatisticalDataResponse.php 0000644 00000003060 14713400346 0023044 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydGroupMsgMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgMonthStatisticalDataResponseBody.php 0000644 00000003522 14713400346 0023665 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydGroupMsgMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgMonthStatisticalDataResponseBody/metaList.php 0000644 00000004275 14713400346 0025455 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgWeekStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022425 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgWeekStatisticalDataRequest.php 0000644 00000001652 14713400346 0022511 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgWeekStatisticalDataResponse.php 0000644 00000003054 14713400346 0022655 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydGroupMsgWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydGroupMsgWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgWeekStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023477 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydGroupMsgWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydGroupMsgWeekStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025262 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogDayStatisticalDataHeaders.php 0000644 00000002374 14713400346 0021236 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydLogDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogDayStatisticalDataRequest.php 0000644 00000001636 14713400346 0021313 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydLogDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogDayStatisticalDataResponse.php 0000644 00000003024 14713400346 0021452 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydLogDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydLogDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydLogDayStatisticalDataResponseBody.php 0000644 00000003475 14713400346 0022302 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydLogDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydLogDayStatisticalDataResponseBody/metaList.php 0000644 00000004266 14713400346 0024063 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogMonthStatisticalDataHeaders.php 0000644 00000002400 14713400346 0021574 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydLogMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogMonthStatisticalDataRequest.php 0000644 00000001642 14713400346 0021660 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydLogMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogMonthStatisticalDataResponse.php 0000644 00000003034 14713400346 0022023 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydLogMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydLogMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydLogMonthStatisticalDataResponseBody.php 0000644 00000003503 14713400346 0022642 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydLogMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydLogMonthStatisticalDataResponseBody/metaList.php 0000644 00000004270 14713400346 0024426 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogWeekStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021416 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydLogWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogWeekStatisticalDataRequest.php 0000644 00000001640 14713400346 0021464 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydLogWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydLogWeekStatisticalDataResponse.php 0000644 00000003030 14713400346 0021625 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydLogWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydLogWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydLogWeekStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022445 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydLogWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydLogWeekStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024242 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingDayStatisticalDataHeaders.php 0000644 00000002404 14713400346 0022077 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydMeetingDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingDayStatisticalDataRequest.php 0000644 00000001646 14713400346 0022163 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydMeetingDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingDayStatisticalDataResponse.php 0000644 00000003044 14713400346 0022323 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydMeetingDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydMeetingDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingDayStatisticalDataResponseBody.php 0000644 00000003511 14713400346 0023140 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydMeetingDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingDayStatisticalDataResponseBody/metaList.php 0000644 00000004272 14713400346 0024727 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingMonthStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022444 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydMeetingMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingMonthStatisticalDataRequest.php 0000644 00000001652 14713400346 0022530 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydMeetingMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingMonthStatisticalDataResponse.php 0000644 00000003054 14713400346 0022674 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydMeetingMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydMeetingMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingMonthStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023516 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydMeetingMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingMonthStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025301 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingWeekStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022257 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydMeetingWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingWeekStatisticalDataRequest.php 0000644 00000001650 14713400346 0022334 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydMeetingWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingWeekStatisticalDataResponse.php 0000644 00000003050 14713400346 0022476 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydMeetingWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydMeetingWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingWeekStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023321 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydMeetingWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydMeetingWeekStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025106 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeDayStatisticalDataHeaders.php 0000644 00000002402 14713400346 0021726 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydNoticeDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeDayStatisticalDataRequest.php 0000644 00000001644 14713400346 0022012 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydNoticeDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeDayStatisticalDataResponse.php 0000644 00000003040 14713400346 0022150 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydNoticeDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydNoticeDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeDayStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0022775 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydNoticeDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeDayStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024557 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeMonthStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022302 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydNoticeMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeMonthStatisticalDataRequest.php 0000644 00000001650 14713400346 0022357 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydNoticeMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeMonthStatisticalDataResponse.php 0000644 00000003050 14713400346 0022521 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydNoticeMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydNoticeMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeMonthStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023344 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydNoticeMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeMonthStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025131 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeWeekStatisticalDataHeaders.php 0000644 00000002404 14713400346 0022106 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydNoticeWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeWeekStatisticalDataRequest.php 0000644 00000001646 14713400346 0022172 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydNoticeWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeWeekStatisticalDataResponse.php 0000644 00000003044 14713400346 0022332 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydNoticeWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydNoticeWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeWeekStatisticalDataResponseBody.php 0000644 00000003511 14713400346 0023147 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydNoticeWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydNoticeWeekStatisticalDataResponseBody/metaList.php 0000644 00000004272 14713400346 0024736 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgDayStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022374 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgDayStatisticalDataRequest.php 0000644 00000001652 14713400346 0022460 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgDayStatisticalDataResponse.php 0000644 00000003054 14713400346 0022624 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydSingleMsgDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgDayStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023446 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydSingleMsgDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgDayStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025231 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgMonthStatisticalDataHeaders.php 0000644 00000002414 14713400346 0022750 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgMonthStatisticalDataRequest.php 0000644 00000001656 14713400346 0023034 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgMonthStatisticalDataResponse.php 0000644 00000003064 14713400346 0023175 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydSingleMsgMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgMonthStatisticalDataResponseBody.php 0000644 00000003525 14713400346 0024015 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydSingleMsgMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgMonthStatisticalDataResponseBody/metaList.php 0000644 00000004276 14713400346 0025603 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgWeekStatisticalDataHeaders.php 0000644 00000002412 14713400346 0022554 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgWeekStatisticalDataRequest.php 0000644 00000001654 14713400346 0022640 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgWeekStatisticalDataResponse.php 0000644 00000003060 14713400346 0022777 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydSingleMsgWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydSingleMsgWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgWeekStatisticalDataResponseBody.php 0000644 00000003522 14713400346 0023620 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydSingleMsgWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydSingleMsgWeekStatisticalDataResponseBody/metaList.php 0000644 00000004275 14713400346 0025410 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgDayStatisticalDataHeaders.php 0000644 00000002406 14713400346 0022243 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgDayStatisticalDataRequest.php 0000644 00000001650 14713400346 0022320 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgDayStatisticalDataResponse.php 0000644 00000003050 14713400346 0022462 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydToatlMsgDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgDayStatisticalDataResponseBody.php 0000644 00000003514 14713400346 0023305 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydToatlMsgDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgDayStatisticalDataResponseBody/metaList.php 0000644 00000004273 14713400346 0025072 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgMonthStatisticalDataHeaders.php 0000644 00000002412 14713400346 0022610 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgMonthStatisticalDataRequest.php 0000644 00000001654 14713400346 0022674 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgMonthStatisticalDataResponse.php 0000644 00000003060 14713400346 0023033 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydToatlMsgMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgMonthStatisticalDataResponseBody.php 0000644 00000003522 14713400346 0023654 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydToatlMsgMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgMonthStatisticalDataResponseBody/metaList.php 0000644 00000004275 14713400346 0025444 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgWeekStatisticalDataHeaders.php 0000644 00000002410 14713400346 0022414 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgWeekStatisticalDataRequest.php 0000644 00000001652 14713400346 0022500 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgWeekStatisticalDataResponse.php 0000644 00000003054 14713400346 0022644 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydToatlMsgWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydToatlMsgWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgWeekStatisticalDataResponseBody.php 0000644 00000003517 14713400346 0023466 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydToatlMsgWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydToatlMsgWeekStatisticalDataResponseBody/metaList.php 0000644 00000004274 14713400346 0025251 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoDayStatisticalDataHeaders.php 0000644 00000002376 14713400346 0021424 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTodoDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoDayStatisticalDataRequest.php 0000644 00000001640 14713400346 0021472 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTodoDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoDayStatisticalDataResponse.php 0000644 00000003030 14713400346 0021633 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTodoDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTodoDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTodoDayStatisticalDataResponseBody.php 0000644 00000003500 14713400346 0022453 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTodoDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTodoDayStatisticalDataResponseBody/metaList.php 0000644 00000004267 14713400346 0024250 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoMonthStatisticalDataHeaders.php 0000644 00000002402 14713400346 0021762 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTodoMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoMonthStatisticalDataRequest.php 0000644 00000001644 14713400346 0022046 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTodoMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoMonthStatisticalDataResponse.php 0000644 00000003040 14713400346 0022204 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTodoMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTodoMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTodoMonthStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0023031 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTodoMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTodoMonthStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024613 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoWeekStatisticalDataHeaders.php 0000644 00000002400 14713400346 0021566 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTodoWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoWeekStatisticalDataRequest.php 0000644 00000001642 14713400346 0021652 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTodoWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTodoWeekStatisticalDataResponse.php 0000644 00000003034 14713400346 0022015 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTodoWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTodoWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTodoWeekStatisticalDataResponseBody.php 0000644 00000003503 14713400346 0022634 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTodoWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTodoWeekStatisticalDataResponseBody/metaList.php 0000644 00000004270 14713400346 0024420 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalDayStatisticalDataHeaders.php 0000644 00000002400 14713400346 0021566 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTotalDayStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalDayStatisticalDataRequest.php 0000644 00000001642 14713400346 0021652 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTotalDayStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalDayStatisticalDataResponse.php 0000644 00000003034 14713400346 0022015 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTotalDayStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTotalDayStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTotalDayStatisticalDataResponseBody.php 0000644 00000003503 14713400346 0022634 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTotalDayStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTotalDayStatisticalDataResponseBody/metaList.php 0000644 00000004270 14713400346 0024420 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalMonthStatisticalDataHeaders.php 0000644 00000002404 14713400346 0022142 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTotalMonthStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalMonthStatisticalDataRequest.php 0000644 00000001646 14713400346 0022226 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTotalMonthStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalMonthStatisticalDataResponse.php 0000644 00000003044 14713400346 0022366 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTotalMonthStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTotalMonthStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTotalMonthStatisticalDataResponseBody.php 0000644 00000003511 14713400346 0023203 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTotalMonthStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTotalMonthStatisticalDataResponseBody/metaList.php 0000644 00000004272 14713400346 0024772 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalStdStatisticalDataHeaders.php 0000644 00000002400 14713400346 0021603 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTotalStdStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalStdStatisticalDataRequest.php 0000644 00000001642 14713400346 0021667 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTotalStdStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalStdStatisticalDataResponse.php 0000644 00000003034 14713400346 0022032 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTotalStdStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTotalStdStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTotalStdStatisticalDataResponseBody.php 0000644 00000003503 14713400346 0022651 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTotalStdStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTotalStdStatisticalDataResponseBody/metaList.php 0000644 00000004270 14713400346 0024435 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalWeekStatisticalDataHeaders.php 0000644 00000002402 14713400346 0021746 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryYydTotalWeekStatisticalDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalWeekStatisticalDataRequest.php 0000644 00000001644 14713400346 0022032 0 ustar 00 'statDate', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->statDate) { $res['statDate'] = $this->statDate; } return $res; } /** * @param array $map * * @return QueryYydTotalWeekStatisticalDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['statDate'])) { $model->statDate = $map['statDate']; } return $model; } } src/datacenter_1_0/Models/QueryYydTotalWeekStatisticalDataResponse.php 0000644 00000003040 14713400346 0022170 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryYydTotalWeekStatisticalDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryYydTotalWeekStatisticalDataResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/QueryYydTotalWeekStatisticalDataResponseBody.php 0000644 00000003506 14713400346 0023015 0 ustar 00 'dataList', 'metaList' => 'metaList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dataList) { $res['dataList'] = $this->dataList; } if (null !== $this->metaList) { $res['metaList'] = []; if (null !== $this->metaList && \is_array($this->metaList)) { $n = 0; foreach ($this->metaList as $item) { $res['metaList'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryYydTotalWeekStatisticalDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dataList'])) { if (!empty($map['dataList'])) { $model->dataList = $map['dataList']; } } if (isset($map['metaList'])) { if (!empty($map['metaList'])) { $model->metaList = []; $n = 0; foreach ($map['metaList'] as $item) { $model->metaList[$n++] = null !== $item ? metaList::fromMap($item) : $item; } } } return $model; } } src/datacenter_1_0/Models/QueryYydTotalWeekStatisticalDataResponseBody/metaList.php 0000644 00000004271 14713400346 0024577 0 ustar 00 'kpiCaliber', 'kpiId' => 'kpiId', 'kpiName' => 'kpiName', 'period' => 'period', 'unit' => 'unit', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->kpiCaliber) { $res['kpiCaliber'] = $this->kpiCaliber; } if (null !== $this->kpiId) { $res['kpiId'] = $this->kpiId; } if (null !== $this->kpiName) { $res['kpiName'] = $this->kpiName; } if (null !== $this->period) { $res['period'] = $this->period; } if (null !== $this->unit) { $res['unit'] = $this->unit; } return $res; } /** * @param array $map * * @return metaList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['kpiCaliber'])) { $model->kpiCaliber = $map['kpiCaliber']; } if (isset($map['kpiId'])) { $model->kpiId = $map['kpiId']; } if (isset($map['kpiName'])) { $model->kpiName = $map['kpiName']; } if (isset($map['period'])) { $model->period = $map['period']; } if (isset($map['unit'])) { $model->unit = $map['unit']; } return $model; } } src/datacenter_1_0/Models/SearchCompanyHeaders.php 0000644 00000002334 14713400346 0016074 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SearchCompanyHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/SearchCompanyRequest.php 0000644 00000003011 14713400346 0016142 0 ustar 00 'pageNumber', 'pageSize' => 'pageSize', 'searchKey' => 'searchKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->searchKey) { $res['searchKey'] = $this->searchKey; } return $res; } /** * @param array $map * * @return SearchCompanyRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['searchKey'])) { $model->searchKey = $map['searchKey']; } return $model; } } src/datacenter_1_0/Models/SearchCompanyResponse.php 0000644 00000002724 14713400346 0016322 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SearchCompanyResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SearchCompanyResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/SearchCompanyResponseBody.php 0000644 00000002523 14713400346 0017135 0 ustar 00 'data', 'total' => 'total', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = $this->data; } if (null !== $this->total) { $res['total'] = $this->total; } return $res; } /** * @param array $map * * @return SearchCompanyResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['data'])) { $model->data = $map['data']; } if (isset($map['total'])) { $model->total = $map['total']; } return $model; } } src/datacenter_1_0/Models/SyncDataScreenHeaders.php 0000644 00000002336 14713400346 0016210 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SyncDataScreenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/datacenter_1_0/Models/SyncDataScreenRequest.php 0000644 00000002375 14713400346 0016270 0 ustar 00 'screenId', 'ticket' => 'ticket', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->screenId) { $res['screenId'] = $this->screenId; } if (null !== $this->ticket) { $res['ticket'] = $this->ticket; } return $res; } /** * @param array $map * * @return SyncDataScreenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['screenId'])) { $model->screenId = $map['screenId']; } if (isset($map['ticket'])) { $model->ticket = $map['ticket']; } return $model; } } src/datacenter_1_0/Models/SyncDataScreenResponse.php 0000644 00000002730 14713400346 0016431 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SyncDataScreenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SyncDataScreenResponseBody::fromMap($map['body']); } return $model; } } src/datacenter_1_0/Models/SyncDataScreenResponseBody.php 0000644 00000002125 14713400346 0017245 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SyncDataScreenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Dingtalk.php 0000644 00000204641 14713400346 0012212 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 批量注册设备 * * * @param BatchRegisterDeviceRequest $request BatchRegisterDeviceRequest * @param BatchRegisterDeviceHeaders $headers BatchRegisterDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchRegisterDeviceResponse BatchRegisterDeviceResponse */ public function batchRegisterDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceList)) { $body['deviceList'] = $request->deviceList; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRegisterDevice', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/devices/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return BatchRegisterDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量注册设备 * * * @param BatchRegisterDeviceRequest $request BatchRegisterDeviceRequest * * @return BatchRegisterDeviceResponse BatchRegisterDeviceResponse */ public function batchRegisterDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRegisterDeviceHeaders([]); return $this->batchRegisterDeviceWithOptions($request, $headers, $runtime); } /** * @summary 想设备上钉连接器推送设备事件 * * * @param ConnectorEventPushRequest $request ConnectorEventPushRequest * @param ConnectorEventPushHeaders $headers ConnectorEventPushHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ConnectorEventPushResponse ConnectorEventPushResponse */ public function connectorEventPushWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceTypeUuid)) { $body['deviceTypeUuid'] = $request->deviceTypeUuid; } if (!Utils::isUnset($request->eventName)) { $body['eventName'] = $request->eventName; } if (!Utils::isUnset($request->input)) { $body['input'] = $request->input; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ConnectorEventPush', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/connectors/events/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ConnectorEventPushResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 想设备上钉连接器推送设备事件 * * * @param ConnectorEventPushRequest $request ConnectorEventPushRequest * * @return ConnectorEventPushResponse ConnectorEventPushResponse */ public function connectorEventPush($request) { $runtime = new RuntimeOptions([]); $headers = new ConnectorEventPushHeaders([]); return $this->connectorEventPushWithOptions($request, $headers, $runtime); } /** * @summary 创建设备群 * * * @param CreateChatRoomRequest $request CreateChatRoomRequest * @param CreateChatRoomHeaders $headers CreateChatRoomHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateChatRoomResponse CreateChatRoomResponse */ public function createChatRoomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatGroupName)) { $body['chatGroupName'] = $request->chatGroupName; } if (!Utils::isUnset($request->deviceCodes)) { $body['deviceCodes'] = $request->deviceCodes; } if (!Utils::isUnset($request->deviceTypeId)) { $body['deviceTypeId'] = $request->deviceTypeId; } if (!Utils::isUnset($request->ownerUserId)) { $body['ownerUserId'] = $request->ownerUserId; } if (!Utils::isUnset($request->roleList)) { $body['roleList'] = $request->roleList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateChatRoom', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRoom', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateChatRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建设备群 * * * @param CreateChatRoomRequest $request CreateChatRoomRequest * * @return CreateChatRoomResponse CreateChatRoomResponse */ public function createChatRoom($request) { $runtime = new RuntimeOptions([]); $headers = new CreateChatRoomHeaders([]); return $this->createChatRoomWithOptions($request, $headers, $runtime); } /** * @summary 创建部门 * * * @param CreateDepartmentRequest $request CreateDepartmentRequest * @param CreateDepartmentHeaders $headers CreateDepartmentHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateDepartmentResponse CreateDepartmentResponse */ public function createDepartmentWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->authInfo)) { $body['authInfo'] = $request->authInfo; } if (!Utils::isUnset($request->authType)) { $body['authType'] = $request->authType; } if (!Utils::isUnset($request->bizExt)) { $body['bizExt'] = $request->bizExt; } if (!Utils::isUnset($request->departmentName)) { $body['departmentName'] = $request->departmentName; } if (!Utils::isUnset($request->departmentType)) { $body['departmentType'] = $request->departmentType; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->systemUrl)) { $body['systemUrl'] = $request->systemUrl; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDepartment', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/departments', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return CreateDepartmentResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建部门 * * * @param CreateDepartmentRequest $request CreateDepartmentRequest * * @return CreateDepartmentResponse CreateDepartmentResponse */ public function createDepartment($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDepartmentHeaders([]); return $this->createDepartmentWithOptions($request, $headers, $runtime); } /** * @summary 创建设备场景群 * * * @param CreateDeviceChatRoomRequest $request CreateDeviceChatRoomRequest * @param CreateDeviceChatRoomHeaders $headers CreateDeviceChatRoomHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return CreateDeviceChatRoomResponse CreateDeviceChatRoomResponse */ public function createDeviceChatRoomWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatType)) { $body['chatType'] = $request->chatType; } if (!Utils::isUnset($request->deviceCodes)) { $body['deviceCodes'] = $request->deviceCodes; } if (!Utils::isUnset($request->deviceUuids)) { $body['deviceUuids'] = $request->deviceUuids; } if (!Utils::isUnset($request->ownerUserId)) { $body['ownerUserId'] = $request->ownerUserId; } if (!Utils::isUnset($request->title)) { $body['title'] = $request->title; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'CreateDeviceChatRoom', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return CreateDeviceChatRoomResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 创建设备场景群 * * * @param CreateDeviceChatRoomRequest $request CreateDeviceChatRoomRequest * * @return CreateDeviceChatRoomResponse CreateDeviceChatRoomResponse */ public function createDeviceChatRoom($request) { $runtime = new RuntimeOptions([]); $headers = new CreateDeviceChatRoomHeaders([]); return $this->createDeviceChatRoomWithOptions($request, $headers, $runtime); } /** * @summary 设备账号向目标用户发送ding消息 * * * @param DeviceDingRequest $request DeviceDingRequest * @param DeviceDingHeaders $headers DeviceDingHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeviceDingResponse DeviceDingResponse */ public function deviceDingWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceKey)) { $body['deviceKey'] = $request->deviceKey; } if (!Utils::isUnset($request->paramsJson)) { $body['paramsJson'] = $request->paramsJson; } if (!Utils::isUnset($request->receiverUserIdList)) { $body['receiverUserIdList'] = $request->receiverUserIdList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeviceDing', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/ding', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return DeviceDingResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设备账号向目标用户发送ding消息 * * * @param DeviceDingRequest $request DeviceDingRequest * * @return DeviceDingResponse DeviceDingResponse */ public function deviceDing($request) { $runtime = new RuntimeOptions([]); $headers = new DeviceDingHeaders([]); return $this->deviceDingWithOptions($request, $headers, $runtime); } /** * @summary 解散设备群 * * * @param DissolveGroupRequest $request DissolveGroupRequest * @param DissolveGroupHeaders $headers DissolveGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DissolveGroupResponse DissolveGroupResponse */ public function dissolveGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DissolveGroup', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/groups/dissolve', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DissolveGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 解散设备群 * * * @param DissolveGroupRequest $request DissolveGroupRequest * * @return DissolveGroupResponse DissolveGroupResponse */ public function dissolveGroup($request) { $runtime = new RuntimeOptions([]); $headers = new DissolveGroupHeaders([]); return $this->dissolveGroupWithOptions($request, $headers, $runtime); } /** * @summary 编辑设备管理员 * * * @param EditDeviceAdminRequest $request EditDeviceAdminRequest * @param EditDeviceAdminHeaders $headers EditDeviceAdminHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return EditDeviceAdminResponse EditDeviceAdminResponse */ public function editDeviceAdminWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceCode)) { $body['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->roleUuid)) { $body['roleUuid'] = $request->roleUuid; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'EditDeviceAdmin', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/administrators/edit', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return EditDeviceAdminResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 编辑设备管理员 * * * @param EditDeviceAdminRequest $request EditDeviceAdminRequest * * @return EditDeviceAdminResponse EditDeviceAdminResponse */ public function editDeviceAdmin($request) { $runtime = new RuntimeOptions([]); $headers = new EditDeviceAdminHeaders([]); return $this->editDeviceAdminWithOptions($request, $headers, $runtime); } /** * @summary 获取设备群信息 * * * @param GetDeviceGroupInfoRequest $request GetDeviceGroupInfoRequest * @param GetDeviceGroupInfoHeaders $headers GetDeviceGroupInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDeviceGroupInfoResponse GetDeviceGroupInfoResponse */ public function getDeviceGroupInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetDeviceGroupInfo', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/groupInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetDeviceGroupInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取设备群信息 * * * @param GetDeviceGroupInfoRequest $request GetDeviceGroupInfoRequest * * @return GetDeviceGroupInfoResponse GetDeviceGroupInfoResponse */ public function getDeviceGroupInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetDeviceGroupInfoHeaders([]); return $this->getDeviceGroupInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取设备全员群标识 * * * @param GetWholeDeviceGroupHeaders $headers GetWholeDeviceGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetWholeDeviceGroupResponse GetWholeDeviceGroupResponse */ public function getWholeDeviceGroupWithOptions($headers, $runtime) { $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, ]); $params = new Params([ 'action' => 'GetWholeDeviceGroup', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/wholeGroupId', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWholeDeviceGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取设备全员群标识 * * * @return GetWholeDeviceGroupResponse GetWholeDeviceGroupResponse */ public function getWholeDeviceGroup() { $runtime = new RuntimeOptions([]); $headers = new GetWholeDeviceGroupHeaders([]); return $this->getWholeDeviceGroupWithOptions($headers, $runtime); } /** * @summary 查询激活的设备信息 * * * @param ListActivateDevicesRequest $request ListActivateDevicesRequest * @param ListActivateDevicesHeaders $headers ListActivateDevicesHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListActivateDevicesResponse ListActivateDevicesResponse */ public function listActivateDevicesWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->deviceCategory)) { $query['deviceCategory'] = $request->deviceCategory; } if (!Utils::isUnset($request->deviceCode)) { $query['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->deviceTypeId)) { $query['deviceTypeId'] = $request->deviceTypeId; } if (!Utils::isUnset($request->groupId)) { $query['groupId'] = $request->groupId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'ListActivateDevices', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/activations/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListActivateDevicesResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询激活的设备信息 * * * @param ListActivateDevicesRequest $request ListActivateDevicesRequest * * @return ListActivateDevicesResponse ListActivateDevicesResponse */ public function listActivateDevices($request) { $runtime = new RuntimeOptions([]); $headers = new ListActivateDevicesHeaders([]); return $this->listActivateDevicesWithOptions($request, $headers, $runtime); } /** * @summary 获取巡检、保养记录 * * * @param ListInspectInfoRequest $request ListInspectInfoRequest * @param ListInspectInfoHeaders $headers ListInspectInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListInspectInfoResponse ListInspectInfoResponse */ public function listInspectInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceUuid)) { $body['deviceUuid'] = $request->deviceUuid; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->type)) { $body['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListInspectInfo', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/inspectInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListInspectInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取巡检、保养记录 * * * @param ListInspectInfoRequest $request ListInspectInfoRequest * * @return ListInspectInfoResponse ListInspectInfoResponse */ public function listInspectInfo($request) { $runtime = new RuntimeOptions([]); $headers = new ListInspectInfoHeaders([]); return $this->listInspectInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取报修信息 * * * @param ListMaintainInfoRequest $request ListMaintainInfoRequest * @param ListMaintainInfoHeaders $headers ListMaintainInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ListMaintainInfoResponse ListMaintainInfoResponse */ public function listMaintainInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceUuid)) { $body['deviceUuid'] = $request->deviceUuid; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ListMaintainInfo', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/maintainInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return ListMaintainInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取报修信息 * * * @param ListMaintainInfoRequest $request ListMaintainInfoRequest * * @return ListMaintainInfoResponse ListMaintainInfoResponse */ public function listMaintainInfo($request) { $runtime = new RuntimeOptions([]); $headers = new ListMaintainInfoHeaders([]); return $this->listMaintainInfoWithOptions($request, $headers, $runtime); } /** * @summary 拉设备进群 * * * @param PullDeviceToGroupRequest $request PullDeviceToGroupRequest * @param PullDeviceToGroupHeaders $headers PullDeviceToGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PullDeviceToGroupResponse PullDeviceToGroupResponse */ public function pullDeviceToGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceCodes)) { $body['deviceCodes'] = $request->deviceCodes; } if (!Utils::isUnset($request->deviceUuids)) { $body['deviceUuids'] = $request->deviceUuids; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PullDeviceToGroup', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/devices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PullDeviceToGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 拉设备进群 * * * @param PullDeviceToGroupRequest $request PullDeviceToGroupRequest * * @return PullDeviceToGroupResponse PullDeviceToGroupResponse */ public function pullDeviceToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new PullDeviceToGroupHeaders([]); return $this->pullDeviceToGroupWithOptions($request, $headers, $runtime); } /** * @summary 拉设用户进群 * * * @param PullUserToGroupRequest $request PullUserToGroupRequest * @param PullUserToGroupHeaders $headers PullUserToGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PullUserToGroupResponse PullUserToGroupResponse */ public function pullUserToGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PullUserToGroup', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/users', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PullUserToGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 拉设用户进群 * * * @param PullUserToGroupRequest $request PullUserToGroupRequest * * @return PullUserToGroupResponse PullUserToGroupResponse */ public function pullUserToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new PullUserToGroupHeaders([]); return $this->pullUserToGroupWithOptions($request, $headers, $runtime); } /** * @summary 注册与激活设备 * * * @param RegisterAndActivateDeviceRequest $request RegisterAndActivateDeviceRequest * @param RegisterAndActivateDeviceHeaders $headers RegisterAndActivateDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RegisterAndActivateDeviceResponse RegisterAndActivateDeviceResponse */ public function registerAndActivateDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceCallbackUrl)) { $body['deviceCallbackUrl'] = $request->deviceCallbackUrl; } if (!Utils::isUnset($request->deviceCategory)) { $body['deviceCategory'] = $request->deviceCategory; } if (!Utils::isUnset($request->deviceCode)) { $body['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->deviceDetailUrl)) { $body['deviceDetailUrl'] = $request->deviceDetailUrl; } if (!Utils::isUnset($request->deviceName)) { $body['deviceName'] = $request->deviceName; } if (!Utils::isUnset($request->introduction)) { $body['introduction'] = $request->introduction; } if (!Utils::isUnset($request->roleUuid)) { $body['roleUuid'] = $request->roleUuid; } if (!Utils::isUnset($request->typeUuid)) { $body['typeUuid'] = $request->typeUuid; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterAndActivateDevice', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/registerAndActivate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RegisterAndActivateDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 注册与激活设备 * * * @param RegisterAndActivateDeviceRequest $request RegisterAndActivateDeviceRequest * * @return RegisterAndActivateDeviceResponse RegisterAndActivateDeviceResponse */ public function registerAndActivateDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterAndActivateDeviceHeaders([]); return $this->registerAndActivateDeviceWithOptions($request, $headers, $runtime); } /** * @summary 批量注册与激活设备 * * * @param RegisterAndActivateDeviceBatchRequest $request RegisterAndActivateDeviceBatchRequest * @param RegisterAndActivateDeviceBatchHeaders $headers RegisterAndActivateDeviceBatchHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RegisterAndActivateDeviceBatchResponse RegisterAndActivateDeviceBatchResponse */ public function registerAndActivateDeviceBatchWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->registerAndActivateVOS)) { $body['registerAndActivateVOS'] = $request->registerAndActivateVOS; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterAndActivateDeviceBatch', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/registrationActivations/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RegisterAndActivateDeviceBatchResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量注册与激活设备 * * * @param RegisterAndActivateDeviceBatchRequest $request RegisterAndActivateDeviceBatchRequest * * @return RegisterAndActivateDeviceBatchResponse RegisterAndActivateDeviceBatchResponse */ public function registerAndActivateDeviceBatch($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterAndActivateDeviceBatchHeaders([]); return $this->registerAndActivateDeviceBatchWithOptions($request, $headers, $runtime); } /** * @summary 注册设备并为其创建机器人 * * * @param RegisterDeviceRequest $request RegisterDeviceRequest * @param RegisterDeviceHeaders $headers RegisterDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RegisterDeviceResponse RegisterDeviceResponse */ public function registerDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->collaborators)) { $body['collaborators'] = $request->collaborators; } if (!Utils::isUnset($request->departmentId)) { $body['departmentId'] = $request->departmentId; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->deviceKey)) { $body['deviceKey'] = $request->deviceKey; } if (!Utils::isUnset($request->deviceName)) { $body['deviceName'] = $request->deviceName; } if (!Utils::isUnset($request->managers)) { $body['managers'] = $request->managers; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterDevice', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/devices', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return RegisterDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 注册设备并为其创建机器人 * * * @param RegisterDeviceRequest $request RegisterDeviceRequest * * @return RegisterDeviceResponse RegisterDeviceResponse */ public function registerDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterDeviceHeaders([]); return $this->registerDeviceWithOptions($request, $headers, $runtime); } /** * @summary 移设备出群 * * * @param RemoveDeviceFromGroupRequest $request RemoveDeviceFromGroupRequest * @param RemoveDeviceFromGroupHeaders $headers RemoveDeviceFromGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RemoveDeviceFromGroupResponse RemoveDeviceFromGroupResponse */ public function removeDeviceFromGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceCodes)) { $body['deviceCodes'] = $request->deviceCodes; } if (!Utils::isUnset($request->deviceUuids)) { $body['deviceUuids'] = $request->deviceUuids; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->operator)) { $body['operator'] = $request->operator; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveDeviceFromGroup', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/devices/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveDeviceFromGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 移设备出群 * * * @param RemoveDeviceFromGroupRequest $request RemoveDeviceFromGroupRequest * * @return RemoveDeviceFromGroupResponse RemoveDeviceFromGroupResponse */ public function removeDeviceFromGroup($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveDeviceFromGroupHeaders([]); return $this->removeDeviceFromGroupWithOptions($request, $headers, $runtime); } /** * @summary 移用户出设备群 * * * @param RemoveUserFromGroupRequest $request RemoveUserFromGroupRequest * @param RemoveUserFromGroupHeaders $headers RemoveUserFromGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RemoveUserFromGroupResponse RemoveUserFromGroupResponse */ public function removeUserFromGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->userIds)) { $body['userIds'] = $request->userIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RemoveUserFromGroup', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/chatRooms/users/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RemoveUserFromGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 移用户出设备群 * * * @param RemoveUserFromGroupRequest $request RemoveUserFromGroupRequest * * @return RemoveUserFromGroupResponse RemoveUserFromGroupResponse */ public function removeUserFromGroup($request) { $runtime = new RuntimeOptions([]); $headers = new RemoveUserFromGroupHeaders([]); return $this->removeUserFromGroupWithOptions($request, $headers, $runtime); } /** * @summary 发送卡片 * * * @param SendCardRequest $request SendCardRequest * @param SendCardHeaders $headers SendCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendCardResponse SendCardResponse */ public function sendCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->deviceCode)) { $body['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->deviceUuid)) { $body['deviceUuid'] = $request->deviceUuid; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->partVisible)) { $body['partVisible'] = $request->partVisible; } if (!Utils::isUnset($request->receivers)) { $body['receivers'] = $request->receivers; } if (!Utils::isUnset($request->templateId)) { $body['templateId'] = $request->templateId; } if (!Utils::isUnset($request->topbox)) { $body['topbox'] = $request->topbox; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendCard', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/cards/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发送卡片 * * * @param SendCardRequest $request SendCardRequest * * @return SendCardResponse SendCardResponse */ public function sendCard($request) { $runtime = new RuntimeOptions([]); $headers = new SendCardHeaders([]); return $this->sendCardWithOptions($request, $headers, $runtime); } /** * @summary 发送普通消息 * * * @param SendMsgRequest $request SendMsgRequest * @param SendMsgHeaders $headers SendMsgHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return SendMsgResponse SendMsgResponse */ public function sendMsgWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->deviceCode)) { $body['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->deviceUuid)) { $body['deviceUuid'] = $request->deviceUuid; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } if (!Utils::isUnset($request->userList)) { $body['userList'] = $request->userList; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'SendMsg', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/messages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return SendMsgResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发送普通消息 * * * @param SendMsgRequest $request SendMsgRequest * * @return SendMsgResponse SendMsgResponse */ public function sendMsg($request) { $runtime = new RuntimeOptions([]); $headers = new SendMsgHeaders([]); return $this->sendMsgWithOptions($request, $headers, $runtime); } /** * @summary 卸载设备 * * * @param UninstallDeviceRobotRequest $request UninstallDeviceRobotRequest * @param UninstallDeviceRobotHeaders $headers UninstallDeviceRobotHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UninstallDeviceRobotResponse UninstallDeviceRobotResponse */ public function uninstallDeviceRobotWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceCode)) { $body['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->uuid)) { $body['uuid'] = $request->uuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UninstallDeviceRobot', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/devices/uninstall', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UninstallDeviceRobotResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 卸载设备 * * * @param UninstallDeviceRobotRequest $request UninstallDeviceRobotRequest * * @return UninstallDeviceRobotResponse UninstallDeviceRobotResponse */ public function uninstallDeviceRobot($request) { $runtime = new RuntimeOptions([]); $headers = new UninstallDeviceRobotHeaders([]); return $this->uninstallDeviceRobotWithOptions($request, $headers, $runtime); } /** * @summary 更新卡片 * * * @param UpdateCardRequest $request UpdateCardRequest * @param UpdateCardHeaders $headers UpdateCardHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateCardResponse UpdateCardResponse */ public function updateCardWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->bizId)) { $body['bizId'] = $request->bizId; } if (!Utils::isUnset($request->cardData)) { $body['cardData'] = $request->cardData; } if (!Utils::isUnset($request->tips)) { $body['tips'] = $request->tips; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateCard', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/customers/cards', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateCardResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新卡片 * * * @param UpdateCardRequest $request UpdateCardRequest * * @return UpdateCardResponse UpdateCardResponse */ public function updateCard($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateCardHeaders([]); return $this->updateCardWithOptions($request, $headers, $runtime); } /** * @summary 设备事件上报 * * * @param UploadEventRequest $request UploadEventRequest * @param UploadEventHeaders $headers UploadEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UploadEventResponse UploadEventResponse */ public function uploadEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->content)) { $body['content'] = $request->content; } if (!Utils::isUnset($request->coverUrl)) { $body['coverUrl'] = $request->coverUrl; } if (!Utils::isUnset($request->deviceCode)) { $body['deviceCode'] = $request->deviceCode; } if (!Utils::isUnset($request->deviceUuid)) { $body['deviceUuid'] = $request->deviceUuid; } if (!Utils::isUnset($request->eventTime)) { $body['eventTime'] = $request->eventTime; } if (!Utils::isUnset($request->eventType)) { $body['eventType'] = $request->eventType; } if (!Utils::isUnset($request->level)) { $body['level'] = $request->level; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UploadEvent', 'version' => 'devicemng_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/devicemng/suppliers/events/upload', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UploadEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 设备事件上报 * * * @param UploadEventRequest $request UploadEventRequest * * @return UploadEventResponse UploadEventResponse */ public function uploadEvent($request) { $runtime = new RuntimeOptions([]); $headers = new UploadEventHeaders([]); return $this->uploadEventWithOptions($request, $headers, $runtime); } } src/devicemng_1_0/Models/BatchRegisterDeviceHeaders.php 0000644 00000002347 14713400346 0017041 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/BatchRegisterDeviceRequest.php 0000644 00000003562 14713400346 0017116 0 ustar 00 'deviceList', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceList) { $res['deviceList'] = []; if (null !== $this->deviceList && \is_array($this->deviceList)) { $n = 0; foreach ($this->deviceList as $item) { $res['deviceList'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceList'])) { if (!empty($map['deviceList'])) { $model->deviceList = []; $n = 0; foreach ($map['deviceList'] as $item) { $model->deviceList[$n++] = null !== $item ? deviceList::fromMap($item) : $item; } } } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/devicemng_1_0/Models/BatchRegisterDeviceRequest/deviceList.php 0000644 00000005713 14713400346 0021211 0 ustar 00 'collaborators', 'departmentId' => 'departmentId', 'description' => 'description', 'deviceKey' => 'deviceKey', 'deviceName' => 'deviceName', 'managers' => 'managers', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->collaborators) { $res['collaborators'] = $this->collaborators; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->deviceKey) { $res['deviceKey'] = $this->deviceKey; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->managers) { $res['managers'] = $this->managers; } return $res; } /** * @param array $map * * @return deviceList */ public static function fromMap($map = []) { $model = new self(); if (isset($map['collaborators'])) { $model->collaborators = $map['collaborators']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['deviceKey'])) { $model->deviceKey = $map['deviceKey']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['managers'])) { $model->managers = $map['managers']; } return $model; } } src/devicemng_1_0/Models/BatchRegisterDeviceResponse.php 0000644 00000002753 14713400346 0017265 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRegisterDeviceResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/BatchRegisterDeviceResponseBody.php 0000644 00000001512 14713400346 0020073 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/devicemng_1_0/Models/ConnectorEventPushHeaders.php 0000644 00000002345 14713400346 0016765 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ConnectorEventPushHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/ConnectorEventPushRequest.php 0000644 00000003067 14713400346 0017044 0 ustar 00 'deviceTypeUuid', 'eventName' => 'eventName', 'input' => 'input', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceTypeUuid) { $res['deviceTypeUuid'] = $this->deviceTypeUuid; } if (null !== $this->eventName) { $res['eventName'] = $this->eventName; } if (null !== $this->input) { $res['input'] = $this->input; } return $res; } /** * @param array $map * * @return ConnectorEventPushRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceTypeUuid'])) { $model->deviceTypeUuid = $map['deviceTypeUuid']; } if (isset($map['eventName'])) { $model->eventName = $map['eventName']; } if (isset($map['input'])) { $model->input = $map['input']; } return $model; } } src/devicemng_1_0/Models/ConnectorEventPushResponse.php 0000644 00000002747 14713400346 0017216 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ConnectorEventPushResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ConnectorEventPushResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/ConnectorEventPushResponseBody.php 0000644 00000001517 14713400346 0020026 0 ustar 00 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return ConnectorEventPushResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/CreateChatRoomHeaders.php 0000644 00000002335 14713400346 0016030 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateChatRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/CreateChatRoomRequest.php 0000644 00000004512 14713400346 0016104 0 ustar 00 'chatGroupName', 'deviceCodes' => 'deviceCodes', 'deviceTypeId' => 'deviceTypeId', 'ownerUserId' => 'ownerUserId', 'roleList' => 'roleList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatGroupName) { $res['chatGroupName'] = $this->chatGroupName; } if (null !== $this->deviceCodes) { $res['deviceCodes'] = $this->deviceCodes; } if (null !== $this->deviceTypeId) { $res['deviceTypeId'] = $this->deviceTypeId; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->roleList) { $res['roleList'] = $this->roleList; } return $res; } /** * @param array $map * * @return CreateChatRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatGroupName'])) { $model->chatGroupName = $map['chatGroupName']; } if (isset($map['deviceCodes'])) { if (!empty($map['deviceCodes'])) { $model->deviceCodes = $map['deviceCodes']; } } if (isset($map['deviceTypeId'])) { $model->deviceTypeId = $map['deviceTypeId']; } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['roleList'])) { if (!empty($map['roleList'])) { $model->roleList = $map['roleList']; } } return $model; } } src/devicemng_1_0/Models/CreateChatRoomResponse.php 0000644 00000002727 14713400346 0016260 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateChatRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateChatRoomResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/CreateChatRoomResponseBody.php 0000644 00000002126 14713400346 0017067 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateChatRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/CreateDepartmentHeaders.php 0000644 00000002341 14713400346 0016414 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDepartmentHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/CreateDepartmentRequest.php 0000644 00000007267 14713400346 0016505 0 ustar 00 'authInfo', 'authType' => 'authType', 'bizExt' => 'bizExt', 'departmentName' => 'departmentName', 'departmentType' => 'departmentType', 'description' => 'description', 'systemUrl' => 'systemUrl', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authInfo) { $res['authInfo'] = $this->authInfo; } if (null !== $this->authType) { $res['authType'] = $this->authType; } if (null !== $this->bizExt) { $res['bizExt'] = $this->bizExt; } if (null !== $this->departmentName) { $res['departmentName'] = $this->departmentName; } if (null !== $this->departmentType) { $res['departmentType'] = $this->departmentType; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->systemUrl) { $res['systemUrl'] = $this->systemUrl; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return CreateDepartmentRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authInfo'])) { $model->authInfo = $map['authInfo']; } if (isset($map['authType'])) { $model->authType = $map['authType']; } if (isset($map['bizExt'])) { $model->bizExt = $map['bizExt']; } if (isset($map['departmentName'])) { $model->departmentName = $map['departmentName']; } if (isset($map['departmentType'])) { $model->departmentType = $map['departmentType']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['systemUrl'])) { $model->systemUrl = $map['systemUrl']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/devicemng_1_0/Models/CreateDepartmentResponse.php 0000644 00000002737 14713400346 0016650 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDepartmentResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDepartmentResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/CreateDepartmentResponseBody.php 0000644 00000001504 14713400346 0017455 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return CreateDepartmentResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/devicemng_1_0/Models/CreateDeviceChatRoomHeaders.php 0000644 00000002351 14713400346 0017146 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return CreateDeviceChatRoomHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/CreateDeviceChatRoomRequest.php 0000644 00000005313 14713400346 0017224 0 ustar 00 'chatType', 'deviceCodes' => 'deviceCodes', 'deviceUuids' => 'deviceUuids', 'ownerUserId' => 'ownerUserId', 'title' => 'title', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatType) { $res['chatType'] = $this->chatType; } if (null !== $this->deviceCodes) { $res['deviceCodes'] = $this->deviceCodes; } if (null !== $this->deviceUuids) { $res['deviceUuids'] = $this->deviceUuids; } if (null !== $this->ownerUserId) { $res['ownerUserId'] = $this->ownerUserId; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return CreateDeviceChatRoomRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatType'])) { $model->chatType = $map['chatType']; } if (isset($map['deviceCodes'])) { if (!empty($map['deviceCodes'])) { $model->deviceCodes = $map['deviceCodes']; } } if (isset($map['deviceUuids'])) { if (!empty($map['deviceUuids'])) { $model->deviceUuids = $map['deviceUuids']; } } if (isset($map['ownerUserId'])) { $model->ownerUserId = $map['ownerUserId']; } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/devicemng_1_0/Models/CreateDeviceChatRoomResponse.php 0000644 00000002757 14713400346 0017403 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return CreateDeviceChatRoomResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = CreateDeviceChatRoomResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/CreateDeviceChatRoomResponseBody.php 0000644 00000002371 14713400346 0020211 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return CreateDeviceChatRoomResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/CreateDeviceChatRoomResponseBody/result.php 0000644 00000002771 14713400346 0021533 0 ustar 00 'chatId', 'encodedCid' => 'encodedCid', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatId) { $res['chatId'] = $this->chatId; } if (null !== $this->encodedCid) { $res['encodedCid'] = $this->encodedCid; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatId'])) { $model->chatId = $map['chatId']; } if (isset($map['encodedCid'])) { $model->encodedCid = $map['encodedCid']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/devicemng_1_0/Models/DeviceDingHeaders.php 0000644 00000002325 14713400346 0015170 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeviceDingHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/DeviceDingRequest.php 0000644 00000003377 14713400346 0015255 0 ustar 00 'deviceKey', 'paramsJson' => 'paramsJson', 'receiverUserIdList' => 'receiverUserIdList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceKey) { $res['deviceKey'] = $this->deviceKey; } if (null !== $this->paramsJson) { $res['paramsJson'] = $this->paramsJson; } if (null !== $this->receiverUserIdList) { $res['receiverUserIdList'] = $this->receiverUserIdList; } return $res; } /** * @param array $map * * @return DeviceDingRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceKey'])) { $model->deviceKey = $map['deviceKey']; } if (isset($map['paramsJson'])) { $model->paramsJson = $map['paramsJson']; } if (isset($map['receiverUserIdList'])) { if (!empty($map['receiverUserIdList'])) { $model->receiverUserIdList = $map['receiverUserIdList']; } } return $model; } } src/devicemng_1_0/Models/DeviceDingResponse.php 0000644 00000002707 14713400346 0015417 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeviceDingResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeviceDingResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/DeviceDingResponseBody.php 0000644 00000001557 14713400346 0016237 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DeviceDingResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/devicemng_1_0/Models/DissolveGroupHeaders.php 0000644 00000002333 14713400346 0015773 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DissolveGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/DissolveGroupRequest.php 0000644 00000001767 14713400346 0016062 0 ustar 00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return DissolveGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/devicemng_1_0/Models/DissolveGroupResponse.php 0000644 00000002723 14713400346 0016221 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DissolveGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DissolveGroupResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/DissolveGroupResponseBody.php 0000644 00000002124 14713400346 0017032 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return DissolveGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/EditDeviceAdminHeaders.php 0000644 00000002337 14713400346 0016150 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return EditDeviceAdminHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/EditDeviceAdminRequest.php 0000644 00000003551 14713400346 0016224 0 ustar 00 'deviceCode', 'roleUuid' => 'roleUuid', 'userIds' => 'userIds', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->roleUuid) { $res['roleUuid'] = $this->roleUuid; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return EditDeviceAdminRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['roleUuid'])) { $model->roleUuid = $map['roleUuid']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/devicemng_1_0/Models/EditDeviceAdminResponse.php 0000644 00000002733 14713400346 0016373 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return EditDeviceAdminResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = EditDeviceAdminResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/EditDeviceAdminResponseBody.php 0000644 00000002130 14713400346 0017200 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return EditDeviceAdminResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/GetDeviceGroupInfoHeaders.php 0000644 00000002345 14713400346 0016661 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDeviceGroupInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/GetDeviceGroupInfoRequest.php 0000644 00000001775 14713400346 0016744 0 ustar 00 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return GetDeviceGroupInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/devicemng_1_0/Models/GetDeviceGroupInfoResponse.php 0000644 00000002747 14713400346 0017112 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDeviceGroupInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDeviceGroupInfoResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/GetDeviceGroupInfoResponseBody.php 0000644 00000002363 14713400346 0017722 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetDeviceGroupInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/GetDeviceGroupInfoResponseBody/result.php 0000644 00000005176 14713400346 0021245 0 ustar 00 'devices', 'ownerUser' => 'ownerUser', 'subAdminUsers' => 'subAdminUsers', 'title' => 'title', 'users' => 'users', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->devices) { $res['devices'] = []; if (null !== $this->devices && \is_array($this->devices)) { $n = 0; foreach ($this->devices as $item) { $res['devices'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->ownerUser) { $res['ownerUser'] = $this->ownerUser; } if (null !== $this->subAdminUsers) { $res['subAdminUsers'] = $this->subAdminUsers; } if (null !== $this->title) { $res['title'] = $this->title; } if (null !== $this->users) { $res['users'] = $this->users; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['devices'])) { if (!empty($map['devices'])) { $model->devices = []; $n = 0; foreach ($map['devices'] as $item) { $model->devices[$n++] = null !== $item ? devices::fromMap($item) : $item; } } } if (isset($map['ownerUser'])) { $model->ownerUser = $map['ownerUser']; } if (isset($map['subAdminUsers'])) { if (!empty($map['subAdminUsers'])) { $model->subAdminUsers = $map['subAdminUsers']; } } if (isset($map['title'])) { $model->title = $map['title']; } if (isset($map['users'])) { $model->users = $map['users']; } return $model; } } src/devicemng_1_0/Models/GetDeviceGroupInfoResponseBody/result/devices.php 0000644 00000003312 14713400346 0022655 0 ustar 00 'deviceCode', 'deviceName' => 'deviceName', 'deviceUuid' => 'deviceUuid', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return devices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/devicemng_1_0/Models/GetWholeDeviceGroupHeaders.php 0000644 00000002347 14713400346 0017046 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWholeDeviceGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/GetWholeDeviceGroupResponse.php 0000644 00000002753 14713400346 0017272 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWholeDeviceGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWholeDeviceGroupResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/GetWholeDeviceGroupResponseBody.php 0000644 00000002140 14713400346 0020076 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return GetWholeDeviceGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/ListActivateDevicesHeaders.php 0000644 00000002347 14713400346 0017072 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListActivateDevicesHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/ListActivateDevicesRequest.php 0000644 00000004565 14713400346 0017153 0 ustar 00 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceTypeId' => 'deviceTypeId', 'groupId' => 'groupId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceTypeId) { $res['deviceTypeId'] = $this->deviceTypeId; } if (null !== $this->groupId) { $res['groupId'] = $this->groupId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListActivateDevicesRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceTypeId'])) { $model->deviceTypeId = $map['deviceTypeId']; } if (isset($map['groupId'])) { $model->groupId = $map['groupId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/devicemng_1_0/Models/ListActivateDevicesResponse.php 0000644 00000002753 14713400346 0017316 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListActivateDevicesResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListActivateDevicesResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/ListActivateDevicesResponseBody.php 0000644 00000003743 14713400346 0020134 0 ustar 00 'result', 'success' => 'success', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListActivateDevicesResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/devicemng_1_0/Models/ListActivateDevicesResponseBody/result.php 0000644 00000007622 14713400346 0021452 0 ustar 00 'bizExt', 'deviceCallbackUrl' => 'deviceCallbackUrl', 'deviceCategory' => 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceDetailUrl' => 'deviceDetailUrl', 'deviceName' => 'deviceName', 'groupUuid' => 'groupUuid', 'icon' => 'icon', 'introduction' => 'introduction', 'typeUuid' => 'typeUuid', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizExt) { $res['bizExt'] = $this->bizExt; } if (null !== $this->deviceCallbackUrl) { $res['deviceCallbackUrl'] = $this->deviceCallbackUrl; } if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceDetailUrl) { $res['deviceDetailUrl'] = $this->deviceDetailUrl; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->groupUuid) { $res['groupUuid'] = $this->groupUuid; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->typeUuid) { $res['typeUuid'] = $this->typeUuid; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizExt'])) { $model->bizExt = $map['bizExt']; } if (isset($map['deviceCallbackUrl'])) { $model->deviceCallbackUrl = $map['deviceCallbackUrl']; } if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceDetailUrl'])) { $model->deviceDetailUrl = $map['deviceDetailUrl']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['groupUuid'])) { $model->groupUuid = $map['groupUuid']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['typeUuid'])) { $model->typeUuid = $map['typeUuid']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/devicemng_1_0/Models/ListInspectInfoHeaders.php 0000644 00000002337 14713400346 0016247 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListInspectInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/ListInspectInfoRequest.php 0000644 00000003500 14713400346 0016315 0 ustar 00 'deviceUuid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return ListInspectInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceUuid'])) { if (!empty($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/devicemng_1_0/Models/ListInspectInfoResponse.php 0000644 00000002733 14713400346 0016472 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListInspectInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListInspectInfoResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/ListInspectInfoResponseBody.php 0000644 00000003762 14713400346 0017313 0 ustar 00 'result', 'success' => 'success', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListInspectInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/devicemng_1_0/Models/ListInspectInfoResponseBody/result.php 0000644 00000007537 14713400346 0020635 0 ustar 00 'deviceCode', 'deviceName' => 'deviceName', 'gmtCreate' => 'gmtCreate', 'handleTime' => 'handleTime', 'maintenanceStaff' => 'maintenanceStaff', 'name' => 'name', 'remark' => 'remark', 'repairStatus' => 'repairStatus', 'status' => 'status', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->handleTime) { $res['handleTime'] = $this->handleTime; } if (null !== $this->maintenanceStaff) { $res['maintenanceStaff'] = $this->maintenanceStaff; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->remark) { $res['remark'] = $this->remark; } if (null !== $this->repairStatus) { $res['repairStatus'] = $this->repairStatus; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['handleTime'])) { $model->handleTime = $map['handleTime']; } if (isset($map['maintenanceStaff'])) { if (!empty($map['maintenanceStaff'])) { $model->maintenanceStaff = $map['maintenanceStaff']; } } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } if (isset($map['repairStatus'])) { $model->repairStatus = $map['repairStatus']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/devicemng_1_0/Models/ListMaintainInfoHeaders.php 0000644 00000002341 14713400346 0016375 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ListMaintainInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/ListMaintainInfoRequest.php 0000644 00000003041 14713400346 0016450 0 ustar 00 'deviceUuid', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return ListMaintainInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceUuid'])) { if (!empty($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/devicemng_1_0/Models/ListMaintainInfoResponse.php 0000644 00000002737 14713400346 0016631 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ListMaintainInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ListMaintainInfoResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/ListMaintainInfoResponseBody.php 0000644 00000003765 14713400346 0017451 0 ustar 00 'result', 'success' => 'success', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->totalCount) { $res['totalCount'] = $this->totalCount; } return $res; } /** * @param array $map * * @return ListMaintainInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['totalCount'])) { $model->totalCount = $map['totalCount']; } return $model; } } src/devicemng_1_0/Models/ListMaintainInfoResponseBody/result.php 0000644 00000005764 14713400346 0020770 0 ustar 00 'deviceCode', 'deviceName' => 'deviceName', 'gmtCreate' => 'gmtCreate', 'handleTime' => 'handleTime', 'maintenanceStaff' => 'maintenanceStaff', 'processState' => 'processState', 'remark' => 'remark', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->gmtCreate) { $res['gmtCreate'] = $this->gmtCreate; } if (null !== $this->handleTime) { $res['handleTime'] = $this->handleTime; } if (null !== $this->maintenanceStaff) { $res['maintenanceStaff'] = $this->maintenanceStaff; } if (null !== $this->processState) { $res['processState'] = $this->processState; } if (null !== $this->remark) { $res['remark'] = $this->remark; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['gmtCreate'])) { $model->gmtCreate = $map['gmtCreate']; } if (isset($map['handleTime'])) { $model->handleTime = $map['handleTime']; } if (isset($map['maintenanceStaff'])) { if (!empty($map['maintenanceStaff'])) { $model->maintenanceStaff = $map['maintenanceStaff']; } } if (isset($map['processState'])) { $model->processState = $map['processState']; } if (isset($map['remark'])) { $model->remark = $map['remark']; } return $model; } } src/devicemng_1_0/Models/PullDeviceToGroupHeaders.php 0000644 00000002343 14713400346 0016543 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PullDeviceToGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/PullDeviceToGroupRequest.php 0000644 00000004151 14713400346 0016617 0 ustar 00 'deviceCodes', 'deviceUuids' => 'deviceUuids', 'openConversationId' => 'openConversationId', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCodes) { $res['deviceCodes'] = $this->deviceCodes; } if (null !== $this->deviceUuids) { $res['deviceUuids'] = $this->deviceUuids; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return PullDeviceToGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCodes'])) { if (!empty($map['deviceCodes'])) { $model->deviceCodes = $map['deviceCodes']; } } if (isset($map['deviceUuids'])) { if (!empty($map['deviceUuids'])) { $model->deviceUuids = $map['deviceUuids']; } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/devicemng_1_0/Models/PullDeviceToGroupResponse.php 0000644 00000002743 14713400346 0016772 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PullDeviceToGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PullDeviceToGroupResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/PullDeviceToGroupResponseBody.php 0000644 00000002134 14713400346 0017602 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PullDeviceToGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/PullUserToGroupHeaders.php 0000644 00000002337 14713400346 0016265 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PullUserToGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/PullUserToGroupRequest.php 0000644 00000002530 14713400346 0016335 0 ustar 00 'openConversationId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return PullUserToGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/devicemng_1_0/Models/PullUserToGroupResponse.php 0000644 00000002733 14713400346 0016510 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PullUserToGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PullUserToGroupResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/PullUserToGroupResponseBody.php 0000644 00000002130 14713400346 0017315 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return PullUserToGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchHeaders.php 0000644 00000002375 14713400346 0021146 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceBatchHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchRequest.php 0000644 00000003312 14713400346 0021213 0 ustar 00 'registerAndActivateVOS', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->registerAndActivateVOS) { $res['registerAndActivateVOS'] = []; if (null !== $this->registerAndActivateVOS && \is_array($this->registerAndActivateVOS)) { $n = 0; foreach ($this->registerAndActivateVOS as $item) { $res['registerAndActivateVOS'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceBatchRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['registerAndActivateVOS'])) { if (!empty($map['registerAndActivateVOS'])) { $model->registerAndActivateVOS = []; $n = 0; foreach ($map['registerAndActivateVOS'] as $item) { $model->registerAndActivateVOS[$n++] = null !== $item ? registerAndActivateVOS::fromMap($item) : $item; } } } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchRequest/registerAndActivateVOS.php 0000644 00000007604 14713400346 0025543 0 ustar 00 'deviceCallbackUrl', 'deviceCategory' => 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceDetailUrl' => 'deviceDetailUrl', 'deviceName' => 'deviceName', 'groupUuid' => 'groupUuid', 'introduction' => 'introduction', 'roleUuid' => 'roleUuid', 'typeUuid' => 'typeUuid', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCallbackUrl) { $res['deviceCallbackUrl'] = $this->deviceCallbackUrl; } if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceDetailUrl) { $res['deviceDetailUrl'] = $this->deviceDetailUrl; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->groupUuid) { $res['groupUuid'] = $this->groupUuid; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->roleUuid) { $res['roleUuid'] = $this->roleUuid; } if (null !== $this->typeUuid) { $res['typeUuid'] = $this->typeUuid; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return registerAndActivateVOS */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCallbackUrl'])) { $model->deviceCallbackUrl = $map['deviceCallbackUrl']; } if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceDetailUrl'])) { $model->deviceDetailUrl = $map['deviceDetailUrl']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['groupUuid'])) { $model->groupUuid = $map['groupUuid']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['roleUuid'])) { $model->roleUuid = $map['roleUuid']; } if (isset($map['typeUuid'])) { $model->typeUuid = $map['typeUuid']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchResponse.php 0000644 00000003027 14713400346 0021364 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceBatchResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterAndActivateDeviceBatchResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchResponseBody.php 0000644 00000005337 14713400346 0022210 0 ustar 00 'failItems', 'success' => 'success', 'successItems' => 'successItems', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->failItems) { $res['failItems'] = []; if (null !== $this->failItems && \is_array($this->failItems)) { $n = 0; foreach ($this->failItems as $item) { $res['failItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } if (null !== $this->success) { $res['success'] = $this->success; } if (null !== $this->successItems) { $res['successItems'] = []; if (null !== $this->successItems && \is_array($this->successItems)) { $n = 0; foreach ($this->successItems as $item) { $res['successItems'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceBatchResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['failItems'])) { if (!empty($map['failItems'])) { $model->failItems = []; $n = 0; foreach ($map['failItems'] as $item) { $model->failItems[$n++] = null !== $item ? failItems::fromMap($item) : $item; } } } if (isset($map['success'])) { $model->success = $map['success']; } if (isset($map['successItems'])) { if (!empty($map['successItems'])) { $model->successItems = []; $n = 0; foreach ($map['successItems'] as $item) { $model->successItems[$n++] = null !== $item ? successItems::fromMap($item) : $item; } } } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchResponseBody/failItems.php 0000644 00000003530 14713400346 0024116 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return failItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchResponseBody/failItems/result.php 0000644 00000011055 14713400346 0025435 0 ustar 00 'deviceCallbackUrl', 'deviceCategory' => 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceDetailUrl' => 'deviceDetailUrl', 'deviceName' => 'deviceName', 'groupUuid' => 'groupUuid', 'icon' => 'icon', 'introduction' => 'introduction', 'roleUuid' => 'roleUuid', 'status' => 'status', 'typeUuid' => 'typeUuid', 'userIds' => 'userIds', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCallbackUrl) { $res['deviceCallbackUrl'] = $this->deviceCallbackUrl; } if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceDetailUrl) { $res['deviceDetailUrl'] = $this->deviceDetailUrl; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->groupUuid) { $res['groupUuid'] = $this->groupUuid; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->roleUuid) { $res['roleUuid'] = $this->roleUuid; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->typeUuid) { $res['typeUuid'] = $this->typeUuid; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCallbackUrl'])) { $model->deviceCallbackUrl = $map['deviceCallbackUrl']; } if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceDetailUrl'])) { $model->deviceDetailUrl = $map['deviceDetailUrl']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['groupUuid'])) { $model->groupUuid = $map['groupUuid']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['roleUuid'])) { $model->roleUuid = $map['roleUuid']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['typeUuid'])) { $model->typeUuid = $map['typeUuid']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchResponseBody/successItems.php 0000644 00000003541 14713400346 0024655 0 ustar 00 'errorCode', 'errorMsg' => 'errorMsg', 'result' => 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->errorCode) { $res['errorCode'] = $this->errorCode; } if (null !== $this->errorMsg) { $res['errorMsg'] = $this->errorMsg; } if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return successItems */ public static function fromMap($map = []) { $model = new self(); if (isset($map['errorCode'])) { $model->errorCode = $map['errorCode']; } if (isset($map['errorMsg'])) { $model->errorMsg = $map['errorMsg']; } if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceBatchResponseBody/successItems/result.php 0000644 00000011060 14713400346 0026166 0 ustar 00 'deviceCallbackUrl', 'deviceCategory' => 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceDetailUrl' => 'deviceDetailUrl', 'deviceName' => 'deviceName', 'groupUuid' => 'groupUuid', 'icon' => 'icon', 'introduction' => 'introduction', 'roleUuid' => 'roleUuid', 'status' => 'status', 'typeUuid' => 'typeUuid', 'userIds' => 'userIds', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCallbackUrl) { $res['deviceCallbackUrl'] = $this->deviceCallbackUrl; } if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceDetailUrl) { $res['deviceDetailUrl'] = $this->deviceDetailUrl; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->groupUuid) { $res['groupUuid'] = $this->groupUuid; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->roleUuid) { $res['roleUuid'] = $this->roleUuid; } if (null !== $this->status) { $res['status'] = $this->status; } if (null !== $this->typeUuid) { $res['typeUuid'] = $this->typeUuid; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCallbackUrl'])) { $model->deviceCallbackUrl = $map['deviceCallbackUrl']; } if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceDetailUrl'])) { $model->deviceDetailUrl = $map['deviceDetailUrl']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['groupUuid'])) { $model->groupUuid = $map['groupUuid']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['roleUuid'])) { $model->roleUuid = $map['roleUuid']; } if (isset($map['status'])) { $model->status = $map['status']; } if (isset($map['typeUuid'])) { $model->typeUuid = $map['typeUuid']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceHeaders.php 0000644 00000002363 14713400346 0020201 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceRequest.php 0000644 00000007101 14713400346 0020251 0 ustar 00 'deviceCallbackUrl', 'deviceCategory' => 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceDetailUrl' => 'deviceDetailUrl', 'deviceName' => 'deviceName', 'introduction' => 'introduction', 'roleUuid' => 'roleUuid', 'typeUuid' => 'typeUuid', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCallbackUrl) { $res['deviceCallbackUrl'] = $this->deviceCallbackUrl; } if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceDetailUrl) { $res['deviceDetailUrl'] = $this->deviceDetailUrl; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->roleUuid) { $res['roleUuid'] = $this->roleUuid; } if (null !== $this->typeUuid) { $res['typeUuid'] = $this->typeUuid; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCallbackUrl'])) { $model->deviceCallbackUrl = $map['deviceCallbackUrl']; } if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceDetailUrl'])) { $model->deviceDetailUrl = $map['deviceDetailUrl']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['roleUuid'])) { $model->roleUuid = $map['roleUuid']; } if (isset($map['typeUuid'])) { $model->typeUuid = $map['typeUuid']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceResponse.php 0000644 00000003003 14713400346 0020414 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterAndActivateDeviceResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceResponseBody.php 0000644 00000002477 14713400346 0021250 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = null !== $this->result ? $this->result->toMap() : null; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RegisterAndActivateDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = result::fromMap($map['result']); } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/RegisterAndActivateDeviceResponseBody/result.php 0000644 00000007463 14713400346 0022566 0 ustar 00 'deviceCategory', 'deviceCode' => 'deviceCode', 'deviceDetailUrl' => 'deviceDetailUrl', 'deviceName' => 'deviceName', 'deviceUuid' => 'deviceUuid', 'introduction' => 'introduction', 'roleUuid' => 'roleUuid', 'typeUuid' => 'typeUuid', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCategory) { $res['deviceCategory'] = $this->deviceCategory; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceDetailUrl) { $res['deviceDetailUrl'] = $this->deviceDetailUrl; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->introduction) { $res['introduction'] = $this->introduction; } if (null !== $this->roleUuid) { $res['roleUuid'] = $this->roleUuid; } if (null !== $this->typeUuid) { $res['typeUuid'] = $this->typeUuid; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCategory'])) { $model->deviceCategory = $map['deviceCategory']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceDetailUrl'])) { $model->deviceDetailUrl = $map['deviceDetailUrl']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } if (isset($map['introduction'])) { $model->introduction = $map['introduction']; } if (isset($map['roleUuid'])) { $model->roleUuid = $map['roleUuid']; } if (isset($map['typeUuid'])) { $model->typeUuid = $map['typeUuid']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/devicemng_1_0/Models/RegisterDeviceHeaders.php 0000644 00000002335 14713400346 0016074 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RegisterDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/RegisterDeviceRequest.php 0000644 00000006214 14713400346 0016151 0 ustar 00 'collaborators', 'departmentId' => 'departmentId', 'description' => 'description', 'deviceKey' => 'deviceKey', 'deviceName' => 'deviceName', 'managers' => 'managers', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->collaborators) { $res['collaborators'] = $this->collaborators; } if (null !== $this->departmentId) { $res['departmentId'] = $this->departmentId; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->deviceKey) { $res['deviceKey'] = $this->deviceKey; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->managers) { $res['managers'] = $this->managers; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return RegisterDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['collaborators'])) { $model->collaborators = $map['collaborators']; } if (isset($map['departmentId'])) { $model->departmentId = $map['departmentId']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['deviceKey'])) { $model->deviceKey = $map['deviceKey']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['managers'])) { $model->managers = $map['managers']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/devicemng_1_0/Models/RegisterDeviceResponse.php 0000644 00000002727 14713400346 0016324 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RegisterDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RegisterDeviceResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/RegisterDeviceResponseBody.php 0000644 00000001567 14713400346 0017143 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return RegisterDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/devicemng_1_0/Models/RemoveDeviceFromGroupHeaders.php 0000644 00000002353 14713400346 0017406 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveDeviceFromGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/RemoveDeviceFromGroupRequest.php 0000644 00000004212 14713400346 0017457 0 ustar 00 'deviceCodes', 'deviceUuids' => 'deviceUuids', 'openConversationId' => 'openConversationId', 'operator' => 'operator', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCodes) { $res['deviceCodes'] = $this->deviceCodes; } if (null !== $this->deviceUuids) { $res['deviceUuids'] = $this->deviceUuids; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->operator) { $res['operator'] = $this->operator; } return $res; } /** * @param array $map * * @return RemoveDeviceFromGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCodes'])) { if (!empty($map['deviceCodes'])) { $model->deviceCodes = $map['deviceCodes']; } } if (isset($map['deviceUuids'])) { if (!empty($map['deviceUuids'])) { $model->deviceUuids = $map['deviceUuids']; } } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['operator'])) { $model->operator = $map['operator']; } return $model; } } src/devicemng_1_0/Models/RemoveDeviceFromGroupResponse.php 0000644 00000002763 14713400346 0017636 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveDeviceFromGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveDeviceFromGroupResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/RemoveDeviceFromGroupResponseBody.php 0000644 00000002144 14713400346 0020445 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RemoveDeviceFromGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/RemoveUserFromGroupHeaders.php 0000644 00000002347 14713400346 0017130 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return RemoveUserFromGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/RemoveUserFromGroupRequest.php 0000644 00000002540 14713400346 0017200 0 ustar 00 'openConversationId', 'userIds' => 'userIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userIds) { $res['userIds'] = $this->userIds; } return $res; } /** * @param array $map * * @return RemoveUserFromGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userIds'])) { if (!empty($map['userIds'])) { $model->userIds = $map['userIds']; } } return $model; } } src/devicemng_1_0/Models/RemoveUserFromGroupResponse.php 0000644 00000002753 14713400346 0017354 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return RemoveUserFromGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = RemoveUserFromGroupResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/RemoveUserFromGroupResponseBody.php 0000644 00000002140 14713400346 0020160 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return RemoveUserFromGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/SendCardHeaders.php 0000644 00000002321 14713400346 0014646 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/SendCardRequest.php 0000644 00000010005 14713400346 0014721 0 ustar 00 'bizId', 'cardData' => 'cardData', 'deviceCode' => 'deviceCode', 'deviceUuid' => 'deviceUuid', 'openConversationId' => 'openConversationId', 'partVisible' => 'partVisible', 'receivers' => 'receivers', 'templateId' => 'templateId', 'topbox' => 'topbox', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->partVisible) { $res['partVisible'] = $this->partVisible; } if (null !== $this->receivers) { $res['receivers'] = $this->receivers; } if (null !== $this->templateId) { $res['templateId'] = $this->templateId; } if (null !== $this->topbox) { $res['topbox'] = $this->topbox; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return SendCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['partVisible'])) { $model->partVisible = $map['partVisible']; } if (isset($map['receivers'])) { if (!empty($map['receivers'])) { $model->receivers = $map['receivers']; } } if (isset($map['templateId'])) { $model->templateId = $map['templateId']; } if (isset($map['topbox'])) { $model->topbox = $map['topbox']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/devicemng_1_0/Models/SendCardResponse.php 0000644 00000002677 14713400346 0015107 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendCardResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/SendCardResponseBody.php 0000644 00000002112 14713400346 0015705 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/SendMsgHeaders.php 0000644 00000002317 14713400346 0014530 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return SendMsgHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/SendMsgRequest.php 0000644 00000004360 14713400346 0014605 0 ustar 00 'content', 'deviceCode' => 'deviceCode', 'deviceUuid' => 'deviceUuid', 'openConversationId' => 'openConversationId', 'userList' => 'userList', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } if (null !== $this->userList) { $res['userList'] = $this->userList; } return $res; } /** * @param array $map * * @return SendMsgRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } if (isset($map['userList'])) { if (!empty($map['userList'])) { $model->userList = $map['userList']; } } return $model; } } src/devicemng_1_0/Models/SendMsgResponse.php 0000644 00000002673 14713400346 0014760 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return SendMsgResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = SendMsgResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/SendMsgResponseBody.php 0000644 00000002110 14713400346 0015560 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return SendMsgResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/UninstallDeviceRobotHeaders.php 0000644 00000002351 14713400346 0017265 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UninstallDeviceRobotHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/UninstallDeviceRobotRequest.php 0000644 00000002242 14713400346 0017341 0 ustar 00 'deviceCode', 'uuid' => 'uuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->uuid) { $res['uuid'] = $this->uuid; } return $res; } /** * @param array $map * * @return UninstallDeviceRobotRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['uuid'])) { $model->uuid = $map['uuid']; } return $model; } } src/devicemng_1_0/Models/UninstallDeviceRobotResponse.php 0000644 00000002757 14713400346 0017522 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UninstallDeviceRobotResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UninstallDeviceRobotResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/UninstallDeviceRobotResponseBody.php 0000644 00000002142 14713400346 0020324 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UninstallDeviceRobotResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/UpdateCardHeaders.php 0000644 00000002325 14713400346 0015203 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateCardHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/UpdateCardRequest.php 0000644 00000003213 14713400346 0015255 0 ustar 00 'bizId', 'cardData' => 'cardData', 'tips' => 'tips', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->bizId) { $res['bizId'] = $this->bizId; } if (null !== $this->cardData) { $res['cardData'] = $this->cardData; } if (null !== $this->tips) { $res['tips'] = null !== $this->tips ? $this->tips->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCardRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['bizId'])) { $model->bizId = $map['bizId']; } if (isset($map['cardData'])) { $model->cardData = $map['cardData']; } if (isset($map['tips'])) { $model->tips = tips::fromMap($map['tips']); } return $model; } } src/devicemng_1_0/Models/UpdateCardRequest/tips.php 0000644 00000002475 14713400346 0016245 0 ustar 00 'cids', 'content' => 'content', 'sender' => 'sender', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->cids) { $res['cids'] = $this->cids; } if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->sender) { $res['sender'] = $this->sender; } return $res; } /** * @param array $map * * @return tips */ public static function fromMap($map = []) { $model = new self(); if (isset($map['cids'])) { $model->cids = $map['cids']; } if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['sender'])) { $model->sender = $map['sender']; } return $model; } } src/devicemng_1_0/Models/UpdateCardResponse.php 0000644 00000002707 14713400346 0015432 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateCardResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateCardResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/UpdateCardResponseBody.php 0000644 00000002203 14713400346 0016237 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UpdateCardResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/devicemng_1_0/Models/UploadEventHeaders.php 0000644 00000002327 14713400346 0015417 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UploadEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/devicemng_1_0/Models/UploadEventRequest.php 0000644 00000005040 14713400346 0015467 0 ustar 00 'content', 'coverUrl' => 'coverUrl', 'deviceCode' => 'deviceCode', 'deviceUuid' => 'deviceUuid', 'eventTime' => 'eventTime', 'eventType' => 'eventType', 'level' => 'level', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->content) { $res['content'] = $this->content; } if (null !== $this->coverUrl) { $res['coverUrl'] = $this->coverUrl; } if (null !== $this->deviceCode) { $res['deviceCode'] = $this->deviceCode; } if (null !== $this->deviceUuid) { $res['deviceUuid'] = $this->deviceUuid; } if (null !== $this->eventTime) { $res['eventTime'] = $this->eventTime; } if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } if (null !== $this->level) { $res['level'] = $this->level; } return $res; } /** * @param array $map * * @return UploadEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['content'])) { $model->content = $map['content']; } if (isset($map['coverUrl'])) { $model->coverUrl = $map['coverUrl']; } if (isset($map['deviceCode'])) { $model->deviceCode = $map['deviceCode']; } if (isset($map['deviceUuid'])) { $model->deviceUuid = $map['deviceUuid']; } if (isset($map['eventTime'])) { $model->eventTime = $map['eventTime']; } if (isset($map['eventType'])) { $model->eventType = $map['eventType']; } if (isset($map['level'])) { $model->level = $map['level']; } return $model; } } src/devicemng_1_0/Models/UploadEventResponse.php 0000644 00000002713 14713400346 0015641 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UploadEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UploadEventResponseBody::fromMap($map['body']); } return $model; } } src/devicemng_1_0/Models/UploadEventResponseBody.php 0000644 00000002120 14713400346 0016447 0 ustar 00 'result', 'success' => 'success', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } if (null !== $this->success) { $res['success'] = $this->success; } return $res; } /** * @param array $map * * @return UploadEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } if (isset($map['success'])) { $model->success = $map['success']; } return $model; } } src/ding_phone_1_0/Dingtalk.php 0000644 00000020526 14713400346 0012361 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 添加外呼码号配置 * * * @param AddCallConfigRequest $request AddCallConfigRequest * @param AddCallConfigHeaders $headers AddCallConfigHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddCallConfigResponse AddCallConfigResponse */ public function addCallConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->isvToken)) { $query['isvToken'] = $request->isvToken; } if (!Utils::isUnset($request->phoneNumber)) { $query['phoneNumber'] = $request->phoneNumber; } if (!Utils::isUnset($request->scopeType)) { $query['scopeType'] = $request->scopeType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AddCallConfig', 'version' => 'dingPhone_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingPhone/callConfigs', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AddCallConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加外呼码号配置 * * * @param AddCallConfigRequest $request AddCallConfigRequest * * @return AddCallConfigResponse AddCallConfigResponse */ public function addCallConfig($request) { $runtime = new RuntimeOptions([]); $headers = new AddCallConfigHeaders([]); return $this->addCallConfigWithOptions($request, $headers, $runtime); } /** * @summary 删除码号配置 * * * @param DelCallConfigRequest $request DelCallConfigRequest * @param DelCallConfigHeaders $headers DelCallConfigHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DelCallConfigResponse DelCallConfigResponse */ public function delCallConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->isvToken)) { $query['isvToken'] = $request->isvToken; } if (!Utils::isUnset($request->phoneNumber)) { $query['phoneNumber'] = $request->phoneNumber; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'DelCallConfig', 'version' => 'dingPhone_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingPhone/callConfigs', 'method' => 'DELETE', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DelCallConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除码号配置 * * * @param DelCallConfigRequest $request DelCallConfigRequest * * @return DelCallConfigResponse DelCallConfigResponse */ public function delCallConfig($request) { $runtime = new RuntimeOptions([]); $headers = new DelCallConfigHeaders([]); return $this->delCallConfigWithOptions($request, $headers, $runtime); } /** * @summary 查询外呼码号配置 * * * @param QueryCallConfigRequest $request QueryCallConfigRequest * @param QueryCallConfigHeaders $headers QueryCallConfigHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryCallConfigResponse QueryCallConfigResponse */ public function queryCallConfigWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->isvToken)) { $query['isvToken'] = $request->isvToken; } if (!Utils::isUnset($request->phoneNumber)) { $query['phoneNumber'] = $request->phoneNumber; } if (!Utils::isUnset($request->scopeType)) { $query['scopeType'] = $request->scopeType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryCallConfig', 'version' => 'dingPhone_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingPhone/callConfigs', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryCallConfigResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询外呼码号配置 * * * @param QueryCallConfigRequest $request QueryCallConfigRequest * * @return QueryCallConfigResponse QueryCallConfigResponse */ public function queryCallConfig($request) { $runtime = new RuntimeOptions([]); $headers = new QueryCallConfigHeaders([]); return $this->queryCallConfigWithOptions($request, $headers, $runtime); } } src/ding_phone_1_0/Models/AddCallConfigHeaders.php 0000644 00000002334 14713400346 0015752 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddCallConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ding_phone_1_0/Models/AddCallConfigRequest.php 0000644 00000003613 14713400346 0016030 0 ustar 00 'corpId', 'isvToken' => 'isvToken', 'phoneNumber' => 'phoneNumber', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->isvToken) { $res['isvToken'] = $this->isvToken; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return AddCallConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['isvToken'])) { $model->isvToken = $map['isvToken']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/ding_phone_1_0/Models/AddCallConfigResponse.php 0000644 00000002724 14713400346 0016200 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddCallConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddCallConfigResponseBody::fromMap($map['body']); } return $model; } } src/ding_phone_1_0/Models/AddCallConfigResponseBody.php 0000644 00000001466 14713400346 0017020 0 ustar 00 'token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->token) { $res['token'] = $this->token; } return $res; } /** * @param array $map * * @return AddCallConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['token'])) { $model->token = $map['token']; } return $model; } } src/ding_phone_1_0/Models/DelCallConfigHeaders.php 0000644 00000002334 14713400346 0015766 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DelCallConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ding_phone_1_0/Models/DelCallConfigRequest.php 0000644 00000003015 14713400346 0016040 0 ustar 00 'corpId', 'isvToken' => 'isvToken', 'phoneNumber' => 'phoneNumber', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->isvToken) { $res['isvToken'] = $this->isvToken; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } return $res; } /** * @param array $map * * @return DelCallConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['isvToken'])) { $model->isvToken = $map['isvToken']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } return $model; } } src/ding_phone_1_0/Models/DelCallConfigResponse.php 0000644 00000002724 14713400346 0016214 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DelCallConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DelCallConfigResponseBody::fromMap($map['body']); } return $model; } } src/ding_phone_1_0/Models/DelCallConfigResponseBody.php 0000644 00000001475 14713400346 0017034 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return DelCallConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/ding_phone_1_0/Models/QueryCallConfigHeaders.php 0000644 00000002340 14713400346 0016364 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryCallConfigHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/ding_phone_1_0/Models/QueryCallConfigRequest.php 0000644 00000003527 14713400346 0016451 0 ustar 00 'corpId', 'isvToken' => 'isvToken', 'phoneNumber' => 'phoneNumber', 'scopeType' => 'scopeType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->isvToken) { $res['isvToken'] = $this->isvToken; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } return $res; } /** * @param array $map * * @return QueryCallConfigRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['isvToken'])) { $model->isvToken = $map['isvToken']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } return $model; } } src/ding_phone_1_0/Models/QueryCallConfigResponse.php 0000644 00000002734 14713400346 0016616 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryCallConfigResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryCallConfigResponseBody::fromMap($map['body']); } return $model; } } src/ding_phone_1_0/Models/QueryCallConfigResponseBody.php 0000644 00000002616 14713400346 0017433 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = []; if (null !== $this->result && \is_array($this->result)) { $n = 0; foreach ($this->result as $item) { $res['result'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return QueryCallConfigResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { if (!empty($map['result'])) { $model->result = []; $n = 0; foreach ($map['result'] as $item) { $model->result[$n++] = null !== $item ? result::fromMap($item) : $item; } } } return $model; } } src/ding_phone_1_0/Models/QueryCallConfigResponseBody/result.php 0000644 00000007015 14713400346 0020747 0 ustar 00 'accountDomain', 'accountId' => 'accountId', 'callInType' => 'callInType', 'callOutType' => 'callOutType', 'createUid' => 'createUid', 'phoneNumber' => 'phoneNumber', 'scopeType' => 'scopeType', 'showType' => 'showType', 'sourceType' => 'sourceType', 'status' => 'status', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->accountDomain) { $res['accountDomain'] = $this->accountDomain; } if (null !== $this->accountId) { $res['accountId'] = $this->accountId; } if (null !== $this->callInType) { $res['callInType'] = $this->callInType; } if (null !== $this->callOutType) { $res['callOutType'] = $this->callOutType; } if (null !== $this->createUid) { $res['createUid'] = $this->createUid; } if (null !== $this->phoneNumber) { $res['phoneNumber'] = $this->phoneNumber; } if (null !== $this->scopeType) { $res['scopeType'] = $this->scopeType; } if (null !== $this->showType) { $res['showType'] = $this->showType; } if (null !== $this->sourceType) { $res['sourceType'] = $this->sourceType; } if (null !== $this->status) { $res['status'] = $this->status; } return $res; } /** * @param array $map * * @return result */ public static function fromMap($map = []) { $model = new self(); if (isset($map['accountDomain'])) { $model->accountDomain = $map['accountDomain']; } if (isset($map['accountId'])) { $model->accountId = $map['accountId']; } if (isset($map['callInType'])) { $model->callInType = $map['callInType']; } if (isset($map['callOutType'])) { $model->callOutType = $map['callOutType']; } if (isset($map['createUid'])) { $model->createUid = $map['createUid']; } if (isset($map['phoneNumber'])) { $model->phoneNumber = $map['phoneNumber']; } if (isset($map['scopeType'])) { $model->scopeType = $map['scopeType']; } if (isset($map['showType'])) { $model->showType = $map['showType']; } if (isset($map['sourceType'])) { $model->sourceType = $map['sourceType']; } if (isset($map['status'])) { $model->status = $map['status']; } return $model; } } src/dingmi_1_0/Dingtalk.php 0000644 00000106122 14713400346 0011513 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary 添加智能客服机器人到钉钉群 * * * @param AddRobotInstanceToGroupRequest $request AddRobotInstanceToGroupRequest * @param AddRobotInstanceToGroupHeaders $headers AddRobotInstanceToGroupHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AddRobotInstanceToGroupResponse AddRobotInstanceToGroupResponse */ public function addRobotInstanceToGroupWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatbotId)) { $body['chatbotId'] = $request->chatbotId; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AddRobotInstanceToGroup', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/intelligentRobots/groups', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return AddRobotInstanceToGroupResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 添加智能客服机器人到钉钉群 * * * @param AddRobotInstanceToGroupRequest $request AddRobotInstanceToGroupRequest * * @return AddRobotInstanceToGroupResponse AddRobotInstanceToGroupResponse */ public function addRobotInstanceToGroup($request) { $runtime = new RuntimeOptions([]); $headers = new AddRobotInstanceToGroupHeaders([]); return $this->addRobotInstanceToGroupWithOptions($request, $headers, $runtime); } /** * @summary 调用小蜜机器人的问答能力 * * * @param AskRobotRequest $request AskRobotRequest * @param AskRobotHeaders $headers AskRobotHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AskRobotResponse AskRobotResponse */ public function askRobotWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->dingUserId)) { $body['dingUserId'] = $request->dingUserId; } if (!Utils::isUnset($request->question)) { $body['question'] = $request->question; } if (!Utils::isUnset($request->robotAppKey)) { $body['robotAppKey'] = $request->robotAppKey; } if (!Utils::isUnset($request->sessionUuid)) { $body['sessionUuid'] = $request->sessionUuid; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'AskRobot', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/robots/ask', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AskRobotResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 调用小蜜机器人的问答能力 * * * @param AskRobotRequest $request AskRobotRequest * * @return AskRobotResponse AskRobotResponse */ public function askRobot($request) { $runtime = new RuntimeOptions([]); $headers = new AskRobotHeaders([]); return $this->askRobotWithOptions($request, $headers, $runtime); } /** * @summary 小蜜机器人数据统计指标 * * * @param GetDingMeBaseDataRequest $request GetDingMeBaseDataRequest * @param GetDingMeBaseDataHeaders $headers GetDingMeBaseDataHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetDingMeBaseDataResponse GetDingMeBaseDataResponse */ public function getDingMeBaseDataWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->appKey)) { $query['appKey'] = $request->appKey; } if (!Utils::isUnset($request->byDay)) { $query['byDay'] = $request->byDay; } if (!Utils::isUnset($request->endDay)) { $query['endDay'] = $request->endDay; } if (!Utils::isUnset($request->startDay)) { $query['startDay'] = $request->startDay; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetDingMeBaseData', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/robots/data', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetDingMeBaseDataResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 小蜜机器人数据统计指标 * * * @param GetDingMeBaseDataRequest $request GetDingMeBaseDataRequest * * @return GetDingMeBaseDataResponse GetDingMeBaseDataResponse */ public function getDingMeBaseData($request) { $runtime = new RuntimeOptions([]); $headers = new GetDingMeBaseDataHeaders([]); return $this->getDingMeBaseDataWithOptions($request, $headers, $runtime); } /** * @summary 获取智能客服机器人信息 * * * @param GetIntelligentRobotInfoRequest $request GetIntelligentRobotInfoRequest * @param GetIntelligentRobotInfoHeaders $headers GetIntelligentRobotInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetIntelligentRobotInfoResponse GetIntelligentRobotInfoResponse */ public function getIntelligentRobotInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->robotAppKey)) { $query['robotAppKey'] = $request->robotAppKey; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetIntelligentRobotInfo', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/intelligentRobots/infos', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return GetIntelligentRobotInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取智能客服机器人信息 * * * @param GetIntelligentRobotInfoRequest $request GetIntelligentRobotInfoRequest * * @return GetIntelligentRobotInfoResponse GetIntelligentRobotInfoResponse */ public function getIntelligentRobotInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetIntelligentRobotInfoHeaders([]); return $this->getIntelligentRobotInfoWithOptions($request, $headers, $runtime); } /** * @summary 获取服务窗机器人信息 * * * @param GetOfficialAccountRobotInfoRequest $request GetOfficialAccountRobotInfoRequest * @param GetOfficialAccountRobotInfoHeaders $headers GetOfficialAccountRobotInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetOfficialAccountRobotInfoResponse GetOfficialAccountRobotInfoResponse */ public function getOfficialAccountRobotInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'GetOfficialAccountRobotInfo', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/officialAccounts/robots', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetOfficialAccountRobotInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 获取服务窗机器人信息 * * * @param GetOfficialAccountRobotInfoRequest $request GetOfficialAccountRobotInfoRequest * * @return GetOfficialAccountRobotInfoResponse GetOfficialAccountRobotInfoResponse */ public function getOfficialAccountRobotInfo($request) { $runtime = new RuntimeOptions([]); $headers = new GetOfficialAccountRobotInfoHeaders([]); return $this->getOfficialAccountRobotInfoWithOptions($request, $headers, $runtime); } /** * @summary 小蜜客服网页渠道获取三方用户token * * * @param GetWebChannelUserTokenRequest $request GetWebChannelUserTokenRequest * @param GetWebChannelUserTokenHeaders $headers GetWebChannelUserTokenHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return GetWebChannelUserTokenResponse GetWebChannelUserTokenResponse */ public function getWebChannelUserTokenWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->foreignId)) { $body['foreignId'] = $request->foreignId; } if (!Utils::isUnset($request->nick)) { $body['nick'] = $request->nick; } if (!Utils::isUnset($request->source)) { $body['source'] = $request->source; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'GetWebChannelUserToken', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/webChannels/userTokens', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return GetWebChannelUserTokenResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 小蜜客服网页渠道获取三方用户token * * * @param GetWebChannelUserTokenRequest $request GetWebChannelUserTokenRequest * * @return GetWebChannelUserTokenResponse GetWebChannelUserTokenResponse */ public function getWebChannelUserToken($request) { $runtime = new RuntimeOptions([]); $headers = new GetWebChannelUserTokenHeaders([]); return $this->getWebChannelUserTokenWithOptions($request, $headers, $runtime); } /** * @summary 通过小蜜机器人在客户群内推送消息 * * * @param PushCustomerGroupMessageRequest $request PushCustomerGroupMessageRequest * @param PushCustomerGroupMessageHeaders $headers PushCustomerGroupMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushCustomerGroupMessageResponse PushCustomerGroupMessageResponse */ public function pushCustomerGroupMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->conversationId)) { $body['conversationId'] = $request->conversationId; } if (!Utils::isUnset($request->msgKey)) { $body['msgKey'] = $request->msgKey; } if (!Utils::isUnset($request->msgParam)) { $body['msgParam'] = $request->msgParam; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushCustomerGroupMessage', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/officialAccounts/robots/groupMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushCustomerGroupMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过小蜜机器人在客户群内推送消息 * * * @param PushCustomerGroupMessageRequest $request PushCustomerGroupMessageRequest * * @return PushCustomerGroupMessageResponse PushCustomerGroupMessageResponse */ public function pushCustomerGroupMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushCustomerGroupMessageHeaders([]); return $this->pushCustomerGroupMessageWithOptions($request, $headers, $runtime); } /** * @summary 推送智能客服机器人钉钉群聊消息 * * * @param PushIntelligentRobotGroupMessageRequest $request PushIntelligentRobotGroupMessageRequest * @param PushIntelligentRobotGroupMessageHeaders $headers PushIntelligentRobotGroupMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushIntelligentRobotGroupMessageResponse PushIntelligentRobotGroupMessageResponse */ public function pushIntelligentRobotGroupMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatbotId)) { $body['chatbotId'] = $request->chatbotId; } if (!Utils::isUnset($request->msgKey)) { $body['msgKey'] = $request->msgKey; } if (!Utils::isUnset($request->msgParam)) { $body['msgParam'] = $request->msgParam; } if (!Utils::isUnset($request->openConversationId)) { $body['openConversationId'] = $request->openConversationId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushIntelligentRobotGroupMessage', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/intelligentRobots/groupMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushIntelligentRobotGroupMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 推送智能客服机器人钉钉群聊消息 * * * @param PushIntelligentRobotGroupMessageRequest $request PushIntelligentRobotGroupMessageRequest * * @return PushIntelligentRobotGroupMessageResponse PushIntelligentRobotGroupMessageResponse */ public function pushIntelligentRobotGroupMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushIntelligentRobotGroupMessageHeaders([]); return $this->pushIntelligentRobotGroupMessageWithOptions($request, $headers, $runtime); } /** * @summary 智能客服机器人推送消息 * * * @param PushIntelligentRobotMessageRequest $request PushIntelligentRobotMessageRequest * @param PushIntelligentRobotMessageHeaders $headers PushIntelligentRobotMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushIntelligentRobotMessageResponse PushIntelligentRobotMessageResponse */ public function pushIntelligentRobotMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatbotId)) { $body['chatbotId'] = $request->chatbotId; } if (!Utils::isUnset($request->msgKey)) { $body['msgKey'] = $request->msgKey; } if (!Utils::isUnset($request->msgParam)) { $body['msgParam'] = $request->msgParam; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushIntelligentRobotMessage', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/intelligentRobots/oToMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushIntelligentRobotMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 智能客服机器人推送消息 * * * @param PushIntelligentRobotMessageRequest $request PushIntelligentRobotMessageRequest * * @return PushIntelligentRobotMessageResponse PushIntelligentRobotMessageResponse */ public function pushIntelligentRobotMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushIntelligentRobotMessageHeaders([]); return $this->pushIntelligentRobotMessageWithOptions($request, $headers, $runtime); } /** * @summary 通过服务窗机器人推送单聊消息 * * * @param PushOfficialAccountMessageRequest $request PushOfficialAccountMessageRequest * @param PushOfficialAccountMessageHeaders $headers PushOfficialAccountMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushOfficialAccountMessageResponse PushOfficialAccountMessageResponse */ public function pushOfficialAccountMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->msgKey)) { $body['msgKey'] = $request->msgKey; } if (!Utils::isUnset($request->msgParam)) { $body['msgParam'] = $request->msgParam; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushOfficialAccountMessage', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/officialAccounts/robots/oToMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushOfficialAccountMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过服务窗机器人推送单聊消息 * * * @param PushOfficialAccountMessageRequest $request PushOfficialAccountMessageRequest * * @return PushOfficialAccountMessageResponse PushOfficialAccountMessageResponse */ public function pushOfficialAccountMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushOfficialAccountMessageHeaders([]); return $this->pushOfficialAccountMessageWithOptions($request, $headers, $runtime); } /** * @summary 通过小蜜客服机器人推送单聊消息 * * * @param PushRobotMessageRequest $request PushRobotMessageRequest * @param PushRobotMessageHeaders $headers PushRobotMessageHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushRobotMessageResponse PushRobotMessageResponse */ public function pushRobotMessageWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->chatbotId)) { $body['chatbotId'] = $request->chatbotId; } if (!Utils::isUnset($request->msgKey)) { $body['msgKey'] = $request->msgKey; } if (!Utils::isUnset($request->msgParam)) { $body['msgParam'] = $request->msgParam; } if (!Utils::isUnset($request->userId)) { $body['userId'] = $request->userId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushRobotMessage', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/robots/oToMessages/send', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushRobotMessageResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 通过小蜜客服机器人推送单聊消息 * * * @param PushRobotMessageRequest $request PushRobotMessageRequest * * @return PushRobotMessageResponse PushRobotMessageResponse */ public function pushRobotMessage($request) { $runtime = new RuntimeOptions([]); $headers = new PushRobotMessageHeaders([]); return $this->pushRobotMessageWithOptions($request, $headers, $runtime); } /** * @summary 异步回复机器人消息 * * * @param ReplyRobotRequest $request ReplyRobotRequest * @param ReplyRobotHeaders $headers ReplyRobotHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return ReplyRobotResponse ReplyRobotResponse */ public function replyRobotWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->proxyMessageStr)) { $body['proxyMessageStr'] = $request->proxyMessageStr; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'ReplyRobot', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/robots/reply', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'json', 'bodyType' => 'json', ]); return ReplyRobotResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 异步回复机器人消息 * * * @param ReplyRobotRequest $request ReplyRobotRequest * * @return ReplyRobotResponse ReplyRobotResponse */ public function replyRobot($request) { $runtime = new RuntimeOptions([]); $headers = new ReplyRobotHeaders([]); return $this->replyRobotWithOptions($request, $headers, $runtime); } /** * @summary 更新服务窗机器人信息 * * * @param UpdateOfficialAccountRobotInfoRequest $request UpdateOfficialAccountRobotInfoRequest * @param UpdateOfficialAccountRobotInfoHeaders $headers UpdateOfficialAccountRobotInfoHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpdateOfficialAccountRobotInfoResponse UpdateOfficialAccountRobotInfoResponse */ public function updateOfficialAccountRobotInfoWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->type)) { $query['type'] = $request->type; } $body = []; if (!Utils::isUnset($request->avatar)) { $body['avatar'] = $request->avatar; } if (!Utils::isUnset($request->brief)) { $body['brief'] = $request->brief; } if (!Utils::isUnset($request->description)) { $body['description'] = $request->description; } if (!Utils::isUnset($request->name)) { $body['name'] = $request->name; } if (!Utils::isUnset($request->previewMediaUrl)) { $body['previewMediaUrl'] = $request->previewMediaUrl; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'UpdateOfficialAccountRobotInfo', 'version' => 'dingmi_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/dingmi/officialAccounts/robots', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpdateOfficialAccountRobotInfoResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 更新服务窗机器人信息 * * * @param UpdateOfficialAccountRobotInfoRequest $request UpdateOfficialAccountRobotInfoRequest * * @return UpdateOfficialAccountRobotInfoResponse UpdateOfficialAccountRobotInfoResponse */ public function updateOfficialAccountRobotInfo($request) { $runtime = new RuntimeOptions([]); $headers = new UpdateOfficialAccountRobotInfoHeaders([]); return $this->updateOfficialAccountRobotInfoWithOptions($request, $headers, $runtime); } } src/dingmi_1_0/Models/AddRobotInstanceToGroupHeaders.php 0000644 00000002354 14713400346 0017202 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AddRobotInstanceToGroupHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/AddRobotInstanceToGroupRequest.php 0000644 00000002617 14713400346 0017261 0 ustar 00 'chatbotId', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatbotId) { $res['chatbotId'] = $this->chatbotId; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return AddRobotInstanceToGroupRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatbotId'])) { $model->chatbotId = $map['chatbotId']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/dingmi_1_0/Models/AddRobotInstanceToGroupResponse.php 0000644 00000002770 14713400346 0017427 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AddRobotInstanceToGroupResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AddRobotInstanceToGroupResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/AddRobotInstanceToGroupResponseBody.php 0000644 00000001551 14713400346 0020241 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AddRobotInstanceToGroupResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/AskRobotHeaders.php 0000644 00000002316 14713400346 0014221 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return AskRobotHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/AskRobotRequest.php 0000644 00000003702 14713400346 0014276 0 ustar 00 'dingUserId', 'question' => 'question', 'robotAppKey' => 'robotAppKey', 'sessionUuid' => 'sessionUuid', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->dingUserId) { $res['dingUserId'] = $this->dingUserId; } if (null !== $this->question) { $res['question'] = $this->question; } if (null !== $this->robotAppKey) { $res['robotAppKey'] = $this->robotAppKey; } if (null !== $this->sessionUuid) { $res['sessionUuid'] = $this->sessionUuid; } return $res; } /** * @param array $map * * @return AskRobotRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['dingUserId'])) { $model->dingUserId = $map['dingUserId']; } if (isset($map['question'])) { $model->question = $map['question']; } if (isset($map['robotAppKey'])) { $model->robotAppKey = $map['robotAppKey']; } if (isset($map['sessionUuid'])) { $model->sessionUuid = $map['sessionUuid']; } return $model; } } src/dingmi_1_0/Models/AskRobotResponse.php 0000644 00000002674 14713400346 0014453 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AskRobotResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AskRobotResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/AskRobotResponseBody.php 0000644 00000001743 14713400346 0015265 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AskRobotResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/GetDingMeBaseDataHeaders.php 0000644 00000002340 14713400346 0015662 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetDingMeBaseDataHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/GetDingMeBaseDataRequest.php 0000644 00000003712 14713400346 0015743 0 ustar 00 'appKey', 'byDay' => 'byDay', 'endDay' => 'endDay', 'startDay' => 'startDay', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appKey) { $res['appKey'] = $this->appKey; } if (null !== $this->byDay) { $res['byDay'] = $this->byDay; } if (null !== $this->endDay) { $res['endDay'] = $this->endDay; } if (null !== $this->startDay) { $res['startDay'] = $this->startDay; } return $res; } /** * @param array $map * * @return GetDingMeBaseDataRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appKey'])) { $model->appKey = $map['appKey']; } if (isset($map['byDay'])) { $model->byDay = $map['byDay']; } if (isset($map['endDay'])) { $model->endDay = $map['endDay']; } if (isset($map['startDay'])) { $model->startDay = $map['startDay']; } return $model; } } src/dingmi_1_0/Models/GetDingMeBaseDataResponse.php 0000644 00000002740 14713400346 0016111 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetDingMeBaseDataResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetDingMeBaseDataResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/GetDingMeBaseDataResponseBody.php 0000644 00000003641 14713400346 0016730 0 ustar 00 'fromCache', 'rawset' => 'rawset', 'runtime' => 'runtime', 'tips' => 'tips', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->fromCache) { $res['fromCache'] = $this->fromCache; } if (null !== $this->rawset) { $res['rawset'] = $this->rawset; } if (null !== $this->runtime) { $res['runtime'] = $this->runtime; } if (null !== $this->tips) { $res['tips'] = $this->tips; } return $res; } /** * @param array $map * * @return GetDingMeBaseDataResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['fromCache'])) { $model->fromCache = $map['fromCache']; } if (isset($map['rawset'])) { if (!empty($map['rawset'])) { $model->rawset = $map['rawset']; } } if (isset($map['runtime'])) { $model->runtime = $map['runtime']; } if (isset($map['tips'])) { $model->tips = $map['tips']; } return $model; } } src/dingmi_1_0/Models/GetIntelligentRobotInfoHeaders.php 0000644 00000002354 14713400346 0017237 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetIntelligentRobotInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/GetIntelligentRobotInfoRequest.php 0000644 00000001711 14713400346 0017310 0 ustar 00 'robotAppKey', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->robotAppKey) { $res['robotAppKey'] = $this->robotAppKey; } return $res; } /** * @param array $map * * @return GetIntelligentRobotInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['robotAppKey'])) { $model->robotAppKey = $map['robotAppKey']; } return $model; } } src/dingmi_1_0/Models/GetIntelligentRobotInfoResponse.php 0000644 00000002770 14713400346 0017464 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetIntelligentRobotInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetIntelligentRobotInfoResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/GetIntelligentRobotInfoResponseBody.php 0000644 00000001557 14713400346 0020304 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetIntelligentRobotInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/GetOfficialAccountRobotInfoHeaders.php 0000644 00000002364 14713400346 0020013 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetOfficialAccountRobotInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/GetOfficialAccountRobotInfoRequest.php 0000644 00000001724 14713400346 0020067 0 ustar 00 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return GetOfficialAccountRobotInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/dingmi_1_0/Models/GetOfficialAccountRobotInfoResponse.php 0000644 00000003010 14713400346 0020223 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetOfficialAccountRobotInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetOfficialAccountRobotInfoResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/GetOfficialAccountRobotInfoResponseBody.php 0000644 00000005520 14713400346 0021051 0 ustar 00 'appId', 'brief' => 'brief', 'description' => 'description', 'icon' => 'icon', 'name' => 'name', 'previewMediaUrl' => 'previewMediaUrl', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->appId) { $res['appId'] = $this->appId; } if (null !== $this->brief) { $res['brief'] = $this->brief; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->icon) { $res['icon'] = $this->icon; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->previewMediaUrl) { $res['previewMediaUrl'] = $this->previewMediaUrl; } return $res; } /** * @param array $map * * @return GetOfficialAccountRobotInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['appId'])) { $model->appId = $map['appId']; } if (isset($map['brief'])) { $model->brief = $map['brief']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['icon'])) { $model->icon = $map['icon']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['previewMediaUrl'])) { $model->previewMediaUrl = $map['previewMediaUrl']; } return $model; } } src/dingmi_1_0/Models/GetWebChannelUserTokenHeaders.php 0000644 00000002352 14713400346 0017003 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return GetWebChannelUserTokenHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/GetWebChannelUserTokenRequest.php 0000644 00000003154 14713400346 0017061 0 ustar 00 'foreignId', 'nick' => 'nick', 'source' => 'source', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->foreignId) { $res['foreignId'] = $this->foreignId; } if (null !== $this->nick) { $res['nick'] = $this->nick; } if (null !== $this->source) { $res['source'] = $this->source; } return $res; } /** * @param array $map * * @return GetWebChannelUserTokenRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['foreignId'])) { $model->foreignId = $map['foreignId']; } if (isset($map['nick'])) { $model->nick = $map['nick']; } if (isset($map['source'])) { $model->source = $map['source']; } return $model; } } src/dingmi_1_0/Models/GetWebChannelUserTokenResponse.php 0000644 00000002764 14713400346 0017235 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return GetWebChannelUserTokenResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = GetWebChannelUserTokenResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/GetWebChannelUserTokenResponseBody.php 0000644 00000001515 14713400346 0020044 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return GetWebChannelUserTokenResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/PushCustomerGroupMessageHeaders.php 0000644 00000002356 14713400346 0017464 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushCustomerGroupMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/PushCustomerGroupMessageRequest.php 0000644 00000003437 14713400346 0017542 0 ustar 00 'conversationId', 'msgKey' => 'msgKey', 'msgParam' => 'msgParam', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conversationId) { $res['conversationId'] = $this->conversationId; } if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } return $res; } /** * @param array $map * * @return PushCustomerGroupMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conversationId'])) { $model->conversationId = $map['conversationId']; } if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } return $model; } } src/dingmi_1_0/Models/PushCustomerGroupMessageResponse.php 0000644 00000002774 14713400346 0017713 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushCustomerGroupMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushCustomerGroupMessageResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/PushCustomerGroupMessageResponseBody.php 0000644 00000001650 14713400346 0020521 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PushCustomerGroupMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotGroupMessageHeaders.php 0000644 00000002376 14713400346 0021151 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushIntelligentRobotGroupMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotGroupMessageRequest.php 0000644 00000004344 14713400346 0021223 0 ustar 00 'chatbotId', 'msgKey' => 'msgKey', 'msgParam' => 'msgParam', 'openConversationId' => 'openConversationId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatbotId) { $res['chatbotId'] = $this->chatbotId; } if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } if (null !== $this->openConversationId) { $res['openConversationId'] = $this->openConversationId; } return $res; } /** * @param array $map * * @return PushIntelligentRobotGroupMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatbotId'])) { $model->chatbotId = $map['chatbotId']; } if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } if (isset($map['openConversationId'])) { $model->openConversationId = $map['openConversationId']; } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotGroupMessageResponse.php 0000644 00000003034 14713400346 0021364 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushIntelligentRobotGroupMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushIntelligentRobotGroupMessageResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotGroupMessageResponseBody.php 0000644 00000001575 14713400346 0022212 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PushIntelligentRobotGroupMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotMessageHeaders.php 0000644 00000002364 14713400346 0020131 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushIntelligentRobotMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotMessageRequest.php 0000644 00000004127 14713400346 0020205 0 ustar 00 'chatbotId', 'msgKey' => 'msgKey', 'msgParam' => 'msgParam', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatbotId) { $res['chatbotId'] = $this->chatbotId; } if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PushIntelligentRobotMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatbotId'])) { $model->chatbotId = $map['chatbotId']; } if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotMessageResponse.php 0000644 00000003010 14713400346 0020341 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushIntelligentRobotMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushIntelligentRobotMessageResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/PushIntelligentRobotMessageResponseBody.php 0000644 00000001563 14713400346 0021172 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PushIntelligentRobotMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/PushOfficialAccountMessageHeaders.php 0000644 00000002362 14713400346 0017674 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushOfficialAccountMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/PushOfficialAccountMessageRequest.php 0000644 00000003323 14713400346 0017747 0 ustar 00 'msgKey', 'msgParam' => 'msgParam', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PushOfficialAccountMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/dingmi_1_0/Models/PushOfficialAccountMessageResponse.php 0000644 00000003004 14713400346 0020111 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushOfficialAccountMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushOfficialAccountMessageResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/PushOfficialAccountMessageResponseBody.php 0000644 00000001654 14713400346 0020740 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PushOfficialAccountMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/PushRobotMessageHeaders.php 0000644 00000002336 14713400346 0015731 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushRobotMessageHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/PushRobotMessageRequest.php 0000644 00000004076 14713400346 0016011 0 ustar 00 'chatbotId', 'msgKey' => 'msgKey', 'msgParam' => 'msgParam', 'userId' => 'userId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->chatbotId) { $res['chatbotId'] = $this->chatbotId; } if (null !== $this->msgKey) { $res['msgKey'] = $this->msgKey; } if (null !== $this->msgParam) { $res['msgParam'] = $this->msgParam; } if (null !== $this->userId) { $res['userId'] = $this->userId; } return $res; } /** * @param array $map * * @return PushRobotMessageRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['chatbotId'])) { $model->chatbotId = $map['chatbotId']; } if (isset($map['msgKey'])) { $model->msgKey = $map['msgKey']; } if (isset($map['msgParam'])) { $model->msgParam = $map['msgParam']; } if (isset($map['userId'])) { $model->userId = $map['userId']; } return $model; } } src/dingmi_1_0/Models/PushRobotMessageResponse.php 0000644 00000002734 14713400346 0016156 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushRobotMessageResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushRobotMessageResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/PushRobotMessageResponseBody.php 0000644 00000001536 14713400346 0016773 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return PushRobotMessageResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/ReplyRobotHeaders.php 0000644 00000002322 14713400346 0014573 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return ReplyRobotHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/ReplyRobotRequest.php 0000644 00000002112 14713400346 0014645 0 ustar 00 'proxyMessageStr', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->proxyMessageStr) { $res['proxyMessageStr'] = $this->proxyMessageStr; } return $res; } /** * @param array $map * * @return ReplyRobotRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['proxyMessageStr'])) { $model->proxyMessageStr = $map['proxyMessageStr']; } return $model; } } src/dingmi_1_0/Models/ReplyRobotResponse.php 0000644 00000002704 14713400346 0015022 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return ReplyRobotResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = ReplyRobotResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/ReplyRobotResponseBody.php 0000644 00000001517 14713400346 0015641 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return ReplyRobotResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/dingmi_1_0/Models/UpdateOfficialAccountRobotInfoHeaders.php 0000644 00000002372 14713400346 0020515 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return UpdateOfficialAccountRobotInfoHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/dingmi_1_0/Models/UpdateOfficialAccountRobotInfoRequest.php 0000644 00000005636 14713400346 0020600 0 ustar 00 'avatar', 'brief' => 'brief', 'description' => 'description', 'name' => 'name', 'previewMediaUrl' => 'previewMediaUrl', 'type' => 'type', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->avatar) { $res['avatar'] = $this->avatar; } if (null !== $this->brief) { $res['brief'] = $this->brief; } if (null !== $this->description) { $res['description'] = $this->description; } if (null !== $this->name) { $res['name'] = $this->name; } if (null !== $this->previewMediaUrl) { $res['previewMediaUrl'] = $this->previewMediaUrl; } if (null !== $this->type) { $res['type'] = $this->type; } return $res; } /** * @param array $map * * @return UpdateOfficialAccountRobotInfoRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['avatar'])) { $model->avatar = $map['avatar']; } if (isset($map['brief'])) { $model->brief = $map['brief']; } if (isset($map['description'])) { $model->description = $map['description']; } if (isset($map['name'])) { $model->name = $map['name']; } if (isset($map['previewMediaUrl'])) { $model->previewMediaUrl = $map['previewMediaUrl']; } if (isset($map['type'])) { $model->type = $map['type']; } return $model; } } src/dingmi_1_0/Models/UpdateOfficialAccountRobotInfoResponse.php 0000644 00000003024 14713400346 0020733 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return UpdateOfficialAccountRobotInfoResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = UpdateOfficialAccountRobotInfoResponseBody::fromMap($map['body']); } return $model; } } src/dingmi_1_0/Models/UpdateOfficialAccountRobotInfoResponseBody.php 0000644 00000001663 14713400346 0021560 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return UpdateOfficialAccountRobotInfoResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/diot_1_0/Dingtalk.php 0000644 00000117673 14713400346 0011220 0 ustar 00 _productId = 'dingtalk'; $gatewayClient = new Client(); $this->_spi = $gatewayClient; $this->_endpointRule = ''; if (Utils::empty_($this->_endpoint)) { $this->_endpoint = 'api.dingtalk.com'; } } /** * @summary openAPI录入上线前的测试2 * * * @param AyunOnlienTestRequest $request AyunOnlienTestRequest * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return AyunOnlienTestResponse AyunOnlienTestResponse */ public function ayunOnlienTestWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->reqId)) { $query['reqId'] = $request->reqId; } $req = new OpenApiRequest([ 'headers' => $headers, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'AyunOnlienTest', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/ayunTest', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return AyunOnlienTestResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary openAPI录入上线前的测试2 * * * @param AyunOnlienTestRequest $request AyunOnlienTestRequest * * @return AyunOnlienTestResponse AyunOnlienTestResponse */ public function ayunOnlienTest($request) { $runtime = new RuntimeOptions([]); $headers = []; return $this->ayunOnlienTestWithOptions($request, $headers, $runtime); } /** * @summary 删除设备 * * * @param BatchDeleteDeviceRequest $request BatchDeleteDeviceRequest * @param BatchDeleteDeviceHeaders $headers BatchDeleteDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchDeleteDeviceResponse BatchDeleteDeviceResponse */ public function batchDeleteDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deviceIds)) { $body['deviceIds'] = $request->deviceIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchDeleteDevice', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/devices/remove', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchDeleteDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 删除设备 * * * @param BatchDeleteDeviceRequest $request BatchDeleteDeviceRequest * * @return BatchDeleteDeviceResponse BatchDeleteDeviceResponse */ public function batchDeleteDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchDeleteDeviceHeaders([]); return $this->batchDeleteDeviceWithOptions($request, $headers, $runtime); } /** * @summary 批量注册设备 * * * @param BatchRegisterDeviceRequest $request BatchRegisterDeviceRequest * @param BatchRegisterDeviceHeaders $headers BatchRegisterDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchRegisterDeviceResponse BatchRegisterDeviceResponse */ public function batchRegisterDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->devices)) { $body['devices'] = $request->devices; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRegisterDevice', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/devices/registrations/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchRegisterDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量注册设备 * * * @param BatchRegisterDeviceRequest $request BatchRegisterDeviceRequest * * @return BatchRegisterDeviceResponse BatchRegisterDeviceResponse */ public function batchRegisterDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRegisterDeviceHeaders([]); return $this->batchRegisterDeviceWithOptions($request, $headers, $runtime); } /** * @summary 批量注册事件类型 * * * @param BatchRegisterEventTypeRequest $request BatchRegisterEventTypeRequest * @param BatchRegisterEventTypeHeaders $headers BatchRegisterEventTypeHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchRegisterEventTypeResponse BatchRegisterEventTypeResponse */ public function batchRegisterEventTypeWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->eventTypes)) { $body['eventTypes'] = $request->eventTypes; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchRegisterEventType', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/eventTypes/registrations/batch', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchRegisterEventTypeResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量注册事件类型 * * * @param BatchRegisterEventTypeRequest $request BatchRegisterEventTypeRequest * * @return BatchRegisterEventTypeResponse BatchRegisterEventTypeResponse */ public function batchRegisterEventType($request) { $runtime = new RuntimeOptions([]); $headers = new BatchRegisterEventTypeHeaders([]); return $this->batchRegisterEventTypeWithOptions($request, $headers, $runtime); } /** * @summary 批量修改设备 * * * @param BatchUpdateDeviceRequest $request BatchUpdateDeviceRequest * @param BatchUpdateDeviceHeaders $headers BatchUpdateDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BatchUpdateDeviceResponse BatchUpdateDeviceResponse */ public function batchUpdateDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->devices)) { $body['devices'] = $request->devices; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BatchUpdateDevice', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/devices/batch', 'method' => 'PUT', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BatchUpdateDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 批量修改设备 * * * @param BatchUpdateDeviceRequest $request BatchUpdateDeviceRequest * * @return BatchUpdateDeviceResponse BatchUpdateDeviceResponse */ public function batchUpdateDevice($request) { $runtime = new RuntimeOptions([]); $headers = new BatchUpdateDeviceHeaders([]); return $this->batchUpdateDeviceWithOptions($request, $headers, $runtime); } /** * @summary 系统绑定 * * * @param BindSystemRequest $request BindSystemRequest * @param BindSystemHeaders $headers BindSystemHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return BindSystemResponse BindSystemResponse */ public function bindSystemWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->authCode)) { $body['authCode'] = $request->authCode; } if (!Utils::isUnset($request->clientId)) { $body['clientId'] = $request->clientId; } if (!Utils::isUnset($request->clientName)) { $body['clientName'] = $request->clientName; } if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->extraData)) { $body['extraData'] = $request->extraData; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'BindSystem', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/systems/bind', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return BindSystemResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 系统绑定 * * * @param BindSystemRequest $request BindSystemRequest * * @return BindSystemResponse BindSystemResponse */ public function bindSystem($request) { $runtime = new RuntimeOptions([]); $headers = new BindSystemHeaders([]); return $this->bindSystemWithOptions($request, $headers, $runtime); } /** * @summary 发起设备会议 * * * @param DeviceConferenceRequest $request DeviceConferenceRequest * @param DeviceConferenceHeaders $headers DeviceConferenceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DeviceConferenceResponse DeviceConferenceResponse */ public function deviceConferenceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->confTitle)) { $body['confTitle'] = $request->confTitle; } if (!Utils::isUnset($request->conferenceId)) { $body['conferenceId'] = $request->conferenceId; } if (!Utils::isUnset($request->conferencePassword)) { $body['conferencePassword'] = $request->conferencePassword; } if (!Utils::isUnset($request->deviceIds)) { $body['deviceIds'] = $request->deviceIds; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'DeviceConference', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/deviceConferences/initiate', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DeviceConferenceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 发起设备会议 * * * @param DeviceConferenceRequest $request DeviceConferenceRequest * * @return DeviceConferenceResponse DeviceConferenceResponse */ public function deviceConference($request) { $runtime = new RuntimeOptions([]); $headers = new DeviceConferenceHeaders([]); return $this->deviceConferenceWithOptions($request, $headers, $runtime); } /** * @summary 钉钉物联Mama接口 * * * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DiotMamaResponse DiotMamaResponse */ public function diotMamaWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'DiotMama', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DiotMamaResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary 钉钉物联Mama接口 * * * @return DiotMamaResponse DiotMamaResponse */ public function diotMama() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diotMamaWithOptions($headers, $runtime); } /** * @summary diot官方市场处理 * * * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DiotMarketManagerTestResponse DiotMarketManagerTestResponse */ public function diotMarketManagerTestWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'DiotMarketManagerTest', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/market/manager/test', 'method' => 'PUT', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DiotMarketManagerTestResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary diot官方市场处理 * * * @return DiotMarketManagerTestResponse DiotMarketManagerTestResponse */ public function diotMarketManagerTest() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diotMarketManagerTestWithOptions($headers, $runtime); } /** * @summary 钉钉物联系统测试 * * * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DiotSystemMarkTestResponse DiotSystemMarkTestResponse */ public function diotSystemMarkTestWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'DiotSystemMarkTest', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/sys/mark/test', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DiotSystemMarkTestResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary 钉钉物联系统测试 * * * @return DiotSystemMarkTestResponse DiotSystemMarkTestResponse */ public function diotSystemMarkTest() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diotSystemMarkTestWithOptions($headers, $runtime); } /** * @summary 钉钉物联市场管理 * * * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return DiotMarketManagerResponse DiotMarketManagerResponse */ public function diot_Market_ManagerWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'Diot_Market_Manager', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/market/manager', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return DiotMarketManagerResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary 钉钉物联市场管理 * * * @return DiotMarketManagerResponse DiotMarketManagerResponse */ public function diot_Market_Manager() { $runtime = new RuntimeOptions([]); $headers = []; return $this->diot_Market_ManagerWithOptions($headers, $runtime); } /** * @summary 推送事件 * * * @param PushEventRequest $request PushEventRequest * @param PushEventHeaders $headers PushEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return PushEventResponse PushEventResponse */ public function pushEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deviceId)) { $body['deviceId'] = $request->deviceId; } if (!Utils::isUnset($request->eventId)) { $body['eventId'] = $request->eventId; } if (!Utils::isUnset($request->eventName)) { $body['eventName'] = $request->eventName; } if (!Utils::isUnset($request->eventType)) { $body['eventType'] = $request->eventType; } if (!Utils::isUnset($request->extraData)) { $body['extraData'] = $request->extraData; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->msg)) { $body['msg'] = $request->msg; } if (!Utils::isUnset($request->occurrenceTime)) { $body['occurrenceTime'] = $request->occurrenceTime; } if (!Utils::isUnset($request->picUrls)) { $body['picUrls'] = $request->picUrls; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'PushEvent', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/events/push', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return PushEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 推送事件 * * * @param PushEventRequest $request PushEventRequest * * @return PushEventResponse PushEventResponse */ public function pushEvent($request) { $runtime = new RuntimeOptions([]); $headers = new PushEventHeaders([]); return $this->pushEventWithOptions($request, $headers, $runtime); } /** * @summary 查询设备 * * * @param QueryDeviceRequest $request QueryDeviceRequest * @param QueryDeviceHeaders $headers QueryDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDeviceResponse QueryDeviceResponse */ public function queryDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $query = []; if (!Utils::isUnset($request->corpId)) { $query['corpId'] = $request->corpId; } if (!Utils::isUnset($request->pageNumber)) { $query['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $query['pageSize'] = $request->pageSize; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'query' => OpenApiUtilClient::query($query), ]); $params = new Params([ 'action' => 'QueryDevice', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/devices', 'method' => 'GET', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询设备 * * * @param QueryDeviceRequest $request QueryDeviceRequest * * @return QueryDeviceResponse QueryDeviceResponse */ public function queryDevice($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDeviceHeaders([]); return $this->queryDeviceWithOptions($request, $headers, $runtime); } /** * @summary 查询硬件设备的PK值信息 * * * @param QueryDevicePkRequest $request QueryDevicePkRequest * @param QueryDevicePkHeaders $headers QueryDevicePkHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryDevicePkResponse QueryDevicePkResponse */ public function queryDevicePkWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->deviceId)) { $body['deviceId'] = $request->deviceId; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryDevicePk', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/devices/pkInfos/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryDevicePkResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询硬件设备的PK值信息 * * * @param QueryDevicePkRequest $request QueryDevicePkRequest * * @return QueryDevicePkResponse QueryDevicePkResponse */ public function queryDevicePk($request) { $runtime = new RuntimeOptions([]); $headers = new QueryDevicePkHeaders([]); return $this->queryDevicePkWithOptions($request, $headers, $runtime); } /** * @summary 查询事件 * * * @param QueryEventRequest $request QueryEventRequest * @param QueryEventHeaders $headers QueryEventHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return QueryEventResponse QueryEventResponse */ public function queryEventWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deviceIdList)) { $body['deviceIdList'] = $request->deviceIdList; } if (!Utils::isUnset($request->endTime)) { $body['endTime'] = $request->endTime; } if (!Utils::isUnset($request->eventId)) { $body['eventId'] = $request->eventId; } if (!Utils::isUnset($request->eventStatusList)) { $body['eventStatusList'] = $request->eventStatusList; } if (!Utils::isUnset($request->eventTypeList)) { $body['eventTypeList'] = $request->eventTypeList; } if (!Utils::isUnset($request->pageNumber)) { $body['pageNumber'] = $request->pageNumber; } if (!Utils::isUnset($request->pageSize)) { $body['pageSize'] = $request->pageSize; } if (!Utils::isUnset($request->startTime)) { $body['startTime'] = $request->startTime; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'QueryEvent', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/events/query', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return QueryEventResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 查询事件 * * * @param QueryEventRequest $request QueryEventRequest * * @return QueryEventResponse QueryEventResponse */ public function queryEvent($request) { $runtime = new RuntimeOptions([]); $headers = new QueryEventHeaders([]); return $this->queryEventWithOptions($request, $headers, $runtime); } /** * @summary 注册设备 * * * @param RegisterDeviceRequest $request RegisterDeviceRequest * @param RegisterDeviceHeaders $headers RegisterDeviceHeaders * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return RegisterDeviceResponse RegisterDeviceResponse */ public function registerDeviceWithOptions($request, $headers, $runtime) { Utils::validateModel($request); $body = []; if (!Utils::isUnset($request->corpId)) { $body['corpId'] = $request->corpId; } if (!Utils::isUnset($request->deviceName)) { $body['deviceName'] = $request->deviceName; } if (!Utils::isUnset($request->deviceStatus)) { $body['deviceStatus'] = $request->deviceStatus; } if (!Utils::isUnset($request->deviceType)) { $body['deviceType'] = $request->deviceType; } if (!Utils::isUnset($request->deviceTypeName)) { $body['deviceTypeName'] = $request->deviceTypeName; } if (!Utils::isUnset($request->id)) { $body['id'] = $request->id; } if (!Utils::isUnset($request->liveUrls)) { $body['liveUrls'] = $request->liveUrls; } if (!Utils::isUnset($request->location)) { $body['location'] = $request->location; } if (!Utils::isUnset($request->nickName)) { $body['nickName'] = $request->nickName; } if (!Utils::isUnset($request->parentId)) { $body['parentId'] = $request->parentId; } if (!Utils::isUnset($request->productType)) { $body['productType'] = $request->productType; } $realHeaders = []; if (!Utils::isUnset($headers->commonHeaders)) { $realHeaders = $headers->commonHeaders; } if (!Utils::isUnset($headers->xAcsDingtalkAccessToken)) { $realHeaders['x-acs-dingtalk-access-token'] = Utils::toJSONString($headers->xAcsDingtalkAccessToken); } $req = new OpenApiRequest([ 'headers' => $realHeaders, 'body' => OpenApiUtilClient::parseToMap($body), ]); $params = new Params([ 'action' => 'RegisterDevice', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/devices/register', 'method' => 'POST', 'authType' => 'AK', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return RegisterDeviceResponse::fromMap($this->execute($params, $req, $runtime)); } /** * @summary 注册设备 * * * @param RegisterDeviceRequest $request RegisterDeviceRequest * * @return RegisterDeviceResponse RegisterDeviceResponse */ public function registerDevice($request) { $runtime = new RuntimeOptions([]); $headers = new RegisterDeviceHeaders([]); return $this->registerDeviceWithOptions($request, $headers, $runtime); } /** * @summary 升级设备 * * * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return UpgradeDeviceResponse UpgradeDeviceResponse */ public function upgradeDeviceWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'UpgradeDevice', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/upgrade/device', 'method' => 'POST', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return UpgradeDeviceResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary 升级设备 * * * @return UpgradeDeviceResponse UpgradeDeviceResponse */ public function upgradeDevice() { $runtime = new RuntimeOptions([]); $headers = []; return $this->upgradeDeviceWithOptions($headers, $runtime); } /** * @summary 获取工作台流转物联信息 * * * @param string[] $headers map * @param RuntimeOptions $runtime runtime options for this request RuntimeOptions * * @return WorkbenchTransformInfoResponse WorkbenchTransformInfoResponse */ public function workbenchTransformInfoWithOptions($headers, $runtime) { $req = new OpenApiRequest([ 'headers' => $headers, ]); $params = new Params([ 'action' => 'WorkbenchTransformInfo', 'version' => 'diot_1.0', 'protocol' => 'HTTP', 'pathname' => '/v1.0/diot/workbench/transform', 'method' => 'GET', 'authType' => 'Anonymous', 'style' => 'ROA', 'reqBodyType' => 'none', 'bodyType' => 'json', ]); return WorkbenchTransformInfoResponse::fromMap($this->doROARequestWithForm($params->action, $params->version, $params->protocol, $params->method, $params->authType, $params->pathname, $params->bodyType, $req, $runtime)); } /** * @summary 获取工作台流转物联信息 * * * @return WorkbenchTransformInfoResponse WorkbenchTransformInfoResponse */ public function workbenchTransformInfo() { $runtime = new RuntimeOptions([]); $headers = []; return $this->workbenchTransformInfoWithOptions($headers, $runtime); } } src/diot_1_0/Models/AyunOnlienTestRequest.php 0000644 00000001450 14713400346 0015161 0 ustar 00 'reqId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->reqId) { $res['reqId'] = $this->reqId; } return $res; } /** * @param array $map * * @return AyunOnlienTestRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['reqId'])) { $model->reqId = $map['reqId']; } return $model; } } src/diot_1_0/Models/AyunOnlienTestResponse.php 0000644 00000002722 14713400346 0015332 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return AyunOnlienTestResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = AyunOnlienTestResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/AyunOnlienTestResponseBody.php 0000644 00000001473 14713400346 0016152 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return AyunOnlienTestResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/diot_1_0/Models/BatchDeleteDeviceHeaders.php 0000644 00000002336 14713400346 0015453 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchDeleteDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/BatchDeleteDeviceRequest.php 0000644 00000002374 14713400346 0015532 0 ustar 00 'corpId', 'deviceIds' => 'deviceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deviceIds) { $res['deviceIds'] = $this->deviceIds; } return $res; } /** * @param array $map * * @return BatchDeleteDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deviceIds'])) { if (!empty($map['deviceIds'])) { $model->deviceIds = $map['deviceIds']; } } return $model; } } src/diot_1_0/Models/BatchDeleteDeviceResponse.php 0000644 00000002736 14713400346 0015702 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchDeleteDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchDeleteDeviceResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/BatchDeleteDeviceResponseBody.php 0000644 00000001635 14713400346 0016515 0 ustar 00 'deviceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceIds) { $res['deviceIds'] = $this->deviceIds; } return $res; } /** * @param array $map * * @return BatchDeleteDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceIds'])) { if (!empty($map['deviceIds'])) { $model->deviceIds = $map['deviceIds']; } } return $model; } } src/diot_1_0/Models/BatchRegisterDeviceHeaders.php 0000644 00000002342 14713400346 0016032 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/BatchRegisterDeviceRequest.php 0000644 00000003366 14713400346 0016116 0 ustar 00 'corpId', 'devices' => 'devices', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->devices) { $res['devices'] = []; if (null !== $this->devices && \is_array($this->devices)) { $n = 0; foreach ($this->devices as $item) { $res['devices'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchRegisterDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['devices'])) { if (!empty($map['devices'])) { $model->devices = []; $n = 0; foreach ($map['devices'] as $item) { $model->devices[$n++] = null !== $item ? devices::fromMap($item) : $item; } } } return $model; } } src/diot_1_0/Models/BatchRegisterDeviceRequest/devices.php 0000644 00000010406 14713400346 0017531 0 ustar 00 'deviceId', 'deviceName' => 'deviceName', 'deviceStatus' => 'deviceStatus', 'deviceType' => 'deviceType', 'deviceTypeName' => 'deviceTypeName', 'extraData' => 'extraData', 'liveUrls' => 'liveUrls', 'location' => 'location', 'parentId' => 'parentId', 'productType' => 'productType', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceStatus) { $res['deviceStatus'] = $this->deviceStatus; } if (null !== $this->deviceType) { $res['deviceType'] = $this->deviceType; } if (null !== $this->deviceTypeName) { $res['deviceTypeName'] = $this->deviceTypeName; } if (null !== $this->extraData) { $res['extraData'] = $this->extraData; } if (null !== $this->liveUrls) { $res['liveUrls'] = null !== $this->liveUrls ? $this->liveUrls->toMap() : null; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->parentId) { $res['parentId'] = $this->parentId; } if (null !== $this->productType) { $res['productType'] = $this->productType; } return $res; } /** * @param array $map * * @return devices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceStatus'])) { $model->deviceStatus = $map['deviceStatus']; } if (isset($map['deviceType'])) { $model->deviceType = $map['deviceType']; } if (isset($map['deviceTypeName'])) { $model->deviceTypeName = $map['deviceTypeName']; } if (isset($map['extraData'])) { $model->extraData = $map['extraData']; } if (isset($map['liveUrls'])) { $model->liveUrls = liveUrls::fromMap($map['liveUrls']); } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['parentId'])) { $model->parentId = $map['parentId']; } if (isset($map['productType'])) { $model->productType = $map['productType']; } return $model; } } src/diot_1_0/Models/BatchRegisterDeviceRequest/devices/liveUrls.php 0000644 00000002626 14713400346 0021343 0 ustar 00 'flv', 'hls' => 'hls', 'rtmp' => 'rtmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->flv) { $res['flv'] = $this->flv; } if (null !== $this->hls) { $res['hls'] = $this->hls; } if (null !== $this->rtmp) { $res['rtmp'] = $this->rtmp; } return $res; } /** * @param array $map * * @return liveUrls */ public static function fromMap($map = []) { $model = new self(); if (isset($map['flv'])) { $model->flv = $map['flv']; } if (isset($map['hls'])) { $model->hls = $map['hls']; } if (isset($map['rtmp'])) { $model->rtmp = $map['rtmp']; } return $model; } } src/diot_1_0/Models/BatchRegisterDeviceResponse.php 0000644 00000002746 14713400346 0016265 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRegisterDeviceResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/BatchRegisterDeviceResponseBody.php 0000644 00000001730 14713400346 0017073 0 ustar 00 'deviceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceIds) { $res['deviceIds'] = $this->deviceIds; } return $res; } /** * @param array $map * * @return BatchRegisterDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceIds'])) { if (!empty($map['deviceIds'])) { $model->deviceIds = $map['deviceIds']; } } return $model; } } src/diot_1_0/Models/BatchRegisterEventTypeHeaders.php 0000644 00000002350 14713400346 0016555 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchRegisterEventTypeHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/BatchRegisterEventTypeRequest.php 0000644 00000003472 14713400346 0016640 0 ustar 00 'corpId', 'eventTypes' => 'eventTypes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->eventTypes) { $res['eventTypes'] = []; if (null !== $this->eventTypes && \is_array($this->eventTypes)) { $n = 0; foreach ($this->eventTypes as $item) { $res['eventTypes'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchRegisterEventTypeRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['eventTypes'])) { if (!empty($map['eventTypes'])) { $model->eventTypes = []; $n = 0; foreach ($map['eventTypes'] as $item) { $model->eventTypes[$n++] = null !== $item ? eventTypes::fromMap($item) : $item; } } } return $model; } } src/diot_1_0/Models/BatchRegisterEventTypeRequest/eventTypes.php 0000644 00000002531 14713400346 0021001 0 ustar 00 'eventType', 'eventTypeName' => 'eventTypeName', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } if (null !== $this->eventTypeName) { $res['eventTypeName'] = $this->eventTypeName; } return $res; } /** * @param array $map * * @return eventTypes */ public static function fromMap($map = []) { $model = new self(); if (isset($map['eventType'])) { $model->eventType = $map['eventType']; } if (isset($map['eventTypeName'])) { $model->eventTypeName = $map['eventTypeName']; } return $model; } } src/diot_1_0/Models/BatchRegisterEventTypeResponse.php 0000644 00000002762 14713400346 0017007 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchRegisterEventTypeResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchRegisterEventTypeResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/BatchRegisterEventTypeResponseBody.php 0000644 00000001661 14713400346 0017622 0 ustar 00 'eventTypes', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->eventTypes) { $res['eventTypes'] = $this->eventTypes; } return $res; } /** * @param array $map * * @return BatchRegisterEventTypeResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['eventTypes'])) { if (!empty($map['eventTypes'])) { $model->eventTypes = $map['eventTypes']; } } return $model; } } src/diot_1_0/Models/BatchUpdateDeviceHeaders.php 0000644 00000002336 14713400346 0015473 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BatchUpdateDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/BatchUpdateDeviceRequest.php 0000644 00000003360 14713400346 0015546 0 ustar 00 'corpId', 'devices' => 'devices', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->devices) { $res['devices'] = []; if (null !== $this->devices && \is_array($this->devices)) { $n = 0; foreach ($this->devices as $item) { $res['devices'][$n++] = null !== $item ? $item->toMap() : $item; } } } return $res; } /** * @param array $map * * @return BatchUpdateDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['devices'])) { if (!empty($map['devices'])) { $model->devices = []; $n = 0; foreach ($map['devices'] as $item) { $model->devices[$n++] = null !== $item ? devices::fromMap($item) : $item; } } } return $model; } } src/diot_1_0/Models/BatchUpdateDeviceRequest/devices.php 0000644 00000005173 14713400346 0017174 0 ustar 00 'deviceId', 'deviceName' => 'deviceName', 'deviceStatus' => 'deviceStatus', 'extraData' => 'extraData', 'liveUrls' => 'liveUrls', 'location' => 'location', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->deviceName) { $res['deviceName'] = $this->deviceName; } if (null !== $this->deviceStatus) { $res['deviceStatus'] = $this->deviceStatus; } if (null !== $this->extraData) { $res['extraData'] = $this->extraData; } if (null !== $this->liveUrls) { $res['liveUrls'] = null !== $this->liveUrls ? $this->liveUrls->toMap() : null; } if (null !== $this->location) { $res['location'] = $this->location; } return $res; } /** * @param array $map * * @return devices */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['deviceName'])) { $model->deviceName = $map['deviceName']; } if (isset($map['deviceStatus'])) { $model->deviceStatus = $map['deviceStatus']; } if (isset($map['extraData'])) { $model->extraData = $map['extraData']; } if (isset($map['liveUrls'])) { $model->liveUrls = liveUrls::fromMap($map['liveUrls']); } if (isset($map['location'])) { $model->location = $map['location']; } return $model; } } src/diot_1_0/Models/BatchUpdateDeviceRequest/devices/liveUrls.php 0000644 00000002624 14713400346 0020777 0 ustar 00 'flv', 'hls' => 'hls', 'rtmp' => 'rtmp', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->flv) { $res['flv'] = $this->flv; } if (null !== $this->hls) { $res['hls'] = $this->hls; } if (null !== $this->rtmp) { $res['rtmp'] = $this->rtmp; } return $res; } /** * @param array $map * * @return liveUrls */ public static function fromMap($map = []) { $model = new self(); if (isset($map['flv'])) { $model->flv = $map['flv']; } if (isset($map['hls'])) { $model->hls = $map['hls']; } if (isset($map['rtmp'])) { $model->rtmp = $map['rtmp']; } return $model; } } src/diot_1_0/Models/BatchUpdateDeviceResponse.php 0000644 00000002736 14713400346 0015722 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BatchUpdateDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BatchUpdateDeviceResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/BatchUpdateDeviceResponseBody.php 0000644 00000001724 14713400346 0016534 0 ustar 00 'deviceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceIds) { $res['deviceIds'] = $this->deviceIds; } return $res; } /** * @param array $map * * @return BatchUpdateDeviceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceIds'])) { if (!empty($map['deviceIds'])) { $model->deviceIds = $map['deviceIds']; } } return $model; } } src/diot_1_0/Models/BindSystemHeaders.php 0000644 00000002320 14713400346 0014241 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return BindSystemHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/BindSystemRequest.php 0000644 00000004367 14713400346 0014333 0 ustar 00 'authCode', 'clientId' => 'clientId', 'clientName' => 'clientName', 'corpId' => 'corpId', 'extraData' => 'extraData', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->authCode) { $res['authCode'] = $this->authCode; } if (null !== $this->clientId) { $res['clientId'] = $this->clientId; } if (null !== $this->clientName) { $res['clientName'] = $this->clientName; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->extraData) { $res['extraData'] = $this->extraData; } return $res; } /** * @param array $map * * @return BindSystemRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['authCode'])) { $model->authCode = $map['authCode']; } if (isset($map['clientId'])) { $model->clientId = $map['clientId']; } if (isset($map['clientName'])) { $model->clientName = $map['clientName']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['extraData'])) { $model->extraData = $map['extraData']; } return $model; } } src/diot_1_0/Models/BindSystemResponse.php 0000644 00000002702 14713400346 0014470 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return BindSystemResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = BindSystemResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/BindSystemResponseBody.php 0000644 00000002402 14713400346 0015303 0 ustar 00 'clientId', 'corpId' => 'corpId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->clientId) { $res['clientId'] = $this->clientId; } if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } return $res; } /** * @param array $map * * @return BindSystemResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['clientId'])) { $model->clientId = $map['clientId']; } if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } return $model; } } src/diot_1_0/Models/DeviceConferenceHeaders.php 0000644 00000002334 14713400346 0015354 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return DeviceConferenceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/DeviceConferenceRequest.php 0000644 00000004151 14713400346 0015430 0 ustar 00 'confTitle', 'conferenceId' => 'conferenceId', 'conferencePassword' => 'conferencePassword', 'deviceIds' => 'deviceIds', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->confTitle) { $res['confTitle'] = $this->confTitle; } if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } if (null !== $this->conferencePassword) { $res['conferencePassword'] = $this->conferencePassword; } if (null !== $this->deviceIds) { $res['deviceIds'] = $this->deviceIds; } return $res; } /** * @param array $map * * @return DeviceConferenceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['confTitle'])) { $model->confTitle = $map['confTitle']; } if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } if (isset($map['conferencePassword'])) { $model->conferencePassword = $map['conferencePassword']; } if (isset($map['deviceIds'])) { if (!empty($map['deviceIds'])) { $model->deviceIds = $map['deviceIds']; } } return $model; } } src/diot_1_0/Models/DeviceConferenceResponse.php 0000644 00000002732 14713400346 0015601 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DeviceConferenceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DeviceConferenceResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/DeviceConferenceResponseBody.php 0000644 00000001626 14713400346 0016420 0 ustar 00 'conferenceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->conferenceId) { $res['conferenceId'] = $this->conferenceId; } return $res; } /** * @param array $map * * @return DeviceConferenceResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['conferenceId'])) { $model->conferenceId = $map['conferenceId']; } return $model; } } src/diot_1_0/Models/DiotMamaResponse.php 0000644 00000002672 14713400346 0014110 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DiotMamaResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DiotMamaResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/DiotMamaResponseBody.php 0000644 00000001512 14713400346 0014716 0 ustar 00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DiotMamaResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/diot_1_0/Models/DiotMarketManagerResponse.php 0000644 00000002736 14713400346 0015754 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DiotMarketManagerResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DiotMarketManagerResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/DiotMarketManagerResponseBody.php 0000644 00000001534 14713400346 0016565 0 ustar 00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DiotMarketManagerResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/diot_1_0/Models/DiotMarketManagerTestResponse.php 0000644 00000002756 14713400346 0016616 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DiotMarketManagerTestResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DiotMarketManagerTestResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/DiotMarketManagerTestResponseBody.php 0000644 00000001544 14713400346 0017426 0 ustar 00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DiotMarketManagerTestResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/diot_1_0/Models/DiotSystemMarkTestResponse.php 0000644 00000002742 14713400346 0016172 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return DiotSystemMarkTestResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = DiotSystemMarkTestResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/DiotSystemMarkTestResponseBody.php 0000644 00000001536 14713400346 0017010 0 ustar 00 'requestId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->requestId) { $res['requestId'] = $this->requestId; } return $res; } /** * @param array $map * * @return DiotSystemMarkTestResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['requestId'])) { $model->requestId = $map['requestId']; } return $model; } } src/diot_1_0/Models/PushEventHeaders.php 0000644 00000002316 14713400346 0014106 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return PushEventHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/PushEventRequest.php 0000644 00000007720 14713400346 0014167 0 ustar 00 'corpId', 'deviceId' => 'deviceId', 'eventId' => 'eventId', 'eventName' => 'eventName', 'eventType' => 'eventType', 'extraData' => 'extraData', 'location' => 'location', 'msg' => 'msg', 'occurrenceTime' => 'occurrenceTime', 'picUrls' => 'picUrls', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } if (null !== $this->eventName) { $res['eventName'] = $this->eventName; } if (null !== $this->eventType) { $res['eventType'] = $this->eventType; } if (null !== $this->extraData) { $res['extraData'] = $this->extraData; } if (null !== $this->location) { $res['location'] = $this->location; } if (null !== $this->msg) { $res['msg'] = $this->msg; } if (null !== $this->occurrenceTime) { $res['occurrenceTime'] = $this->occurrenceTime; } if (null !== $this->picUrls) { $res['picUrls'] = $this->picUrls; } return $res; } /** * @param array $map * * @return PushEventRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } if (isset($map['eventName'])) { $model->eventName = $map['eventName']; } if (isset($map['eventType'])) { $model->eventType = $map['eventType']; } if (isset($map['extraData'])) { $model->extraData = $map['extraData']; } if (isset($map['location'])) { $model->location = $map['location']; } if (isset($map['msg'])) { $model->msg = $map['msg']; } if (isset($map['occurrenceTime'])) { $model->occurrenceTime = $map['occurrenceTime']; } if (isset($map['picUrls'])) { if (!empty($map['picUrls'])) { $model->picUrls = $map['picUrls']; } } return $model; } } src/diot_1_0/Models/PushEventResponse.php 0000644 00000002676 14713400346 0014342 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return PushEventResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = PushEventResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/PushEventResponseBody.php 0000644 00000001472 14713400346 0015151 0 ustar 00 'eventId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->eventId) { $res['eventId'] = $this->eventId; } return $res; } /** * @param array $map * * @return PushEventResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['eventId'])) { $model->eventId = $map['eventId']; } return $model; } } src/diot_1_0/Models/QueryDeviceHeaders.php 0000644 00000002322 14713400346 0014407 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDeviceHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/QueryDevicePkHeaders.php 0000644 00000002326 14713400346 0014706 0 ustar 00 'x-acs-dingtalk-access-token', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->commonHeaders) { $res['commonHeaders'] = $this->commonHeaders; } if (null !== $this->xAcsDingtalkAccessToken) { $res['x-acs-dingtalk-access-token'] = $this->xAcsDingtalkAccessToken; } return $res; } /** * @param array $map * * @return QueryDevicePkHeaders */ public static function fromMap($map = []) { $model = new self(); if (isset($map['commonHeaders'])) { $model->commonHeaders = $map['commonHeaders']; } if (isset($map['x-acs-dingtalk-access-token'])) { $model->xAcsDingtalkAccessToken = $map['x-acs-dingtalk-access-token']; } return $model; } } src/diot_1_0/Models/QueryDevicePkRequest.php 0000644 00000001476 14713400346 0014770 0 ustar 00 'deviceId', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->deviceId) { $res['deviceId'] = $this->deviceId; } return $res; } /** * @param array $map * * @return QueryDevicePkRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['deviceId'])) { $model->deviceId = $map['deviceId']; } return $model; } } src/diot_1_0/Models/QueryDevicePkResponse.php 0000644 00000002716 14713400346 0015134 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDevicePkResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDevicePkResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/QueryDevicePkResponseBody.php 0000644 00000001471 14713400346 0015747 0 ustar 00 'result', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->result) { $res['result'] = $this->result; } return $res; } /** * @param array $map * * @return QueryDevicePkResponseBody */ public static function fromMap($map = []) { $model = new self(); if (isset($map['result'])) { $model->result = $map['result']; } return $model; } } src/diot_1_0/Models/QueryDeviceRequest.php 0000644 00000002717 14713400346 0014474 0 ustar 00 'corpId', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->corpId) { $res['corpId'] = $this->corpId; } if (null !== $this->pageNumber) { $res['pageNumber'] = $this->pageNumber; } if (null !== $this->pageSize) { $res['pageSize'] = $this->pageSize; } return $res; } /** * @param array $map * * @return QueryDeviceRequest */ public static function fromMap($map = []) { $model = new self(); if (isset($map['corpId'])) { $model->corpId = $map['corpId']; } if (isset($map['pageNumber'])) { $model->pageNumber = $map['pageNumber']; } if (isset($map['pageSize'])) { $model->pageSize = $map['pageSize']; } return $model; } } src/diot_1_0/Models/QueryDeviceResponse.php 0000644 00000002706 14713400346 0014640 0 ustar 00 'headers', 'statusCode' => 'statusCode', 'body' => 'body', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->headers) { $res['headers'] = $this->headers; } if (null !== $this->statusCode) { $res['statusCode'] = $this->statusCode; } if (null !== $this->body) { $res['body'] = null !== $this->body ? $this->body->toMap() : null; } return $res; } /** * @param array $map * * @return QueryDeviceResponse */ public static function fromMap($map = []) { $model = new self(); if (isset($map['headers'])) { $model->headers = $map['headers']; } if (isset($map['statusCode'])) { $model->statusCode = $map['statusCode']; } if (isset($map['body'])) { $model->body = QueryDeviceResponseBody::fromMap($map['body']); } return $model; } } src/diot_1_0/Models/QueryDeviceResponseBody.php 0000644 00000004531 14713400346 0015454 0 ustar 00 'data', 'pageNumber' => 'pageNumber', 'pageSize' => 'pageSize', 'totalCount' => 'totalCount', ]; public function validate() { } public function toMap() { $res = []; if (null !== $this->data) { $res['data'] = []; if (null !== $this->data &&